diff --git a/src/kernal/iec/iec_send_file_name.s b/src/kernal/iec/iec_send_file_name.s index 19cd316b..e32c76d3 100644 --- a/src/kernal/iec/iec_send_file_name.s +++ b/src/kernal/iec/iec_send_file_name.s @@ -11,11 +11,18 @@ iec_send_file_name: - ldy #0 + + ldy #$00 + +!ifdef CONFIG_MB_M65 { + jsr m65dos_check + +bcc m65dos_send_file_name_loop ; branch if device is handeld by internal DOS +} iec_send_file_name_loop: + cpy FNLEN - beq iec_send_file_name_done + +beq UNLSN !ifdef CONFIG_MEMORY_MODEL_60K { ldx #