Commodore 128 Alive!

Commodore 128 => 128 programmers => Topic started by: MIRKOSOFT on June 21, 2009, 08:54 PM

Title: Caps Lock (ASCII/DIN) is real and any character????
Post by: MIRKOSOFT on June 21, 2009, 08:54 PM
Hi!

I loaded BASIC 7 program with BLOAD and it occurs an error... but when I typed "LIST", there were shown any characters... and listing scrolls up... and at a moment changes my charset to German and after back to International... It seems that any character (or combination) can do the same like key ASCII/DIN (at international machines called Caps Lock)
Can anybody help me with this?
Thanks for every reply.

Miro
Title: Solution of automatic character set change...
Post by: MIRKOSOFT on June 22, 2009, 02:42 AM
Hi!

I found help on Forum64 and after I had experimented.
Automatically turn ON/OFF Caps Lock(ASCII/DIN) is 6th bit at address $0001, if =1 then is International charset/Caps Lock OFF, if =0 then is National charset/Caps Lock ON, but must be rerouted I/O register at $0000 6th bit to OUTPUT (1)- to change in program / to INPUT (0) - to change with key...

Usefull for somebody:
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
EhPortal 1.34 © 2025, WebDev