Ignore:
Timestamp:
May 1, 2011, 10:42:58 AM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • XTIDE mod should now be supported (untested).
  • Interrupt Service Routine no longer requires variable from RAMVARS.
  • Some small improvements.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/FloppyDrive.asm

    r124 r152  
    1919;--------------------------------------------------------------------
    2020FloppyDrive_IsInt40hInstalled:
    21     cmp     WORD [es:INTV_FLOPPY_FUNC*4+2], 0C000h  ; Any ROM segment?
     21    cmp     WORD [es:BIOS_DISKETTE_INTERRUPT_40h*4+2], 0C000h   ; Any ROM segment?
    2222%ifdef USE_AT   ; No need to verify on XT systems.
    2323    jb      SHORT .Int40hHandlerIsNotInstalled
     
    4545
    4646    call    .LoadInt40hVerifyParameters
    47     int     INTV_DISK_FUNC
     47    int     BIOS_DISK_INTERRUPT_13h
    4848    jc      SHORT .Int40hIsInstalled    ; Maybe there are not any floppy drives at all
    4949    push    es
     
    5151
    5252    call    .LoadInt40hVerifyParameters
    53     int     INTV_FLOPPY_FUNC
     53    int     BIOS_DISKETTE_INTERRUPT_40h
    5454
    5555    pop     dx
     
    113113    mov     ah, 08h         ; Get Drive Parameters
    114114    xor     bx, bx          ; FLOPPY_TYPE_525_OR_35_DD when function not supported
    115     int     INTV_FLOPPY_FUNC
     115    int     BIOS_DISKETTE_INTERRUPT_40h
    116116    ret
    117117
     
    167167    mov     ah, 08h                 ; Get Drive Parameters
    168168    cwd                             ; Floppy Drive 00h
    169     int     INTV_FLOPPY_FUNC
     169    int     BIOS_DISKETTE_INTERRUPT_40h
    170170    mov     cl, dl                  ; Number of Floppy Drives to CL
    171171
Note: See TracChangeset for help on using the changeset viewer.