Changeset 622 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Dec 16, 2021, 5:46:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/Controllers/PDC20x30.inc
r589 r622 22 22 %define PDC20x30_INC 23 23 24 ; 24 25 25 ; SECTOR_COUNT_REGISTER in programming mode 26 FLG_PDCSCR_UNKNOWN_BIT7 EQU (1<<7) ; Set to 1 for speed setting 7 of device 0 or 1 27 FLG_PDCSCR_ID3 EQU (1<<6) ; VLB bus speed: 0 > 33 MHz, 1 <= 33 MHz 28 POS_PDCSCR_DEV0SPEED EQU 3 29 MASK_PDCSCR_DEV0SPEED EQU (7<<POS_PDCSCR_DEV0SPEED) ; 0 to 7 30 MASK_PDCSCR_DEV1SPEED EQU (7<<0) ; 0 to 7 26 ; SECTOR_COUNT_REGISTER (1F2) in programming mode 27 FLG_PDCSCR_BOTHMAX EQU (1<<6) ; Master and Slave at maximum speed 28 29 ; SECTOR_NUMBER_REGISTER (1F3) in programming mode 30 FLG_PDCSNR_UNKNOWN_BIT7 EQU (1<<7) ; Set to 1 for speed setting 7 of device 0 or 1 31 FLG_PDCSNR_ID3 EQU (1<<6) ; VLB bus speed: 0 > 33 MHz, 1 <= 33 MHz 32 POS_PDCSNR_DEV0SPEED EQU 3 33 MASK_PDCSNR_DEV0SPEED EQU (7<<POS_PDCSNR_DEV0SPEED) ; 0 to 7 34 MASK_PDCSNR_DEV1SPEED EQU (7<<0) ; 0 to 7 35 36 ; Disassembly of VG4.BIN: (might have errors) 37 ; FLG_PDCSNR_UNKNOWN_BIT7 will be set if no dev1, no matter what speed 38 ; FLG_PDCSNR_UNKNOWN_BIT7 will be cleared if dev1 found but no master 39 ; FLG_PDCSNR_UNKNOWN_BIT7 will be cleared if dev0 and dev1 speeds are both 7 ! 40 ; FLG_PDCSNR_UNKNOWN_BIT7 will be cleared if dev 1 is 7 ! 41 ; If dev 1 is 6 or less and dev 0 is 7, then dev0-- and set FLG_PDCSCR_UNKNOWN_BIT7 42 ; 43 31 44 32 45 … … 36 49 FLG_PDCLCR_DEV1SPEED_BIT4 EQU (1<<6) ; Same as above but for device 1 37 50 FLG_PDCLCR_DEV0IORDY EQU (1<<5) ; Not sure about this 38 FLG_PDCLCR_DEV1IORDY EQU (1<<4) ; Same as above but for device 1 551 FLG_PDCLCR_DEV1IORDY EQU (1<<4) ; Same as above but for device 1 39 52 FLG_PDCLCR_ENABLE_EXTRA_REGISTERS EQU (1<<3) 40 53
Note:
See TracChangeset
for help on using the changeset viewer.