i now seem to be able to make fake cartridges, but the emulator loads it and does nothing, although i meanth it to draw one pixel. Adding something like writeln('hello') causes the emu to crash.... so at least some code gets executed....

if the free pascal compiler needs to be modified to implement crt0.o for the gba i am not going on with this project as i do not have enough knowledge for changing the free pascal compiler.