Close

WOOHOOO CRACKED IT!

A project log for MAINFRAME COMPUTE OBSERVATOR

A SciFi inspired PC Hardware Monitor

mangus-tiranusMangus Tiranus 04/21/2022 at 16:010 Comments

With help from my contact at Bridgetek , we finally managed to fix the font loading issue...


Soooo, at the time the font is converted to the format the eve chip uses, bytes 144-148 are a 32bit unsigned int. That holds the fixed memory address the bitmap data for the font is located in ram. 

This is why my combiner wasnt working. Because that address no longer is valid when the data is streamed and displaced from where the asset convert thinks it might go. 

soooo, one way to fix this. Would be a very long winded manual process of adding files one at a time to my combiner, run the combining app, and log down each address, and then go back to the asset converter and manually enter each address + 148, then recombine to put into the flash....

OR

I could tweak my asset combiner code, put in a separate entry box for font assets, and in the program stream the data from the binaries, making sure to calculate the new locations these will go, and inject those addresses into the bytes 144-148 in the font assets steam before pushing to flash.

And it works :D

Im so glad I finally got round to learning desktop apps. no idea why I didnt do this far sooner. 

Discussions