I've just started playing around with bBasic for the first time, and ran into this question. I'm trying to use the DPC+ kernel, along with the fixed_point_math module.

If I include the fixed_point_math module at the beginning of my program, I get an Origin Reverse-indexed error upon compilation (it's over-filling the first bank where the DPC/arm code is supposed to be?):

include fixed_point_math.asm set kernel DPC+ set tv ntsc set optimization inlinerand goto __Start_Restart bank2 bank 2 __Start_Restart ....etc

gives:

segment: 1fd4 eqm vs current org: 202f free ram: 0 DPC free RAM= 603 -91 bytes of ROM space left in bank 1 spw.bas.asm (1407): error: Origin Reverse-indexed.

Alternatively, I could put the fixed_point_math into a different bank (bank 2?) but it wasn't clear how to make this work -- it seems bBasic keeps trying to do a bank jump to bank 1 to call the fixed point routines.

Let me know if I'm missing something obvious, or doing something dumb. Thanks!