Changeset 93 in xtideuniversalbios
- Timestamp:
- Jan 27, 2011, 6:00:34 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r92 r93 31 31 FLG_ROMVARS_FULLMODE EQU (1<<0) ; Full operating mode (steals base RAM, supports EBIOS etc.) 32 32 FLG_ROMVARS_DRVXLAT EQU (1<<2) ; Enable drive number translation 33 FLG_ROMVARS_MAXSIZE EQU (1<<5) ; Maximize size by sacrificing compatibility with some old BIOSes34 33 35 34 -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
r92 r93 82 82 add cl, BOOT_MENU_HEIGHT_WITHOUT_ITEMS 83 83 CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH 84 sub ah, MENU_SCREEN_BOTTOM_LINES*2 84 85 MIN_U ah, cl 85 86 ret -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r92 r93 62 62 mov BYTE [si+MENUINIT.bWidth], BOOT_MENU_WIDTH 63 63 call BootMenu_GetHeightToAHwithItemCountInCL 64 sub ah, MENU_SCREEN_BOTTOM_LINES*265 64 mov [si+MENUINIT.bHeight], ah 66 65 stc -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
r43 r93 1 ; File name : AH8h_HParams.asm 2 ; Project name : IDE BIOS 3 ; Created date : 27.9.2007 4 ; Last update : 24.9.2010 5 ; Author : Tomi Tilli 1 ; Project name : XTIDE Universal BIOS 6 2 ; Description : Int 13h function AH=8h, Read Disk Drive Parameters. 7 3 … … 73 69 call FindDPT_ForDriveNumber 74 70 call AccessDPT_GetLCHSfromPCHS ; AX=sectors, BX=cylinders, DX=heads 75 call AH8h_ReserveCylinders76 71 call AH8h_PackReturnValues 77 72 xor ax, ax ; Clear AH and CF 78 ret79 80 81 ;--------------------------------------------------------------------82 ; Reserves diagnostic cylinder if so configured.83 ;84 ; AH8h_ReserveCylinders85 ; Parameters:86 ; BX: Total number of L-CHS cylinders available87 ; DS:DI: Ptr to DPT88 ; Returns:89 ; BX: Number of L-CHS cylinders available after reserving90 ; Corrupts registers:91 ; CX92 ;--------------------------------------------------------------------93 ALIGN JUMP_ALIGN94 AH8h_ReserveCylinders:95 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_MAXSIZE96 jnz SHORT .Return97 dec bx ; Reserve diagnostic cylinder98 ALIGN JUMP_ALIGN99 .Return:100 73 ret 101 74 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r92 r93 54 54 ;---------------------------; 55 55 %ifdef USE_AT 56 at ROMVARS.wFlags, dw FLG_ROMVARS_FULLMODE | FLG_ROMVARS_DRVXLAT | FLG_ROMVARS_MAXSIZE56 at ROMVARS.wFlags, dw FLG_ROMVARS_FULLMODE | FLG_ROMVARS_DRVXLAT 57 57 at ROMVARS.bIdeCnt, db 3 ; Number of supported controllers 58 58 at ROMVARS.bBootDrv, db 80h ; Boot Menu default drive … … 85 85 ; XT and XT+ Build default settings ; 86 86 ;-----------------------------------; 87 at ROMVARS.wFlags, dw FLG_ROMVARS_DRVXLAT | FLG_ROMVARS_MAXSIZE87 at ROMVARS.wFlags, dw FLG_ROMVARS_DRVXLAT 88 88 at ROMVARS.bIdeCnt, db 1 ; Number of supported controllers 89 89 at ROMVARS.bBootDrv, db 80h ; Boot Menu default drive
Note:
See TracChangeset
for help on using the changeset viewer.