Shop OBEX P1 Docs P2 Docs Learn Events
I would like to write and test spin code when I am without a propeller board. — Parallax Forums

I would like to write and test spin code when I am without a propeller board.

HarbingerHarbinger Posts: 7
edited 2013-07-14 11:42 in Propeller 1
Greetings,

I would like to write and test code in spin when I am without a propeller board. I was wondering if there is a spin or propeller simulator I can run on my windows computer?

Comments

  • Kirk FraserKirk Fraser Posts: 364
    edited 2013-07-14 11:01
    Harbinger wrote: »
    I would like to write and test code in spin when I am without a propeller board. I was wondering if there is a spin or propeller simulator I can run on my windows computer?

    I had the same thought but don't have time to write one, how about you?
  • jazzedjazzed Posts: 11,803
    edited 2013-07-14 11:42
    Dave Hein's SpinSim is a quality command-line Spin Simulator. It comes with Propeller-GCC and SimpleIDE. Here's a windows copy.

    Compile program to .binary file.
    spinsim -b file.binary
    sh-3.1$ ./spinsim.exe
    SpinSim Version 0.54
    usage: spinsim [options] file
    The options are as follows:
         -l  List executed instructions
         -l <filename>  List executed instructions to <filename>
         -p  Use PASM Spin interpreter
         -#  Execute # instructions
         -P  Profile Spin opcode usage
         -m# Set the hub memory size to # K-bytes
         -t  Enable the Prop 2 mode
         -b# Enable the serial port and set the baudrate to # (default 115200)
         -gdb Operate as a GDB target over stdin/stdout
         -L <filename> Log GDB remote comm to <filename>
         -r <filename> Replay GDB session from <filename>
         -e Use eeprom.dat
    
Sign In or Register to comment.