Menu

Can't locate 'compiled.hex' and other saved files

2014-10-07
2014-10-09
  • James Leavy

    James Leavy - 2014-10-07

    I'm running Great Cow on a win7 laptop. I drag the demo program to the gcbasic, there is a quick flash of the gcbasic app (black block), but I can't locate the compiled.hex file.

    Also, when I select my controller and processor speed, and save the demo program with another name it doesn't show up. When I select 'open' it appears on the list - please advise!

     
  • Anobium

    Anobium - 2014-10-07

    Hello,
    I recommend that you use the SYN@IDE as the will manage the process much better than a drag and drop operation.

    See the readme's for more information.

     
    • James Leavy

      James Leavy - 2014-10-07

      Anobium,
      You are referring to the GCB@Syn IDE download available on the GC homepage?
      Thanks!

       
  • Anobium

    Anobium - 2014-10-07

    Yes. My error.

     
    • James Leavy

      James Leavy - 2014-10-07

      OK Thanks - newbie here - just wanted to be sure. Thanks again!

       
  • Anobium

    Anobium - 2014-10-07

    Pleasure. Please do not hesitate to ask.

     
  • David Stephenson

    I do not use the IDE (I started using GCB before that option was available).
    I drag onto the compile.bat.

    There are two possible problems:
    1. The BAT file deletes the HEX file
    2. The directory (where the HEX file goes) is not set to GCBASIC.

    Anyway here is the BAT file I use (note the delete lines have been REMed)

    @ECHO OFF
    C:
    cd \GCBASIC

    GCBASIC /NC %1 /O:compiled.asm
    C:\gputils\bin\gpasm -i -w2 compiled.asm >compiled.err
    del compiled.cod >nul
    C:\winpic\winpic.exe compiled.hex
    cd \GCBASIC
    rem del compiled.hex
    rem del compiled.lst
    rem del compiled.err

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.