Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > KERNAL Save
2019-04-29 14:43
oziphantom

Registered: Oct 2014
Posts: 478
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..
 
... 1 post hidden. Click here to view all posts....
 
2019-04-29 17:44
tlr

Registered: Sep 2003
Posts: 1703
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: 478
I that was B SOUR :D
2019-04-29 18:56
tlr

Registered: Sep 2003
Posts: 1703
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: 2825
Of course, there's R2D2 as well, at $a3. =)
2019-05-02 07:33
Oswald

Registered: Apr 2002
Posts: 5017
are the rom source codes out so you know variable names ?
2019-05-02 08:09
oziphantom

Registered: Oct 2014
Posts: 478
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: 2825
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: 1703
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: 2825
Plus PET2001 was released before Star Wars, if i have my dates right. :)
2019-05-02 10:16
tlr

Registered: Sep 2003
Posts: 1703
Good point! :) 2001: A Space Odyssey was release well before that PET though.
Previous - 1 | 2 - 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
niallquinn
d0c
ΛΛdZ
hedning/G★P
Higgie/Kraze/Onslaught
Sokrates
Didi/Laxity
Dymo/G★P
Guests online: 174
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Mr Zero Page  (9.8)
4 Antitrack  (9.8)
5 OTD  (9.8)

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