Lets Code MS DOS 0x21: 3D Fixed Point Maths @root42
Lets Code MS DOS 0x21: 3D Fixed Point Maths  @root42
Uploaded September 2023 | Updated November 2026, 3 hours ago
The 3D Wireframe cube is part of every demoscene coder’s learning curve. Today I want to talk you through the principles of 3D programming in general and especially the idea of fixed point maths, where you use integers instead of floating point numbers to represent fractions. Older CPUs before the 80486 had no built in floating point support, and even the FPUs were quite often rather slow and hard to program for, if available at all. So people had to opt to use integer arithmetics in stead. But 3D graphics requires fractional numbers, so how do we get both things together and manage to display a rotating wireframe cube on our MS DOS machine?

Support me on Patreon: patreon.com/root42
Support me on Ko-Fi: ko-fi.com/root42
Support me on PayPal: paypal.me/ArneSchmitz
Support me on YouTube: youtube.com/channel/UCPjFa_UZBUDzdJTIEdyGjIQ/join

Music: A Little Wonder by Spino2006

Source Code: github.com/root42/doscube
Lets Code MS DOS 0x21: 3D Fixed Point MathsMusicdisk: Modern Love Classics by MSL #demosceneMy 2nd Most Favorite Amiga DemoLötstream: 386DX40 MS-DOS BuildNEW Low Ripple 7805/7812 Drop In RegulatorLets Code x86 Assembly: 0x06 Tic Tac Toe JMP and CALLLets Code MS DOS 0x26: AdLib Drum MachineLets Code x86 Assembly: 0x04 DIV and DebuggingFnirsi LC1020E LCR Meter ReviewLOOK MUM NO LÖTSTREAMOriginal GameBoy IPS ModSelfmade 5.25“ Floppy Disk Sleeves
root42 |

Let's Code MS DOS 0x21: 3D Fixed Point Maths

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER