Search found 31 matches

by jejump
Mon Jun 28, 2021 1:56 am
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

Ahhh, good maneuver! The way I have my code written, only one F-key can be detected until it's released. I'll keep that in mind.
by jejump
Mon Jun 28, 2021 1:11 am
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

 
:roll: And AGAIN!... I forgot there are FIVE function keys.
 
 
by jejump
Mon Jun 28, 2021 1:04 am
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

    YES! I was correct. I added this to my program and now I can see the hexadecimal numbers $F1 to $F4 correspond to F1 to F4 keys respectively. Lovely learning experience!   CHECK_F_KEYS: LD DE, $E000 LD A, $F9 LD (DE), A LD DE, $E001 LD A, (DE) CP $7F JP NZ, CHECK_F2 LD A, $F1 CALL PRINT_CODE JP ...
by jejump
Sun Jun 27, 2021 9:42 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

Confirm if you can, that my understanding of the matrix is correct. It appears that if I write a column value ($F0 to $F9) to address $E000, then read back the row value on address $E001 and CP against the key of interest ($7F, $BF, $DF... $FE), I can confirm whether the key of interest was pressed ...
by jejump
Sun Jun 27, 2021 8:43 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

  I was afraid that would be the answer. There's hardly mention at all of the function keys in this list of calls:   https://www.sharpmz.no/articles/the-mz-series/mz-700/mz-700-the-monitor-program-mz-1z013a/ Oh well... No biggie! I'll just follow your instruction, Pacman. I really want those keys av...
by jejump
Sun Jun 27, 2021 2:45 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

Sorry, I just realized the '700 has five function keys, not four. Anyway, none of them do anything using the above program.
 

Jj
by jejump
Sun Jun 27, 2021 2:27 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

    Well, I still have haven't done anything more interesting than writing a keyboard examination routine. It has had some improvements. I did just minutes ago, run the keyboard program on the real MZ-700. Up until then, it was only an emulator running on Win 7. For the most part, running it on the ...
by jejump
Wed Jun 23, 2021 8:04 pm
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 18
Views: 629

Re: MZ-700 Monitor Command 'F' and add-on ROM hardware

Excellent, thanks! I read online that certain similar DRAM chips allow for 4ms. Without knowing exactly what was inside my Sharp, I was going to cut that value in half. That more or less coincides with what you're saying too. 2ms is plenty generous enough. Really shouldn't require anything close to ...
by jejump
Wed Jun 23, 2021 9:54 am
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 18
Views: 629

Re: MZ-700 Monitor Command 'F' and add-on ROM hardware

    Returning back to the hardware development aspect of my original question.... I found this for the MZ-80 searching for DIY Sharp hardware: https://original.sharpmz.org/mz-80b/download/80io2.pdf Without knowing much about the '80, at first glance, most of these signals seem to repeat in the '700 ...
by jejump
Tue Jun 15, 2021 11:36 am
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 18
Views: 549

Re: Assembling Z80 source using TASM or similar

    Playing around with Z80AS and learning the ropes of the monitor routines. I expanded on this example:     $001B.JPG ORG $1200 LD A, $16 ; force clear screen CALL $0012 ; print clear screen LD DE, MSG1 ; Show Greeting and exit instructions CALL $0015 CALL $0009 ; Next line LD DE, MSG1+35 ; Cleara...