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


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

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

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

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

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

Registered: Sep 2003
Posts: 1229
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
Alakran_64
Røly/MYD^STHD^TSA
Don Kichote/Samar Pr..
MaD ][/Starship
Lynx/ΤRIΛD
DuncanTwain
Mythus/Delysid
Alta
Claus_2015
Guests online: 53
Top Demos
1 Unboxed  (9.7)
2 Uncensored  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.5)
9 C=Bit 18  (9.5)
10 Old Men in Used Cars  (9.5)
Top onefile Demos
1 LSR 64 V0.31  (10)
2 Smile to the Sky  (9.5)
3 Dawnfall V1.1  (9.5)
4 Crystal Gazer  (9.5)
5 Daah, Those Acid Pil..  (9.5)
6 Rewind  (9.5)
7 Instinct  (9.5)
8 Pandemoniac Part 5 o..  (9.5)
9 Innervasion  (9.4)
10 Bad Boy  (9.4)
Top Groups
1 Fossil  (9.8)
2 PriorArt  (9.7)
3 Performers  (9.6)
4 Oxyron  (9.4)
5 Censor Design  (9.4)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Horizon  (9.8)
3 The Mind Slayer  (9.8)
4 Stormbringer  (9.7)
5 The Shadow  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.055 sec.