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 > C64 Compatibility with C128 in depth
2023-09-30 23:31
Mr SQL

Registered: Feb 2023
Posts: 158
C64 Compatibility with C128 in depth

Very educational video on 8-bit show and tell:

http://www.youtube.com/watch?v=Ial2VSAu7tw

Robin illustrates using the built-in dissembler/Editor Assembler to correct hotspots where the C128 is incompatible with the C64.

The C128 is still closely compatible for having enhancements to the same hardware. I remember when the CoCo III came out the GIME did not fully emulate the 6847 VDG creating more incompatibilities, particularly with the semigraphics modes.

Interesting commentary at the end of the video regarding the C64 mode being better for game development.
2023-10-01 04:51
ws

Registered: Apr 2012
Posts: 251
Reminds me of a writeup i made in 2016, to remedy a bad experience with C=128 compatibility in 1988. Fuck copyprotections.
2023-10-01 08:18
Mr SQL

Registered: Feb 2023
Posts: 158
Quote: Reminds me of a writeup i made in 2016, to remedy a bad experience with C=128 compatibility in 1988. Fuck copyprotections.

Excellent read I like that story! Very cool you were able to remove the copy protection changing only 5 bytes to bypass the checks AND the way you located #$C2 as the high byte to pass to the decryption algorithm searching for Nops,

I had a similar experience finally figuring out how remove copy protection from a program from 1987 in 2020. Felt like solving a crossword puzzle.
2023-10-01 09:15
Fungus

Registered: Sep 2002
Posts: 746
That caps lock thing with switch sense line has got to be a bug in the rom.

The 1571 has many incompatibilities, I had many many games that would not load on it.

Particularly games with v-max v0/v1 from gamestar, some rapidlok titles.

With jiffydos it's even worse, only about 60-65% of my games worked with it. Many demos fail too. I ended up just removing the roms and selling them as they were mostly useless to me.
2023-10-01 14:04
chatGPZ

Registered: Dec 2001
Posts: 11510
It's a good demonstration of why most knowledgeable people prefer written documentation over videos :)

Quote:
That caps lock thing with switch sense line has got to be a bug in the rom.

No, the ROM works - its only his BASIC program that is broken :)
2023-10-01 23:29
Mr SQL

Registered: Feb 2023
Posts: 158
Quote: That caps lock thing with switch sense line has got to be a bug in the rom.

The 1571 has many incompatibilities, I had many many games that would not load on it.

Particularly games with v-max v0/v1 from gamestar, some rapidlok titles.

With jiffydos it's even worse, only about 60-65% of my games worked with it. Many demos fail too. I ended up just removing the roms and selling them as they were mostly useless to me.


Sounds like the 1541 was the better option for compatibility.
2023-10-01 23:34
Mr SQL

Registered: Feb 2023
Posts: 158
Quote: It's a good demonstration of why most knowledgeable people prefer written documentation over videos :)

Quote:
That caps lock thing with switch sense line has got to be a bug in the rom.

No, the ROM works - its only his BASIC program that is broken :)


Written documentation is great, I particularly found the MOS 6581 datasheet and the C64 memory map most useful:
http://archive.6502.org/datasheets/mos_6581_sid.pdf
https://sta.c64.org/cbm64mem.html

I think overview videos are very useful too, I never know about those specific compatibility issues or the solutions until Robin illustrated them.

What errors did you spot in his BASIC program and why did they cause that compatibility issue?
2023-10-02 00:37
chatGPZ

Registered: Dec 2001
Posts: 11510
Someone who claims to have written a cycle exact VCS emulator the runs on the C64 should have no problem to spot the problem in the program :)
2023-10-02 01:34
Mr SQL

Registered: Feb 2023
Posts: 158
Quote: Someone who claims to have written a cycle exact VCS emulator the runs on the C64 should have no problem to spot the problem in the program :)

Well I wish you'd share your findings it sounds intriguing. I'm not as familiar with all of the nuances of the C64/C128 as with the Atari 2600. You wrote C64 and C128 emulators!

I like that ws shared his write-up of the copy protection bug he resolved. That would have been particularly difficult and time consuming to track down and I might not have been able to find the solution.
2023-10-02 01:43
chatGPZ

Registered: Dec 2001
Posts: 11510
Spotting the problem in the basic program requires zero C64 knowledge, just basic programming 101
2023-10-02 03:23
Mr SQL

Registered: Feb 2023
Posts: 158
Quote: Spotting the problem in the basic program requires zero C64 knowledge, just basic programming 101

Very cool, in that case I'm glad you didn't give it away. I will take a look again and see if I can find it.
 
... 25 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - 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
Didi/Laxity
DJ Gruby/TRiAD
Scooby/G★P/Light
TMA/Abyss-Connection
Sokrates
Ko-Ko
Monte Carlos/Cascade
celticdesign/G★P/M..
iAN CooG/HVSC
Guests online: 221
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Uncensored  (9.5)
9 Wonderland XIV  (9.5)
10 No Bounds  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.7)
4 LMan  (9.7)
5 Linus  (9.6)

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