cormacj / rodos-disassembly

This project tracks the disassembly of the Romantic Robot RODOS v2.19 rom and then to correct known bugs.
https://www.cpcwiki.eu/index.php/RODOS
1 stars 0 forks source link

Correct rodos.off, remove duplication of number printing, fix make code and validation #16

Closed cormacj closed 1 month ago

cormacj commented 1 month ago

Root cause was that calling rodos with no args meant that IX was only 2 bytes away from hitting into the rom. I added code to check for no args, and then to define IX better.

I also removed a duplication of number printing code (I nuked my code, and called the ROM code)

83 bytes remain in normal mode. 33 bytes in debug mode.