Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Krill loader not working
2014-10-19 20:28
Chesoner
Account closed

Registered: Apr 2013
Posts: 28
Krill loader not working

Hi There,

We are still strungling with the Krill loader, I have to say that we have progressed a lot but we get the following problem :

If we use the following command :

Make prg INSTALL=4000 RESIDENT=9000 zp=10

The install is working good at 4000 but the loader is still located at 0400. if we forced it to load at 9000 it ain't working.

Are we doing something wrong here ?
2014-10-19 21:17
HCL

Registered: Feb 2003
Posts: 717
I always claimed that this loader is not working.. ;)
2014-10-19 21:47
algorithm

Registered: May 2002
Posts: 702
delete the files in the build directory and try
make prg RESIDENT=9000 INSTALL=4000 ZP=10

(make sure ZP is in capitals :-)) and in this example the used ZP would start from $10, not $0a
2014-11-23 20:33
Chesoner
Account closed

Registered: Apr 2013
Posts: 28
Why is it if I call the loader after setting up an irq the irq stops and so is the loader and if I do not use an irq everything loads just fine ?

I have tested with different irq's but it keeps hanging after calling the loader.
2014-11-23 21:20
chatGPZ

Registered: Dec 2001
Posts: 11130
try disabling the watchdog in the loader config
2014-11-24 07:19
Bitbreaker

Registered: Oct 2002
Posts: 500
And try not to trash registers with your irq :-)
2014-11-24 07:48
Oswald

Registered: Apr 2002
Posts: 5022
does the irq work without the loader ? does it work with a dummy irq ? (doing nothing) try to pinpoint the bug.
2014-11-24 13:35
algorithm

Registered: May 2002
Posts: 702
To add to this, Are you also ensuring you run the correct load call (if depack options are enabled, make sure that you run the correct section)
2014-11-25 07:43
Chesoner
Account closed

Registered: Apr 2013
Posts: 28
I don't know what caused the problem but I build the loader again with more options and it is working fine now.

Thanks for the help
2014-11-25 19:47
Chesoner
Account closed

Registered: Apr 2013
Posts: 28
Almost there .... so here is another question :


I have now loaded a small program (with the krill loader) at a certain location and relocated to $0801 when possible. i have packed the file with pucrunch and now want the file to be decompressed while running an irq. What do i do now ?

I cannot use $080d because the irq will stop untill the file is decompressed.

Can i still use krill's loader to decompress the file and how do i do that ?
2014-11-26 11:04
Chesoner
Account closed

Registered: Apr 2013
Posts: 28
anyone an idea ?
 
... 55 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - 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
Visage/Lethargy
Kris/Rebels^Clique
ghoul
Higgie/Kraze/Onslaught
t0m3000/ibex-crew
Holy Moses/Role
Oswald/Resource
Guests online: 112
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Vincenzo  (9.8)
2 Rob Hubbard  (9.7)
3 Stinsen  (9.7)
4 Jeroen Tel  (9.6)
5 Linus  (9.6)

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