Platform Alphatronic PC
Stefano edited this page Nov 25, 2022
·
13 revisions
- Z80 @ 4 Mhz
- 64k RAM, 24k ROM + 4k chargen
- HD46505SP (aka mc6845) as CRTC
zcc +alphatro world.c -create-app
The resulting .rom file can be loaded into MAME and run as follows:
mame64 alphatro -cartridge1 a.rom
zcc +cpm -lm -create-app -subtype=alphatro -oPROGRAM program.c
The resulting .imd file is a valid disk image for both the Xbeaver and MAME emulators.
The Alphatronic PC supports 40 and 80 column modes and the corresponding lores graphical. You can switch modes using console_ioctl()
with the following mode values:
- Mode 0: 40x24 text, 80x48 graphics
- Mode 1: 80x24 text, 160x48 graphics
Colour is supported in both modes.
Running the VT52/generic console test program:
xbeaver_SDL matmos.cfg
Example on how to alter matmos.cfg:
board 0xf0 aptflp -geometry 40.2.16.1.256 cpm.img -geometry 40.2.16.1.256 a.imd
mame alphatro -flop1 cpm.imd -flop2 a.imd
It is possible to use the original IMD tools to manually convert a RAW disk image to a valid IMD file and vice versa.
An MSDOS emulator is required (even a simple wrapper at command line level).
BIN2IMD.COM /2 N=40 SS=256 SM=1-16 DM=4 a.raw a.imd
IMDU.COM /B a.imd a.raw
- Although the machine has 64k RAM, only 16k cartridges can be generated
- Manual - appendices have tech details
- More technical details
- Mame Driver
- Thread on bannister.org
- 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