About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Everything *NIX
Register FAQ Members List Calendar Today's Posts

Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here.

Reply
 
Thread Tools Display Modes
  #1   Add MacHacker to your ignore list  
Old 2008-10-16, 11:31
MacHacker MacHacker is offline
Acolyte
 
Somewhere. With my MacBook Pro
Default PIC Simulator

This is my thread from the Cult of Mac forum, I thought OS X is built on UNIX so a solution for a linux system may be a solution for mine. That, and if there is a solution for linux i can get it working for my friend Please help if you can.

Quote:
Originally Posted by MacHacker View Post
I'm looking for a 16F84 PIC microprocessor simulator for my mac. I'm currently doing an electronics diploma and we use a program called PIC Development Studio which installs as a Window application but actually is a java app, unfortunately I can't find a way to get this to work (yes I know some bright sparks will point out .exe files don't run under OSX but I still have the java files for it). Does anyone know how I can get this program running on my mac or a program that can do the same thing? Any help is appreciated.

EDIT: I think I may have narrowed it down a bit, it seems it has something to do with the way the program is normally executed, when you look at it on a Windows box the icon in the start menu you would normally click on seems to be somewhat of a batch file in the way it starts this program. It goes something like: C:/WINDOWS/sytem32/javaw.exe -*****(can't remember what's here but it only opens the splash screen) -cp .;comm.jar;picdev.jar;kunststoff.jar Workbench . Does anyone know anything about java and how I could make this work with a script file. I know the first bit starts the java virtual machine and the bit in the middle opens the initial splash screen but i'm not sure what happens after that. Also I think it has to do with the class attributes not being set properly. Again, help is appreciated.
Reply With Quote
  #2   Add Prometheum to your ignore list  
Old 2008-10-16, 22:31
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: PIC Simulator

Find the jar with main in it, and java -jar classfile should work. If not...

Code:
$ apt-cache show simulpic
Package: simulpic
Priority: optional
Section: universe/electronics
Installed-Size: 92
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Original-Maintainer: Aurelien Jarno <aurel32@debian.org>
Architecture: amd64
Version: 1:2005-1-28-6ubuntu1
Depends: libc6 (>= 2.5-0ubuntu1), libgcc1 (>= 1:4.1.2), libstdc++6 (>= 4.1.2)
Filename: pool/universe/s/simulpic/simulpic_2005-1-28-6ubuntu1_amd64.deb
Size: 23012
MD5sum: fed6ea5690e07b363e85db03485cef56
SHA1: aa79808913d064716d3fdcbfbb3c12d7bc2de0e5
SHA256: 8dd7cf3fb6b8d94ea6d5b3bac3af2a343650989c84ee5732d226a0491b1bc628
Description: simulator for Microchip PIC16F84 microcontroller
 This software allows to simulate the execution of any program on a Microchip
 PIC16F84 microcontroller.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu

$ apt-cache search nitpic
nitpic - Simulator for the Microchip PIC16C84 microcontroller
$ apt-cache show nitpic
Package: nitpic
Priority: extra
Section: universe/electronics
Installed-Size: 208
Maintainer: Ernesto Nadir Crespo Avila <ecrespo@debianvenezuela.org>
Architecture: amd64
Version: 0.1-11
Depends: binutils, libc6 (>= 2.4-1), libgcc1 (>= 1:4.1.0), libice6, libsm6
, libstdc++6 (>= 4.1.0), libx11-6, libxaw7, libxext6, libxmu6, libxt6
Filename: pool/universe/n/nitpic/nitpic_0.1-11_amd64.deb
Size: 39636
MD5sum: f2c75b073b625f51ef18a4084bdc03f4
SHA1: 588bbb8fba38031cf9e49c81c450bdff08140914
SHA256: 08f484c0bd9eff2ec118719af92be6d3672a90fd678eb374de291d5e01f45a6f
Description: Simulator for the Microchip PIC16C84 microcontroller
 Nitpic is an X-based simulator for the Microchip PIC family of
 microcontrollers.  It currently supports only the PIC16C84.
 This is beta software.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Is that what you need?
Reply With Quote
  #3   Add Prometheum to your ignore list  
Old 2008-10-16, 22:34
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: PIC Simulator

Apparently simulpic is portable C++ and should probably have an OS X port. Some guy on the internet claims to have ported it to the Amiga with no problems.
Reply With Quote
  #4   Add MacHacker to your ignore list  
Old 2008-10-17, 03:44
MacHacker MacHacker is offline
Acolyte
 
Somewhere. With my MacBook Pro
Default Re: PIC Simulator

Quote:
Originally Posted by Prometheum View Post
Find the jar with main in it, and java -jar classfile should work. If not...

Code:
$ apt-cache show simulpic

Package: simulpic

Priority: optional

Section: universe/electronics

Installed-Size: 92

Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>

Original-Maintainer: Aurelien Jarno <aurel32@debian.org>

Architecture: amd64

Version: 1:2005-1-28-6ubuntu1

Depends: libc6 (>= 2.5-0ubuntu1), libgcc1 (>= 1:4.1.2), libstdc++6 (>= 4.1.2)

Filename: pool/universe/s/simulpic/simulpic_2005-1-28-6ubuntu1_amd64.deb

Size: 23012

MD5sum: fed6ea5690e07b363e85db03485cef56

SHA1: aa79808913d064716d3fdcbfbb3c12d7bc2de0e5

SHA256: 8dd7cf3fb6b8d94ea6d5b3bac3af2a343650989c84ee5732d226a0491b1bc628

Description: simulator for Microchip PIC16F84 microcontroller

 This software allows to simulate the execution of any program on a Microchip

 PIC16F84 microcontroller.

Bugs: mailto:ubuntu-users@lists.ubuntu.com

Origin: Ubuntu



$ apt-cache search nitpic

nitpic - Simulator for the Microchip PIC16C84 microcontroller

$ apt-cache show nitpic

Package: nitpic

Priority: extra

Section: universe/electronics

Installed-Size: 208

Maintainer: Ernesto Nadir Crespo Avila <ecrespo@debianvenezuela.org>

Architecture: amd64

Version: 0.1-11

Depends: binutils, libc6 (>= 2.4-1), libgcc1 (>= 1:4.1.0), libice6, libsm6

, libstdc++6 (>= 4.1.0), libx11-6, libxaw7, libxext6, libxmu6, libxt6

Filename: pool/universe/n/nitpic/nitpic_0.1-11_amd64.deb

Size: 39636

MD5sum: f2c75b073b625f51ef18a4084bdc03f4

SHA1: 588bbb8fba38031cf9e49c81c450bdff08140914

SHA256: 08f484c0bd9eff2ec118719af92be6d3672a90fd678eb374de291d5e01f45a6f

Description: Simulator for the Microchip PIC16C84 microcontroller

 Nitpic is an X-based simulator for the Microchip PIC family of

 microcontrollers.  It currently supports only the PIC16C84.

 This is beta software.

Bugs: mailto:ubuntu-users@lists.ubuntu.com

Origin: Ubuntu
Is that what you need?
Thanks, but unfortunately the command didn't work for me. I also think you don't have the program I'm using. The program I'm trying to get running can be found here

http://sourceforge.net/projects/picdev/

No matter what I try I can't get it working, Thanks for your reply by the way
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics