| |
Smasher
Registered: Feb 2003 Posts: 512 |
Release id #220685 : Krill's Loader, Repository Version 192
first of all a big THANK-YOU Krill for the (long-awaited) release!!!
a question about the new feature "PREFER_SPEED_OVER_SIZE":
with this setting disabled loader fits in my ideal place $0200-$03ff (no stack, no screen area, yuppy!), while if I enable it it gets bigger and it doesn't fit.
so based on your testings, how fast is the "potentially faster decompression routine" compared to the default one? |
|
... 34 posts hidden. Click here to view all posts.... |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
For some reason whenever i try compiling loader/src makefile using gnu make on Windows i get this error.
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 # allow undocumented opcodes for drive code
ca65: Don't know what to do with '#'
make: *** [../build/intermediate/install-nonreloc-c64.o] Fel 1
i get this error on regular CMD prompt, i dont know whats the problem, ive tried Cygwin, i get the same error, MSYS2 dosent even find CA65. if anyone knows my problem, please help. |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Congrats on release $c0. |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
Quote: Congrats on release $c0.
never thought of that! pretty nice |
| |
Krill
Registered: Apr 2002 Posts: 2854 |
Quoting DeMOSicca65: Don't know what to do with '#'
make: *** [../build/intermediate/install-nonreloc-c64.o] Fel 1[/code]
Ah, thanks for the heads-up. That "--cpu 6502X" appears 3 times in 2 lines doesn't seem intended either. =)
So it's just a comment anyways, so simply delete the # and everything that follows it until newline, or move the comment to a line on its own. |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
Quote: Quoting DeMOSicca65: Don't know what to do with '#'
make: *** [../build/intermediate/install-nonreloc-c64.o] Fel 1[/code]
Ah, thanks for the heads-up. That "--cpu 6502X" appears 3 times in 2 lines doesn't seem intended either. =)
So it's just a comment anyways, so simply delete the # and everything that follows it until newline, or move the comment to a line on its own.
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 |
| |
Krill
Registered: Apr 2002 Posts: 2854 |
Quoting DeMOSicit worked but i get this error now That's a strange one. Since you seem to use Windows, can you try changing the line endings in that Makefile from 0A to 0D 0A and see if that helps? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11147 |
Isnt the problem here that bash and cmd are not quite the same thing, and anything non trivial will not work in cmd.exe unless adding the necessary voodoo to the makefile? (Did it ever work in cmd.exe before?) |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
Quote: Isnt the problem here that bash and cmd are not quite the same thing, and anything non trivial will not work in cmd.exe unless adding the necessary voodoo to the makefile? (Did it ever work in cmd.exe before?)
it didnt. i tried changing it a bit and it did fix that error BUT i got some error with ld65 which made it so no loader-c64.prg or install-c64.prg was made. i suppose i gotta have something in that binary.link file.
i did an automatic fix (replacing / with \) but one part in the makefile needed forward slash so i replaced that part with the original. |
| |
Krill
Registered: Apr 2002 Posts: 2854 |
Quoting DeMOSicit didnt. But seriously, ARE you trying to get it to build with CMD.EXE? Please say no. =) |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
Quote: Quoting DeMOSicit didnt. But seriously, ARE you trying to get it to build with CMD.EXE? Please say no. =)
ive tried Cygwin too. didnt work, i also tried reinstalling cygwin and following the guide in http://plush.de/map/Krills_loader_quick_setup_guide_for_Windows.. , installing perl and make from Cygwin instead of installing from windows. |
Previous - 1 | 2 | 3 | 4 | 5 - Next |