mirror of
https://github.com/rigreco/UniDisk.git
synced 2025-01-14 01:29:42 +00:00
$380 is unecessary, PTGET returns with the Y-Reg and Accumulator
pionting to the data bytes of the specified variable. This will be precisely where we want the data in the FAC to be moved to. The only correction to be made is in regard to the fact that MOVMF requires that Y and X registers hold the destination address, this solve by use TAX.
This commit is contained in:
parent
01c44757b9
commit
b009bf41ab
@ -148,8 +148,8 @@ CONT2 lda FP1+2 ; M1 3 Byte --> 9F FAC
|
||||
;brk
|
||||
***************************
|
||||
*
|
||||
ldy #$03 ;Hi Byte MEM
|
||||
lda #$80 ;Lo Byte MEM
|
||||
;ldy #$03 ;Hi Byte MEM
|
||||
;lda #$80 ;Lo Byte MEM
|
||||
*
|
||||
jsr CHKCOM
|
||||
jsr PTRGET
|
||||
|
@ -133,11 +133,11 @@ CONT2 lda FP1+2 ; M1 3 Byte --> 9F FAC
|
||||
;brk
|
||||
***************************
|
||||
*
|
||||
ldy #$03 ;Hi Byte MEM
|
||||
lda #$80 ;Lo Byte MEM
|
||||
;ldy #$03 ;Hi Byte MEM
|
||||
;lda #$80 ;Lo Byte MEM
|
||||
*
|
||||
jsr CHKCOM
|
||||
jsr PTRGET
|
||||
jsr PTRGET ; Return the Y and A pointing to the specific variabile
|
||||
tax
|
||||
jsr MOVMF ;FAC->VARIABLE Y (5 Bytes Packed)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user