This commit is contained in:
Brooke Vibber 2023-01-04 20:57:07 -08:00
parent efd722eeb2
commit 519f8ad635

View file

@ -19,7 +19,7 @@ Enjoy! I'll probably work on this off and on for the next few weeks until I've g
The 16-bit signed integer multiplication seems to be working, though I need to double-check it some more. It takes two 16-bit inputs and emits one 32-bit output in the zero page, using the Atari OS ROM's floating point registers as workspaces. Inputs are clobbered.
The main loop is a basic add-and-shift, using 16-bit adds which requires flipping the sign of negative inputs (otherwise you'd have to add all those sign-extension bits). Runs in 480-780 cycles depending on input.
The main loop is a basic add-and-shift, using 16-bit adds which requires flipping the sign of negative inputs (otherwise you'd have to add all those sign-extension bits). Runs in 470-780 cycles depending on input.
The mandelbrot loop is partly sketched out but I have future updates to make on that.