Skip to content

dinuxbg/sc114-sdcc-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDCC C Example For SC114 Z80 Motherboard Kit

Introduction

This is a simple SDCC example for SC114 and possibly others RC2014-like computers running the Small Computer Monitor ROM.

The example is loaded into RAM so no ROM burning is required. SCMON is used to load our program.

Helpful C wrappers are provided for some of the SCMON API entry points (e.g. printing to console).

Purpose

Z88DK is not packaged in Debian, and I could not find any other working examples for plain SDCC on RC2014-like single board computers.

Building And Running

I have validated with SDCC version 4.1.0 using the following hardware configuration:

To build:

make

To run, simply send hex and SCMON will recognize and load it. Then issue "g 8000" to jump to the loaded address. Provided your FTDI cable is enumerated at /dev/ttyUSB0, there is a helpful target:

make run

About

SDCC C Example For SC114 Z80 Motherboard Kit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published