Add convert_u8_A_to_FAC1

This commit is contained in:
Rikard Nordgren committed 2025-03-18 21:23:46 +01:00
1 parent 9d385f7aa6
commit d3895fab16
6 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ Floating point mathematical routines - not official, but well known and broadly
| `$B1BF` | `convert_FAC1_to_s16` | NOT DONE | |
| `$B391` | `GIVAYF` | PARTIAL | not fully tested yet |
| `$B3A2` | `convert_Y_to_FAC1` | DONE | |
| `$B794` | `convert_A_to_FAC1` | NOT DONE | |
| `$B794` | `convert_u8_A_to_FAC1` | DONE | |
| `$B7B5` | `STRVAL` | NOT DONE | imports string to FAC1 |
| `$B7F7` | `convert_FAC1_to_ADDR` | NOT DONE | |
| `$B849` | `add_HALF_FAC1` | DONE | |
@@ -4,10 +4,11 @@
;; #LAYOUT# * * #IGNORE
;
; Math package - XXX
; Math package - Convert A (uint8) to FAC1
;
; - https://sta.c64.org/cbm64basconv.html
;
; XXX add name, label, documentation, implement, test
+STUB_IMPLEMENTATION
convert_u8_A_to_FAC1:
tay
jmp convert_Y_to_FAC1
File renamed without changes.
+3
View File
@@ -0,0 +1,3 @@
JSR $B38D + JSR fragment
Call to address in ROM + fragment
+3
View File
@@ -0,0 +1,3 @@
JMP $B3A2 + JSR fragment
Call to well known floating point function + fragment
+3
View File
@@ -0,0 +1,3 @@
TAY + JMP $B3A2
Transfer to Y + Jump to well known floating point function (that needs its argument in Y)