At some point I had read instructions on how to hook a new device driver into an existing KERNAL. I scoured my book collection and can find no information on this. So it may have been in a magazine that I no longer have, or maybe even on some early website. If someone knows where to find this, I would greatly appreciate the information.
What I'd like to do is create a new hardware mass storage solution that I can attach to the Commodore 64 expansion port. I'd like it to appear as a standard device. So if this device is at address 11, one could
LDA #1
LDX #11
LDY #2
JSR SETLFS
Thus of course, LOAD"TEST",11 in BASIC work as well.
Every piece of advise I've seen so far is that a custom KERNAL would need to be written. If so, that's what I'll have to do. But it seems to me that this shouldn't need to be done. Of course, finding and reading again a KERNAL disassembly would allow me to figure this out on my own. But I expect that there are some here who already know how to do this.
What I'd like to do is create a new hardware mass storage solution that I can attach to the Commodore 64 expansion port. I'd like it to appear as a standard device. So if this device is at address 11, one could
LDA #1
LDX #11
LDY #2
JSR SETLFS
Thus of course, LOAD"TEST",11 in BASIC work as well.
Every piece of advise I've seen so far is that a custom KERNAL would need to be written. If so, that's what I'll have to do. But it seems to me that this shouldn't need to be done. Of course, finding and reading again a KERNAL disassembly would allow me to figure this out on my own. But I expect that there are some here who already know how to do this.