Platform Sharp PC - z88dk/z88dk GitHub Wiki
Sharp PC-G8xx, PC-E2xx..
The Sharp PC-Gxxx and PC-E2xx (not PC-E5xx, PC-E6xx) are programmable calculators featuring C and assembly low level programming features.
Model | Text size | Graphics | -clib= |
---|---|---|---|
PC-G850 series | 24x6 (36x8) | 144x48 | g850b (g850) |
PC-G815 | 24x4 (36x6) | 144x32 | g815b (g815) |
Others | 24x4 | 120x28 | e200 (none) |
- PC-G850 series: PC-G850, PC-G850S, PC-G850V, PC-G850VS
- Others: PC-E200, PC-E220, PC-G801, PC-G802, PC-G803, PC-G805, PC-G811, PC-G813, PC-G815, PC-G820, PC-G830
Command Line
Other than PC-G850: 4 rows text, (When not using graphics or When directly manipulating the BIOS (IOCS) or I/O ports):
zcc +g800 -create-app program.c
Other than PC-G815, PC-G850: 4 rows text, 120x28 gfx:
zcc +g800 -create-app -clib=e200 program.c
PC-G815: 5 rows text, 144x32 gfx:
zcc +g800 -create-app -clib=g815 program.c
PC-G815: 8 rows (barely readable) text, 144x32 gfx:
zcc +g800 -create-app -clib=g815c program.c
PC-G850 series: 6 rows text, 144x48 gfx:
zcc +g800 -create-app -clib=g850b program.c
PC-G850 series: 8 rows text (progam must first initialize the screen by clearing it [e.g. fputc_cons(12)] ), 144x48 gfx:
zcc +g800 -create-app -clib=g850 program.c
Emulator hints
The 'G800' emulator is a japanese SHARP PC-G850/G815/E200 emulator for Linux, MacOSX and Windows.
The z88dk compiled programs are automatically converted into Intel HEX files, which can be passed to the emulator as command line options, eg:
g800 -machine=e200 a.ihx
At the emulated calculator's prompt, enter 'mon' to switch from run mode to the machine language monitor, and then 'g100' to run the program.
Web links
http://ver0.sakura.ne.jp/g800/