more array format adjustments to original ROM format

This commit is contained in:
FeralChild64 committed 2020-07-27 21:56:43 +02:00
1 parent 8abaa6f735
commit 2f8953c431
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -174,12 +174,12 @@ array_create_store_loop:
array_create_store_dims_done:
// Restore FOUR6, calculate number of bytes needed for storage
.break
pla
sta FOUR6 // XXX do we need to store this value in FOUR6? is it still needed?
sta __FAC1+3
stx __FAC1+4 // .X is 0 at this point
jsr helper_array_create_mul
// Check if there is enough free memory
@@ -212,7 +212,7 @@ array_create_store_dims_done:
// Calculate and store offset to the next array
lda #$02
lda #$05
jsr helper_INDEX_up_A
lda __FAC1+0
@@ -54,9 +54,9 @@ helper_array_create_mul_error:
helper_array_create_mul_success:
lda INDEX+0
sta __FAC1+0
lda INDEX+1
sta __FAC1+1
lda INDEX+1
sta __FAC1+2
plx_trash_a
rts