User Tools

Site Tools


base:kernal_floating_point_mathematics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
base:kernal_floating_point_mathematics [2020-12-06 20:22] – [7.3 Integer to FP], Lothar Englisch says $bc3c converts a signed 8-bit value. pararaumbase:kernal_floating_point_mathematics [2020-12-06 20:48] (current) – [7.1 FP to integer] pararaum
Line 224: Line 224:
 ==== 7.1 FP to integer ==== ==== 7.1 FP to integer ====
  
 +There seems to be only a single routine in the ROMs, see Lothar Englisch, "The Advanced Machine Language Book", Abacus Software, 1984, p 28. IT is located at $BC9B and converts the floating-point value in the FAC (the fractional portion is truncated) into a whole number. The four mantissa bytes ($62-$65) contain the value in a big-endian representation.
 ==== 7.2 FP to string ==== ==== 7.2 FP to string ====
  
base/kernal_floating_point_mathematics.txt · Last modified: 2020-12-06 20:48 by pararaum