implemented 2 more simple math routines
This commit is contained in:
1 parent
51064f6b70
commit
a2cd07a94c
10 files changed
+78
-12
No files matched your search
@@ -0,0 +1,24 @@
|
||||
// #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()
|
||||
Reference in new issue
Block a user