Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Coinoperator ! (Registered 2024-06-17) You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #220685 : Krill's Loader, Repository Version 192
2022-08-18 16:23
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....
 
2022-10-01 12:36
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.
2022-10-01 14:50
Cruzer

Registered: Dec 2001
Posts: 1048
Congrats on release $c0.
2022-10-01 14:58
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: Congrats on release $c0.

never thought of that! pretty nice
2022-10-01 15:43
Krill

Registered: Apr 2002
Posts: 2857
Quoting DeMOSic
ca65: 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.
2022-10-01 15:44
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: Quoting DeMOSic
ca65: 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
2022-10-03 17:41
Krill

Registered: Apr 2002
Posts: 2857
Quoting DeMOSic
it 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?
2022-10-03 19:50
chatGPZ

Registered: Dec 2001
Posts: 11154
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?)
2022-10-03 20:15
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.
2022-10-03 20:21
Krill

Registered: Apr 2002
Posts: 2857
Quoting DeMOSic
it didnt.
But seriously, ARE you trying to get it to build with CMD.EXE? Please say no. =)
2022-10-03 20:23
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: Quoting DeMOSic
it 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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sentinel/Excess/TREX
CA$H/TRiAD
macx
Board Rider/Commodor..
Guests online: 115
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 Wonderland XIV  (9.6)
9 No Bounds  (9.6)
10 Aliens in Wonderland  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Daah, Those Acid Pil..  (9.5)
9 Birth of a Flower  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.044 sec.