| |
oziphantom
Registered: Oct 2014 Posts: 490 |
KERNAL Save
So on a 128...
I disable all interrupts, and call SAVE. This is using BURST so the SSR gets data and that fires an interrupt, only the normal (0314) interrupt handler fires, has no idea what to do with it and the machine just hangs in an infinite loop of interrupting it self. If I set the 0314 handler to and empty handler that acks a DC00 interupt, it works fine and I get a "device not present" error.. How is this suppose to work?
BA is 8, it seems to go through all the motions.. |
|
| |
oziphantom
Registered: Oct 2014 Posts: 490 |
Fun Fact the 128 has variable called C3PO |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
As does the c64... It’s the byte buffer for the next char to ouput on the IEC-bus. |
| |
oziphantom
Registered: Oct 2014 Posts: 490 |
I that was B SOUR :D |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Seems you are right. C3PO apparently contains the flag to say something is in the BSOUR buffer. :) |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Of course, there's R2D2 as well, at $a3. =) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
are the rom source codes out so you know variable names ? |
| |
oziphantom
Registered: Oct 2014 Posts: 490 |
I was using the C128 PRG, the C64 PRG also suffices, however I note that it doesn't mention anything for $a3
But also yes https://github.com/mist64/cbmsrc |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
R2D2: https://archive.org/details/Compute_s_Mapping_the_Commodore_128..
C3PO: https://archive.org/details/Compute_s_Mapping_the_Commodore_128..
Oswald: These names were used already in the C64 KERNAL source code, as oziphantom mentioned. |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Presumably in the vic-20 code as well but perhaps not earlier as serial IEC was new for the vic-20. |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Plus PET2001 was released before Star Wars, if i have my dates right. :) |
... 1 post hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |