aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-12-29 19:20:31 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-12-29 19:20:31 -0800
commit0a63a776dfdecc2fb23575535b22f2fd82fedabb (patch)
treefc75f524e7d6aa83bb47c6db9cfe6c14bb1090c4
parent436d011e75f59cd5e2758c3fe2cb997738bc3f21 (diff)
downloadabc80-0a63a776dfdecc2fb23575535b22f2fd82fedabb.tar.gz
abc80-0a63a776dfdecc2fb23575535b22f2fd82fedabb.tar.xz
abc80-0a63a776dfdecc2fb23575535b22f2fd82fedabb.zip
sddrom.asm: nothing is locked in setup_command
If we get to setup_command, clear any lock state
-rw-r--r--data/sddrom.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/sddrom.asm b/data/sddrom.asm
index 7d8699a..2647bed 100644
--- a/data/sddrom.asm
+++ b/data/sddrom.asm
@@ -119,6 +119,7 @@ setup_command:
out (0x00),a ; Primary status
out (0x02),a ; Disable DMA
; out (0x06),a ; Disable error LED
+ ld (iy+15),a ; Nothing is locked
res 1,(iy+14) ; No interrupt pending
ld hl,command ; Address for input
ld a,l