forked from n6il/eou_ide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nitros9.patch
32 lines (28 loc) · 1.37 KB
/
nitros9.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -r aa5c87cbbd32 level1/modules/llide.asm
--- a/level1/modules/llide.asm Thu Sep 23 23:23:35 2021 +0200
+++ b/level1/modules/llide.asm Wed Dec 15 09:48:10 2021 -0800
@@ -583,7 +583,7 @@
* it is an ATA device. It will also determine if it is an LBA or CHS mode
* device, and save the appropriate CHS or LBA sector values.
ATAIdent
- ldd #NBUSYDRDY /BUSY and DRDY
+ ldd #NBUSYDRQ /BUSY and DRQ
lbsr StatusWait wait for proper condition
bcs ex@ branch if error
* Harvest C/H/S and LBA sector values.
diff -r aa5c87cbbd32 level2/coco3/modules/makefile
--- a/level2/coco3/modules/makefile Thu Sep 23 23:23:35 2021 +0200
+++ b/level2/coco3/modules/makefile Wed Dec 15 09:48:10 2021 -0800
@@ -422,13 +422,13 @@
# IDE Descriptors
ddi0_ide.dd: superdesc.asm
- $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -DDD=1
+ $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -DDD=1 -DITSOFS2=0x02 -DITSOFS3=0x76
i0_ide.dd: superdesc.asm
- $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER)
+ $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -DITSOFS2=0x02 -DITSOFS3=0x76
i1_ide.dd: superdesc.asm
- $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SLAVE)
+ $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SLAVE) -DITSOFS2=0x02 -DITSOFS3=0x76
ih_ide.dd: superdesc.asm
$(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(HDBDOS)