Platform Xerox 820 - z88dk/z88dk GitHub Wiki

Xerox X820

  • Z80 @ 2.5 Mhz / @4Mhz (x820-ii)
  • 64k RAM
  • 80x24 character based display

Classic library support (+cpm -subtype=x820)

  • Native console output
  • Native console input
  • ANSI vt100 engine
  • Generic console
    • Redefinable font
    • UDG support
    • Paper colour
    • Ink colour
    • Inverse attribute
    • Bold attribute
    • Underline attribute
  • Lores graphics
  • Hires graphics
  • PSG sound
  • One bit sound (x820-ii)
  • Inkey driver
  • Hardware joystick
  • File I/O
  • Far heap
  • Interrupts
  • RS232

Compilation

zcc +cpm -subtype=x820 program.c -create-app

Will create a raw disc image suitable for use by CP/M

Library support

Lores graphics

The default lores graphics resolution is 80x24, which uses an incomplete character to represent a pixel which results in pixels not actually adjoining. By calling gfx_set_fatpix(0) an alternate 80x48 mode is enabled which doubles the vertical resolution, and provides for squarer pixels at the cost of more whitespace.