Index: trunk/XTIDE_Universal_BIOS/Src/Strings.asm
===================================================================
--- trunk/XTIDE_Universal_BIOS/Src/Strings.asm	(revision 241)
+++ trunk/XTIDE_Universal_BIOS/Src/Strings.asm	(revision 242)
@@ -3,5 +3,5 @@
 
 %ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS
-%include "Display.inc"
+	%include "Display.inc"
 %endif
 
@@ -10,46 +10,46 @@
 
 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP
-; To support an optimization in that code, these strings must start on the same 256 byte page, 
+; To support an optimization in that code, these strings must start on the same 256 byte page,
 ; which is checked at assembly time below.
 ;
-g_szDetectStart:		
-g_szDetectMaster:		db	"Master",NULL 
+g_szDetectStart:
+g_szDetectMaster:		db	"Master",NULL
 g_szDetectSlave:		db	"Slave ",NULL
 g_szDetectOuter:		db	"IDE %s at %s: ",NULL
 g_szDetectPort:			db	"%x",NULL					   	; IDE Master at 1F0h:
-g_szDetectCOM:			db  "COM%c%s",NULL            
+g_szDetectCOM:			db  "COM%c%s",NULL
 g_szDetectCOMAuto:		db	" Auto",NULL
 g_szDetectCOMSmall:		db	"/%u%u00",NULL					; IDE Master at COM1/9600:
 g_szDetectEnd:
 g_szDetectCOMLarge:		db	"/%u.%uK",NULL					; IDE Master at COM1/19.2K:
-		
-%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS				
-%if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00)
-%error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP.  Please move this block up or down within strings.asm"
-%endif
+
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
+	%if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00)
+		%error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP.  Please move this block up or down within strings.asm"
+	%endif
 %endif
 
 ; Boot Menu menuitem strings
-; 
+;
 ; The following strings are used by BootMenuPrint_* routines.
-; To support optimizations in that code, these strings must start on the same 256 byte page, 
+; To support optimizations in that code, these strings must start on the same 256 byte page,
 ; which is checked at assembly time below.
-;		
-g_szBootMenuPrintStart:	
+;
+g_szBootMenuPrintStart:
 g_szDriveNum:			db	"%x %s",NULL
 g_szDriveNumBOOTNFO:	db	"%x %z",NULL
 g_szFloppyDrv:			db	"Floppy Drive %c",NULL
-g_szBootMenuPrintEnd:	
+g_szBootMenuPrintEnd:
 g_szForeignHD:			db	"Foreign Hard Disk",NULL
 
-%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS				
-%if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)
-%error "g_szBootMenuPrint* strings must start on the same 256 byte page, required by the BootMenuPrint_* routines.  Please move this block up or down within strings.asm"
-%endif
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
+	%if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)
+		%error "g_szBootMenuPrint* strings must start on the same 256 byte page, required by the BootMenuPrint_* routines.  Please move this block up or down within strings.asm"
+	%endif
 %endif
 
 ; POST drive detection strings
 g_szRomAt:		db	"%s @ %x",LF,CR,NULL
-				
+
 ; Boot loader strings
 g_szTryToBoot:			db	"Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL
@@ -63,8 +63,8 @@
 g_szRomBoot:	db	"ROM Boot",NULL
 g_szHotkey:		db	"%A%c%c%A%s%A ",NULL
-				
+
 ; Boot Menu information strings
 g_szCapacity:			db	"Capacity : %s",NULL
-g_szCapacityNum:		db	"%5-u.%u %ciB",NULL		
+g_szCapacityNum:		db	"%5-u.%u %ciB",NULL
 g_szSizeDual:			db	"%s /%s",LF,CR
 	db	"Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL,  "IRQ",SINGLE_VERTICAL,"Reset",LF,CR
@@ -72,24 +72,24 @@
 
 ; Boot Menu Floppy Disk strings
-; 
+;
 ; The following strings are used by BootMenuPrint_RefreshInformation
-; To support optimizations in that code, these strings must start on the same 256 byte page, 
+; To support optimizations in that code, these strings must start on the same 256 byte page,
 ; which is checked at assembly time below.
-;				
-g_szFddStart:	
+;
+g_szFddStart:
 g_szFddUnknown:	db	"Unknown",NULL
 g_szFddSizeOr:	db	"5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
 g_szFddSize:	db	"%s",QUOTATION_MARK,", %u kiB",NULL	; 3½", 1440 kiB
 g_szFddThreeHalf:		db  "3",ONE_HALF,NULL
-g_szFddEnd:		
+g_szFddEnd:
 g_szFddFiveQuarter:		db  "5",ONE_QUARTER,NULL
 
-%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS				
-%if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00)
-%error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives.  Please move this block up or down within strings.asm"
-%endif
-%endif						
-
-g_szAddressingModes:					
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
+	%if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00)
+		%error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives.  Please move this block up or down within strings.asm"
+	%endif
+%endif
+
+g_szAddressingModes:
 g_szLCHS:		db	"L-CHS",NULL
 g_szPCHS:		db	"P-CHS",NULL
@@ -100,20 +100,20 @@
 ; Ensure that addressing modes are correctly spaced in memory
 ;
-%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS		
-%if g_szLCHS <> g_szAddressingModes
-%error "g_szAddressingModes Displacement Incorrect 1"
-%endif
-%if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
-%error "g_szAddressingModes Displacement Incorrect 2"
-%endif
-%if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement		
-%error "g_szAddressingModes Displacement Incorrect 3"
-%endif
-%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement		
-%error "g_szAddressingModes Displacement Incorrect 4"
-%endif
-%endif		
-		
-g_szBusTypeValues:		
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
+	%if g_szLCHS <> g_szAddressingModes
+		%error "g_szAddressingModes Displacement Incorrect 1"
+	%endif
+	%if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
+		%error "g_szAddressingModes Displacement Incorrect 2"
+	%endif
+	%if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement
+		%error "g_szAddressingModes Displacement Incorrect 3"
+	%endif
+	%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement
+		%error "g_szAddressingModes Displacement Incorrect 4"
+	%endif
+%endif
+
+g_szBusTypeValues:
 g_szBusTypeValues_8Dual:		db		"D8 ",NULL
 g_szBusTypeValues_8Reversed:	db		"X8 ",NULL
@@ -126,25 +126,25 @@
 ; Ensure that bus type strings are correctly spaced in memory
 ;
-%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS				
-%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
-%error "g_szBusTypeValues Displacement Incorrect 1"
-%endif
-%if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement
-%error "g_szBusTypeValues Displacement Incorrect 2"		
-%endif
-%if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
-%error "g_szBusTypeValues Displacement Incorrect 3"				
-%endif
-%if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement		
-%error "g_szBusTypeValues Displacement Incorrect 4"				
-%endif
-%if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
-%error "g_szBusTypeValues Displacement Incorrect 5"				
-%endif
-%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
-%error "g_szBusTypeValues Displacement Incorrect 6"				
-%endif
-%endif
-		
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
+	%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
+		%error "g_szBusTypeValues Displacement Incorrect 1"
+	%endif
+	%if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement
+		%error "g_szBusTypeValues Displacement Incorrect 2"
+	%endif
+	%if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
+		%error "g_szBusTypeValues Displacement Incorrect 3"
+	%endif
+	%if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement
+		%error "g_szBusTypeValues Displacement Incorrect 4"
+	%endif
+	%if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
+		%error "g_szBusTypeValues Displacement Incorrect 5"
+	%endif
+	%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
+		%error "g_szBusTypeValues Displacement Incorrect 6"
+	%endif
+%endif
+
 g_szSelectionTimeout:	db		DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
 
@@ -153,5 +153,5 @@
 
 ;------------------------------------------------------------------------------------------
-; 
+;
 ; Tables for StringsCompress.pl
 ;
@@ -167,5 +167,5 @@
 ;$translate{ord('.')} = 9;
 ;$translate{ord('/')} = 10;
-;$translate{ord('1')} = 11;    
+;$translate{ord('1')} = 11;
 ;$translate{ord('2')} = 12;
 ;$translate{ord('3')} = 13;
@@ -197,5 +197,5 @@
 ;
 ; Starting point for the "normal" range, typically around 0x40 to cover upper and lower case
-; letters.  If lower case 'z' is not used, 0x3a can be a good choice as it adds ':' to the 
+; letters.  If lower case 'z' is not used, 0x3a can be a good choice as it adds ':' to the
 ; front end.
 ;
@@ -207,4 +207,2 @@
 
 
-
-
