Skip to content

Commit 2095b00

Browse files
committed
Fix some messages
1 parent f5dd961 commit 2095b00

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/arch/kim-1/utils/imu-k1013.S

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ zproc unmount_drive
291291

292292
; Dig further for errors
293293

294+
lda disk_status ; Check for success
294295
and #ST4_ABNORMAL_TERM
295296
zif ne
296297
lda disk_status+1
@@ -441,7 +442,7 @@ zproc create_image
441442
zendif
442443
; If we are here, there was an unexpected error
443444
lda #<generic_msg
444-
ldy #>generic_msg
445+
ldx #>generic_msg
445446
jmp err_withmsg
446447
zendif
447448

@@ -509,7 +510,7 @@ zproc delete_file
509510
zendif
510511
; If we are here, there was an unexpected error
511512
lda #<generic_msg
512-
ldy #>generic_msg
513+
ldx #>generic_msg
513514
jmp err_withmsg
514515
zendif
515516

0 commit comments

Comments
 (0)