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 > 2 bit irq loader
2006-06-21 22:11
MRT
Account closed

Registered: Sep 2005
Posts: 149
2 bit irq loader

Hmm, just a question...

Is there a 2 bit irq loader, which doesn't require blocking other interrupts while loading a byte?

i.o.w. Is there a realy fast irq loader which doesn't block any interrupts and let me use my beloved sprites? :-)
 
... 42 posts hidden. Click here to view all posts....
 
2006-12-12 09:25
TNT
Account closed

Registered: Oct 2004
Posts: 189
Sending "m-e" 0502 784c0602 to all other drives?

("m-e" 0402 is even shorter :)
2006-12-12 12:18
MRT
Account closed

Registered: Sep 2005
Posts: 149
Quote: Why don't you just check it yourself? Doesn't take long to code, really. :)

Dunno, I'm trying to code something for a drive for the first time. So I don't have any experience with this.

also, Vice lacks a way to "debug" the drive. I'd like a drive monitor as well :)
2006-12-12 12:21
TNT
Account closed

Registered: Oct 2004
Posts: 189
Have you tried "dev 8:" in VICE monitor?
2006-12-12 12:24
MRT
Account closed

Registered: Sep 2005
Posts: 149
wooooottt....
If this does what I hope it does... :-DD
C0oOo0lio0OQ
2006-12-14 21:24
Krill

Registered: Apr 2002
Posts: 2980
Quote: Sending "m-e" 0502 784c0602 to all other drives?

("m-e" 0402 is even shorter :)


Obviously you haven't tried that code or muting other drives when using 2bit+atn protocols before posting this :)
2006-12-14 21:45
cadaver

Registered: Feb 2002
Posts: 1160
Quote: Oh, and btw., i have an idea on how to make the 2bit+atn protocol work with multiple drives connected (and turned on). Will implement that some day..

Just out of interest, does this involve programming the idle drives to execute some kind of loop or is it something more convenient?
2006-12-14 21:57
Krill

Registered: Apr 2002
Posts: 2980
It's a loop, but i will try making the loader work on all connected drives, i.e., installing it on any drive on the bus and let the user load from any drive, i.e., the loader tries finding the files on any inserted disk.
2006-12-15 06:04
Oswald

Registered: Apr 2002
Posts: 5094
krill, I think this is an overkill, also what happens if the c64 resets while the demo is running ? he will find himself with most of his drives in an infinite loop.
2006-12-15 08:33
Krill

Registered: Apr 2002
Posts: 2980
No, i have already implemented a watchdog routine (using a timer irq) in the drive code, so any loop waiting for the c64 will be terminated and the drive reset if it just takes too long.
And it might be overkill for a demo, but i will make this loader more and more a loader suitable for games, as well.
2006-12-15 08:50
Krill

Registered: Apr 2002
Posts: 2980
Oh, and i also got rid of this stupid 2 first chars filename matching, now you can load files using their full names (1-16 chars) while still using the dir buffer, so it does still not need to be read and parsed on every load. A 16-bit hash value matching does the trick here. :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
Unlock/Padua/Albion
goerp/F4CG/HF
Felidae/Reflex
The Syndrom/TIA/Pret..
REBEL 1/HF
Guests online: 111
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (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 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (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 Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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