Search found 15 matches

by ensjo
Thu Apr 04, 2013 2:06 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

The backspace issue: which is the key code for BS on the MC-1000 ? There are two ways to solve it, the easier one should be to re-map its declaration in the adv_a source itself. The <RUBOUT> key produces 127 (ASCII control character "DEL") in "BASIC mode", and 93 ("]")...
by ensjo
Wed Apr 03, 2013 3:44 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Stefano! I believe I have fixed the low volume problem in click-generated sound. Below are the changes that must be done: 1) In libsrc/games/games.inc, sndbit_mask should be 15 istead of 8: [?] IF FORmc1000 defc sndbit_port = 96 ; $60 = YM amplitude register defc sndbit_bit = 3 ; More significant bi...
by ensjo
Mon Apr 01, 2013 5:42 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Hello!!! Good to see the forums are up again. Stefano, I changed joystick.asm as I told you by e-mail and microman worked O.K. Here is a video of it running: http://www.youtube.com/watch?v=i1sAPT6IZ3U Here is the full listing of libsrc/games/mc1000/joystick.asm: ; Game device library for the CCE MC-...
by ensjo
Mon Mar 18, 2013 5:00 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Couldn't get a new cable yet. Electronics stores are out of my route to work and back home, and other more generic stores I have happened to visit didn't have it. :-( Meanwhile, tests will have to be made in MESS. (I.e., sound tests suspended until then). I have tested the clock program in MESS satu...
by ensjo
Sat Mar 16, 2013 5:06 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Yesterday my P2-P2 cable stopped working (disrupted?) and I couldn't do any more LOADing tests in the real MC-1000. :P I'll seek to buy a new one today.
by ensjo
Fri Mar 15, 2013 6:29 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Stefano, I tested {z88dk}/examples/sound/clicktest.c in my real MC-1000. I sent the recorded sound to you via e-mail. The volume doesn't seem to be low, but the sound produced is very noisy. :( I opened the file in a wave editor and, strangely, the wave generated switches among various volume values...
by ensjo
Thu Mar 14, 2013 2:41 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Can the real MC1000 load also the WAV generated with the FAST option now? Yes, both files LOADed and ran OK. :) My attempts to tune the keyboard were all made on {z88dk}/lib/mc1000_crt0.asm I think HEAD should not be automatically changed to $ff. It should be left to the programmer to decide if he ...
by ensjo
Wed Mar 13, 2013 12:54 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

As for the "1-bit" sound routines, here's how they probably could be in MC-1000: .bit_open ;di ld a,$07 ; Select PSG's mixer register. out ($20),a ld a,$7f ; All channels "silent" ; (and MC-1000's specific settings ; for IOA [output] and IOB [input]). out ($60),a ret .bit_click ;...
by ensjo
Wed Mar 13, 2013 10:53 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Stefano, looking at some programs code, I found that there are compiler directives like:

Code: Select all

#ifdef __SPECTRUM__
   ...
#endif
How do we get that for MC-1000? Where would be "__MC1000__" defined? Is it tacitally defined when we put "+mc1000" in the zcc command line?
by ensjo
Wed Mar 13, 2013 2:35 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

Is there a 'frames' counter in the interrupt routines which could act as a timer ? No, the CPU receives no information about the video processor, and keeps no track of its activity. The periodic interruption at $0038 controls the timing for the music in games and for the SOUND instruction in BASIC....
by ensjo
Mon Mar 11, 2013 1:43 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

getk() should just get the current key code or zero, without waiting for a keypress. fgetc_cons() should wait (it is meant for the normal text typing, here a buffered keyboard wuold fit perfectly). OK, getk() will use "SKEY?", and fgetc_cons() will use "KEY" then. When there wil...
by ensjo
Mon Mar 11, 2013 3:22 am
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

I compiled Othello for TLOAD. Loaded OK, started OK, but the keyboard wasn't working well. That's no fault of z88dk. It's because TLOAD enters "game mode" (system variable HEAD [$0106] = $00). In game mode the keys are not translated exactly as in "terminal" mode. <ENTER> gives &...
by ensjo
Sun Mar 10, 2013 1:25 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

From that thread, I used decfreak's patch, i.e., adding these 3 lines to the install-libs section of Makefile: mkdir -p $(prefix)/lib/z88dk/lib/config cp -R lib/config/* $(prefix)/lib/z88dk/lib/config/ find $(prefix)/lib/z88dk/lib/config -type f | xargs chmod 644 And then after the makes I just mana...
by ensjo
Sun Mar 10, 2013 1:22 pm
Forum: Other platforms
Topic: Mac OSX
Replies: 38
Views: 76994

Trying to install z88dk into my MacBook with OS X Mountain Lion, I had the same "Can't open config file" as decfreak, and his "3-lines patch" worked for me.
by ensjo
Sat Mar 09, 2013 3:13 pm
Forum: Other targets
Topic: CCE MC-1000 tests
Replies: 35
Views: 35894

CCE MC-1000 tests

Continuazione di conversazione previamente via e-mail: [?] Devo mettere online tutti i file, spero che stanotte vengano compilati correttamente da 'nightly'. Hai compilato e installato z88dk da l? ? Se si, allora spostati in {z88dk}/examples e scrivi: zcc +mc1000 -lndos -create-app -Cz--audio -oothe...