| |
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 ? |
|
| |
HCL
Registered: Feb 2003 Posts: 728 |
I always claimed that this loader is not working.. ;) |
| |
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 |
| |
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. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
try disabling the watchdog in the loader config |
| |
Bitbreaker
Registered: Oct 2002 Posts: 508 |
And try not to trash registers with your irq :-) |
| |
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. |
| |
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) |
| |
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 |
| |
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 ? |
| |
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 |