Platform Homelab - z88dk/z88dk GitHub Wiki

Hardware summary

Homelab 3/4

  • Z80 clone @ 4Mhz
  • 16/64k RAM
  • 64x32 character display

Classic library support (+homelab)

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

Compilation

zcc +homelab program.c -create-app

A .htp file will be generated suitable for loading into Mame or Homelab emulator running in Homelab 4 mode.

Once loaded (via quick load in mame or autoload in Homelab.exe) enter the following command:

CALL $4300

To run a program with the 64k memory configuration it may be necessary to add the following option:

-pragma-define:REGISTER_SP=0x8000

Library notes

The font is fixed in the machine ROM and switches out symbols such as square and curly brackets for accented characters.

Links