Platform Sega SC3000
- CPU: Z80 @ 3.579 Mhz
- VDP: TMS9918, 16k VRAM
- PSG: SN76489
- RAM: 1k (SG-1000), 2k (SC-3000)
- ROM: 0k
The BASIC ROMs that are available supply more RAM and hence make RAM based programs possible.
zcc +sc3000 -create-app -Cz--audio -oadventure adv_a.c
The binary converter (appmake) will create a file named "adventure.wav" (along with a totally usupported 'TAP' file). Such file can be used on an emulator or loaded on the real hardware. Optionally the loading speed can be tweaked with the '-Cz––fast' parameter (you use it at your own risk !).
zcc +sc3000 -create-app -subtype=sf7000 -Cz--audio -oadventure -zorg=40000 adv_a.c
In this case we are preparing an object file for the SF-7000 extension, positioned at location 40000
zcc +sc3000 -subtype=rom -create-app program.c
The ROM produced is compatible for the SG-1000 and SC-3000. This means that it assumes only 1k of memory and places the stack accordingly. A SC-3000 only ROM can produced by moving the stack pointer with the option: -pragma-define:REGISTER_SP=0xc7f0
Most of the monochrome graphics lib and most of the MSX functions are supported. Due to the different BASIC ROMs available, the library does not depend on any ROM routines.
mame sc3000 -cass1 a.wav -cart1 basic31.sc
.. LOAD, play tape, RUN
Create a ROM and then insert it.
- 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