Jump to content

Tokolos

Programmer
  • Posts

    3
  • Joined

  • Last visited

About Tokolos

  • Birthday 07/15/1963

Profile Information

  • Gender
    Male
  • Location
    Florida USA

Tokolos's Achievements

MIDIbox Newbie

MIDIbox Newbie (1/4)

0

Reputation

  1. Here is the link to skeleton working with the new toolchain http://www.netmpu.com/CB_SDCC_Skeleton_GUISim_v0.1_Windows_New_Toolchain.zip Just put this under User Templates of Codeblocks and use as before
  2. Thanks for the compliment stryd_one. Yes, I have used the original toolchain I downloaded and need to update to the latest. (Do not want to loose out on any enhancements or bug fixes ;) ). I am in process of switching all my pc's over to Ubuntu Linux (love it) and will convert this tool also to Linux as a result. Having looked at various platforms I have decided on SDL and IUP (notice I spelled it correct this time..) as they both do support several platforms. Why SDL for graphical output handling? Most other graphic options I looked at either used OpenGL (which I believe is a overkill for what I wanted to do, or are based on DirectX which would forever tie into Windows and is also an overkill). So SDL it was. SDL is that it provides only the very basic graphical support and you need to add what you need to it based on your functional requirement. I just had to add the freetype library to handle fonts. So that was very simple and a good logical choice for me. Why IUP for Input handling Similar to the graphics requirement I needed a simple and easy to use platform to handle dialogs that are cross-platform supported. Although possible to do with SDL (with a LOT of work), it would not have justified the effort. I chose IUP because it can be easily programmed in C, but as an added benefit it allows you to define what your layout should look like outside of the C program in a configuration file (look at the the file InputSurface.led in the template for example). This has the benefit to play around and proto-type your layout without having to re-compile the program everytime. Once you are satisfied you can choose to compile the .led file into regular C code and include into yout program, or you can just distribute the .led file as part of the template (as I have done). In summary: SDL supports Linux, Windows , Mac and others where IUP supports GTK+, Motif and Microsoft Windows, so that will be all goodness for us Midiboxers that want to standardize on Linux , while still being able to support the other platforms also (Midiboxers, is that what we are called?). Regards
  3. 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:
×
×
  • Create New...