top of page
Search

[76] ADD TO REDUCE REDUCE TO DEDUCE

  • Writer: Conlan Walker
    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:

ree

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:

ree

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:

ree

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.

 
 
 

Comments


bottom of page