File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ __errsp:
70
70
ld iy , %D00080
71
71
res 4 , (iy + 9 ) ; onInterrupt,(iy+onFlags)
72
72
set 0 , (iy + 3 ) ; graphDraw,(iy+graphFlags)
73
- call %002080C ; _ClrLCD
73
+ call % 0020808 ; _ClrLCDFull
74
74
call % 0020828 ; _HomeUp
75
75
call %0021A3C ; _DrawStatusBar
76
76
endif
Original file line number Diff line number Diff line change @@ -187,10 +187,15 @@ typedef struct { uint16_t size; uint8_t data[1]; } var_t;
187
187
#define matrix_element (matrix , row , col ) ((matrix)->items[(row)+(col)*(matrix)->rows])
188
188
189
189
/**
190
- * Resets the OS homescreen
190
+ * Resets the OS homescreen; accounts for split screen
191
191
*/
192
192
#define os_ClrHome () do { _OS(asm_ClrLCD); _OS(asm_HomeUp); _OS(asm_DrawStatusBar); } while (0)
193
193
194
+ /**
195
+ * Resets the OS homescreen fully
196
+ */
197
+ #define os_ClrHomeFull () do { _OS(asm_ClrLCDFull); _OS(asm_HomeUp); _OS(asm_DrawStatusBar); } while (0)
198
+
194
199
/**
195
200
* A faster implementation of memset
196
201
*
@@ -746,6 +751,11 @@ void asm_EnableAPD(void);
746
751
*/
747
752
void asm_ArcChk (void );
748
753
754
+ /**
755
+ * Assembly routine to clear the homescreen lcd
756
+ */
757
+ void asm_ClrLCDFull (void );
758
+
749
759
/**
750
760
* Assembly routine to clear the homescreen lcd.
751
761
* Accounts for split screen
Original file line number Diff line number Diff line change 104
104
105
105
.def _asm_MoveDown
106
106
.def _asm_MoveUp
107
+ .def _asm_ClrLCDFull
107
108
.def _asm_ClrLCD
108
109
.def _asm_HomeUp
109
110
.def _asm_RunIndicOn
@@ -219,6 +220,7 @@ _os_CreateAppVar equ 022184h
219
220
220
221
_asm_MoveDown equ 0207F4h
221
222
_asm_MoveUp equ 020800h
223
+ _asm_ClrLCDFull equ 020808h
222
224
_asm_ClrLCD equ 02080Ch
223
225
_asm_HomeUp equ 020828h
224
226
_asm_RunIndicOn equ 020844h
You can’t perform that action at this time.
0 commit comments