Index: trunk/Assembly_Library/Src/Display/DisplayContext.asm
===================================================================
--- trunk/Assembly_Library/Src/Display/DisplayContext.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Display/DisplayContext.asm	(revision 194)
@@ -100,4 +100,5 @@
 	pop		ax						; Pop return address
 
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
 	%assign i 0
 	%rep DISPLAY_CONTEXT_size / 2
@@ -105,5 +106,6 @@
 	%assign i i+2
 	%endrep
-
+%endif
+		
 	mov		ds, di					; Restore DS
 	jmp		ax
@@ -124,4 +126,5 @@
 	pop		ax						; Pop return address
 
+%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS		
 	%assign i DISPLAY_CONTEXT_size-2
 	%rep DISPLAY_CONTEXT_size / 2
@@ -129,5 +132,6 @@
 	%assign i i-2
 	%endrep
-
+%endif
+		
 	push	ax						; Push return address
 	push	dx
@@ -226,5 +230,5 @@
 	mov		[VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], ax
 	ret
-
+		
 
 ;--------------------------------------------------------------------
@@ -259,4 +263,5 @@
 	ret
 
+		
 ;--------------------------------------------------------------------
 ; DisplayContext_GetCharacterOutputParameterToDX
@@ -286,4 +291,5 @@
 ;		Nothing
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 DisplayContext_GetCharacterOffsetToAXfromByteOffsetInAX:
@@ -292,5 +298,7 @@
 	sar		ax, 1		; BYTE count to WORD count
 	ret
-
+%endif
+
+		
 ;--------------------------------------------------------------------
 ; DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX
@@ -303,4 +311,5 @@
 ;		Nothing
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS		
 ALIGN JUMP_ALIGN
 DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX:
@@ -311,2 +320,3 @@
 ReturnOffsetInAX:
 	ret
+%endif
Index: trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm
===================================================================
--- trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm	(revision 194)
@@ -70,5 +70,5 @@
 %define DisplayFormatCompressed_Format_s DisplayFormat_ParseCharacters_FromAX
 
-DisplayFormatCompressed_Format_A:	
+DisplayFormatCompressed_Format_A:
 	mov		[VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bAttribute], al
 DisplayFormatCompressed_ret:			; jump target for other routines who need a "ret"
@@ -86,9 +86,9 @@
 	test	ax,ax						; if parameter equals zero, emit dash string instead
 	jz		DisplayFormat_ParseCharacters
-;;; fall through
+	; fall through
 		
 DisplayFormatCompressed_Format_2_u:
 	mov		bh,2						; only two characters (instead of the default 5)
-;;; fall through
+	; fall through
 		
 DisplayFormatCompressed_Format_u:
@@ -150,9 +150,9 @@
 ;--------------------------------------------------------------------		
 
-DisplayFormatCompressed_BaseFormatOffset:	
-		
-DisplayFormat_ParseCharacters_FromAX:	
+DisplayFormatCompressed_BaseFormatOffset:
+		
+DisplayFormat_ParseCharacters_FromAX:
 	mov		si,ax
-;;; Fall-through
+	; fall through to DisplayFormat_ParseCharacters
 
 ALIGN JUMP_ALIGN		
Index: trunk/Assembly_Library/Src/Display/DisplayPage.asm
===================================================================
--- trunk/Assembly_Library/Src/Display/DisplayPage.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Display/DisplayPage.asm	(revision 194)
@@ -15,4 +15,5 @@
 ;		AX, DX
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 DisplayPage_SetFromAL:
@@ -21,4 +22,5 @@
 	mov		[VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], ax
 	ret
+%endif
 
 
Index: trunk/Assembly_Library/Src/Display/DisplayPrint.asm
===================================================================
--- trunk/Assembly_Library/Src/Display/DisplayPrint.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Display/DisplayPrint.asm	(revision 194)
@@ -151,4 +151,6 @@
 ;		AX, DX
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
+		
 ALIGN JUMP_ALIGN
 DisplayPrint_CharacterBufferFromBXSIwithLengthInCX:
@@ -170,4 +172,5 @@
 .NothingToPrintSinceZeroLength:
 	ret
+%endif
 
 
@@ -328,5 +331,5 @@
 	inc		bp					; we didn't need a parameter after all, readjust BP 
 	inc		bp
-;;; fall-through
+	; fall through to DisplayPrint_Newline
 %endif
 
Index: trunk/Assembly_Library/Src/Menu/MenuBorders.asm
===================================================================
--- trunk/Assembly_Library/Src/Menu/MenuBorders.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Menu/MenuBorders.asm	(revision 194)
@@ -60,4 +60,5 @@
 ;		AX, BX, CX, DX, SI, DI
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 MenuBorders_RefreshItemBorders:
@@ -68,6 +69,7 @@
 	call	MenuBorders_GetNumberOfMiddleCharactersToDX
 	jmp		SHORT RefreshItemBorders
-
-
+%endif
+
+		
 ;--------------------------------------------------------------------
 ; MenuBorders_AdjustDisplayContextForDrawingBorders
Index: trunk/Assembly_Library/Src/Menu/MenuText.asm
===================================================================
--- trunk/Assembly_Library/Src/Menu/MenuText.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Menu/MenuText.asm	(revision 194)
@@ -15,4 +15,5 @@
 ;		AX, BX, CX, DX, SI, DI
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 MenuText_ClearTitleArea:
@@ -20,6 +21,7 @@
 	call	PrepareToDrawTitleArea
 	mov		cl, [bp+MENUINIT.bTitleLines]
-	jmp		SHORT ClearCLlinesOfText
-
+	jmp		SHORT MenuText_ClearInformationArea.ClearCLlinesOfText
+%endif
+		
 ALIGN JUMP_ALIGN
 MenuText_ClearInformationArea:
@@ -27,5 +29,5 @@
 	call	MenuText_PrepareToDrawInformationArea
 	mov		cl, [bp+MENUINIT.bInfoLines]
-ClearCLlinesOfText:
+.ClearCLlinesOfText:
 	mov		al, [bp+MENUINIT.bWidth]
 	sub		al, MENU_HORIZONTAL_BORDER_LINES+(MENU_TEXT_COLUMN_OFFSET/2)
Index: trunk/Assembly_Library/Src/String/Char.asm
===================================================================
--- trunk/Assembly_Library/Src/String/Char.asm	(revision 189)
+++ trunk/Assembly_Library/Src/String/Char.asm	(revision 194)
@@ -88,9 +88,10 @@
 ;		Nothing
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 Char_IsDecimalDigitInAL:
 	IS_BETWEEN_IMMEDIATES al, '0', '9'
 	ret
-
+%endif
 
 ;--------------------------------------------------------------------
Index: trunk/Assembly_Library/Src/Util/Memory.asm
===================================================================
--- trunk/Assembly_Library/Src/Util/Memory.asm	(revision 189)
+++ trunk/Assembly_Library/Src/Util/Memory.asm	(revision 194)
@@ -116,4 +116,5 @@
 ;		AX
 ;--------------------------------------------------------------------
+%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
 ALIGN JUMP_ALIGN
 Memory_ReserveCXbytesFromStackToDSSI:
@@ -124,2 +125,3 @@
 	mov		si, sp
 	jmp		ax
+%endif
