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: 159
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.
 
... 30 posts hidden. Click here to view all posts....
 
2023-10-02 19:28
chatGPZ

Registered: Dec 2001
Posts: 11523
Quote:
I was reading the Compute manual and like the fact that the new 6502 variant has a Direct Page that is moveable like the 6809 instead of having to stay on the zero page, that is a great programming feature for enhanced C64 programming.

What are you talking about? That's a MMU feature, it has nothing to do with the CPU. It can't be used in C64 mode either.
2023-10-03 04:52
oziphantom

Registered: Oct 2014
Posts: 502
Quoting Mr SQL
Perhaps this was done to distinguish it on the C128.
On the C64 shift-lock is indistinguishable from left shift, it uses the same keyboard matrix.


No.
The Shift-Lock key on a C128 is identical in every way to the C64 Shift-Lock Key. Otherwise it wouldn't work on the C64 Kernal or with games. As it is still wired to the Shift key and is in the same position on the keyboard. You can also do the fancy trick to detect Shift-Lock vs Shift on a 128 just fine. It is 100% identical.

The Caps-Lock key is a 128 only key and is not visible to the C64 Kernal, as it performs a Caps Lock operation not a Shift Lock operation it is has very different functionality.
2023-10-03 22:42
Mr SQL

Registered: Feb 2023
Posts: 159
Quoting chatGPZ
Quote:
I was reading the Compute manual and like the fact that the new 6502 variant has a Direct Page that is moveable like the 6809 instead of having to stay on the zero page, that is a great programming feature for enhanced C64 programming.

What are you talking about? That's a MMU feature, it has nothing to do with the CPU. It can't be used in C64 mode either.

Thanks I thought it was a modification directly to the new 6502 variant. It seems to have the same function for the CPU as the one built into the 6809 where you can change the direct page to any of the 256 pages to use zero page addressing there.

On the CoCo III the MMU was limited to manipulating 8K blocks, I'll have to finish reading the guide but it sounds like the MMU is more versatile on the C128.
2023-10-03 22:48
Mr SQL

Registered: Feb 2023
Posts: 159
Quote: Quoting Mr SQL
Perhaps this was done to distinguish it on the C128.
On the C64 shift-lock is indistinguishable from left shift, it uses the same keyboard matrix.


No.
The Shift-Lock key on a C128 is identical in every way to the C64 Shift-Lock Key. Otherwise it wouldn't work on the C64 Kernal or with games. As it is still wired to the Shift key and is in the same position on the keyboard. You can also do the fancy trick to detect Shift-Lock vs Shift on a 128 just fine. It is 100% identical.

The Caps-Lock key is a 128 only key and is not visible to the C64 Kernal, as it performs a Caps Lock operation not a Shift Lock operation it is has very different functionality.


Thanks that was confusing, caps-lock and shift-lock are often synonymous. Interesting it has another function.

I'm pretty sure shift-lock uses the same keyboard matrix circuitry as the left shift and just holds it down, they should be indistinguishable if that is the case.
2023-10-04 00:40
chatGPZ

Registered: Dec 2001
Posts: 11523
Its the same in the keyboard matrix - but they still can be distinguished - see here: https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/CIA..
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
S.E.S./Crest
Tommy/Noice^DCS
Scrap/Genesis Project
Thunder.Bird/HF/MYD!..
encore
MWR/Visdom
iAN CooG/HVSC
mutetus/Ald ^ Ons
master_hacker
Guests online: 250
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 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (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 Original Suppliers
1 Derbyshire Ram  (9.7)
2 Black Beard  (9.2)
3 Baracuda  (9.2)
4 hedning  (9.1)
5 Irata  (8.8)

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