Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom TAP loader with SCREEN$
#1
I have a Sinclair BASIC loader for my game which will CLEAR 32767, load a SCREEN$, LOAD ""CODE, and finally RANDOMIZE USR 32678. I have assembled the loader and the SCREEN$ into a TAP file - but how to I get zxbc.py to append its output to this TAP file? I can't seem to get it to work.

When I try:
Code:
./zxbc.py -t --append-binary ../loader+scr.tap ../arti12.bas
 
I get a file arti12.tap as expected but it doesn't load the machine code. If I browse the TAP file in Fuse emulator I see that zxbc.py appears to have prepended an additional self-contained TAP file into the loader TAP file, rather than appended the binary data. Am I doing this wrong, or is this a bug?

I have managed to work around the issue by producing a .bin file instead, and then Fuse's 'Import Binary Data' option and then saving the memory range back out to the mounted TAP file - but it would be much nicer to automate that with zxbc.py if possible.

Thanks
Reply


Messages In This Thread
Custom TAP loader with SCREEN$ - by patters - 01-17-2021, 06:24 PM
RE: Custom TAP loader with SCREEN$ - by boriel - 01-17-2021, 09:09 PM
RE: Custom TAP loader with SCREEN$ - by boriel - 01-17-2021, 11:08 PM
RE: Custom TAP loader with SCREEN$ - by patters - 01-18-2021, 12:30 AM
RE: Custom TAP loader with SCREEN$ - by boriel - 01-18-2021, 03:36 PM
RE: Custom TAP loader with SCREEN$ - by patters - 01-18-2021, 04:06 PM
RE: Custom TAP loader with SCREEN$ - by boriel - 01-18-2021, 05:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)