Skip to content

Releases: freedosproject/toycpu

Version 3.1

13 Apr 17:30
b3d2d6b
Compare
Choose a tag to compare

This is a bugfix release:

  • Fixed a bug where the Accumulator might carry values beyond 255, but only show 0000 0000 in the display
  • Updated the Readme file
  • Minor edit to the Install file

Version 3.0

30 Oct 21:59
a6f7040
Compare
Choose a tag to compare

Complete rewrite - the only code I reused was borrowed from cpu.c for CPU execution. Everything else was rewritten from scratch because the Toy is now a DOS graphical mode program. This means that the LEDs actually show up as LEDs. There's also a little slip of paper that's "taped" onto the Toy, with reminders of each of the opcodes.

Compile on FreeDOS using OpenWatcom. Don't forget to first set your OpenWatcom environment using the OWSETENV batch file. This game does not use any external assets; everything is drawn in raw graphical mode.

Version 2.0

07 Aug 16:05
82df1fe
Compare
Choose a tag to compare

Almost a complete rewrite with major code cleanup. The first version (1.0) was really a prototype version with a lot of quick and dirty code. The new version (2.0) should be a lot better. However, the new version is written for Linux ncurses; I'll need to port it back to DOS later.

This version supports entering a program using the front panel, using "lights and switches" like the Altair 8800. The Toy uses a very simple instruction set, which is listed on the right side of the front panel. In program mode, use Up/Down to select the instruction you want to modify, then press Enter to input or edit an instruction. The Toy includes mode help at the bottom of the screen, and programming help on the right. The programming help is a compile-time option: compile with -DUSE_HELP to show the help.

The ncurses version can use ACS characters to display the "on" and "off" lights. However, I prefer a terminal font that doesn't display the ACS characters correctly, so the Toy uses plain ASCII characters by default. ACS is a compile-time option: compile with -DUSE_ACS to use the ACS characters.

Version 1.0

07 Aug 14:31
5e03b32
Compare
Choose a tag to compare

First release of the Toy CPU. This doesn't support entering a program on the front panel with "switches and lights" but does support loading a hard-coded program with a function. Compile with OpenWatcom on DOS.