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


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

Registered: Oct 2014
Posts: 409
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: 1391
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: 409
I that was B SOUR :D
2019-04-29 18:56
tlr

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

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

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

Registered: Sep 2003
Posts: 1391
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
ptoing
Dymo/G★P
MMS_Z
DonChaos
JCH/Vibrants
Guests online: 124
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.6)
3 Coma Light 13  (9.6)
4 Memento Mori  (9.6)
5 Comaland 100%  (9.6)
6 The Shores of Reflec..  (9.6)
7 Unboxed  (9.6)
8 Lunatico  (9.6)
9 Remains  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Gumbo Revised  (9.5)
3 Smile to the Sky  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Bad Boy  (9.5)
6 Crystal Gazer  (9.5)
7 Cuarentenauta  (9.5)
8 Instinct  (9.5)
9 The Tuneful Eight [u..  (9.5)
10 The Night It Snowed  (9.5)
Top Groups
1 PriorArt  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Fossil  (9.4)
5 Performers  (9.3)
Top Musicians
1 Rob Hubbard  (9.8)
2 Jeroen Tel  (9.6)
3 LMan  (9.6)
4 Linus  (9.5)
5 Drax  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.062 sec.