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 ?
 
... 55 posts hidden. Click here to view all posts....
 
2014-12-07 13:41
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:
It is only working in winvice 2.x, not on a real c64.

it would be much easier to help if you said WHAT EXACTLY is working and what is not. and ALWAYS put ALL files on disk/d64. did you try strippig it down to a simple test case that only initializes the drive code and then loads something? does that expose the same problems?
2014-12-07 15:21
WVL

Registered: Mar 2002
Posts: 902
Aren't you just starting the first part and trying to initialize the loader without true drive emu? In that case the loader doesn't install itself in the drive and it won't work when you want to load later on. It doesnt help turning on true-drive emulation afterwards..

- put all files on a d64
- make sure you have true-drive emulation
- start winvice with the d64
2014-12-07 15:33
Chesoner

Registered: Apr 2013
Posts: 29
First testing we did :
We only had the part (file "01") to be loaded on a d64 file. we started the first part compiling with kickassembler so the first part is started in winvice and had a keyboard check in the beginning so the coding was not executed automaically further. we first put drive emulation to on and attached the d64 file with only the part what should be loaded ("01") and then press space (keyboard check) We did not get it to work this way because the loaded part freezes after decrunching/starting.

The second we did :
We now put both files to the d64 file. so the file "01" which should be loaded and the starting part "intro" are now on the d64 disk. if we run the d64 disk it is working fine in winvice 2.x but not on a real c64 because it again freezes after decrunching/starting.

I hope this will explain the problem we have a bit more.
2014-12-07 16:51
Oswald

Registered: Apr 2002
Posts: 5094
you have to know that loaders like this upload & execute code in the drive. true drive emulation have to be enabled before this step.

btw dont attach d64 and start true drive emulation manually. common practice is to set up true drive emulation to permanent & attach d64 in commandline.

the problem is too complex to get an answer to it on a forum like this. you have to try to pinpoint where & when the bug happens. before or after the file was loaded. before or after you have jumped on code in the new file. has the file been loaded correctly, etc etc. We cant do this job for you from here.
2014-12-07 23:14
Flavioweb

Registered: Nov 2011
Posts: 463
I never used Krill's loader, so i can't know for sure, but seems like if loader checks for compatibilty with actual drive, and if it found a loader-compatible device, then load drive code into drive ram, otherwise load file using some "non turbo" routines...
If it is, i think there are some problems during drive code compilation in this specific case, instead a real krill's code bug...
Very very imho, eh...
2014-12-08 08:10
Pantaloon

Registered: Aug 2003
Posts: 124
I've used Krills loader alot and never really had problems that wasn't caused by bad code from my own side. If you post your code here (your interrupts etc and how you setup the loader) we would probably spot the error directly.
2014-12-09 08:09
Axis/Oxyron
Account closed

Registered: Apr 2007
Posts: 91
Most important is to track down, where the problem occurs (loading, decrunching or something else). So my first test whould be to stop the cpu with an endless loop after loading. And compare the loaded memory with the original file. If this looks ok, do the same with the memory after decrunch. And so on...
2014-12-09 23:25
Count Zero

Registered: Jan 2003
Posts: 1932
Axis: you are obviously too simple minded then! Abstract description of obscure problem without telling which parameters got used (remember - my notice on true drive and device traps passed uncommented) are definately enough to yell for help and moan whenever no suitable solutions surfaces within the minute ...

cough - not that it turns off anyone from further following the thread ...
2014-12-10 16:09
Chesoner

Registered: Apr 2013
Posts: 29
@count zero: your true drive and device trap weren't unnoticed, it's better to not comment on the rest of the post.

I found after a lot of testing what the problem was, now we have to find a fix for the problem but at least we addressed the issue.

Thanks everyone for the advice !!
2014-12-10 17:02
chatGPZ

Registered: Dec 2001
Posts: 11386
so what was the problem?
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
Magic/Nah-Kolor
Didi/Laxity
LordCrass
Guests online: 76
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 Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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