Changeset 111 for trunk/bootcode/regular/partscan.asm
- Timestamp:
- Apr 8, 2017, 12:27:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partscan.asm
r96 r111 29 29 30 30 PARTSCAN_ScanForPartitions Proc Near 31 32 IFDEF AUX_DEBUG 33 IF 0 34 pushf 35 pusha 36 push si 37 mov si, offset $+5 38 jmp @F 39 db 10,'PARTSCAN_ScanForPartitions:',10,0 40 @@: 41 call AuxIO_Print 42 pop si 43 ;~ call DEBUG_DumpRegisters 44 ;~ call AuxIO_DumpParagraph 45 ;~ call AuxIO_TeletypeNL 46 popa 47 popf 48 ENDIF 49 ENDIF 50 31 51 ; Reset X-Reference 32 52 call PARTSCAN_ResetXref … … 119 139 ; 120 140 PARTSCAN_UpdateDriveLetters Proc 141 142 IFDEF AUX_DEBUG 143 IF 0 144 pushf 145 pusha 146 push si 147 mov si, offset $+5 148 jmp @F 149 db 10,'PARTSCAN_UpdateDriveLetters:',10,0 150 @@: 151 call AuxIO_Print 152 pop si 153 ;~ call DEBUG_DumpRegisters 154 ;~ call AuxIO_DumpParagraph 155 ;~ call AuxIO_TeletypeNL 156 popa 157 popf 158 ENDIF 159 ENDIF 160 121 161 pusha 122 162 xor bx,bx ; index-pointer … … 188 228 ; falls eine Extended Partition (DOS) gefunden wird, wird erneut gescannt. 189 229 PARTSCAN_ScanDriveForPartitions Proc Near 230 231 IFDEF AUX_DEBUG 232 IF 0 233 pushf 234 pusha 235 push si 236 mov si, offset $+5 237 jmp @F 238 db 10,'PARTSCAN_ScanDriveForPartitions:',10,0 239 @@: 240 call AuxIO_Print 241 pop si 242 ;~ call DEBUG_DumpRegisters 243 ;~ call AuxIO_DumpParagraph 244 ;~ call AuxIO_TeletypeNL 245 popa 246 popf 247 ENDIF 248 ENDIF 249 190 250 xor ax, ax 191 251 xor bx, bx ; Location Absoluter Sektor 0 … … 218 278 ; be set to this location and Carry will be set 219 279 PARTSCAN_ScanPartitionForExtended Proc Near Uses si 280 281 IFDEF AUX_DEBUG 282 IF 0 283 pushf 284 pusha 285 push si 286 mov si, offset $+5 287 jmp @F 288 db 10,'PARTSCAN_ScanPartitionForExtended:',10,0 289 @@: 290 call AuxIO_Print 291 pop si 292 ;~ call DEBUG_DumpRegisters 293 ;~ call AuxIO_DumpParagraph 294 ;~ call AuxIO_TeletypeNL 295 popa 296 popf 297 ENDIF 298 ENDIF 299 220 300 mov si, offset PartitionSector+446 ; DS:SI - 1st partition entry 221 301 xor ax, ax … … 254 334 ; The following routines have NOT *DS* set to CS, so we must address via ES 255 335 PARTSCAN_ScanPartition Proc Near Uses ax si 336 337 IFDEF AUX_DEBUG 338 IF 0 339 pushf 340 pusha 341 push si 342 mov si, offset $+5 343 jmp @F 344 db 10,'PARTSCAN_ScanPartition:',10,0 345 @@: 346 call AuxIO_Print 347 pop si 348 ;~ call DEBUG_DumpRegisters 349 ;~ call AuxIO_DumpParagraph 350 ;~ call AuxIO_TeletypeNL 351 popa 352 popf 353 ENDIF 354 ENDIF 355 356 256 357 mov si, offset PartitionSector+446 ; DS:SI - 1st Partition-Entry 257 358 PSSP_ScanLoop: … … 316 417 ; In: SI - Points to Partition-Entry (16-Bytes) 317 418 PARTSCAN_CheckThisPartition Proc Near Uses di si 419 420 IFDEF AUX_DEBUG 421 IF 0 422 pushf 423 pusha 424 push si 425 mov si, offset $+5 426 jmp @F 427 db 10,'PARTSCAN_CheckThisPartition:',10,0 428 @@: 429 call AuxIO_Print 430 pop si 431 ;~ call DEBUG_DumpRegisters 432 ;~ call AuxIO_DumpParagraph 433 ;~ call AuxIO_TeletypeNL 434 popa 435 popf 436 ENDIF 437 ENDIF 438 318 439 local PartSystemID:byte, PartTypeFlags:byte 319 440 local PartCRC:word, PartPtr:word
Note:
See TracChangeset
for help on using the changeset viewer.