comparison 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
comparison
equal deleted inserted replaced
96:25433449bcb5 97:dc349e4264bb
80 ;============================================================================= 80 ;=============================================================================
81 #include text_table.asm ; includes textmacros 81 #include text_table.asm ; includes textmacros
82 82
83 ;============================================================================= 83 ;=============================================================================
84 osct_asm code 84 osct_asm code
85 #include strings.inc
86
85 #include displaytext.asm ; sends texts to wordprocessor 87 #include displaytext.asm ; sends texts to wordprocessor
86 #include math.asm ; mathematical functions 88 #include math.asm ; mathematical functions
87 #include wait.asm ; waitroutines 89 #include wait.asm ; waitroutines
88 #include valconv.asm ; outputs to POSTINC2 90 #include valconv.asm ; outputs to POSTINC2
89 #include eeprom_rs232.asm ; Internal EEPROM and RS232 Interface 91 #include eeprom_rs232.asm ; Internal EEPROM and RS232 Interface
109 #include temp_extrema.asm ; Takes care of the temperature extrema logger 111 #include temp_extrema.asm ; Takes care of the temperature extrema logger
110 #include sync_clock.asm ; syncs RTC with PC 112 #include sync_clock.asm ; syncs RTC with PC
111 #include start.asm ; Startup and init, checks background debugger 113 #include start.asm ; Startup and init, checks background debugger
112 #include simulator.asm ; Stand-alone simulator routines 114 #include simulator.asm ; Stand-alone simulator routines
113 #include io.asm ; Low-Level I/O access 115 #include io.asm ; Low-Level I/O access
116 #include strings.asm ; Basic string operations
114 117
115 ;============================================================================= 118 ;=============================================================================
116 #include printf.asm ; jDG's compact printf test implementation. 119 ; Include C sub-routines automatically
117 #ifdef TESTING
118 #include aa_tests.asm ; And testing code.
119 #include test_printf.asm ; Special font/colors page
120 #endif
121 120
122 ;============================================================================= 121 p3_wp code 0x09A00 ; Mark segment name into the .map file
123 #ifdef AAFONTS 122
123 ifdef AAFONTS
124 ; New antialiased word processor and fonts 124 ; New antialiased word processor and fonts
125 #include aa_wordprocessor.asm ; ASM wordprocessor under tests. 125 #include aa_wordprocessor.asm ; ASM wordprocessor under tests.
126 #else 126 else
127 ; Include C sub-routines automatically
128 p3_wp code 0x09A00 ; Mark segment name into the .map file
129 ; #include p3_wordprocessor_9A00_BAFF_0B468.txt ; jDG's C-Code
130 #include ostc_part3_wordprocessor_NEW_CURSOR_9A00_to_B960_jump_in_B410.txt ; Christians fonts... 127 #include ostc_part3_wordprocessor_NEW_CURSOR_9A00_to_B960_jump_in_B410.txt ; Christians fonts...
131 #endif 128 endif
132 129
133 ;============================================================================= 130 ;=============================================================================
134 p2_deco code 0x0C000 ; Mark segment name into the .map file 131 p2_deco code 0x0C000 ; Mark segment name into the .map file
135 #include p2_deco_main_v110d.txt 132 #include p2_deco_main_v110d.txt
136 133