Menu

Sugestion for GcBasic + Tiny Bootloader

2009-06-23
2013-05-30
  • Nobody/Anonymous

    I'm using Tiny Bootloader and for correct operation a "pagesel start" is needed afther "ORG 0", then in the generated asm it should be:

    ;********************************************************************************

    ;Vectors
        ORG    0
        pagesel    BASPROGRAMSTART
        goto    BASPROGRAMSTART
        ORG    4
        goto    INTERRUPT

    ;********************************************************************************

    For GcBasic to do this just adding a line to gcbasic.bas, at line 7290 (in 17/06/09 update):

    CurrLine = StringListInsert(CurrLine, " pagesel BASPROGRAMSTART")

    I think it is easy to do, don't harm nothing (i think) and very useul for those who use tiny bootloader

     
  • Mauried

    Mauried - 2010-05-19

    I would also like this feature if possible.
    Most of the common bootloaders need the pagesel before the Goto Main bit.
    Im guessing that somehow the #option bootloader command has something to do with this, but
    I cant find any info on what this command actually does.

     

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.