My code will compile and run as expected (using the linker/makefile from the tutorials but my own code for displaying on screen, etc).
If I try to include a second binary file in the source via:
The code stops running; if however I replace the sprite.bin file with a copy of a smaller binary file it works, so its obviously the size that's causing the issue (its only around 13Kb in size).
Code: Select all
.section .data .align 4 imgTestSprite: .incbin "sprite.bin"
As mentioned above the basic dev environment set-up is as per Uni Of Cambridge tutorials.
Any help in where to look would be much appreciated (it's all so much more complicated than the old days of bare-metal z80 assembler on the Amstrad)