Changeset 401 in xtideuniversalbios
- Timestamp:
- Apr 20, 2012, 2:52:53 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r400 r401 268 268 269 269 ;-------------------------------------------------------------------- 270 %ifdef USE_186 270 271 ALIGN JUMP_ALIGN 271 272 ReadBlockFrom16bitDataPort: … … 274 275 db 6Dh ; INSW (we want this in XT build) 275 276 ret 276 277 ;-------------------------------------------------------------------- 277 %endif 278 279 ;-------------------------------------------------------------------- 280 %ifdef USE_AT 278 281 ALIGN JUMP_ALIGN 279 282 ReadBlockFrom32bitDataPort: … … 285 288 db 6Dh ; INSW/INSD 286 289 ret 290 %endif 287 291 288 292 … … 366 370 367 371 ;-------------------------------------------------------------------- 372 %ifdef USE_186 368 373 ALIGN JUMP_ALIGN 369 374 WriteBlockTo16bitDataPort: … … 373 378 db 6Fh ; OUTSW (we want this in XT build) 374 379 ret 375 376 ;-------------------------------------------------------------------- 380 %endif 381 382 ;-------------------------------------------------------------------- 383 %ifdef USE_AT 377 384 ALIGN JUMP_ALIGN 378 385 WriteBlockTo32bitDataPort: … … 385 392 db 6Fh ; OUTSW/OUTSD 386 393 ret 394 %endif 387 395 388 396 … … 392 400 g_rgfnPioRead: 393 401 %ifdef MODULE_8BIT_IDE 394 dw ReadBlockFromXtideRev1 ; DEVICE_XTIDE_REV1402 dw 0 ; 0, DEVICE_8BIT_JRIDE_ISA 395 403 %ifdef USE_186 396 dw ReadBlockFrom16bitDataPort ; DEVICE_XTIDE_REV2397 dw ReadBlockFrom16bitDataPort ; DEVICE_FAST_XTIDE404 dw ReadBlockFrom16bitDataPort ; 1, DEVICE_FAST_XTIDE 405 dw ReadBlockFrom16bitDataPort ; 2, DEVICE_8BIT_XTIDE_REV2 398 406 %else 399 dw ReadBlockFromXtideRev2 ; DEVICE_XTIDE_REV2400 dw ReadBlockFromXtideRev2 ; DEVICE_FAST_XTIDE407 dw ReadBlockFromXtideRev2 ; 1, DEVICE_FAST_XTIDE 408 dw ReadBlockFromXtideRev2 ; 2, DEVICE_8BIT_XTIDE_REV2 401 409 %endif 410 dw ReadBlockFromXtideRev1 ; 3, DEVICE_XTIDE_REV1 402 411 403 412 %else 404 413 times COUNT_OF_8BIT_IDE_DEVICES dw 0 405 414 %endif 406 dw ReadBlockFrom16bitDataPort ; DEVICE_16BIT_ATA 407 dw ReadBlockFrom32bitDataPort ; DEVICE_32BIT_ATA 415 %ifdef USE_AT 416 dw ReadBlockFrom16bitDataPort ; 4, DEVICE_16BIT_ATA 417 dw ReadBlockFrom32bitDataPort ; 5, DEVICE_32BIT_ATA 418 %endif 408 419 409 420 410 421 g_rgfnPioWrite: 411 422 %ifdef MODULE_8BIT_IDE 412 dw WriteBlockToXtideRev1 ; DEVICE_XTIDE_REV1 413 dw WriteBlockToXtideRev2 ; DEVICE_XTIDE_REV2 423 dw 0 ; 0, DEVICE_8BIT_JRIDE_ISA 414 424 %ifdef USE_186 415 dw WriteBlockTo16bitDataPort ; DEVICE_FAST_XTIDE425 dw WriteBlockTo16bitDataPort ; 1, DEVICE_FAST_XTIDE 416 426 %else 417 dw WriteBlockToFastXtide ; DEVICE_FAST_XTIDE427 dw WriteBlockToFastXtide ; 1, DEVICE_FAST_XTIDE 418 428 %endif 429 dw WriteBlockToXtideRev2 ; 2, DEVICE_XTIDE_REV2 430 dw WriteBlockToXtideRev1 ; 3, DEVICE_XTIDE_REV1 419 431 420 432 %else 421 433 times COUNT_OF_8BIT_IDE_DEVICES dw 0 422 434 %endif 423 dw WriteBlockTo16bitDataPort ; DEVICE_16BIT_ATA 424 dw WriteBlockTo32bitDataPort ; DEVICE_32BIT_ATA 435 %ifdef USE_AT 436 dw WriteBlockTo16bitDataPort ; 4, DEVICE_16BIT_ATA 437 dw WriteBlockTo32bitDataPort ; 5, DEVICE_32BIT_ATA 438 %endif
Note:
See TracChangeset
for help on using the changeset viewer.