comparison code_part1/OSTC_code_asm_part1/MAIN.ASM @ 123:6a94f96e9cea

The big cleanup, again.
author JeanDo
date Thu, 30 Dec 2010 23:45:20 +0100
parents 14a074e1a375
children 2907b42c195b
comparison
equal deleted inserted replaced
122:3003a8040b78 123:6a94f96e9cea
85 #include strings.inc 85 #include strings.inc
86 86
87 #include displaytext.asm ; sends texts to wordprocessor 87 #include displaytext.asm ; sends texts to wordprocessor
88 #include math.asm ; mathematical functions 88 #include math.asm ; mathematical functions
89 #include wait.asm ; waitroutines 89 #include wait.asm ; waitroutines
90 #include oled_samsung.asm ; Attached in 80-System 8-Bit Mode
91 #include aa_wordprocessor.asm ; New antialiased word processor and fonts
92 #include color_processor.asm ; Color image drawing.
90 #include valconv.asm ; outputs to POSTINC2 93 #include valconv.asm ; outputs to POSTINC2
91 #include eeprom_rs232.asm ; Internal EEPROM and RS232 Interface 94 #include eeprom_rs232.asm ; Internal EEPROM and RS232 Interface
92 #include oled_samsung.asm ; Attached in 80-System 8-Bit Mode
93 #include menu_custom.asm ; Menu "Custom FunctionsI" and "Custom FunctionsII" 95 #include menu_custom.asm ; Menu "Custom FunctionsI" and "Custom FunctionsII"
94 #include menu.asm ; Main Menu and Setup Menu 96 #include menu.asm ; Main Menu and Setup Menu
95 #include menu_reset.asm ; Submenu "Reset" 97 #include menu_reset.asm ; Submenu "Reset"
96 #include menu_settime.asm ; Submenu "Set Time" 98 #include menu_settime.asm ; Submenu "Set Time"
97 #include ms5535.asm ; Interface to MS5535A,B or C pressure sensor 99 #include ms5535.asm ; Interface to MS5535A,B or C pressure sensor
115 #include io.asm ; Low-Level I/O access 117 #include io.asm ; Low-Level I/O access
116 #include customview.asm ; Customview for divemode 118 #include customview.asm ; Customview for divemode
117 #include strings.asm ; Basic string operations 119 #include strings.asm ; Basic string operations
118 120
119 ;============================================================================= 121 ;=============================================================================
120 ; Include C sub-routines automatically 122 #include dive_icons.asm ; Draw dive type icons in surface mode.
121
122 p3_wp code 0x09A00 ; Mark segment name into the .map file
123
124 ifdef AAFONTS
125 ; New antialiased word processor and fonts
126 #include aa_wordprocessor.asm ; ASM wordprocessor under tests.
127 else
128 #include ostc_part3_wordprocessor_NEW_CURSOR_9A00_to_B960_jump_in_B410.txt ; Christians fonts...
129 endif
130 123
131 ;============================================================================= 124 ;=============================================================================
132 ; (should be after aa_wordprocessor) 125 ; Extracted from p3_wordprocessor includes:
133 #include color_processor.asm ; Color image drawing. 126 #include aa_fonts.asm
134 #include dive_icons.asm ; Draw dive type icons in surface mode.
135 127
136 ;============================================================================= 128 ;=============================================================================
137 MESSG "OSTC - diving computer code, Copyright (C) 2010 HeinrichsWeikamp GbR" 129 MESSG "OSTC - diving computer code, Copyright (C) 2010 HeinrichsWeikamp GbR"
138 MESSG "This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the" 130 MESSG "This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the"
139 MESSG "Free Software Foundation, either version 3 of the License, or (at your option) any later version." 131 MESSG "Free Software Foundation, either version 3 of the License, or (at your option) any later version."