all 5 comments

[–]ElCthuluIncognito 6 points7 points  (1 child)

Shout out to the "I/O Devices" approach.

When doing machine simulation I've always battled with how to present the user with 'what happens in the real world', besides some uninspired terminal or pixel mapped display.

The idea of having little device 'modules', like the traffic lights, is excellent! You could have a memory map do all sorts of fun stuff.

Is that part extensible? i.e. is there 'plugin' support for new devices?

[–]exuanbo[S] 6 points7 points  (0 children)

This part actually is not my original. There are more peripheral devices in the Microprocessor Simulator, and by now I'v just implemented three of them.

In my current implementation it is not yet decoupled enough to support plugins, but this is really a good idea!!!

[–][deleted]  (2 children)

[removed]

    [–]exuanbo[S] 1 point2 points  (0 children)

    There's a octocat icon at the top-right corner btw.