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 > KERNAL Save
2019-04-29 14:43
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..
2019-04-29 17:33
oziphantom

Registered: Oct 2014
Posts: 490
Fun Fact the 128 has variable called C3PO
2019-04-29 17:44
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.
2019-04-29 18:23
oziphantom

Registered: Oct 2014
Posts: 490
I that was B SOUR :D
2019-04-29 18:56
tlr

Registered: Sep 2003
Posts: 1790
Seems you are right. C3PO apparently contains the flag to say something is in the BSOUR buffer. :)
2019-05-01 11:12
Krill

Registered: Apr 2002
Posts: 2980
Of course, there's R2D2 as well, at $a3. =)
2019-05-02 07:33
Oswald

Registered: Apr 2002
Posts: 5094
are the rom source codes out so you know variable names ?
2019-05-02 08:09
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
2019-05-02 08:45
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.
2019-05-02 09:29
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.
2019-05-02 09:45
Krill

Registered: Apr 2002
Posts: 2980
Plus PET2001 was released before Star Wars, if i have my dates right. :)
2019-05-02 10:16
tlr

Registered: Sep 2003
Posts: 1790
Good point! :) 2001: A Space Odyssey was release well before that PET though.
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
Flashback
Bieno/Commodore Plus
Guests online: 92
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 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (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 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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