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 > Quick loading without an IRQ-loader!
2009-03-12 06:41
JackAsser

Registered: Jun 2002
Posts: 1989
Quick loading without an IRQ-loader!

Hey guys!

I know my ways around the various IRQ-loaders normally used today, but what about the non-IRQ-loaders (no music, $d011=0, sei, no-NMIs)?

- Which one can you recommend?

- Are there any that comes with source so that I can easily relocate them?

- How much faster are (can) a non-IRQ-loader be compared to an IRQ-loader?

- Any that perhaps easily can be connected to pucrunch or exo and thus load and decrunch at the same time?

- Is this stupid? Are the modern IRQ-loaders as fast or faster than the old legacy non-IRQ-loaders anyway?

/JackAsser
2009-03-12 07:07
Radiant

Registered: Sep 2004
Posts: 639
Non-IRQ loaders are a lot faster (several multitudes) IIRC. There's one on Plushdos, but as you know, Krill gets mad if you use it. ;-)

2009-03-12 07:26
Ninja

Registered: Jan 2002
Posts: 404
The routines getting data from the disk to the drive are not faster, but the transfer to the c64 is speeded up a lot as no handshaking is needed (think of synchronous against asynchronous).

Dunno what you are up to, have you tried thinking about just using the LOAD-vector as most people have some sort of cart (which is probably faster anyhow)? Plus, no compatibility problems then.
2009-03-12 08:19
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: The routines getting data from the disk to the drive are not faster, but the transfer to the c64 is speeded up a lot as no handshaking is needed (think of synchronous against asynchronous).

Dunno what you are up to, have you tried thinking about just using the LOAD-vector as most people have some sort of cart (which is probably faster anyhow)? Plus, no compatibility problems then.


Just fixing old stuff. That old stuff uses some loader but it's quite slow. I did use the LOAD-vector at some places and thought that it would be nice to replace the fast loader with something really quick. But sure, I can change all loading places to normal LOAD and rely on the cart.

/JackAsser
2009-03-12 08:59
Graham
Account closed

Registered: Dec 2002
Posts: 990
In cases of normal fastloading, it is best to rely on the DOS vectors so cartridge fastloaders and other stuff like ide64 etc can be use.
2009-03-12 09:05
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: In cases of normal fastloading, it is best to rely on the DOS vectors so cartridge fastloaders and other stuff like ide64 etc can be use.


As I do it now I first 'fix' the KERNEL by doing:
JSR $FF84
JSR $FF8A

Then I load using the technique you described in http://www.codebase64.org/doku.php?id=base:loading_a_file i.e. by calling $FFBD, $FFBA and $FFD5.

This works totally fine. Is this 'cart-compatible'? Or should I load via some other soft-vector?

/JackAsser
2009-03-12 09:59
iopop

Registered: Dec 2001
Posts: 317
It will use the "cart" fastloader if you keep $0330/$0331 intact.
2009-03-12 13:03
AlexC

Registered: Jan 2008
Posts: 293
I'd opt for cart fast loader as it makes it working with MMC and other (both current and future) hardware extensions possible. Also not everyone is using 1541 (I'm thinking about C128D users for example) as their number 8 disk drive.
2009-03-12 14:13
Graham
Account closed

Registered: Dec 2002
Posts: 990
Quote:
JSR $FF84
JSR $FF8A

Disables all cartridge fastloaders and hardware drivers.
2009-03-12 14:29
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: Quote:
JSR $FF84
JSR $FF8A

Disables all cartridge fastloaders and hardware drivers.


Hmms, ok. So, what do I need to preserve to make sure LOAD works when I need it too (and that it will use the fastloader on the cart)?
2009-03-12 15:42
j0x

Registered: Mar 2004
Posts: 215
$0330-$0331 should be enough.
 
... 23 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - 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
jmin
TMA/Abyss-Connection
Apollyon/ALD
enthusi/PriorArt
hedning/G★P
anonym/padua
ALIEN
theK/ATL
megasoftargentina
jcompton
kbs/Pht/Lxt
Scooby/G★P/Light
Retroluzzer/Quantum
cobbpg
Guests online: 139
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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