Search found 541 matches

by hlide
Tue Jun 15, 2021 9:52 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 8
Views: 141

Re: Assembling Z80 source using TASM or similar

1) Using monitor routines is just a matter of choice. I tend to get rid of them as I prefer to have a full control on hardware. 2) ORG can be anything, even $0000 or $F000 if you plan to rewrite some ROM contents. You are free to put your code somewhere between $1200-$CFFF if in DRAM. 3) I believe t...
by hlide
Mon Jun 14, 2021 5:51 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 8
Views: 141

Re: Assembling Z80 source using TASM or similar

This is a example how I build my Space Rally game: @del ..\SPACERALLY.mzf @echo --- [ Assembling game.a80... ] z80as.exe -x -m "SPACE RALLY" game.a80 @if %ERRORLEVEL% NEQ 0 goto :failure @echo. @echo --- [ Copying game as SPACERALLY.mzf ] copy /y game.mzt ..\SPACERALLY.mzf @if %ERRORLEVEL%...
by hlide
Sun Jun 13, 2021 5:59 pm
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 14
Views: 252

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

Regarding interrupt mode, monitor ROM uses mode 1. But for one of my games I use an interrupt issued every 4 BLNK signals though IM 2. I cannot place it at 0x0038 because I'm using DRAM $0000-1FFF as a virtual screen so I install mode 2 AKA Spectrum IM 2 trick such as: ; ----------------------------...
by hlide
Sun Jun 13, 2021 5:24 pm
Forum: Assembly
Topic: Assembling Z80 source using TASM or similar
Replies: 8
Views: 141

Re: Assembling Z80 source using TASM or similar

I use this one. I translated all the messages into English for more commodity. It can handle sharpascii, display codes in DB and build an MZT file (same as MZF, just rename it).
z80as_012_hlide_en.zip
(135.95 KiB) Downloaded 6 times
by hlide
Thu Jun 10, 2021 5:07 pm
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 14
Views: 252

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

Interrupt is only for AM/PM toggling. In my game, I simply disable interrupt forever, so I can enable the first DRAM area and fill it with whatever I want. You could also enable the third area as DRAM ($E000-$FFFF) because the moment you need to access VRAM or I/O are deterministic: you simply disab...
by hlide
Thu Jun 10, 2021 5:02 pm
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 14
Views: 252

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

When accessing $E0-$E7, only address bus is considered, data address is dummy.
by hlide
Thu Jun 10, 2021 5:01 pm
Forum: Hardware
Topic: MZ-700 Monitor Command 'F' and add-on ROM hardware
Replies: 14
Views: 252

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

Yep, doing a OUT ($E1),A would prevent from you viewing the M command to operate.

I'm not sure why it doesn't increase. Does it mean the M command check whether your writing is effective? I wouldn't expect it but that seems the only explanation I can see for the moment.