Hi Marcos,
On 01/06/2014 21:45, Marcos Cruz wrote: [For Chris Pile]
I see chars 128-255 are printed like chars 0-127; it seems bit 7 is
reset before printing on the screen.
AFAIK CP/M used 7-bit ASCII, and only certain versions of CP/M 3 (e.g.
the one by Amstrad) used a kind of CP/M standard 8-bit charset.
Yes, you're correct. CP/M 2.x uses 7-bit ASCII codes. Pro-DOS strips BIT-7
prior to calculating the
character data pointer. The only time BIT-7 is not stripped is when CP/M
programs send data to the
printer via the LIST_OUTPUT function - system function 5 - and these are sent
"raw".
Is there any way to configure or hack Pro-DOS in order to use an 8-bit
charset (and define the chars above 127)? This would let to write
programs in other languages than English, with a modern encoding.
Put simply - no, not really. Well, certainly not easily. It would have been
pretty easy to do under
version 1.9 with very few changes to the code. But version 2.0 is a different
animal when it comes to
handling the dumping of on-screen characters. Code-space is very tight - there
are just 13-bytes free
in the OS's main 16k page.
Chris.