Recognize between C128/C128D/C128CR/C128DCR...

Started by MIRKOSOFT, June 18, 2009, 12:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MIRKOSOFT

Hi!

On C64 I could with PEEK(65408) check version of Commodore 64 (C64-I/C64C/C64G/SX-64).
Is in Commodore 128 possible to recognize C128, C128D, C128CR, C128DCR?
Thanks for reply.

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

Alex

I don't think you can do exectly the same for C128 makes. You can check Kernel version and Monitor revision but it will tell you only if it predates '86 - you can check also MMU rev but I believe there is only one rev anyway.

Another thing is to check for VDC memory size but it can be extended so again it's not a proof that can be used for identification. Take a look at SYSTEM INFO programs from this archive: http://folkvagn.commodore64.org/Disketter/Egna_program_och_projekt/c128_prg.zip - might have some tips for solving your problems.

MIRKOSOFT

I found there recognizing more than I wanted, st. maybe not, but it was very helpful.
My last Q is: CAN I SWITCH CHARACTER SET WITHOUT PRESSING ASCII/DIN?
Maybe will be helpful if Caps Lock on International machines can be activated without pressing it...
Very, very thanks.

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

Alex

Never thought about it but as long as it's not directly connected to any line the answer should be: yes. Anyway you can always copy character set to memory and use it for own purposes I guess. Checkout C128 mapping book - there must be an info about it in it.

MIRKOSOFT

Hi!

Using function of Caps Lock or called ASCII/DIN:
poke0,peek(0)or64:poke1,peek(1)and191 = national font/Caps Lock ON
poke0,peek(0)and191:poke1,peek(1)or64 = standard font/Caps Lock OFF

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk