For who didn't know, GEAR is an Propeller 1 Emulator
, capable to load propeller images (binary/eeprom) compiled by Propeller Tool or simillar. Their last version was 1.11 in year 2007.
Forum thread by the original programmer asterisk: http://forums.parallax.com/showthread.php?p=624986
Code repository: http://sourceforge.net/projects/gear-emu/
Then user mirror makes new versions up to 2009, with more improvements and bug fixes.
Forum thread "More GEAR" (w/ program & sources) : http://forums.parallax.com/showthread.php/100380-More-GEAR-Improved-Emulation-of-the-Propeller
It has not been update in 4 years, until now. I found some bugs using the counters in logic modes (CTRMODE=%1xxxx) emulation, and decide to explore what was inside the hook of GEAR. Finally I made many changes and bug fixes:
In my own testing, GEAR runs now about 30% or 35% faster than Gear V09_10_26, maybe because the executable now use MS .NET framework 4.0 instead of 2.0. The drawback is the need to download the framework, but in windows 7 or 8, probably it is installed already.
Also, updated the project files to MS Visual C# 2010 Express (the old proyect was in MS Visual C# 2005). I use that because it was the only I could find.
- Show Cog RAM Special Purpose Registers values.
Now the values of special registers in cog memory (between $1F0 - PAR and $1FF - VSCL) are displayed correctly in memory or PASM view.
Logic modes (CTRMODE between %10000 and %11111) didn't work well in past versions of Gear.
- Correction to enable PAR register changes.
As there was some reports of prop forum users that GEAR was of not capable to change the PAR cog register (forum thread "PASM simulator / debugger?" http://forums.parallax.com/showthread.php/115909-PASM-simulator-debugger
) then I enabled it. They claims that some parallax video drivers in PASM changes the PAR register, and GEAR didn't emulate that. The Propeller Manual V1.2 specify that is a read-only register, but if parallax did that drivers that really run on the real one...
When you reload a binary or reset it, and you had run it before using pins, the logic view show a mix between new and old samples.
If you are using windows in other languages than english, -with other number formats-, the preset values for time frame and tick mark (with "." decimal separator) will not work if you press the update button.
- Flickering correction on cog view over PASM lines.
When you were on cog view (PASM code), the tool tip text sometimes flickers.
- Tooltips over pins and locks in hub view.
Added tooltips on hub view on pins and locks views (IN*, DIR*, Floating, Lock Free, Locks), to identify easily which pin or lock is.
- Plugin editor enhancements.
Experimental C# sintax highlighting of code. Now the name of the file is displayed on the title of the window. Added tooltips to be more self explaining.
GEAR emulator Attachment:: [FILE]GEAR_V14_07_03.zip[/FILE]
GEAR source code (MS Visual C# 2010 Express): [FILE]gear-source-14.07.03.zip[/FILE]
- Improve C# sintax highlight on plugin editor (accurate & faster).
- Modify the file format for plugins (add version, description, usage, author, etc) and show it on screen, keeping compatibility with older plugins.
- Better documentation of plugins.
- Documentation of C# sources (doxygen?).
Please fell free to test it, report bugs, and make comments.
Enjoy better debugging with your propeller!
(Edit 2016-02-24): reattached files.