comparison code_part1/OSTC_code_asm_part1/customview.asm @ 119:f24137eb85de

Background debugger now shows STKPTR
author heinrichsweikamp
date Sun, 26 Dec 2010 18:34:28 +0100
parents 50a06adabc67
children 6a94f96e9cea
comparison
equal deleted inserted replaced
118:a5eacfafd37f 119:f24137eb85de
97 customview_minute_marker: ; Do nothing extra 97 customview_minute_marker: ; Do nothing extra
98 customview_minute_stopwatch: ; Do nothing extra 98 customview_minute_stopwatch: ; Do nothing extra
99 return 99 return
100 100
101 customview_toggle: ; Yes, show next customview (and delete this flag) 101 customview_toggle: ; Yes, show next customview (and delete this flag)
102 ostc_debug 'X' ; Sends debug-information to screen if debugmode active
102 incf menupos3,F ; Number of customview to show 103 incf menupos3,F ; Number of customview to show
103 movlw d'4' ; Max number 104 movlw d'4' ; Max number
104 cpfsgt menupos3 ; Max reached? 105 cpfsgt menupos3 ; Max reached?
105 bra customview_mask ; No, show 106 bra customview_mask ; No, show
106 clrf menupos3 ; Reset to zero (Zero=no custom view) 107 clrf menupos3 ; Reset to zero (Zero=no custom view)
136 call PLED_show_leading_tissue 137 call PLED_show_leading_tissue
137 bra customview_toggle_exit 138 bra customview_toggle_exit
138 139
139 customview_toggle_exit: 140 customview_toggle_exit:
140 bcf toggle_customview ; Clear flag 141 bcf toggle_customview ; Clear flag
142 ostc_debug 'Y' ; Sends debug-information to screen if debugmode active
141 return 143 return
142 144
143 145
144 146
145 surfcustomview_toggle: ; Yes, show next customview (and delete this flag) 147 surfcustomview_toggle: ; Yes, show next customview (and delete this flag)