comparison code_part1/OSTC_code_asm_part1/menu.asm @ 717:91ae251d379f

"ostc3-style" menu titles
author heinrichsweikamp
date Thu, 23 May 2013 10:59:34 +0200
parents 8ffbd5cb4b42
children c50296c3059e
comparison
equal deleted inserted replaced
716:d333c8462844 717:91ae251d379f
254 exit_setup_menu: 254 exit_setup_menu:
255 btfss deco_mode_changed ; Was the decomode changed in Setup menu? 255 btfss deco_mode_changed ; Was the decomode changed in Setup menu?
256 goto restart ; No, restart to surfacemode 256 goto restart ; No, restart to surfacemode
257 257
258 call DISP_ClearScreen 258 call DISP_ClearScreen
259 259 call DISP_divemask_color
260 deco_info_screen1: 260 DISPLAYTEXT .235 ;Decomode changed!
261 call DISP_topline_box 261 call DISP_standard_color
262 WIN_INVERT .1 ; Init new Wordprocessor
263 DISPLAYTEXT .235 ;Decomode changed!
264 WIN_INVERT .0 ; Init new Wordprocessor
265 262
266 read_int_eeprom d'34' ; Read deco data 263 read_int_eeprom d'34' ; Read deco data
267 264
268 movlw d'7' ; length of description text 265 movlw d'7' ; length of description text
269 mulwf EEDATA ; Multiply with Decomode 0-6 266 mulwf EEDATA ; Multiply with Decomode 0-6