implemented several simple floating point routines
This commit is contained in:
1 parent
4673f825af
commit
c62f53058e
17 files changed
+227
-28
No files matched your search
@@ -1,24 +0,0 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - copy FAC1 to memory location, rounds if asked
|
||||
//
|
||||
// Input:
|
||||
// - .X - address low byte
|
||||
// - .Y - address high byte
|
||||
// - $70 - if MSB is set performs rouding
|
||||
//
|
||||
// Output:
|
||||
// - .A - FAC1 exponent
|
||||
//
|
||||
// See also:
|
||||
// - https://www.c64-wiki.com/wiki/Floating_point_arithmetic
|
||||
// - https://codebase64.org/doku.php?id=base:kernal_floating_point_mathematics
|
||||
//
|
||||
|
||||
// XXX provide implementation
|
||||
|
||||
MOVFM2:
|
||||
STUB_IMPLEMENTATION()
|
||||
@@ -1,3 +0,0 @@
|
||||
This is an important floating point math routine, documented in many places.
|
||||
|
||||
XXX - try to find real-life example
|
||||
@@ -1,17 +0,0 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Math package - copy FAC2 to FAC1
|
||||
//
|
||||
// See also:
|
||||
// - [CM64] Computes Mapping the Commodore 64 - page 115
|
||||
// - https://www.c64-wiki.com/wiki/Floating_point_arithmetic
|
||||
// - https://codebase64.org/doku.php?id=base:kernal_floating_point_mathematics
|
||||
//
|
||||
|
||||
// XXX provide implementation
|
||||
|
||||
MOVEF:
|
||||
STUB_IMPLEMENTATION()
|
||||
@@ -1,3 +0,0 @@
|
||||
This is an important floating point math routine, documented in many places.
|
||||
|
||||
XXX - try to find real-life example
|
||||
Reference in new issue
Block a user