Platform Lviv
suborb edited this page Feb 7, 2021
·
2 revisions
- MHB 8080A @ 2.5Mhz
- 48k contiguous RAM
- 16k VRAM giving 256x256 2bpp resolution screen with 4/16 colours
- 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
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
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
- Mame seems to have issues loading larger programs
- Text printing is fairly slow
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage