Skip to content
suborb edited this page Feb 7, 2021 · 2 revisions

Lviv/Lvov PK-01 Hardware summary

  • MHB 8080A @ 2.5Mhz
  • 48k contiguous RAM
  • 16k VRAM giving 256x256 2bpp resolution screen with 4/16 colours

Classic library support (+lviv)

  • 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
  • Inkey driver
  • Hardware joystick
  • File I/O
  • Interrupts
  • RS232

Compilation

zcc +lviv program.c -create-app

A .lvt file is created suitable for loading into an emulator. Alternatively for generating a snapshot that can be loaded into Mame:

zcc +lviv -subtype=snapshot program.c -create-app

Keyboard

By default the keyboard layout is JCUKEN, should you wish you can switch to a qwerty keymap with the additional option:

-pragma-redirect:in_keytranstbl=in_keytranstbl_qwerty

Issues

  • Mame seems to have issues loading larger programs
  • Text printing is fairly slow

Links

Clone this wiki locally