Platform Alphatronic PC - marinus-lab/z88dk GitHub Wiki
Hardware summary
- Z80 @ 4 Mhz
- 64k RAM, 24k ROM + 4k chargen
- HD46505SP (aka mc6845) as CRTC
Compilation
zcc +alphatro world.c -create-app
The resulting .rom file can be loaded into MAME and run as follows:
mame64 alphatro -cartridge1 a.rom
CP/M mode
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.
Generic console and graphics modes
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.
Screenshots
Running the VT52/generic console test program:
Emulator hints
Xbeaver
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
mame alphatro -flop1 cpm.imd -flop2 a.imd
External tools
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
Limitations
- Although the machine has 64k RAM, only 16k cartridges can be generated
Links
- Manual - appendices have tech details
- More technical details
- Mame Driver
- Thread on bannister.org