I teach university courses part-time, including a class about general computing topics, open to all majors. This is not a computer science class - it's an introductory course that teaches students about how technology works, to remove the mystery around computing.
To help teach the unit on "how programming works" I wanted a visual aid to demonstrate programming in machine code using "switches and lights." When we walked through a history of computing, and I showed a slide of 1950s computers, students struggled to know how you could program a computer without a keyboard. So I wanted to show them how this works using a *very* simple model (an Altair emulator would have been too much overhead). So I wrote the Toy CPU. This is a DOS program that runs in graphics mode to emulate an old Altair-like computer with LEDs and switches. I updated the Toy to version 3.1 today, fixing a bug where the Accumulator might carry values beyond 255, but display a zero value. https://github.com/freedosproject/toycpu This version also includes major changes to the Readme. Jim _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel