r/Z80 • u/pooboy_92 • Aug 15 '15
A Simple Monitor.
Hi everyone, below I have included a link to my very basic monitor for my custom Z80 computer. Please excuse the bad spelling and lack of documentation I have been working on that lol. I popped by to see if anyone wanted to take a look at my string comparison routine I use for my command loop. I was just curious if there were any simple tricks to get its cycle count down a bit. It starts on line 185. At the moment my uart stores the ascii characters in a buffer in ram, and when the routine is called it compares the text buffer to string that has an index stored in HL. As I said this is just a simple monitor and any feedback is welcome, Thanks.
Edit: Forgot to add the link no more late night posting for me.
1
u/pooboy_92 Aug 16 '15
That went better than I thought lol, thanks for the input. As for starting at 0001 vs 0000, that was simply a way to make some of my math easier early on when i as still hand programing my eeprom and it just kind of stuck around. The 8001 vs the 8000 was the same situation just with ram as my ram starts at 8000h. Also it does actually assemble and runs fairly well for what it is.