Author Topic: fixed point math ??? implementation with assembly , 3D graphics projection , 2D  (Read 2292 times)


  • Regular Member
  • *
  • Posts: 1
hi guys! brand new to MASM, although I am learning MARS MIPS & C89 in conjunction,
would you guys have some books, or some good tutorials to FPM [fixed point math]? learning assm is because I want to learn to program games for a mips editor thats for the PS1.
would like to project 3D graphics , 2D sprites and what not.  although it's probably not easy , im still looking for a challenge.  any book or video related to the topics above , would be appreciated!!! :thumbsup:


  • Member
  • *****
  • Posts: 13945
  • Assembly is fun ;-)
    • MasmBasic
Hi iudestination0,

Welcome to the Forum :thup:

I am not aware of any books on fixed point math, but the principle is very simple: multiply your floats with 100 to get two digits after the comma, then do the math with the resulting integers. Afterwards, divide the result by 100, 10000, 1000000 etc depending on the operations performed.

A concrete example of your numbers and calculations would be helpful.


  • Member
  • *****
  • Posts: 2153
  • Matrix - Noah
    • abre ojos ensamblador
The logic of the error is hidden among the most unexpected lines of the program


  • Member
  • ***
  • Posts: 327
    • Raymond's page
Fpr whatever it may be worth, you may want to have a look at the following (it could be what you are looking for):
Whenever you assume something, you risk being wrong half the time.