Kernel: p112: Use mnemonic to disable floppy motors, do not enable DMA
authorWill Sowerbutts <will@sowerbutts.com>
Wed, 25 Jan 2017 14:36:39 +0000 (14:36 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Wed, 25 Jan 2017 14:38:06 +0000 (14:38 +0000)
Kernel/platform-p112/p112.s

index 73d800a..5383614 100644 (file)
@@ -39,8 +39,8 @@ _bufpool:
 
 init_early:
         ; P112: stop the floppy motor in case it is running
-        ld a, #0x0c
-        out0 (0x92), a
+        ld a, #0x08
+        out0 (FDC_DOR), a
 
         ; Z80182: disable ROM, entire physical address space maps to RAM
         in0 a, (Z182_SYSCONFIG)