Page 1 of 1
BitMagic Example
Posted: Sun Feb 13, 2022 5:06 pm
by Yazwho
Re: BitMagic Example
Posted: Wed Jan 25, 2023 10:53 am
by Royalestel
What does bitmagic do? Display bitmaps?
Re: BitMagic Example
Posted: Wed Jan 25, 2023 5:07 pm
by Yazwho
Its a development tool chain, or at least it will be, for developing X16 applications in asm.
There are 4 parts.
1. The Template Engine -- This is essentially asm macros on steroids. It uses C# as the macro language, making it very flexible.
2. The Compiler -- Compiles the above into a file you can run.
3. The Emulator -- Emulates the X16 and can use hooks produced by the above tool chain to help development.
4. The Debugger -- Using something like DAP so we can develop and debug a X16 application from VSC (or similar).
1, 2, and 3 are 'in development', 4 hasn't been started.
The demo above is an example of code reuse to create a simple application but showcases the power of using C# as the macro language -- as it can load a .png, deflate it, and include it in the final .prg file and then use a library to inflate it at runtime.
Thats the idea anyway!!
viewtopic.php?p=19316