| |
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.... |
| |
TNT Account closed
Registered: Oct 2004 Posts: 189 |
Sending "m-e" 0502 784c0602 to all other drives?
("m-e" 0402 is even shorter :) |
| |
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 :) |
| |
TNT Account closed
Registered: Oct 2004 Posts: 189 |
Have you tried "dev 8:" in VICE monitor? |
| |
MRT Account closed
Registered: Sep 2005 Posts: 149 |
wooooottt....
If this does what I hope it does... :-DD
C0oOo0lio0OQ |
| |
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 :) |
| |
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?
|
| |
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. |
| |
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. |
| |
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. |
| |
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 |