Platform Enterprise64
The two currently supported binary formats are both originated at address 100h.
This command generates a file called 'program.app', which can be loaded from BASIC with the 'load' or 'run' commands (e.g. run "a.app"):
zcc +enterprise -lm -create-app -oprogram program.c
This command generates a file called 'program.com', with no special headers:
zcc +enterprise -subtype=com -lm -oprogram.com program.c
In this latter example a protection for MS/DOS is automatically inserted, though it can be excluded adding in your source program the "#pragma no-protectmsdos" directive.
Optional libraries are provided for a partial support of the 'standard' monochrome graphics, use the "-gfxep" parameter for a 336×243 resolution and "-lgfxephr" for 672×243. Some implementations are slow and incomplete, but being totally connected via the EXOS the libraries should bear video mode tweakings.
The z88dk port has been tested on two emulators, ep32 and ep128emu.
To load a .app file with ep128, follow the instructions on http://ep128.hu/Ep_Emulator_eng.htm regarding enabling EPFileIO.rom Once configured enter run "file:"
from BASIC and select your compiled application.
Other emulators permit to load the file from the current folder, e.g. load "a.app"
.
The way the text mode is emulated seems to be different in colour mode, so a monochrome 40x25x2 mode is active by default. In case no screen is visible with ep128emu on old PCs, try passing the '-no-opengl' parameter at startup.
- 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