Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stampable? — Parallax Forums

Basic Stampable?

LordFransieLordFransie Posts: 4
edited 2007-10-30 21:08 in General Discussion
Hello guys, i am looking at making a keypad door lock, and then allowing that to network to your computer, and give you logs and what not. I have written the code ad it works for a basic stamp bs2 chip, and it works, then when i looked into the pricing i found that the sx chips are much more efficient, how difficult would it be to transfer a basic stamp program over to sx, and can sx do all the little things that basic stamp can(serout/in, pulsout, freqout, etc..)? Any help would be awesome

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-30 04:59
    Have a look at the SX/B compiler. It provides many of the functions of PBasic in a Basic compiler for the SX.
  • LordFransieLordFransie Posts: 4
    edited 2007-10-30 05:01
    Ohh, as a side note. I'm currently doing all my work on a mac. So is there osx software?
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-30 05:14
    I'm afraid not. I do a lot of Propeller programming and have a copy of Windows XP that I run on my MacBook under VMWare. Parallels Desktop also works. I imagine Boot Camp would also allow you to use XP, but I move back and forth between the two systems all the time and use TextWrangler as my main editor under MacOS 10.5.

    The Propeller IDE requires Windows 2000 or XP at a minimum, but I think the Stamp and SX software only requires Windows 98SE. If you have a PowerPC based Mac, use GuestPC or VirtualPC. They're much slower than using an Intel Mac, but do work adequately for Stamp or SX stuff and I did run the Propeller IDE under Guest PC and XP for some months before I "bit the bullet" and got a MacBook. I'd use Windows 98SE with these emulators since they have lower overhead than XP. I wouldn't even consider Vista unless you can get it for free from work or some such thing.
  • LordFransieLordFransie Posts: 4
    edited 2007-10-30 20:55
    Well, i have one of those beautifull black macbooks, dual core 2ghz, bought it a month before they came out with the newest rev, lucky me right. I know i have parralels somewhere. Is it that there is a requirement, and that the code plainly can't work with the *nix archetecture, or that there is just no software currently available to do sx coding on a mac. Also as a side note, how does the sx compare to the basic stamp homework board's chip. If i used sx would i need to buy an eefprom?
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-30 21:08
    All of Parallax's software is written for Windows and more recent stuff (like the Propeller IDE) is written specifically for Windows 2000/XP. I've tried running the Propeller Tool under Wine and its commercial variants (like CodeWeavers' CrossOver Mac) and it doesn't quite work. I haven't tried the SX stuff under CrossOver Mac. It's a bit older and might work.

    Most of the Stamp models use an SX processor (other than the original "plain" BS2), but there's the interpreter involved. Using just an SX allows you to program in assembly to access the raw speed of the SX processor (and SX/B translates Basic to assembly which you can modify, then assemble). You don't need to add an EEPROM to the SX unless you need external data storage. Your program gets installed in the SX's internal flash EEPROM.
Sign In or Register to comment.