From: Greg King (gngking_at_erols.com)
Date: 2002-02-23 11:53:58
-----Original Message----- From: groepaz <groepaz_at_gmx.net> To: Greg King <cc65_at_musoftware.de> Date: Friday, February 22, 2002 04:44 AM Subject: Re[2]: [cc65] Character-set translation > Hello Greg, > > GK> I use these mappings: > > GK> ASCII => PETSCII > GK> ----------------------- > GK> _ 0x5f 0xa4 > GK> ` 0x60 0xad > GK> { 0x7b 0xb3 > GK> | 0x7c 0xdd > GK> } 0x7d 0xab > GK> ~ 0x7e 0xb7 > > GK> The first one is thinner than Groepaz's choice; the last one is thicker. > GK> The second one looks like a giant version of that ASCII accent-grave. > GK> The third and fifth ones look like "pinched" braces. > GK> The fourth one is the same as Groepaz's character, > GK> but it is the "official" PETSCII value. > > Mmmh, are there "unofficial" values (or, did I fall on the trap of the > charset-"bug," again :D)? > > However, are your values useable for LOWER-case PETSCII, as-well? That > was the major problem; I had to come up with some useable ones, actually > (in upper-case, there are more "perfect" representations). I use the titles "official" and "unofficial" to describe what the keyboard and screen devices do. For example, both CHR$(179) and CHR$(243) PRINT the same character; but, when you type that character, GET and INPUT see only CHR$(179). Therefore, I say that 243 is its unofficial code. Yes, those choices exist in both the lower- and graphics-sets (you can call them business- and game-sets, too). (0xab, 0xad, 0xb3, and 0xdd are box-drawwing characters; 0xa4 and 0xb7 are bar-drawwing characters [for bar-charts and histograms].) (Originally, I designed that mapping for a CBM 1526 printer-driver for GEOS. Printers can put character-patterns from both sets on the same paper; so, I used a better-looking game-set character for the accent-grave.) ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-02-23 11:54:36 CET