Graphics Primitives are working, at least mostly.
So we’ve got a frame buffer now which means we can start writing 68K routines to write graphics into it.
So here I’m playing around with lines and circles. I’m using a random line drawing routine from the Atari that I found. I’m using the C code from the Midpoint Circle Algorithm on wikipedia, that has been compiled, and then has the assembly modified to work without support for negative numbers.
I’m seeing some graphic defect, but I’m not sure if that’s due to
- A defect in the assembly of the Midpoint Circle algorithm
- An existing cpu write problem (sharing SRAM)
- a video display issue (also sharing SRAM)
The C code runs fine in windows without any similar effect.
Here’s the code:
You also see a remnant from my previous text generation in the upper left hand corner.
I’m open to thoughts on the circle problem!