Changeset 97 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
- Timestamp:
- Jan 30, 2011, 6:43:08 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r96 r97 16 16 ; AX, SI 17 17 ;-------------------------------------------------------------------- 18 ALIGN JUMP_ALIGN19 18 DetectPrint_RomFoundAtSegment: 20 19 push bp 21 20 mov bp, sp 22 21 mov si, g_szRomAt 23 mov bp, sp24 22 ePUSH_T ax, ROMVARS.szTitle ; Bios title string 25 23 push cs ; BIOS segment … … 28 26 29 27 ;-------------------------------------------------------------------- 30 ; Displays IDE drive detection string for specific device. 31 ; 32 ; DetectPrint_StartingMasterDetect 33 ; DetectPrint_StartingSlaveDetect 34 ; Parameters: 35 ; CS:BP: Ptr to IDEVARS 36 ; Returns: 37 ; Nothing 38 ; Corrupts registers: 39 ; AX, SI 40 ;-------------------------------------------------------------------- 41 ALIGN JUMP_ALIGN 42 DetectPrint_StartingMasterDetect: 43 mov ax, g_szMaster 44 jmp SHORT DetectPrint_StartingDriveDetect 45 ALIGN JUMP_ALIGN 46 DetectPrint_StartingSlaveDetect: 47 mov ax, g_szSlave 48 ; Fall to DetectPrint_StartingDriveDetect 49 50 ;-------------------------------------------------------------------- 51 ; Displays IDE drive detection string. 52 ; 53 ; DetectPrint_StartingDriveDetect 28 ; DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP 54 29 ; Parameters: 55 30 ; CS:AX: Ptr to "Master" or "Slave" string … … 60 35 ; AX, SI 61 36 ;-------------------------------------------------------------------- 62 ALIGN JUMP_ALIGN 63 DetectPrint_StartingDriveDetect: 37 DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP: 64 38 push bp 65 66 39 mov si, [cs:bp+IDEVARS.wPort] 67 40 mov bp, sp … … 86 59 ; AX, SI 87 60 ;-------------------------------------------------------------------- 88 ALIGN JUMP_ALIGN89 61 DetectPrint_DriveNameOrNotFound: 90 62 push di … … 101 73 ret 102 74 103 ALIGN JUMP_ALIGN104 75 .PrintDriveNotFound: 105 76 mov si, g_szNotFound
Note:
See TracChangeset
for help on using the changeset viewer.