I don't know the BFont program, but in general...
https://beebwiki.mdfs.net/OSBYTE_%2614 is worth a read.
By default, on a B (it's different on a Master, or if you have a 2nd processor, or...) only characters &80-&9F are redefinable. To change others you need to use *FX20 to "explode" the character set, which allocates memory at OSHWM. In a BASIC program this means PAGE needs to be moved up. So you need to be careful; move PAGE before running *FX20.
So you might have a "3 stage" loading processNow step 2 could beAnd step3 can be your main program.
If you're getting a Bad Program error then it's likely your PAGE isn't high enough or you're loading too much data into memory.
https://beebwiki.mdfs.net/OSBYTE_%2614 is worth a read.
By default, on a B (it's different on a Master, or if you have a 2nd processor, or...) only characters &80-&9F are redefinable. To change others you need to use *FX20 to "explode" the character set, which allocates memory at OSHWM. In a BASIC program this means PAGE needs to be moved up. So you need to be careful; move PAGE before running *FX20.
So you might have a "3 stage" loading process
Code:
PAGE=PAGE+&500CHAIN "step2"
Code:
*FX20 5VDU 23,....<redefine all your characters>...CHAIN "step3"
If you're getting a Bad Program error then it's likely your PAGE isn't high enough or you're loading too much data into memory.
Statistics: Posted by sweh — Sun Jan 26, 2025 10:48 pm