User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
base:kernal_floating_point_mathematics [2020-12-06 20:22]
pararaum [7.3 Integer to FP], Lothar Englisch says $bc3c converts a signed 8-bit value.
base:kernal_floating_point_mathematics [2020-12-06 20:48] (current)
pararaum [7.1 FP to integer]
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.1607282520.txt.gz ยท Last modified: 2020-12-06 20:22 by pararaum