It is good to have a fix and improve the function .... However, the address of the function is changed accordingly (sometimes)
In order to make the same binary operate in various environments, it is necessary to fix the address,
Tentatively, addresses are fluctuating during development.
This can not be helped.
So I will show how to use the current boot.bin to make software development smooth.
z80asmThe assembler I use is z80asm.
This is running on Raspberry Pi.
(I am developing all i8080 emulators with Raspberry Pi.)
Z80asm is a powerful z80 assembler with macro function.
Unfortunately it does not correspond to the opcode of 8080 ....
The lucky thing is that the codes of 8080 and Z80 are almost identical, so you can use it!
Display the label list of boot.bin.As below
z80asm monitor.asm -L 2>monitor.h
This will write the label and address of monitor.bin to monitor.h.
The method of using monitor.h is simple.
At the beginning of your new assembler file
include 'monitor.h'Just to do this.
You can call that label if you have a function you want to call, looking at the assembler source of monitor.asm (there is function.asm below "include").