Merge pull request #95 from rikardn/u8toFAC1

Add convert_u8_A_to_FAC1
This commit is contained in:
FeralChild64 authored and GitHub committed 2025-03-18 20:50:20 +00:00
commit 382b382847
6 files changed
+14 -4

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
;; #LAYOUT# STD * #TAKE
;; #LAYOUT# X16 BASIC_0 #TAKE-OFFSET 2000
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
;
; Math package - Convert A (uint8) to FAC1
;
; - https://sta.c64.org/cbm64basconv.html
;
convert_u8_A_to_FAC1:
tay
jmp convert_Y_to_FAC1
+3
View File
@@ -0,0 +1,3 @@
This is an important floating point math routine, documented in many places.
XXX - try to find real-life example