Index: trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
===================================================================
--- trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm	(revision 262)
+++ trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm	(revision 294)
@@ -7,5 +7,5 @@
 ;--------------------------------------------------------------------
 ; BootMenuPrint_RefreshItem
-; 
+;
 ;	Parameters:
 ;		DL:		Untranslated Floppy Drive number
@@ -19,5 +19,5 @@
 	call	BootMenu_GetDriveToDXforMenuitemInCX_And_RamVars_GetSegmentToDS
 	jnc		BootMenuEvent_EventCompleted			; if no menu item selected, out we go
-		
+
 	push	bp
 	mov		bp, sp
@@ -29,13 +29,13 @@
 	mov		si, g_szDriveNumBOOTNFO					; special g_szDriveNum that prints from BDA
 	jmp		.go
-		
+
 .notOurs:
-	mov		si,g_szDriveNum									
+	mov		si,g_szDriveNum
 	mov		bx,g_szForeignHD						; assume a hard disk for the moment
-		
-	test	dl,80h											
+
+	test	dl, dl
 	js		.go
 	mov		bl,((g_szFloppyDrv)-$$ & 0xff)			; and revisit the earlier assumption...
-		
+
 .go:
 	mov		ax, dx									; preserve DL for the floppy drive letter addition
@@ -45,5 +45,5 @@
 	add		al, 'A'									; floppy drive letter (we always push this although
 	push	ax										; the hard disks don't ever use it, but it does no harm)
-		
+
 	jmp		short BootMenuPrint_RefreshInformation.FormatRelay
 
@@ -88,5 +88,5 @@
 	jmp		short BootMenuPrint_RefreshInformation.FormatRelay
 
-		
+
 ;--------------------------------------------------------------------
 ; BootMenuPrint_FloppyMenuitemInformation
@@ -101,6 +101,6 @@
 ALIGN JUMP_ALIGN
 BootMenuPrint_RefreshInformation:
-	CALL_MENU_LIBRARY ClearInformationArea		
-		
+	CALL_MENU_LIBRARY ClearInformationArea
+
 	call	BootMenu_GetDriveToDXforMenuitemInCX_And_RamVars_GetSegmentToDS
 	jnc		BootMenuEvent_EventCompleted				; if no menu selection, abort
@@ -115,5 +115,5 @@
 	inc		dl											; are we a hard disk?
 	dec		dl											; inc/dec will set SF, without modifying CF or DL
-	js		.HardDiskRefreshInformation	
+	js		.HardDiskRefreshInformation
 
 	jnc		.ours										; Based on CF from FindDPT_ForDriveNumberInDL above
@@ -122,8 +122,8 @@
 .ours:
 	call	AH8h_GetDriveParameters
-.around:				
+.around:
 
 	mov		ax, g_szFddSizeOr	        				; .PrintXTFloppyType
-	test	bl, bl										; Two possibilities? (FLOPPY_TYPE_525_OR_35_DD)		
+	test	bl, bl										; Two possibilities? (FLOPPY_TYPE_525_OR_35_DD)
 	jz		SHORT .PushAXAndOutput
 
@@ -131,5 +131,5 @@
 	cmp		bl, FLOPPY_TYPE_35_ED
 	ja		SHORT .PushAXAndOutput
-		
+
 	; Fall to .PrintKnownFloppyType
 
@@ -142,8 +142,8 @@
 ;	Corrupts registers:
 ;		AX, BX, SI, DI
-; 
+;
 ; Floppy Drive Types:
 ;
-;   0  Handled above 
+;   0  Handled above
 ;   1  FLOPPY_TYPE_525_DD          5 1/4   360K
 ;   2  FLOPPY_TYPE_525_HD          5 1/4   1.2M
@@ -153,15 +153,15 @@
 ;   6  FLOPPY_TYPE_35_ED		   3 1/2   2.88M
 ;   >6 Unknwon, handled above
-; 
+;
 ;--------------------------------------------------------------------
 .PrintKnownFloppyType:
 	mov		al, (g_szFddSize - $$) & 0xff
 	push	ax
-		
+
 	mov		al, (g_szFddThreeHalf - $$) & 0xff
 	cmp		bl, FLOPPY_TYPE_525_HD
 	ja		.ThreeHalf
 	mov		al, (g_szFddFiveQuarter - $$) & 0xff
-.ThreeHalf:		
+.ThreeHalf:
 	push	ax											; "5 1/4" or "3 1/2"
 
@@ -170,5 +170,5 @@
 	mul		byte [cs:bx+FloppyTypes.rgbCapacity - 1]    ; -1 since 0 is handled above and not in the table
 
-.PushAXAndOutput:					
+.PushAXAndOutput:
 	push	ax
 
@@ -189,5 +189,5 @@
 ;--------------------------------------------------------------------
 ALIGN JUMP_ALIGN
-.HardDiskRefreshInformation:		
+.HardDiskRefreshInformation:
 	jc		.HardDiskMenuitemInfoForForeignDrive		; Based on CF from FindDPT_ForDriveNumberInDL (way) above
 
@@ -196,5 +196,5 @@
 	call	BootMenuInfo_GetTotalSectorCount			; Get Total LBA Size
 	jmp		.ConvertSectorCountInBXDXAXtoSizeAndPushForFormat
-		
+
 .HardDiskMenuitemInfoForForeignDrive:
 	call	DriveXlate_ToOrBack
@@ -208,6 +208,6 @@
 	push	ax						; Size in magnitude
 	push	cx						; Tenths
-	push	dx						; Magnitude character		
-				
+	push	dx						; Magnitude character
+
 	test	di,di
 	jz		short BootMenuPrint_FormatCSSIfromParamsInSSBP
@@ -225,5 +225,5 @@
 ;	Returns:
 ;		BP:		Popped from stack
-;		CF:		Set since menu event was handled successfully		
+;		CF:		Set since menu event was handled successfully
 ;	Corrupts registers:
 ;		AX, DI
@@ -232,9 +232,9 @@
 BootMenuPrint_FormatCSSIfromParamsInSSBP:
 	CALL_DISPLAY_LIBRARY FormatNullTerminatedStringFromCSSI
-	stc				; Successfull return from menu event
+	stc				; Successful return from menu event
 	pop		bp
 	ret
-		
-		
+
+
 ;--------------------------------------------------------------------
 ; BootMenuPrint_ClearScreen
@@ -364,6 +364,6 @@
 	push	cx			; Key attribute for last space
 	mov		si, g_szHotkey
-		
-BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay:	
+
+BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay:
 	jmp		SHORT BootMenuPrint_FormatCSSIfromParamsInSSBP
 
