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 > Tape loader working on c64, not on c128, why?
2018-12-08 17:44
tlr

Registered: Sep 2003
Posts: 1702
Tape loader working on c64, not on c128, why?

When working on a tape loader recently I was made aware by testers that it doesn't work on the C128 at all but reliably on the C64.

I haven't mananged to figure out what makes it so. Does anyone here have experience with this sort of problem.

I've considered $d030 and avoided any I/O mirrors. I'm kind of suspecting $00/$01 but can't really see why it would be a problem. (it's $2f/$06 during loading)

From the reports the problem is there already in make s-load 0.3. In emulation no problems show up on x64 vs x128. Haven't tried z64k yet.
2018-12-09 13:04
oziphantom

Registered: Oct 2014
Posts: 478
does it fail on 128 mode, or 64 mode?

my guess is the port on the 128 has an extra bit, which will still be there in 64 mode, so your code might assume that it is one way or the other, to which the 128 by default is the other.
Bit 6 which will be an input thanks to both the 128 kernal and the c64 kernal (i.e 0) is the Caps Lock Key which is most probably up in most cases and hence will read as a 0 not a 1 as it does by default on the C64. I guess try pressing in the CAPS/LOCK key ( not sure if that is "locked out" in 64 mode or not ) and see if that fixes the loading.
2018-12-09 13:29
tlr

Registered: Sep 2003
Posts: 1702
Thanks for the tip. I do not read $01 so it shouldn't be a problem but will make the testers try Caps Lock anyway.
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
Fred/Channel 4
maak
K-reator/CMS/F4CG
Guests online: 133
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.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (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 Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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