Changeset 95 for trunk/bootcode/regular/driveio.asm
- Timestamp:
- Apr 8, 2017, 12:26:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/driveio.asm
r84 r95 25 25 DB 'DRIVEIO',0 26 26 ENDIF 27 28 ; 29 ; Check if INT13X extensions are supported. 30 ; AirBoot requires these extensions, and will halt if they are not available. 31 ; Modified: AX, BX, CX, DX, CF 32 DriveIO_CheckFor13extensions Proc Near 33 mov ah, 41h 34 mov bx, 55AAh 35 mov dl, [BIOS_BootDisk] ; We check using the boot-disk 36 int 13h 37 jc PCCF13E_NotFound ; Error occured 38 cmp bx, 0AA55h 39 je PCCF13E_Found 40 PCCF13E_NotFound: 41 ret 42 PCCF13E_Found: 43 and cx, 1 ; Check 42h-44h,47h,48h supported 44 jz PCCF13E_NotFound ; Sig OK but no support, strange beast 45 mov byte ptr [CurIO_UseExtension], 1 46 ret 47 DriveIO_CheckFor13extensions EndP 48 27 49 28 50 ; Note: Some routines set DS/ES to CS or even address via CS, even if its not
Note:
See TracChangeset
for help on using the changeset viewer.