From d5d789debe188ab65ce172dc9b4c9fb9597e0e85 Mon Sep 17 00:00:00 2001 From: Antoine Vignau <34219772+antoinevignau@users.noreply.github.com> Date: Mon, 3 Jul 2023 10:58:14 +0200 Subject: [PATCH] SD_CARD_INSERTED support --- applesqueezer/sdcard/AS.EQUATES.S | 1 + 1 file changed, 1 insertion(+) diff --git a/applesqueezer/sdcard/AS.EQUATES.S b/applesqueezer/sdcard/AS.EQUATES.S index e5c251f..272a242 100644 --- a/applesqueezer/sdcard/AS.EQUATES.S +++ b/applesqueezer/sdcard/AS.EQUATES.S @@ -44,6 +44,7 @@ SD_ADDRESS_SET_MSB_3 = $e40006 SD_START_READ = $e40008 ; starts reading the sector (if it was idle) SD_ACCESS = $e4000a SD_START_WRITE = $e4000c ; starts writing the sector (if it was idle) +SD_CARD_INSERTED $e40012 ; 1 if inserted, 0 instead STA_NOINIT = 1 ; Drive not initialized STA_NODISK = 2 ; No medium in the drive