Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user zschunky ! (Registered 2019-02-20) You are not logged in 
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: 1204
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: 249
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: 1204
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
Hoogo/Padua
blendo75
DanPhillips
Didi/Laxity
pcollins/Excess
xIII/ATL/WOW
Guests online: 37
Top Demos
1 Unboxed  (9.7)
2 Uncensored  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.6)
5 Comaland 100%  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 C=Bit 18  (9.6)
10 X Marks the Spot  (9.5)
Top onefile Demos
1 Smile to the Sky  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 Dawnfall V1.1  (9.4)
4 FMX Music Demo  (9.4)
5 Crystal Gazer  (9.4)
6 Rewind  (9.4)
7 Pandemoniac Part 2 o..  (9.4)
8 Official X2018 Report  (9.4)
9 Arok 20 Invitation  (9.4)
10 Party Horse  (9.3)
Top Groups
1 PriorArt  (9.7)
2 Performers  (9.5)
3 Oxyron  (9.5)
4 Booze Design  (9.4)
5 Censor Design  (9.3)
Top Coders
1 Sailor  (10)
2 Antonio Savona  (10)
3 Axis  (9.8)
4 CRT  (9.8)
5 Graham  (9.8)

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