summaryrefslogtreecommitdiff
path: root/Instructions.TXT
blob: b9b40d756f85cb5873a22d6f14914af48b6b9f36 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
This file was generated using an automated Python script.
Generated on Saturday, June 27, 2026 at 15:54:40 CDT.

./Install.HC
PURPOSE: Semi-automate the floppy driver install process
TO USE: #include this file on the cmd line.

Examples/DskImg.HC
PURPOSE: Demonstration of floppy driver
TO USE: #include this file at the cmd prompt or run it with F5.

Kernel/KFloppyA.HH
PURPOSE: Adds necessary definitions for the floppy driver
TO INSTALL: #include this file in Kernel.PRJ, after KernelB.HH.
THEN: Also #include it in ::/StartOS.HC.

Kernel/KFloppyB.HH
PURPOSE: Exports floppy driver funs for use by other programs
TO INSTALL: #include this file after KernelA.HH in Kernel.PRJ.
THEN: Also #include it in StartOS.HC.

Kernel/KFloppyInt.HC
PURPOSE: Floppy disk IRQ handler
TO INSTALL: #include this file after the floppy header files in Kernel.PRJ.

Adam/ABlkDev/Patches/Mount2LtrsFDC.HC
PATCH: Update ltr lst to reflect remapping of drv ltrs
FILE: ::/Adam/ABlkDev/Mount.HC
TO INSTALL: Comment out the original Print call.
THEN: #include this file after it.
ADAM PATCH: Must be installed after kernel patches!

Adam/ABlkDev/Patches/Mount2CaseAFDC.HC
PATCH: Add the ability to configure floppy BlkDevs (part 1 of 2)
FILE: ::/Adam/ABlkDev/Mount.HC
TO INSTALL: #include this file at the end of the first switch statement.
ADAM PATCH: Must be installed after kernel patches!

Adam/ABlkDev/Patches/Mount2VarsFDC2.HC
PATCH: Add two new Bools for floppy configuration
FILE: ::/Adam/ABlkDev/Mount.HC
TO INSTALL: Comment out the old Bool declaration.
THEN: #include this file after it.
ADAM PATCH: Must be installed after kernel patches!

Adam/ABlkDev/Patches/Mount2VarsFDC.HC
PATCH: Add more U8 bufs for floppy configuration
FILE: ::/Adam/ABlkDev/Mount.HC
TO INSTALL: Comment out the original declaration.
THEN: #include this file after it.
ADAM PATCH: Must be installed after kernel patches!

Adam/ABlkDev/Patches/Mount2CaseBFDC.HC
PATCH: Add the ability to configure floppy BlkDevs (part 2 of 2)
FILE: ::/Adam/ABlkDev/Mount.HC
TO INSTALL: #include this file at the end of the second switch statement.
ADAM PATCH: Must be installed after kernel patches!

Kernel/Patches/KernelABDTs.HH
PATCH: Add floppy BlkDev type
FILE: ::/Kernel/KernelA.HH
TO INSTALL: Comment out the old block device type #defines.
THEN: #include this file after them.

Kernel/Patches/IntInit2FDC.HC
PATCH: Make IntInit2() set up the IDT to handle FDC IRQ's
FILE: ::/Kernel/KInts.HC
TO INSTALL: #include this file after the line that sets the wake int handler.

Kernel/Patches/KDefineBDTs.HC
PATCH: Add str for floppy BlkDev type to BlkDev str tbl
FILE: ::/Kernel/KDefine.HC
TO INSTALL: Comment out the old DefineLstLoad call.
THEN: #include this file after it.

Kernel/Patches/IntsInitFDC.HC
PATCH: Make IntsInit() unmask IRQ6
FILE: ::/Kernel/KInts.HC
TO INSTALL: Comment out the original fun.
THEN: #include this file after it.

Kernel/Patches/CBlkDevFDC.HC
PATCH: Add floppy params to the CBlkDev class
FILE: ::/Kernel/KernelA.HH
TO INSTALL: #include this file after the second U32 declaration.

Kernel/Patches/KFloppyDMA.HC
PATCH: Adds a buf for floppy DMA xfers.
FILE: ::/Kernel/KStart32.HC
TO INSTALL: #include this file at the end.

Kernel/BlkDev/DskFDC.HC
PURPOSE: Adds support for std PC floppy dsk ctrlrs to TempleOS
TO INSTALL: #include this file after DskATA in MakeBlkDev.HC.

Kernel/BlkDev/Patches/Let2BlkDevTypeFDC.HC
PATCH: Remaps ltrs W-Z for floppy drives
FILE: ::/Kernel/BlkDev/DskDrv.HC
TO INSTALL: Comment out the original function.
THEN: #include this file after it.

Kernel/BlkDev/Patches/BlkDevTextAttrFDC.HC
PATCH: Add device color for floppy devices
FILE: ::/Kernel/BlkDev/DskDrv.HC
TO INSTALL: Comment out the original array.
THEN: #include this file.

Kernel/BlkDev/Patches/BlkDevAddFDC.HC
PATCH: Add the ability to create floppy drvs
FILE: ::/Kernel/BlkDev/DskAddDev.HC
TO INSTALL: #include this file at the end of the switch statement.

Kernel/BlkDev/Patches/BlkReadFDC.HC
PATCH: Add read support for floppy disks
FILE: ::/Kernel/BlkDev/DskBlkDev.HC
TO INSTALL: #include this file at the end of the switch statment

Kernel/BlkDev/Patches/BlkWriteFDC.HC
PATCH: Add write support for floppy disks
FILE: ::/Kernel/BlkDev/DskBlkDev.HC
TO INSTALL: #include this file at the end of the switch statment

Kernel/BlkDev/Patches/BlkDevInitFDC.HC
PATCH: Add the ability to init floppy BlkDevs
FILE: ::/Kernel/BlkDev/DskBlkDev.HC
TO INSTALL: #include this file at the end of the switch statement.

Kernel/BlkDev/Patches/BlkDevNextFreeSlotFDC.HC
PATCH: Set "removable" flag on floppy devices
FILE: ::/Kernel/BlkDev/DskBlkDev.HC
TO INSTALL: #include this file at the end of the switch statement