Changeset 161 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
May 8, 2011, 8:02:52 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Minor size optimizations.
  • Tried to minimize the time spent with interrupts disabled in IdeIrq.asm and Int13h.asm
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm

    r155 r161  
    4848;       SS:BP:  Ptr to IDEPACK
    4949;       BX, DI: Corrupted on Int13h_DiskFunctionsHandler
    50 ;       Other:  Function specific INT 13h parameters 
     50;       Other:  Function specific INT 13h parameters
    5151;   Returns:
    5252;       Depends on function
     
    152152    xchg    di, [es:BIOS_DISK_INTERRUPT_13h*4+2]
    153153    mov     [RAMVARS.fpOldI13h+2], di
     154    sti
    154155    pop     es
    155     sti
    156156    ret
    157157
     
    184184    or      BYTE [bp+IDEPACK.intpack+INTPACK.flags], FLG_FLAGS_CF
    185185    ret
    186 
    187186
    188187
     
    212211    dw  Int13h_UnsupportedFunction                      ; 14h, Controller Internal Diagnostic (All)
    213212    dw  AH15h_HandlerForReadDiskDriveSize               ; 15h, Read Disk Drive Size (AT+)
    214     dw  Int13h_UnsupportedFunction                      ; 16h, 
    215     dw  Int13h_UnsupportedFunction                      ; 17h, 
    216     dw  Int13h_UnsupportedFunction                      ; 18h, 
     213    dw  Int13h_UnsupportedFunction                      ; 16h,
     214    dw  Int13h_UnsupportedFunction                      ; 17h,
     215    dw  Int13h_UnsupportedFunction                      ; 18h,
    217216    dw  Int13h_UnsupportedFunction                      ; 19h, Park Heads (PS/2)
    218217    dw  Int13h_UnsupportedFunction                      ; 1Ah, Format ESDI Drive (PS/2)
    219218    dw  Int13h_UnsupportedFunction                      ; 1Bh, Get ESDI Manufacturing Header (PS/2)
    220219    dw  Int13h_UnsupportedFunction                      ; 1Ch, ESDI Special Functions (PS/2)
    221     dw  Int13h_UnsupportedFunction                      ; 1Dh, 
    222     dw  Int13h_UnsupportedFunction                      ; 1Eh, 
    223     dw  Int13h_UnsupportedFunction                      ; 1Fh, 
    224     dw  Int13h_UnsupportedFunction                      ; 20h, 
     220    dw  Int13h_UnsupportedFunction                      ; 1Dh,
     221    dw  Int13h_UnsupportedFunction                      ; 1Eh,
     222    dw  Int13h_UnsupportedFunction                      ; 1Fh,
     223    dw  Int13h_UnsupportedFunction                      ; 20h,
    225224    dw  Int13h_UnsupportedFunction                      ; 21h, Read Disk Sectors, Multiple Blocks (PS/1)
    226225    dw  Int13h_UnsupportedFunction                      ; 22h, Write Disk Sectors, Multiple Blocks (PS/1)
     
    228227    dw  AH24h_HandlerForSetMultipleBlocks               ; 24h, Set Multiple Blocks (PS/1)
    229228    dw  AH25h_HandlerForGetDriveInformation             ; 25h, Get Drive Information (PS/1)
    230 ;   dw  Int13h_UnsupportedFunction                      ; 26h, 
    231 ;   dw  Int13h_UnsupportedFunction                      ; 27h, 
    232 ;   dw  Int13h_UnsupportedFunction                      ; 28h, 
    233 ;   dw  Int13h_UnsupportedFunction                      ; 29h, 
    234 ;   dw  Int13h_UnsupportedFunction                      ; 2Ah, 
    235 ;   dw  Int13h_UnsupportedFunction                      ; 2Bh, 
    236 ;   dw  Int13h_UnsupportedFunction                      ; 2Ch, 
    237 ;   dw  Int13h_UnsupportedFunction                      ; 2Dh, 
    238 ;   dw  Int13h_UnsupportedFunction                      ; 2Eh, 
    239 ;   dw  Int13h_UnsupportedFunction                      ; 2Fh, 
    240 ;   dw  Int13h_UnsupportedFunction                      ; 30h, 
    241 ;   dw  Int13h_UnsupportedFunction                      ; 31h, 
    242 ;   dw  Int13h_UnsupportedFunction                      ; 32h, 
    243 ;   dw  Int13h_UnsupportedFunction                      ; 33h, 
    244 ;   dw  Int13h_UnsupportedFunction                      ; 34h, 
    245 ;   dw  Int13h_UnsupportedFunction                      ; 35h, 
    246 ;   dw  Int13h_UnsupportedFunction                      ; 36h, 
    247 ;   dw  Int13h_UnsupportedFunction                      ; 37h, 
    248 ;   dw  Int13h_UnsupportedFunction                      ; 38h, 
    249 ;   dw  Int13h_UnsupportedFunction                      ; 39h, 
    250 ;   dw  Int13h_UnsupportedFunction                      ; 3Ah, 
    251 ;   dw  Int13h_UnsupportedFunction                      ; 3Bh, 
    252 ;   dw  Int13h_UnsupportedFunction                      ; 3Ch, 
    253 ;   dw  Int13h_UnsupportedFunction                      ; 3Dh, 
    254 ;   dw  Int13h_UnsupportedFunction                      ; 3Eh, 
    255 ;   dw  Int13h_UnsupportedFunction                      ; 3Fh, 
    256 ;   dw  Int13h_UnsupportedFunction                      ; 40h, 
     229;   dw  Int13h_UnsupportedFunction                      ; 26h,
     230;   dw  Int13h_UnsupportedFunction                      ; 27h,
     231;   dw  Int13h_UnsupportedFunction                      ; 28h,
     232;   dw  Int13h_UnsupportedFunction                      ; 29h,
     233;   dw  Int13h_UnsupportedFunction                      ; 2Ah,
     234;   dw  Int13h_UnsupportedFunction                      ; 2Bh,
     235;   dw  Int13h_UnsupportedFunction                      ; 2Ch,
     236;   dw  Int13h_UnsupportedFunction                      ; 2Dh,
     237;   dw  Int13h_UnsupportedFunction                      ; 2Eh,
     238;   dw  Int13h_UnsupportedFunction                      ; 2Fh,
     239;   dw  Int13h_UnsupportedFunction                      ; 30h,
     240;   dw  Int13h_UnsupportedFunction                      ; 31h,
     241;   dw  Int13h_UnsupportedFunction                      ; 32h,
     242;   dw  Int13h_UnsupportedFunction                      ; 33h,
     243;   dw  Int13h_UnsupportedFunction                      ; 34h,
     244;   dw  Int13h_UnsupportedFunction                      ; 35h,
     245;   dw  Int13h_UnsupportedFunction                      ; 36h,
     246;   dw  Int13h_UnsupportedFunction                      ; 37h,
     247;   dw  Int13h_UnsupportedFunction                      ; 38h,
     248;   dw  Int13h_UnsupportedFunction                      ; 39h,
     249;   dw  Int13h_UnsupportedFunction                      ; 3Ah,
     250;   dw  Int13h_UnsupportedFunction                      ; 3Bh,
     251;   dw  Int13h_UnsupportedFunction                      ; 3Ch,
     252;   dw  Int13h_UnsupportedFunction                      ; 3Dh,
     253;   dw  Int13h_UnsupportedFunction                      ; 3Eh,
     254;   dw  Int13h_UnsupportedFunction                      ; 3Fh,
     255;   dw  Int13h_UnsupportedFunction                      ; 40h,
    257256;   dw  Int13h_UnsupportedFunction                      ; 41h, Check if Extensions Present (EBIOS)*
    258257;   dw  Int13h_UnsupportedFunction                      ; 42h, Extended Read Sectors (EBIOS)*
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Address.asm

    r158 r161  
    9393    shl     dx, cl                  ; DX = LCylinder << n
    9494    add     ax, dx                  ; AX = P-CHS Cylinder number
    95     mov     cx, ax                  ; Copy P-CHS Cylinder number to CX
     95    xchg    cx, ax                  ; Move P-CHS Cylinder number to CX
    9696DoNotConvertLCHS:
    9797    ret
Note: See TracChangeset for help on using the changeset viewer.