oh alright! ill try that edit: it worked but i get this error now ca65 --cpu 6502X -g -t c64 -D PLATFORM=64 -I ./. -I ./../../shared -I ./../include -D RESIADDR=0x0400 -o ../build/intermediate/loader-nonreloc-c64.o resident.s ca65 --cpu 6502X -g -t c64 -D PLATFORM=64 -I ./. -I ./../../shared -I ./../include --cpu 6502X -D INSTADDR=0x4000 -o ../build/intermediate/install-nonreloc-c64.o install.s perl -e 'printf "MEMORY\ {\ ZPRAM: start = \$10, size = \$%x;\ ZPRAM2: start = \$10, size = \$%x;\ INSTALLRAM: start = \$%x, size = \$%x, file = \"../build/install-c64.prg\";\ RESIDENTRAM: start = \$%x, size = \$%x, file = \"../build/loader-c64.prg\";\ TRANSIENTRAM: start = \$%x, size = \$%x, file = \"../build/transient-c64.prg\";\ }\ \ SEGMENTS\ {\ DISKIO_ZP: load = ZPRAM, type = zp;\ DISKIO_PLUGIN_ZP: load = ZPRAM2, type = zp, optional = yes;\ DISKIO: load = RESIDENTRAM;\ DISKIO_PLUGIN: load = TRANSIENTRAM, optional = yes;\ DISKIO_INSTALL: load = INSTALLRAM;\ }\ ", 0x0100 - 0x10, 0x0100 - 0x10, 0x4000 - 2, 0x10002 - 0x4000, 0x0400 - 2, 0x10002 - 0x0400, 0x4000 - 2, 0x10002 - 0x4000' > ../build/intermediate/binary.link Can't find string terminator "'" anywhere before EOF at -e line 1. make: *** [../build/intermediate/binary.link] Fel 255
ca65 --cpu 6502X -g -t c64 -D PLATFORM=64 -I ./. -I ./../../shared -I ./../include -D RESIADDR=0x0400 -o ../build/intermediate/loader-nonreloc-c64.o resident.s ca65 --cpu 6502X -g -t c64 -D PLATFORM=64 -I ./. -I ./../../shared -I ./../include --cpu 6502X -D INSTADDR=0x4000 -o ../build/intermediate/install-nonreloc-c64.o install.s perl -e 'printf "MEMORY\ {\ ZPRAM: start = \$10, size = \$%x;\ ZPRAM2: start = \$10, size = \$%x;\ INSTALLRAM: start = \$%x, size = \$%x, file = \"../build/install-c64.prg\";\ RESIDENTRAM: start = \$%x, size = \$%x, file = \"../build/loader-c64.prg\";\ TRANSIENTRAM: start = \$%x, size = \$%x, file = \"../build/transient-c64.prg\";\ }\ \ SEGMENTS\ {\ DISKIO_ZP: load = ZPRAM, type = zp;\ DISKIO_PLUGIN_ZP: load = ZPRAM2, type = zp, optional = yes;\ DISKIO: load = RESIDENTRAM;\ DISKIO_PLUGIN: load = TRANSIENTRAM, optional = yes;\ DISKIO_INSTALL: load = INSTALLRAM;\ }\ ", 0x0100 - 0x10, 0x0100 - 0x10, 0x4000 - 2, 0x10002 - 0x4000, 0x0400 - 2, 0x10002 - 0x0400, 0x4000 - 2, 0x10002 - 0x4000' > ../build/intermediate/binary.link Can't find string terminator "'" anywhere before EOF at -e line 1. make: *** [../build/intermediate/binary.link] Fel 255
Regarding the Linkerfile creation issue, this was the biggest change if iirc. Indeed the quoting in BASH and CMD are very different. Therefore the easiest solution for the problem of the linker file creation was to move the Perl oneliner from /loader/src/Makefile to an extra Perl script (eg.create_linkerfile.pl). In the makefile the script can be called in the same place like this, exporting all necessary parameters: $(PERL) create_linkerfile.pl $@ $(_PLATFORM_) $(ZP) $(INSTALL) $(RESIDENT) $(TRANSIENT)
Not sure if you already support it, but from a CA65 power user like myself I much rather have just a .lib file and define the needed segments myself in my own link file and just ld65 in the .lib. .prg files belongs to the past. :D
DISKIO_ZP: load = LOADERZP, type = zp, define = yes; DISKIO_PLUGIN_ZP: load = LOADERZP, type = zp, define = yes, optional = yes; DISKIO: load = RAM, start = $3000, define = yes; DISKIO_PLUGIN: load = RAM, define = yes, optional = yes; DISKIO_INSTALL: load = RAM, start = $4000, define = yes; # fire and forget
rumours say that you need to be top level genius to make a build yourself of your loader :D
For some reason whenever i try compiling loader/src makefile [...]
Quoting jcomptonFor testing purposes on this fork, can anybody please name a few known-good-on-NTSC Krill loader titles? So far I've only been able to narrow it down to Avatar PSI-5 as a title which "should work, but doesn't."There aren't many IRQ-loading games, and PSI-5 is one of the very few cracks with this loader. Pretty sure that the loader in Sonic was built with the NTSC-compat option, not so sure for Scramble Infinity (and neither for PSI-5). In any case, make sure that the stuff works on an actual 1541 and an NTSC C-64 before trying it with an SD2IEC.
For testing purposes on this fork, can anybody please name a few known-good-on-NTSC Krill loader titles? So far I've only been able to narrow it down to Avatar PSI-5 as a title which "should work, but doesn't."