Chromatix wrote:
What happens if you include:
Code:
ORG 0
DB 0
…or whatever equivalent works in that assembler? That should force the image to start at address zero.
Chromatix, it seemed very strange to me that Klaus' first defined segment was at $A and the assembled code was offset exactly by this amount. As you mentioned, I added an org 0 directive to force the assembler to output the remaining bytes and everything is working perfectly now.
I disabled the decimal tests and my code gets trapped at the success infinite loop.
I guess the the file was originally assembled using a switch that does just that. I dont see it in the manual though!
It's funny that the listing file generated is correct even without the padding. sounds like a bug?
Anyways, thanks to everyone for the help!
I guess now I will just clean up my code some more. and keep playing with an emulator I want to build.