Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 279:8514588eb6a2
Mark gas-switch stops for decoplans, displayed in yellow.
author | JeanDo |
---|---|
date | Tue, 19 Apr 2011 03:12:22 +0200 |
parents | 17aab4ca0547 |
children | 4dbff2aa31ee |
comparison
equal
deleted
inserted
replaced
278:17aab4ca0547 | 279:8514588eb6a2 |
---|---|
149 | 149 |
150 bsf divemode ; Set divemode flag | 150 bsf divemode ; Set divemode flag |
151 ostc_debug 'P' ; Sends debug-information to screen if debugmode active | 151 ostc_debug 'P' ; Sends debug-information to screen if debugmode active |
152 goto diveloop ; Start Divemode | 152 goto diveloop ; Start Divemode |
153 | 153 |
154 ;============================================================================= | |
155 ; Show decoplanning result. | |
156 ; | |
154 simulator_show_decoplan: | 157 simulator_show_decoplan: |
155 call PLED_ClearScreen | 158 call PLED_ClearScreen |
156 call PLED_simdata_screen | 159 call PLED_simdata_screen |
157 call divemenu_see_decoplan | 160 call divemenu_see_decoplan |
158 | 161 |
166 iorwf hi,W | 169 iorwf hi,W |
167 bz simulator_decoplan_notts | 170 bz simulator_decoplan_notts |
168 | 171 |
169 WIN_TOP .160 | 172 WIN_TOP .160 |
170 lfsr FSR2, letter | 173 lfsr FSR2, letter |
171 OUTPUTTEXT .85 ; TTS (for translation). | 174 OUTPUTTEXT .85 ; TTS |
172 STRCAT ": " | 175 STRCAT ": " |
173 bsf leftbind | 176 bsf leftbind |
174 output_16 | 177 output_16 |
175 STRCAT_PRINT "'" | 178 STRCAT_PRINT "'" |
176 | 179 |