aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2008-12-30 11:42:25 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2008-12-30 11:42:25 -0800
commitbbb9ffa789b3e2875931f4d6376f78fc14c26204 (patch)
tree0c1ab45f9b2ad3feccd91b6a7c2d9a656b6a7334
parentb4f07f0c059a7f322cdb12cbcf6ce6cbaca5e774 (diff)
downloadabc80-bbb9ffa789b3e2875931f4d6376f78fc14c26204.tar.gz
abc80-bbb9ffa789b3e2875931f4d6376f78fc14c26204.tar.xz
abc80-bbb9ffa789b3e2875931f4d6376f78fc14c26204.zip
sddrom: actually read the OCR!
Did an OTDR instead of INDR to read the OCR, with predicably bad effects. As a result, version 10 broke all non-SDHC cards except very old ones.
-rw-r--r--data/sddrom.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sddrom.asm b/data/sddrom.asm
index 5a042a5..8720e4e 100644
--- a/data/sddrom.asm
+++ b/data/sddrom.asm
@@ -616,7 +616,7 @@ sd_probe_ocr:
jr nz,sd_carderr
ld hl,card_ocr+3
ld bc,0x0430 ; 4 bytes from port 30h
- otdr
+ indr
no_sdhc:
;