Shop OBEX P1 Docs P2 Docs Learn Events
.SRC file is where? — Parallax Forums

.SRC file is where?

BebopALotBebopALot Posts: 79
edited 2005-12-12 17:35 in General Discussion
In the SX-Key editor how do I view the compiled .SRC code of my .SXB program?

The programmed seemed to do this automatically, then seemed to stop.

Can anyone help?

-DSPRO

Comments

  • aliniousalinious Posts: 51
    edited 2005-12-11 05:39
    BebopALot,

    After I write an SX program in SXB I usually follow these steps:
    (1) Save the program (Cntrl S)
    (2) Assemble the program (Cntrl A)
    (3) View the list file, which is the assembly source code (Cntrl L)

    The List file can also be accessed by clicking on Run (in the menu bar), then clicking on view list from the drop-down menu.

    Also, as noted in my first step, before assembling or transfering a program to the SX, I save it first. This is in case I encounter any problems with Windows hanging or crashing.

    Alan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I learn when I succeed, but I learn more when I fail."
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2005-12-11 05:46
    Here is where they are located on my computer...

    C:-->Program Files-->Parallax Inc-->SX Key v3.1-->Compilers-->SXB-->Output Files

    If you compile a program from the SXB and there is an error in compiling, the SRC
    file becomes available in the file selection window.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-12-11 06:29
    This is helpful.
    I managed to have two Parallax directories {Parallax Inc [noparse][[/noparse]which seems to be the true Parallax directory] and Parallax [noparse][[/noparse]which I cannot seem to understand the need for]}.

    I am not sure why. I may have gotten a bit too creative and forgotten about it.
    But it is high time to migrate it all back to the defaults of the regular configuration.

    Then, I will just make a backup image via Ghost on my second harddrive.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2005-12-11 13:42
    By default, the SX-Key IDE stores intermediate files, like the .LST file, or the .SRC file in case you compile an SXB file in the output files folder, and automatically deletes them when they are no longer needed. In case you want to preseve such files, Select "Run - Configure" from the IDE menu. In the Configuration dialog, click on "Assembler", or "SX/B Compiler, and uncheck the "SASM files to SASM Outout dir", and/or the ""SX/B files to Output dir" options. This will save (and keep) the intermediate files in the folder where your .SXB or .SRC file is located.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • BebopALotBebopALot Posts: 79
    edited 2005-12-12 04:11
    Thank you. All of you guys are truly awesome.
  • nick bernardnick bernard Posts: 329
    edited 2005-12-12 17:35
    kramer,
    i had the same parallax inc & parallax folder issue on my comp. i'm fairly certain i picked up the second directory when i installed parallax's usb scope.

    rox on
    nick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
Sign In or Register to comment.