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: 502
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: 1807
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: 502
I that was B SOUR :D
2019-04-29 18:56
tlr

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

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

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

Registered: Sep 2003
Posts: 1807
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
Thunder.Bird/HF/MYD!..
Guests online: 142
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Codeboys & Endians  (9.6)
5 Edge of Disgrace  (9.6)
6 Coma Light 13  (9.6)
7 Signal Carnival  (9.6)
8 What Is The Matrix 2  (9.6)
9 Uncensored  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Nine  (9.7)
2 Scan and Spin  (9.7)
3 Layers  (9.6)
4 Two 4 One  (9.6)
5 Cubic Dream  (9.6)
6 Party Elk 2  (9.6)
7 Copper Booze  (9.5)
8 Onscreen 5k  (9.5)
9 Libertongo  (9.5)
10 Dawnfall V1.1  (9.5)
Top Groups
1 Artline Designs  (9.4)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Stormbringer  (9.7)
3 Fungus  (9.6)
4 Booze  (9.5)
5 Grim Reaper  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.066 sec.