2 ; Copyright (C) 2010 Sprite_tm
4 ; This program is free software: you can redistribute it and/or modify
5 ; it under the terms of the GNU General Public License as published by
6 ; the Free Software Foundation, either version 3 of the License, or
7 ; (at your option) any later version.
9 ; This program is distributed in the hope that it will be useful,
10 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ; GNU General Public License for more details.
14 ; You should have received a copy of the GNU General Public License
15 ; along with this program. If not, see <http://www.gnu.org/licenses/>.
161 ;translate sector bc using table at de, res into hl
169 jp $4A03+$A800 ;JMP WBOOT
172 jp $3C06+$A800 ;JMP BDOS
174 ;Disk Parameter Header
176 dw trans ;XLT: Address of translation table
177 dw 0 ;000: Scratchpad
178 dw 0 ;000: Scratchpad
179 dw 0 ;000: Scratchpad
180 dw dirbuf ;DIRBUF: Address of a dirbuff scratchpad
181 dw dpb ;DPB: Address of a disk parameter block
182 dw chk ;CSV: Address of scratchpad area for changed disks
183 dw all ;ALV: Address of an allocation info sratchpad
186 dw 26 ;SPT: sectors per track
187 db 3 ;BSH: data allocation block shift factor
188 db 7 ;BLM: Data Allocation Mask
190 dw 242 ;DSM: Disk storage capacity
191 dw 63 ;DRM, no of directory entries
194 dw 16 ;CKS, size of dir check vector
195 dw 2 ;OFF, no of reserved tracks
198 db 0,1,2,3,4,5,6,7,8,9
199 db 10,11,12,13,14,15,16,17,18,19
200 db 19,20,21,22,23,24,25,26