Close

3D rendering in assembly!

A project log for Arduino Graphics Card

Advanced graphics for anything from homebrew computers to weather reporting boxes and everything that can communicate over 3.3-5v UART.

Dylan BrophyDylan Brophy 03/23/2018 at 06:110 Comments

3d rendering in the parallax propeller's spin just isn't fast enough.  In case you don't know, the parallax propeller actually INTERPRETS SPIN CODE.  Although spin is still reasonably fast, I can get it much faster if I got the rendering going in assembly.

This is what I have been working on lately, and it seems that it *somewhat* works in the simulator.  But nothing ever renders. The simulator says that the graphics command register is always occupied, and, for some reason, never empties itself (as it shoud and usually does).

So I dug in the hex files to find ...numbers... : 

I don't want to go into details, but basically this proves that the entire command chain is being ruined by my assembly code.  I think that if I fix that my assembly will render 3d graphics!

ALSO. I am making a commit to my github so that anyone who wants to take a peek at my code can.

Discussions