![]() |
|
RANDOMIZE USR issue - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://forum.boriel.com/forumdisplay.php?fid=16) +---- Thread: RANDOMIZE USR issue (/showthread.php?tid=831) Pages:
1
2
|
Re: RANDOMIZE USR issue - britlion - 2017-12-11 LukeBord1 Wrote:Quote:The safe way is to use INCBIN "filename.bin" within an ASM contextOk! It's the first ZXB menu I'm going to include in an AGD game (and probably the first attempt ever). Just a thought... so I cannot include a not-relocatable file. Probably something like Code: ORG <low address>
GOTO start_of_program
ORG 32000
ASM
incbin "file"
END ASM
:start_of_programAssuming you want your zxb code after the binary. Before will take some juggling to be sure it all works. I'd love to have a better memory map feature (I'd kill for an emulator with a live zoom in of memory accesses, so I can see where code is hanging out most...) |