Video soft font data was occupying a large amount of space in the HBIOS bank. This change moves the font data to a ROM bank by default.
Thanks and credit to @b1ackmai1er who provided much of the code that originated this change.
Co-Authored-By: b1ackmai1er <39449559+b1ackmai1er@users.noreply.github.com>
Jörg Linder has disassembled and thoroughly commented a great deal of the BPBIOS binaries. This was an incredible amount of work. I have added all of these to the RomWBW build scripts and will ultimately integrate them more completely.
General cleanup and refactoring of the ROM bank layout mechanism in the build scripts. This will make it easier to add and adjust the components in the ROM banks.
This commit does not yet implement the pending bank layout changes. Those will be part of the next commit.
Rom Bank 1 has no size constraint, can increase romldr (oversize) without build issue, bank truncation
Rom bank 2 usrrom (last app) has size constraint check, shouldnt be function of app
Rom bank 2 usr rom pads to end of 32k in its Size, unnecessary as handled by "srec_cat -crop"
So
* move out the bank size protections (from user rom) into layout.inc
* ensre bank 1 has same protection as bank2.
* make user rom a realistic size ($200), padding handled by crc check
* also good to .ECHO overall sizes of banks, improve logging.