IntyBASIC v1.5.0 released
IntyBASIC now supports bank-switching and segments, before you need to use assembler.
Make sure you replace your current intybasic_prologue.asm and intybasic_epilogue.asm files with the new ones, and you need to add an OPTION MAP sentence at the start of your program, to select one of the available memory maps. (if you don't use the OPTION MAP sentence, your program will compile as always and you can still use ASM ORG)
The segments mean you don't need anymore to use ASM ORG to distribute your program, instead use a more elegant SEGMENT sentence (or BANK if you require it). And at the end of the assembling, you get a report of how much space you have available in each segment and bank.
The bank-switching means you can extend your programs up to 256 kilowords (the current maximum supported by physical JLP-Flash hardware), and all this without messing with assembler. Remember bank-switching means exactly that, you switch banks as you need for your program. IntyBASIC cannot prevent if you do GOSUB to an unselected bank, remember to do first BANK SELECT.
Also I've added the SELECT CASE / END SELECT sentences for more elegant programming.
- Added OPTION MAP, SEGMENT, SEGMENT BANK, BANK and BANK SELECT, along the banks.bas and segments.bas examples.
- Added SELECT CASE / END SELECT.
- Added support for unsigned numbers (suffix U)
- Added support for SIGNED/UNSIGNED type conversion in expressions.
- Extra 8 16-bit variables are available if COL0-7 aren't used.
- Solved several tiny bugs.
- Updated IntyColor with -i2 argument (generates BITMAP statement using X and .)