From 41a4d1dd2d092091f51d65487e2bb2d3dedb4575 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Sat, 1 Feb 2025 18:33:43 -0800 Subject: [PATCH] support autostart SmartPort devices --- src/prorwts2.a | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/prorwts2.a b/src/prorwts2.a index 2be7fa01f..8c5ae21ee 100644 --- a/src/prorwts2.a +++ b/src/prorwts2.a @@ -484,13 +484,15 @@ iterdevice set_slot stx slot1 + 2 stx slot2 + 2 stx unrentry + 2 -slot2 ldx $cf07 - beq + +slot1 ldx $cfff + stx unrentry + 1 + +slot2 lda $cf02,x + eor #$85 + bne + sec rts + -slot1 ldx $cfff - stx unrentry + 1 !if enable_floppy = 1 { php } ;enable_floppy = 1