News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_JohnElliott

PCW CP/M and colours

Started by JohnElliott, 20:40, 28 March 23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JohnElliott

Although the PCW is a monochrome machine, it nevertheless internally maintains settings for foreground and background colour. That's why the ESC b and ESC c escape codes are still there and still take 6-bit colour values.

What I hadn't realised until today was that there's a little difference of opinion between the two modules in the EMS file responsible for screen handling. SCR, the low-level module responsible for actually drawing characters on the screen, has default colour settings of Border=1, Background=1, Foreground=60 -- that is, bright yellow on dark blue, like the CPC at startup.
 You cannot view this attachment.
At a slightly higher level is TE, the Terminal Emulator, responsible for interpreting escape codes, setting the cursor position and so on. It initialises after SCR, and decides to set the colours to Background=1, Foreground=63 -- bright white on dark blue.
You cannot view this attachment.

So far, I haven't found anything similar in LocoScript. LocoLink 2.02 incorporates SCR but not TE, so it sticks with the yellow on blue colour scheme.

erikarn

ha that's neat! If only we had colour plane support in the PCW ASIC. :0 Or an expansion card that hijacked the video so we could implement an 80x32 text expansion with greyscale. :)


-a

Powered by SMFPacks Menu Editor Mod