reidrac is CODING 43: embedding data in the EXE
Channel: reidrac
Date: 2023-05-31

Live coding, session 43.

Part of making a DOS game!

Made a tool to extract the palette from a PNG file and load the palette on the VGA. Then used the linker to embed the palette on the EXE, but there are some problems that I couldn't solve today. Will investigate a bit offline and see if there's solution or if I should move to a different idea (e.g. generate an include file).

(spoiler: it was easy to fix after all, we'll see it in the next session)

Video from a Twitch stream.

FAQ: https://www.usebox.net/jjm/coding/