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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.