Update mov_r_FAC1_TMP2

This commit is contained in:
Rikard Nordgren authored and FeralChild64 committed 2026-01-28 21:26:20 +01:00
1 parent b454ca191d
commit b95e09e6ac
4 files changed
+17 -22

No files matched your search

+15 -2
View File
@@ -3,6 +3,19 @@
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
; Just a compatibility jump - our routine is longer than original one
; This file is under the MIT license, it contains code released by Microsoft Corporation.
; See LICENSE for more information.
jmp mov_r_FAC1_TMP2
; Math package - store FAC1 (rounds) in TEMPF2
;
; This is verified to be identical to the original Microsoft implementation where it was named MOV2F.
;
; See also:
; - https://www.c64-wiki.com/wiki/BASIC-ROM
; - https://sta.c64.org/cbm64basconv.html
;
mov_r_FAC1_TMP2:
ldx #TEMPF2
+skip_2_bytes_trash_nvz
-18
View File
@@ -1,18 +0,0 @@
;; #LAYOUT# STD * #TAKE
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
;
; Math package - store FAC1 (rounds) in TEMPF2
;
; See also:
; - https://www.c64-wiki.com/wiki/BASIC-ROM
; - https://sta.c64.org/cbm64basconv.html
;
mov_r_FAC1_TMP2:
ldy #$00
ldx #$57
jmp mov_r_FAC1_MEM