Changeset 568 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Dec 21, 2014, 5:37:53 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm
r567 r568 136 136 mov cx, [di+DPT_ADVANCED_ATA.wMinPioCycleTime] 137 137 test si, si 138 jz SHORT .PioTimingsLoadedTo AXandCX138 jz SHORT .PioTimingsLoadedToBXandCX 139 139 MIN_U bl, [si+DPT_ADVANCED_ATA.bPioMode] 140 140 MAX_U cx, [si+DPT_ADVANCED_ATA.wMinPioCycleTime] 141 .PioTimingsLoadedTo AXandCX:141 .PioTimingsLoadedToBXandCX: 142 142 ret -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm
r567 r568 107 107 call AccessDPT_GetPointerToDRVPARAMStoCSBX 108 108 push ds 109 110 push cs 111 pop ds 112 113 ; Load User Defined CHS or LBA to CX:AX 114 mov dx, [bx+DRVPARAMS.wFlags] 115 mov ax, [bx+DRVPARAMS.wCylinders] ; Or .dwMaximumLBA 116 mov cx, [bx+DRVPARAMS.wHeadsAndSectors] ; Or .dwMaximumLBA+2 117 109 118 push es 110 119 pop ds ; DS:SI now points to ATA information 111 112 ; Load User Defined CHS or LBA to CX:AX113 mov dx, [cs:bx+DRVPARAMS.wFlags]114 mov ax, [cs:bx+DRVPARAMS.wCylinders] ; Or .dwMaximumLBA115 mov cx, [cs:bx+DRVPARAMS.wHeadsAndSectors] ; Or .dwMaximumLBA+2116 120 117 121 ; * User defined CHS * -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r567 r568 72 72 %endif 73 73 74 mov al, [cs:ROMVARS.wFlags] ; Configurator set to always scan?75 or al, [es:BDA.bKBFlgs1] ; Or, did the user hold down the ALT key?76 and al, 8 ; 8 = alt key depressed, same as FLG_ROMVARS_SERIAL_ALWAYSDETECT74 mov al, [cs:ROMVARS.wFlags] ; Configurator set to always scan? 75 or al, [es:BDA.bKBFlgs1] ; Or, did the user hold down the ALT key? 76 and al, 8 ; 8 = alt key depressed, same as FLG_ROMVARS_SERIAL_ALWAYSDETECT 77 77 jnz .DriveDetectLoop 78 78 %endif … … 89 89 ; 90 90 mov cx, [RAMVARS.wDrvCntAndFlopCnt] ; Our count of hard disks 91 92 91 mov al, [es:BDA.bHDCount] 93 add cl, al ; Add our drives to the system count 94 mov [es:BDA.bHDCount], cl 92 add [es:BDA.bHDCount], cl ; Add our drives to the system count 95 93 or al, 80h ; Or in hard disk flag 96 94 mov [RAMVARS.bFirstDrv], al ; Store first drive number … … 118 116 inc ax ; low order bit, indicating floppy drive exists 119 117 120 mov ah, [es:BDA.wEquipment] ; Load Equipment WORD low byte121 and ah, 03eh ; Mask off drive number and drives present bit118 mov ah, 3Eh ; AND mask to AH (all bits set except floppy drive count/present) 119 and ah, [es:BDA.wEquipment] ; Load Equipment WORD low byte and mask off drive number and drives present bit 122 120 or al, ah ; Or in new values 123 121 mov [es:BDA.wEquipment], al ; and store 124 122 125 mov al, 1 eh ; BDA pointer to Floppy DPT123 mov al, 1Eh ; BDA pointer to Floppy DPT 126 124 mov si, AH8h_FloppyDPT 127 125 call Interrupts_InstallHandlerToVectorInALFromCSSI -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r567 r568 181 181 push ax 182 182 push di ; BIOS segment 183 add al, ROMVARS.szVersion - ROMVARS.szTitle183 mov al, ROMVARS.szVersion & 0FFh 184 184 push ax 185 185 %else
Note:
See TracChangeset
for help on using the changeset viewer.