Update add_HALF_FAC1

This commit is contained in:
Rikard Nordgren authored and FeralChild64 committed 2026-01-28 21:26:20 +01:00
1 parent c9e4a09594
commit 23bab154cf
3 files changed
+12 -4

No files matched your search

+6 -2
View File
@@ -3,15 +3,19 @@
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
;
; This file is under the MIT license, it contains code released by Microsoft Corporation.
; See LICENSE for more information.
; Math package - add 0.5 to FAC1
;
; This is verified to be identical to the original Microsoft implementation where it was named FADDH.
;
; See also:
; - [CM64] Computes Mapping the Commodore 64 - page 112
add_HALF_FAC1:
ldy #>const_HALF
lda #<const_HALF
ldy #>const_HALF
jmp add_MEM_FAC1