I am looking for a program or game in assembly (I want the source code) for the zx81 that doesn't require the main zx81 rom to run.
Which means, that one could either flash it on an EPROM at address 0 and it will automatically start when the machine initializes.
Or, one could assemble the code, load the block in memory location decimal 17000 for example, using the eighty one emulator, and then J :17000 (but I think here you need to use the hex equivalent of 17000 for the jump) using the ASZMIC... WITHOUT the usage of the routines of the ASZMIC rom!
And then I have a few more questions.
I have in my hands a game written in assembly, and in the beginning, the code has some "includes" of the main rom for example:
Code: Select all
#include "zx81defs.asm"
#include "zx81rom.asm"
#include "charcodes.asm"
#include "zx81sys.asm"
Question 2: Why do we still need the main zx81 rom in order to run the program!? I tried to run the program with ASZMIC but obviously it still needs the basic zx81 rom loaded on the first 4K of memory. But at the same time, it also requires "includes" at the beginning of the code !!!
Could someone explain and, hopefully, provide a code, even a HELLO WORLD program in assembly, that DOES NOT require any zx81rom routines or ASZMIC routines and can be written directly to memory location 0000 and run!?
Thank you in advance.