hlorenzi / customasm

💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Apache License 2.0
720 stars 56 forks source link

Way to Include Raw Binary File #136

Closed zicklag closed 2 years ago

zicklag commented 2 years ago

Hey there!

I'm looking into using the project to write NES games, and so far I really like the design. :)

Forgive me if I missed it, but is there a way to include a raw binary file to a location in memory? I'm thinking like an NES CHR file.

If it isn't implemented, I could try to implement it real quick. I think it'd be easy.

zicklag commented 2 years ago

Oh, man, I somehow found incbin in the source code before I found it in the wiki. :upside_down_face:

I was looking for something like #binclude and forgot to look at functions.

Anyway, great project, I think I'll have some fun with it. :)