Platform EACA Colour Genie EG2000 - z88dk/z88dk GitHub Wiki

EACA Colour Genie EG2000

The EG2000 was a TRS80 relative, with a different video card. The monochrome library permits fast drawing working on a single color (RED). Single bit and PSG sound libraries are supported.

Console disk programs (.CMD files) should be fairly portable between the EG2000 and the TRS80.

Quick Start

The following command will build a .CMD system file, ready for almost all the existing emulators:

zcc  +trs80 -lndos -lm -create-app -subtype=eg2000 program.c

..or, to display text in graphics mode:

zcc  +trs80 -lndos -lm -create-app -subtype=eg2000ansi program.c

This can then be loaded into Genieous using the File->Autostart File menu option and selecting the produced .cmd file.

Generic console support

The generic console allows supporting either a custom font (-pragma-redirect:CRT_FONT=...) and 32 UDGs, or 128 UDGs. These udgs can be set programmatically using the appropriate ioctl.

You should switch to mode 1 to enable use of the custom font and more than 32 UDGs.

Colour Palettes

EG2000 machines have been produced for the regional markets with two different palettes: the Genieous emulator calls them "Northern" and "Southern". According to the M.A.M.E. source, the "Southern" palette was used in New Zealand. By default, the Northern palette is used in z88dk for named colours, To support the southern palette machines as well, eg2000_switch_palette_mode(int) in <arch/trs80/eg2000.h> can be used for switching between these two palettes. Use 0 for the Northern palette and 1 for the Southern palette.

Links

The Genieous emulator