I would like to prevent the overwriting of any pre-loaded bootloader code, vectors, etc. below 0x800 and have all GCBASIC code start at 0x800
Preferably the command would be
#option bootloader 0x800
How do I stop the generation of code below 0x800 to protect my bootloader?
Note: I'm using a UBW (USB Bit Wacker from SparkFun) and the USB bootloader is from Microchip.
If no immediate solution, who do I contact to send modified basic code to update GCBASIC?
I would like to have an easy BASIC programming of PIC's for middle schoolers without modifying assembly code before assembling and downloading (one button compile and loading).
Thanks in advance.
Richard Burton
richard.burton@onsemi.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have added the command exactly as you requested. I haven't used bootloaders myself, and so haven't tested the command, but the generated hex files look fine. Please download the update (info at http://gcbasic.sourceforge.net/update.html\) and let me know if it works!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there.
Which version of GCBASIC does this , ie adds the extra pagesel line like below.
Vectors
ORG 0
pagesel BASPROGRAMSTART
goto BASPROGRAMSTART
ORG 4
goto INTERRUPT
Im using the latest version 0.9 20-04-10 with a 16F88 which supports Bootloaders and it wont insert the pagesel line in the ASM code.
Is there some option to the Bootloader command thats needed.
Looking thru the Gcbasic.bas file, I cant find any referance to adding pagesel line before the main jump.
Most of the common Bootloaders seem to want the Pagesel line before the main Jump .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to prevent the overwriting of any pre-loaded bootloader code, vectors, etc. below 0x800 and have all GCBASIC code start at 0x800
Preferably the command would be
#option bootloader 0x800
How do I stop the generation of code below 0x800 to protect my bootloader?
Note: I'm using a UBW (USB Bit Wacker from SparkFun) and the USB bootloader is from Microchip.
If no immediate solution, who do I contact to send modified basic code to update GCBASIC?
I would like to have an easy BASIC programming of PIC's for middle schoolers without modifying assembly code before assembling and downloading (one button compile and loading).
Thanks in advance.
Richard Burton
richard.burton@onsemi.com
Have added the command exactly as you requested. I haven't used bootloaders myself, and so haven't tested the command, but the generated hex files look fine. Please download the update (info at http://gcbasic.sourceforge.net/update.html\) and let me know if it works!
Seems the forums added the ) to the end of the link, it should read:
http://gcbasic.sourceforge.net/update.html
Hi there.
Which version of GCBASIC does this , ie adds the extra pagesel line like below.
Vectors
ORG 0
pagesel BASPROGRAMSTART
goto BASPROGRAMSTART
ORG 4
goto INTERRUPT
Im using the latest version 0.9 20-04-10 with a 16F88 which supports Bootloaders and it wont insert the pagesel line in the ASM code.
Is there some option to the Bootloader command thats needed.
Looking thru the Gcbasic.bas file, I cant find any referance to adding pagesel line before the main jump.
Most of the common Bootloaders seem to want the Pagesel line before the main Jump .