DOS wedge simplified a little

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent fb62dcd957
commit 9ce8593263
1 file changed
+3 -14
+3 -14
View File
@@ -155,7 +155,7 @@ wedge_dos_command_confirmed:
; Retrieve status, print it if not OK
jsr JCLALL
jsr wedge_dos_status_get_no_new_line
jsr wedge_dos_status_get
lda BUF+0
cmp #$30 ; '0'
@@ -207,14 +207,6 @@ wedge_dos_change_drive:
wedge_dos_status_get:
; New line - separate status from current display
jsr print_return
; FALLTROUGH
wedge_dos_status_get_no_new_line:
; Here the flow is mostly the same as in the example from
; https://codebase64.org/doku.php?id=base:reading_the_error_channel_of_a_disk_drive
@@ -273,16 +265,13 @@ wedge_dos_status_get_done:
wedge_dos_status:
jsr wedge_dos_status_get
+bra wedge_dos_status_print_no_new_line
; FALLTROUGH
wedge_dos_status_print:
jsr print_return
; FALLTROUGH
wedge_dos_status_print_no_new_line:
; Print buffered status
ldx #$00