| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
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 |
|
| |
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. ;-)
|
| |
Ninja
Registered: Jan 2002 Posts: 411 |
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. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
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 |
| |
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.
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
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 |
| |
iopop
Registered: Dec 2001 Posts: 317 |
It will use the "cart" fastloader if you keep $0330/$0331 intact. |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
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. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
Quote:JSR $FF84
JSR $FF8A
Disables all cartridge fastloaders and hardware drivers.
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
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)? |
| |
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 |