Re: Editing PETSCII on Linux

From: Groepaz <groepaz_at_gmx.net>
Date: Tue, 25 Mar 2014 11:57:13 +0100
Message-Id: <201403251157.13292.groepaz@gmx.net>
On Tuesday 25 March 2014, you wrote:
> I found this font, as well:
> http://www.kreativekorp.com/software/fonts/c64.shtml
> I used vice to create a sequential file with a bunch of cursor controls and
> graphics characters in it (hexdump below).
> There's a file /usr/share/i18n/charmaps/ARMSCII-8.gz that looks promising.
> I changed the <code_set_name> to PETSCII-8 inside that file, twiddled a few
> unicode values using numbers from the triad character map, and copied it
> back to /usr/share/i18n/charmaps/PETSCII-8 .  Then I did 'sudo
> dpkg-reconfigure locales' but I don't think that was quite the right
> thing.
> 
> In gedit, I did File | Open... | Character Encoding: Add or Remove...
> but did not see the PETSCII-8 in the Available Encodings box of the
> Character Encodings dialog.
> 
> $ hd STIKBOI.S00
> 00000000  43 36 34 46 69 6c 65 00  53 54 49 4b 42 4f 49 00
> 
> |C64File.STIKBOI.|
> 
> 00000010  00 00 00 00 00 00 00 00  00 00 0d d5 c0 c0 c0 c9
> 
> |................|
> 
> 00000020  11 9d 9d 9d 9d 9d dd d7  20 d7 dd 11 9d 9d 9d 9d  |........
> .......|
> 00000030  9d dd 20 cb 20 dd 11 9d  9d 9d 9d 9d dd ca c0 cb  |.. .
> ...........|
> 00000040  dd 11 9d 9d 9d 9d 9d ca  c0 b2 c0 cb 11 9d 9d 9d
> 
> |................|
> 
> 00000050  9d ca 12 d6 92 cb 11 9d  9d 9d ce 20 cd 0d 0d 53  |...........
> ...S|
> 00000060  4f 4d 45 20 54 45 58 54  0d                       |OME TEXT.|
> 00000069
> $ petcat STIKBO.S00
> U{SHIFT-*}{SHIFT-*}{SHIFT-*}I{down}{left}{left}{left}{left}{left}]W
> W]{down}{left}{left}{left}{left}{left}] K
> ]{down}{left}{left}{left}{left}{left}]J{SHIFT-*}K]{down}{left}{left}{left}{
> left}{left}J{SHIFT-*}{CBM-R}{SHIFT-*}K{down}{left}{left}{left}{left}J{rvon}
> V{rvof}K{down}{left}{left}{left}N M
> 
> some text
> $
> 
> What was weird about petcat's output was that the xC0 characters are
> {SHIFT-@} on the PET, not {SHIFT-*}.  Also, occurrences of "]" should
> probably be {SHIFT-]}.

if someone could post the necessary details on the bugtracker, i'd be happy to 
add a "pet mode" to petcat, easy enough afterall :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Mein Humor ist so elitär wie euer Gehabe!


       Message was sent through the cbm-hackers mailing list
Received on 2014-03-25 11:01:35

Archive generated by hypermail 2.2.0.