BinBas For BCX by MrBcx Sept 2023

Started by MrBcx, September 07, 2023, 12:32:44 AM

Previous topic - Next topic

Quin

Thanks for this excellent tool, MrBcx! I'm writing a small application that needs just a couple wave files embedded inside of it, and this works great for that.
Super slick code too. :) BASIC is beautiful. If only more young programmers appreciated it like I do...

MrBcx

#1
The attached file is my method for hex encoding any file into an include-able SUB with
a re-assembler ready to go.  I've used it on png, jpeg, bmp, and even executables.

It seems to be working quite well but if you find bugs, tell me and I'll try to fix it.

Compile BinBas.bas as a console mode app.  If you run it from the command prompt,
you can watch what's happening.  You can also drag and drop files onto BinBas.exe.

Read the comments inside the source code for more details.