Platform Xircom REX6000
suborb edited this page May 9, 2024
·
8 revisions
zcc +rex -create-app -lm hello.c
If we want to generate a library file, then:
zcc +rex -subtype=lib -create-app -lm libcode.c
Note that in this latter case the main program entry must be "LibMain()".
The command optionally uses a file called game.res which contains resources for the addin - icon, application name and a comment, an example is below:
APPNAME Hello World
COMMENT Made with z88dk
ICON
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....
X...................................X...
X....................................X..
X.....................................X.
X......................................X
X......X..X.XXXX.X....X.....XX.........X
X......X..X.X....X....X....X..X........X
X......X..X.X....X....X....X..X........X
X......XXXX.XXX..X....X....X..X........X
X......X..X.X....X....X....X..X........X
X......X..X.X....X....X....X..X........X
X......X..X.XXXX.XXXX.XXXX..XX.........X
X......................................X
X......................................X
X......................................X
X......................................X
X......X..X..XX..XXX..X...XXX..........X
X......X..X.X..X.X..X.X...X..X.........X
X......X..X.X..X.X..X.X...X..X.........X
X......X..X.X..X.XXX..X...X..X.........X
X......XXXX.X..X.X..X.X...X..X.........X
X......XXXX.X..X.X..X.X...X..X.........X
X.......XX...XX..X..X.XXX.XXX..........X
X......................................X
X......................................X
X......................................X
X......................................X
X......................................X
X......................................X
X......................................X
X......................................X
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Mame has some support, but the hacked DS2 emulator may be better bet: https://web.archive.org/web/20040612061842/http://www.rexdk.tk/
- 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