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: 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
 
... 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: 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
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: 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.
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: 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)?
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: 11386
make sure you do not reset the vectors, ever :)
2009-03-12 15:54
Oswald

Registered: Apr 2002
Posts: 5094
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: 11386
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
Chesser/Blazon
Fred/Channel 4
Da Snake
blitzed
BYB/Hokuto Force
DivertigO
t0m3000/hf^boom!^ibx
megasoftargentina
DKT/Samar/sidDivers
Murphy/Exceed
Guests online: 119
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 Censor Design  (9.3)
5 Triad  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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