Mercurial > public > hwos_code
comparison src/comm.asm @ 218:8fbd8c5ac51f
1.71beta start
author | heinrichsweikamp |
---|---|
date | Fri, 19 Dec 2014 17:56:40 +0100 |
parents | dcd513840c6c |
children | 940155e9aefb |
comparison
equal
deleted
inserted
replaced
217:3f169eff873c | 218:8fbd8c5ac51f |
---|---|
50 #DEFINE comm_warning_column .65 | 50 #DEFINE comm_warning_column .65 |
51 | 51 |
52 comm code | 52 comm code |
53 | 53 |
54 ; test for comm | 54 ; test for comm |
55 global comm_mode | 55 global comm_mode, comm_mode0 |
56 comm_mode: | 56 comm_mode: |
57 WAITMS d'1' | 57 WAITMS d'1' |
58 btfss vusb_in ; USB plugged in? | 58 btfss vusb_in ; USB plugged in? |
59 return ; No, it was only a glitch | 59 return ; No, it was only a glitch |
60 WAITMS d'1' | 60 WAITMS d'1' |
61 btfss vusb_in ; USB plugged in? | 61 btfss vusb_in ; USB plugged in? |
62 return ; No, it was only a glitch | 62 return ; No, it was only a glitch |
63 | 63 comm_mode0: |
64 call TFT_ClearScreen | 64 call TFT_ClearScreen |
65 WIN_COLOR color_greenish | 65 WIN_COLOR color_greenish |
66 WIN_SMALL comm_title_column, comm_title_row | 66 WIN_SMALL comm_title_column, comm_title_row |
67 STRCPY_TEXT_PRINT tUsbTitle ; comm Mode | 67 STRCPY_TEXT_PRINT tUsbTitle ; comm Mode |
68 call TFT_standard_color | 68 call TFT_standard_color |