Skip to content

doug-h-rice/MK14_Windows_tinyC

Repository files navigation

MK14_Windows_tinyC

MK14 built for windows 10 using TinyC

Paul Robson's MK14 had a version that build under Borland C++ 4.5

This builds using Tiny C

One or two bugs have been fixed.

The CPU.C did jmp 80 using E. This prevented version 1 ROM monitor from working.

memory.c now has both versions of the Monitor ROM.

I added a timer to run the SC/MP CPU in a time slice.

I added some LEDs connected to the FLAG outputs.

You can preload RAM. 0fA0 has some code to write to the flag LEDs.

R Z 0 F A 0 M

Load the clock example

mk14w_tcc.exe clock.hex

R Z 0 F 2 0 G

  • R reset
  • Z Abort
  • M mem
  • T term
  • G go

Build using Tiny C

Tiny C is available from https://bellard.org/tcc/ and comes with a minimum windows example

  • download and unzip tcc-0.9.26-win64-bin
  • download and unzip this git hub MK14_Windows_tinyC-master
  • move folder MK14_Windows_tinyC-master with files to tcc folder.
  • C:\Users\Redtop\Desktop\tcc-0.9.26-win64-bin\tcc\MK14_Windows_tinyC-master
  • use do.bat in MK14_Windows_tinyC-master to build the code

edit do.bat to get around windows warning and as required.

more notes and information

http://www.dougrice.plus.com/mk14/seg_mk14.htm

http://ccgi.dougrice.plus.com/cgi-bin/wiki.pl?MK14_Notes

Modify and enjoy

Understanding how the emulation works is the fun bit.

This is possible thanks to Paul Robson

About

Science of Cambridge MK14 built for windows 10 using TinyC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published