3 ms·
Bytes are often added by the high level frameworks (see the megabytes of unused C library). Putting a pixel in a framebuffer requires a single instruction. You
by pjc50 12y ago
Bytes are often added by the high level frameworks (see the megabytes of unused C library). Putting a pixel in a framebuffer requires a single instruction. You can do quite a lot of T&L in short bits of code.
Have a look at the source code for Second Reality, one of the more popular demos of 20 years ago. https://github.com/mtuomi/SecondReality https://github.com/mtuomi/SecondReality particularly the draw code https://github.com/mtuomi/SecondReality/blob/master/VISU/ADRAW.ASM https://github.com/mtuomi/SecondReality/blob/master/VISU/ADR... ; admittedly it does one light and no texttures, but it does it in a few kb of assembly.