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

Registered: Apr 2013
Posts: 29
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: 728
I always claimed that this loader is not working.. ;)
2014-10-19 21:47
algorithm

Registered: May 2002
Posts: 705
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

Registered: Apr 2013
Posts: 29
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: 11386
try disabling the watchdog in the loader config
2014-11-24 07:19
Bitbreaker

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

Registered: Apr 2002
Posts: 5094
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: 705
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

Registered: Apr 2013
Posts: 29
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

Registered: Apr 2013
Posts: 29
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

Registered: Apr 2013
Posts: 29
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
csabanw
crayon/Hokuto Force
goto80/HT
DanPhillips
Guests online: 98
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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