Shop OBEX P1 Docs P2 Docs Learn Events
More GEAR - Improved Emulation of the Propeller - Page 2 — Parallax Forums

More GEAR - Improved Emulation of the Propeller

2»

Comments

  • benjiebenjie Posts: 9
    edited 2009-06-02 10:41
    Hi mirror,

    I have ideas for a few small UI tweaks that I think would make gear a lot easier to use:

    - it would be super useful if you could reload an open binary so that after building a new version of the binary, you didn't have to close the window in gear, open it again, open and configure your plugins, and arrange your windows in the workspace. [noparse]:)[/noparse]
    - it would be nice if, when opening a new plugin, that plugin's tab was automatically selected.
    - it would be really cool if there were a preferences setting that let you choose one or more default plugins that would open with every opened binary.
    - it would also be awesome if there were a way to close a plugin.

    But mostly the first one. [noparse]:)[/noparse]

    I'd be up for helping with this stuff if you think these are good ideas, and if I can figure out the code base. I'd also be up for starting something like a google code project for gear so we'd have a subversion repository to work with, if you like that idea.

    Ben
  • benjiebenjie Posts: 9
    edited 2009-06-04 15:12
    Oh, also, is there a link anywhere to the code for the most recent version of gear? I found the oldish code earlier in this thread, but not the latest.

    Thanks!
  • mirrormirror Posts: 322
    edited 2009-06-04 21:56
    Ben,
    Great suggested improvements! (Especially the "reload" button).
    I'm not really interested in a subversion repositry, but don't mind managing the merge of any changes you (or anyone else) may want to make independently.
    Source for the latest version of GEAR is included in the top post.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • benjiebenjie Posts: 9
    edited 2009-06-05 07:29
    Hi mirror,

    Awesome, thanks for the source! It looks like a really nice codebase. I haven't played with csharp/.net much before, so hopefully my changes are not too offensive. [noparse]:)[/noparse]

    Here's a patch that makes the following changes:

    - Adds a reload button to reload the currently open binary file from disk, and reload the chip.
    - When opening a new plugin, select that plugin's tab.
    - Adds a Close Plugin button that only closes user-loaded plugins, not built-in ones. (This button should probably only be enabled when a user-loaded plugin is selected...)
    - Updates SerialIO from 0.2 to 0.4.

    Please let me know if you like these changes as is, or if you want me to change how I'm doing anything.
    Also, let me know if you want these changes in some other format.

    Thanks for maintaining!
    Ben
  • mirrormirror Posts: 322
    edited 2009-06-05 11:49
    Thanks Ben,
    All mods have been included in the top posting!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • benjiebenjie Posts: 9
    edited 2009-06-16 18:35
    I also noticed yesterday that Gear seems to work well now under wine.

    I'm running:
    - wine 1.1.23 installed through MacPorts
    - dotnet 2.0 installed into my wine installation using winetricks

    It seems to display the entire UI correctly (not the case under wine 1.0.1), as well as simulating programs correctly. It is however still quite a bit slower than running natively, or on a real windows installation into VirtualBox, but if wine is convenient for you, it's a pretty cool solution.

    Ben
  • Ron SutcliffeRon Sutcliffe Posts: 420
    edited 2009-06-22 03:21
    Hi mirror

    Is there anyway I can save the logic probe image to a a bmp file?

    Ron
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-06-22 06:01
    Mirror,

    I am a professional C# programmer with about 7 years experience. I have been wanting to congratulate you on the code and support you give.
    It is a great tool. Good job!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • mirrormirror Posts: 322
    edited 2009-06-22 21:47
    Ron, Use Ctrl-Print Screen, which will copy the screen to the buffer. You can then paste the image into Paint, Word and probably many other applications as well.

    James, thanks for the compliment. I must confess that I merely dabble in C# (my support for GEAR is the sum-total of my C# experience), although I've been programming for 25 years and in many different languages.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • mirrormirror Posts: 322
    edited 2009-10-26 03:47
    Many thanks to Bob Anderson for identifying issues with the emulation of SUBS, SUBSX, CMPSX and REV.

    The discussion and related test cases where included in a discussion thread at:
    http://forums.parallax.com/forums/default.aspx?f=25&m=394757

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • GatunoGatuno Posts: 23
    edited 2014-07-04 10:32
    Hello mirror:
    I revived your development in a new thread "Improved GEAR Emulator", with some bug fixes and improves, based in your source code.
    If you have any comments, please tell me.
    I would like to improve the plugin system too.

    Gatuno.
  • PublisonPublison Posts: 12,366
    edited 2014-07-04 12:03
    Gatuno wrote: »
    Hello mirror:
    I revived your development in a new thread "Improved GEAR Emulator", with some bug fixes and improves, based in your source code.
    If you have any comments, please tell me.
    I would like to improve the plugin system too.

    Gatuno.

    I hope he is still around, but he has not logged in since 7-2001.
Sign In or Register to comment.