[76] ADD TO REDUCE REDUCE TO DEDUCE
- Conlan Walker

- Mar 31, 2023
- 1 min read
Alright, I was very busy this week, and ran into some difficulties, so here's some more KIT-8.
Here's the emulator, which actually has fewer lines than the assembler by a good deal:
Here's a library I'm still working on that contains aliases and macros to abstract and augment the limited and occasionally annoying KIT-8 instruction set:
This is a program that demos a sin/cos routine (almost exclusively using aliases and macros):
This is the specific routine that gets the sin value before shifting it by a certain amount:

And here's the first demo that moves and stuff in a while (there's so much going on that the bitrate can't keep up and mostly looks like garbage, but at least you can tell what's going on):
While the random confetti can destroy the bitrate of a video, this image is a lot sharper:

The emulator now has the capability to blit bitmap sprites, like the pearl/circle thing that bounces around. The random confetti is also there to show the speed of the emulator, as one frame of this takes only a few milliseconds to properly render (even when the assembly is placing every single random dot).
To end this, here's what that program looks like after being fed through the preprocessor:

I had some difficulties with my IDE's debugger while I was being taught how a debugger works, so I'll need to look into that too, I guess.

![[158] Most Important Brick in the Least Important Wall](https://static.wixstatic.com/media/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg/v1/fill/w_980,h_410,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg)
![[157] Mail Order Sacrifice](https://static.wixstatic.com/media/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png/v1/fill/w_980,h_382,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png)
![[156] Moat of Babble](https://static.wixstatic.com/media/df100d_091e451794b14aecb494a16c15c966c3~mv2.png/v1/fill/w_980,h_705,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_091e451794b14aecb494a16c15c966c3~mv2.png)
Comments