BitMagic Example

For Scene Demos that display animations, graphics, and music. Also for tech demos of graphics capability of VERA or the audio capabilities of the PSG, FM, or PCM audio channels.
Post Reply
User avatar
Yazwho
Posts: 172
Joined: Fri Feb 19, 2021 2:59 pm
Contact:

BitMagic Example

Post by Yazwho »

Attachments
test.prg
BitMagic Example
(31.81 KiB) Downloaded 205 times
BitMagic Example
BitMagic Example
BigMagicExample.png (548.63 KiB) Viewed 20359 times
Royalestel
Posts: 1
Joined: Wed Jan 25, 2023 10:53 am

Re: BitMagic Example

Post by Royalestel »

What does bitmagic do? Display bitmaps?
User avatar
Yazwho
Posts: 172
Joined: Fri Feb 19, 2021 2:59 pm
Contact:

Re: BitMagic Example

Post 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
Post Reply