Comment 3 for bug 579331

Revision history for this message
Bug Importer (bug-importer) wrote :

Logged In: NO

gpsim supports loadable modules (libraries or scripts) that can be connected to uC I/O pins, so that modules can simulate arbitrary hardware, for example check out http://www.dattalo.com/gnupic/lcd.html which is a module simulating a simple liquid crystal display.

Maybe, this would also be the best approach for gnusim8085?
One could embed a scripting interpreter such as lua, python or angelscript which allows users to provide scripts that simulate hardware.

For most cases, it would already be sufficient to be able to define pretty simple I/O peripherals:

- switches
- LEDs (i.e. multi-color, tri-state)
- 7 segment LED display
- LCDs (possibly using configurable dimensions x*y)
- keypads

If implemented in a scripted fashion, users could easily provide and use their own scripts without having to recompile the simulator.

Many commercial simulators also feature support for simulation of basic I/O hardware, at school we used:
http://www.simsoft.de/8051baut.htm