BitMagic Example
BitMagic Example
- Attachments
-
- test.prg
- BitMagic Example
- (31.81 KiB) Downloaded 205 times
-
- BitMagic Example
- BigMagicExample.png (548.63 KiB) Viewed 20360 times
-
- Posts: 1
- Joined: Wed Jan 25, 2023 10:53 am
Re: BitMagic Example
What does bitmagic do? Display bitmaps?
Re: BitMagic Example
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
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