Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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: 1987
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
 
... 23 posts hidden. Click here to view all posts....
 
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: 1987
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: 1987
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.
2009-03-12 15:42
chatGPZ

Registered: Dec 2001
Posts: 11101
make sure you do not reset the vectors, ever :)
2009-03-12 15:54
Oswald

Registered: Apr 2002
Posts: 5017
you can reinit everything through kernal subs, but god knows which one you need for load. probably easyer to figure tho :)
2009-03-12 16:22
chatGPZ

Registered: Dec 2001
Posts: 11101
Quote:
you can reinit everything through kernal subs


NO! if a cartridge is inserted, then calling the kernal functions will reset the vectors to their "normal" values. to be able to use cartridge loaders you must NOT call i/o reset (might disable cartridge), and NOT touch the vectors whatsoever.

said kernal functions beeing called is pretty much the number one reason for cartridge fastloaders NOT working with a lot of programs =P
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
TFWP
Guests online: 63
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 Wonderland XIV  (9.6)
9 The Ghost  (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 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (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 Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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