Changeset 128 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
- Timestamp:
- Mar 4, 2011, 1:47:17 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r127 r128 22 22 CALL_DISPLAY_LIBRARY PrintNewlineCharacters 23 23 mov si, ROMVARS.szVersion 24 jmp BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 24 ; Fall through to BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 25 26 27 ;-------------------------------------------------------------------- 28 ; BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 29 ; Parameters: 30 ; CS:SI: Ptr to NULL terminated string to print 31 ; Returns: 32 ; CF: Set since menu event was handled successfully 33 ; Corrupts registers: 34 ; AX 35 ;-------------------------------------------------------------------- 36 ALIGN JUMP_ALIGN 37 BootMenuPrint_NullTerminatedStringFromCSSIandSetCF: 38 push di 39 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 40 pop di 41 stc 42 ret 25 43 26 44 … … 53 71 BootMenuPrint_FloppyMenuitem: 54 72 push bp 55 56 73 mov bp, sp 57 74 mov si, g_szFDLetter … … 109 126 .HardDiskMenuitemForForeignDrive: 110 127 mov si, g_szforeignHD 111 jmp BootMenuPrint_NullTerminatedStringFromCSSIandSetCF128 jmp SHORT BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 112 129 113 130 … … 177 194 .PrintKnownFloppyType: 178 195 push bp 179 180 196 mov bp, sp 181 197 mov si, g_szFddSize … … 320 336 321 337 ;-------------------------------------------------------------------- 322 ; BootMenuPrint_NullTerminatedStringFromCSSIandSetCF323 ; Parameters:324 ; CS:SI: Ptr to NULL terminated string to print325 ; Returns:326 ; CF: Set since menu event was handled successfully327 ; Corrupts registers:328 ; AX329 ;--------------------------------------------------------------------330 ALIGN JUMP_ALIGN331 BootMenuPrint_NullTerminatedStringFromCSSIandSetCF:332 push di333 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI334 pop di335 stc336 ret337 338 339 ;--------------------------------------------------------------------340 338 ; BootMenuPrint_ClearInformationArea 341 339 ; Parameters:
Note:
See TracChangeset
for help on using the changeset viewer.