I would like to give back to the community a tool I developed based on ACSim that allows me to visually simulate my custom Midibox(s). I call it GUISim.
GUISim Brief Description:
GUISim graphically simulates a MIDIBox with core, input controls and visual outputs. It uses SDL and UIP to create the midibox module simulations. I have used the great work audiocommander has done with ACSim and want to give him credit here for allowing use of his work for modification or functionality expanding.This proof of concept version is fully functional for my own prototyping and I am continually adding to it as I need to simulate additional modules.:
Simulated MIDIboxOutput Modules
- 2x40 LCD character display
- A set of LEDs mapped to a virtual DOUTx4 showing the state of each pin visually as a LED
Simulated MIDIbox Input Modules
-
One DINx4 Module connected as:
- 8 Rotary Encoders
- 16 Pushbuttons
[*]A set of LEDs mapped to a virtual DOUTx4 showing the state of each pin visually as a LED
How to use it:
IMPORTANT:You need to have your CodeBlocks development environment and toolchain already working before you can use this. Follow the instructions for setting up ACSim first if you do not alread have it running. Link - http://www.midibox.org/dokuwiki/doku.php?id=mios_c_simulator_-_debugger
GUISim is meant to be used as a user template for CodeBlocks, so the steps are:
- Copy and unzip the file (http://www.netmpu.com/CB_SDCC_Skeleton_GUI_Simulator_v0.1_Windows.zip) into the user templates directory of your CodeBlocks installation. (Mine is at C:\Documents and Settings\tokolos\Application Data\codeblocks\UserTemplates.)
- Run Codeblocks, create a new project and select the new GUI user template
- Have fun, and please give me feedback
Links:
Link to the complete GUISim/ACSim template (you only need this one zip in order to use it
http://www.netmpu.com/CB_SDCC_Skeleton_GUI_Simulator_v0.1_Windows.zip
Demonstration of using GUISim
http://www.netmpu.com/GUISimulator.htm
Screenshot of GUISim
http://www.netmpu.com/GUI_Simulator_v0.1_image.jpg
Picture of simulator running: