DOS wedge simplified a little
This commit is contained in:
1 parent
7cabe62cc5
commit
1c1051726d
1 file changed
+3
-14
@@ -155,7 +155,7 @@ wedge_dos_command_confirmed:
|
|||||||
; Retrieve status, print it if not OK
|
; Retrieve status, print it if not OK
|
||||||
|
|
||||||
jsr JCLALL
|
jsr JCLALL
|
||||||
jsr wedge_dos_status_get_no_new_line
|
jsr wedge_dos_status_get
|
||||||
|
|
||||||
lda BUF+0
|
lda BUF+0
|
||||||
cmp #$30 ; '0'
|
cmp #$30 ; '0'
|
||||||
@@ -207,14 +207,6 @@ wedge_dos_change_drive:
|
|||||||
|
|
||||||
wedge_dos_status_get:
|
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
|
; 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
|
; 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:
|
wedge_dos_status:
|
||||||
|
|
||||||
jsr wedge_dos_status_get
|
jsr wedge_dos_status_get
|
||||||
+bra wedge_dos_status_print_no_new_line
|
|
||||||
|
; FALLTROUGH
|
||||||
|
|
||||||
wedge_dos_status_print:
|
wedge_dos_status_print:
|
||||||
|
|
||||||
jsr print_return
|
jsr print_return
|
||||||
|
|
||||||
; FALLTROUGH
|
|
||||||
|
|
||||||
wedge_dos_status_print_no_new_line:
|
|
||||||
|
|
||||||
; Print buffered status
|
; Print buffered status
|
||||||
|
|
||||||
ldx #$00
|
ldx #$00
|
||||||
|
|||||||
Reference in new issue
Block a user