-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdiskdefs
162 lines (148 loc) · 2.52 KB
/
diskdefs
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
diskdef bbc192
seclen 128
tracks 96 ; 0x600 128-byte sectors
sectrk 16
blocksize 1024
maxdir 64
boottrk 0
os 2.2
end
diskdef bbc327
seclen 128
tracks 80
sectrk 32
blocksize 2048
maxdir 128
boottrk 0
os 2.2
end
diskdef c1541
seclen 128
tracks 136
sectrk 10
blocksize 1024
maxdir 64
boottrk 0
os 2.2
end
# This produces .po files, so there's implicit soft sector skewing intended to
# be done in the backend. Note that the boot are read in physical sector order
# and so need to be specially skewed so that one they're ProDOS skewed each
# sector gets put back in physical order. Sigh, Apple II disk formats.
diskdef appleiie
seclen 256
tracks 35
sectrk 16
blocksize 1024
maxdir 64
boottrk 1
os 2.2
end
diskdef generic-1m
seclen 128
tracks 128
sectrk 64
blocksize 2048
maxdir 128
boottrk 0
os 2.2
end
diskdef generic-1440k
seclen 128
tracks 160
sectrk 72 # 512*18
blocksize 4096
maxdir 256
boottrk 0
end
# Simple SSSD disk on the Atari 810 or 1050 diskdrive
diskdef atari90
seclen 128
tracks 40
sectrk 18
blocksize 1024
maxdir 64
boottrk 1
os 2.2
end
# Large ATR for use with emulators, hardware drive emulators or mounting
# with AVG/SIDE cartridges on real hardware. seclen is still 128. It uses
# the same BIOS code as atari90. 8190 sectors. Almost 1MB.
diskdef atarihd
seclen 128
tracks 455
sectrk 18
blocksize 2048
maxdir 128
boottrk 1
os 2.2
end
diskdef oric
seclen 128
tracks 80 # double sided
sectrk 34
blocksize 2048
maxdir 64
boottrk 1
os 2.2
end
diskdef sorbus
seclen 128
tracks 128
sectrk 256
blocksize 2048
maxdir 1024
boottrk 1
os 2.2
end
diskdef k-1013
seclen 256
tracks 77
sectrk 26
blocksize 2048
maxdir 128
boottrk 1
os 2.2
end
diskdef sdcard
seclen 512
tracks 4096
sectrk 16
blocksize 4096
maxdir 1024
boottrk 1
os 2.2
end
# OSI 5.25", 40 tracks, 300rpm, 125kbps
# 640 sectors = 80kB
diskdef osi5
seclen 128
tracks 40
sectrk 16
blocksize 1024
maxdir 64
boottrk 1
os 2.2
end
# OSI 8", 77 tracks, 360rpm, 250kbps
# 1848 sectors = 231kB
diskdef osi8
seclen 128
tracks 77
sectrk 24
blocksize 1024
maxdir 64
boottrk 1
os 2.2
end
# OSI 5.25"/3.5", 80 tracks, 300rpm, 125kbps
# 1280 sectors = 160kB
diskdef osi5_80
seclen 128
tracks 80
sectrk 16
blocksize 1024
maxdir 64
boottrk 1
os 2.2
end