I want to generate a hex file from a C program, for my home-made Z80.
The hex file needs to be loaded at 0x2000 (in RAM) since my
monitor had an hex file loader.
My monitor is stored in an EPROM located at 0x0000-0x1FFF.
For now, I remove the crt.o code from the hex file manually and it works.
I remove these lines:
I also modify the start address (and correct the checksum)
I start execution at 7100 and the program runs as expected.
How should I compile my code so that the crt.o is not linked with my
Le physicien nocturne
Bits, hobbits and chobits