diff code_part1/OSTC_code_asm_part1/MAIN.ASM @ 97:dc349e4264bb

Cleanup CF for bad 15bits value display Cleanup old printf prototype New strings macro
author JeanDo
date Sun, 12 Dec 2010 01:13:48 +0100
parents 82de387d6e7c
children 6f8e3a08011e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/MAIN.ASM	Sat Dec 11 19:13:26 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/MAIN.ASM	Sun Dec 12 01:13:48 2010 +0100
@@ -82,6 +82,8 @@
 
 ;=============================================================================
 osct_asm	code
+#include    strings.inc
+
 #include	displaytext.asm		; sends texts to wordprocessor
 #include	math.asm			; mathematical functions
 #include 	wait.asm			; waitroutines
@@ -111,24 +113,19 @@
 #include	start.asm			; Startup and init, checks background debugger
 #include	simulator.asm		; Stand-alone simulator routines
 #include 	io.asm				; Low-Level I/O access
-
-;=============================================================================
-#include	printf.asm			; jDG's compact printf test implementation.
-#ifdef TESTING
-	#include	aa_tests.asm	; And testing code.
-	#include	test_printf.asm	; Special font/colors page
-#endif
+#include    strings.asm         ; Basic string operations
 
 ;=============================================================================
-#ifdef AAFONTS
+; Include C sub-routines automatically
+
+p3_wp			code	0x09A00			; Mark segment name into the .map file
+
+  ifdef AAFONTS
 	; New antialiased word processor and fonts
 	#include	aa_wordprocessor.asm ; ASM wordprocessor under tests.
-#else
-	; Include C sub-routines automatically
-p3_wp			code	0x09A00			; Mark segment name into the .map file
-;	#include 	p3_wordprocessor_9A00_BAFF_0B468.txt ; jDG's C-Code
+  else
 	#include 	ostc_part3_wordprocessor_NEW_CURSOR_9A00_to_B960_jump_in_B410.txt	; Christians fonts...
-#endif
+  endif
 
 ;=============================================================================
 p2_deco	code	0x0C000			; Mark segment name into the .map file