diff --git a/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 b/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 index d5c340a..8d42f92 100644 --- a/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 +++ b/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 @@ -1,4 +1,4 @@ -BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 1 +BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 1 BL51 BANKED LINKER/LOCATER V6.22.2.0, INVOKED BY: @@ -17,14 +17,12 @@ INPUT MODULES INCLUDED: .\Objects\draw.obj (DRAW) .\Objects\block.obj (BLOCK) C:\KEIL_V5\C51\LIB\C51L.LIB (?C_STARTUP) - C:\KEIL_V5\C51\LIB\C51L.LIB (?C?SIDIV) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?OFFXADD) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?PLDPTR) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?PLDOPTR) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?ICALL) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?MEMSET) C:\KEIL_V5\C51\LIB\C51L.LIB (?C_INIT) - C:\KEIL_V5\C51\LIB\C51L.LIB (?C?UIDIV) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?PLDIDATA) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?PLDXDATA) C:\KEIL_V5\C51\LIB\C51L.LIB (?C?PLDPDATA) @@ -52,105 +50,107 @@ LINK MAP OF MODULE: .\Objects\MCU_1 (MAIN) * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE CODE 0003H 0003H ABSOLUTE - 0006H 0005H *** GAP *** + CODE 0006H 0001H UNIT ?PR?BLOCKINIT?BLOCK + 0007H 0004H *** GAP *** CODE 000BH 0003H ABSOLUTE CODE 000EH 0269H UNIT ?PR?_DRAWMAINMENU?DRAW CODE 0277H 0208H UNIT ?CO?DRAW CODE 047FH 01FFH UNIT ?PR?DROPPIECE?BLOCK - CODE 067EH 0140H UNIT ?C?LIB_CODE - CODE 07BEH 0128H UNIT ?PR?GENPIECE?BLOCK - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 2 + CODE 067EH 011BH UNIT ?PR?DRAWNUMBER?DRAW + CODE 0799H 010DH UNIT ?PR?GENPIECE?BLOCK + CODE 08A6H 00E2H UNIT ?PR?_M_MAINMENU?MENU + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 2 - CODE 08E6H 011BH UNIT ?PR?DRAWNUMBER?DRAW - CODE 0A01H 00E2H UNIT ?PR?_M_MAINMENU?MENU - CODE 0AE3H 00D1H UNIT ?PR?MOVELEFTPIECE?BLOCK - CODE 0BB4H 00C7H UNIT ?PR?MOVERIGHTPIECE?BLOCK - CODE 0C7BH 00C5H UNIT ?PR?CLEAR?DISPLAY - CODE 0D40H 00C5H UNIT ?PR?MINICLEAR?DISPLAY - CODE 0E05H 00C5H UNIT ?PR?TEST?DISPLAY - CODE 0ECAH 008EH UNIT ?PR?DRAWNAME?DRAW - CODE 0F58H 008EH UNIT ?PR?DRAWBLOCK?BLOCK - CODE 0FE6H 008CH UNIT ?C_C51STARTUP - CODE 1072H 0084H UNIT ?C_INITSEG - CODE 10F6H 0082H UNIT ?PR?_M_BLOCK?MENU - CODE 1178H 0074H UNIT ?PR?_M_STARTUP?MENU - CODE 11ECH 0071H UNIT ?PR?_PLACEIMG_BLOCK?DRAW - CODE 125DH 0065H UNIT ?PR?_ISIEGAL?BLOCK - CODE 12C2H 0061H UNIT ?PR?TIME?MAIN - CODE 1323H 005DH UNIT ?PR?_PLACE_VOID_BLOCK?DRAW - CODE 1380H 005CH UNIT ?PR?INT0?MAIN - CODE 13DCH 0053H UNIT ?PR?MAIN?MAIN - CODE 142FH 0045H UNIT ?PR?MENUINIT?MENU - CODE 1474H 0020H UNIT ?PR?_DELAY?DELAY - CODE 1494H 001CH UNIT ?PR?DISPLAYINIT?DISPLAY - CODE 14B0H 0019H UNIT ?PR?WRITE?DISPLAY - CODE 14C9H 000FH UNIT ?PR?BLOCKDESTROY?BLOCK - CODE 14D8H 000BH UNIT ?PR?DELAY100US?DELAY - CODE 14E3H 000BH UNIT ?PR?BLOCKINIT?BLOCK + CODE 0988H 00D1H UNIT ?PR?MOVELEFTPIECE?BLOCK + CODE 0A59H 00C7H UNIT ?PR?MOVERIGHTPIECE?BLOCK + CODE 0B20H 00C5H UNIT ?PR?CLEAR?DISPLAY + CODE 0BE5H 00C5H UNIT ?PR?MINICLEAR?DISPLAY + CODE 0CAAH 00C5H UNIT ?PR?TEST?DISPLAY + CODE 0D6FH 00B5H UNIT ?C?LIB_CODE + CODE 0E24H 008EH UNIT ?PR?DRAWNAME?DRAW + CODE 0EB2H 008EH UNIT ?PR?DRAWBLOCK?BLOCK + CODE 0F40H 008CH UNIT ?C_C51STARTUP + CODE 0FCCH 0087H UNIT ?PR?_M_BLOCK?MENU + CODE 1053H 0084H UNIT ?C_INITSEG + CODE 10D7H 0077H UNIT ?PR?_DRAWVERTICALDOTTEDLINE?DRAW + CODE 114EH 0074H UNIT ?PR?_M_STARTUP?MENU + CODE 11C2H 0071H UNIT ?PR?_PLACEIMG_BLOCK?DRAW + CODE 1233H 0065H UNIT ?PR?_ISIEGAL?BLOCK + CODE 1298H 0061H UNIT ?PR?TIME?MAIN + CODE 12F9H 005DH UNIT ?PR?_PLACEVOID_BLOCK?DRAW + CODE 1356H 005CH UNIT ?PR?INT0?MAIN + CODE 13B2H 0053H UNIT ?PR?MAIN?MAIN + CODE 1405H 0045H UNIT ?PR?MENUINIT?MENU + CODE 144AH 0020H UNIT ?PR?_DELAY?DELAY + CODE 146AH 001CH UNIT ?PR?DISPLAYINIT?DISPLAY + CODE 1486H 0019H UNIT ?PR?WRITE?DISPLAY + CODE 149FH 000FH UNIT ?PR?BLOCKDESTROY?BLOCK + CODE 14AEH 000BH UNIT ?PR?DELAY100US?DELAY OVERLAY MAP OF MODULE: .\Objects\MCU_1 (MAIN) -SEGMENT XDATA_GROUP - +--> CALLED SEGMENT START LENGTH --------------------------------------------------- -?PR?TIME?MAIN ----- ----- +SEGMENT XDATA_GROUP + +--> CALLED SEGMENT START LENGTH +-------------------------------------------------------- +?PR?TIME?MAIN ----- ----- +--> ?PR?_DELAY?DELAY *** NEW ROOT *************************************************** -?C_C51STARTUP ----- ----- +?C_C51STARTUP ----- ----- +--> ?PR?MAIN?MAIN +--> ?C_INITSEG -?PR?MAIN?MAIN ----- ----- +?PR?MAIN?MAIN ----- ----- +--> ?PR?DISPLAYINIT?DISPLAY +--> ?PR?CLEAR?DISPLAY +--> ?PR?MENUINIT?MENU -?PR?DISPLAYINIT?DISPLAY ----- ----- +?PR?DISPLAYINIT?DISPLAY ----- ----- +--> ?PR?WRITE?DISPLAY -?PR?WRITE?DISPLAY ----- ----- +?PR?WRITE?DISPLAY ----- ----- +--> ?PR?_DELAY?DELAY -?PR?CLEAR?DISPLAY 008DH 0004H +?PR?CLEAR?DISPLAY 008DH 0004H +--> ?PR?WRITE?DISPLAY - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 3 + + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 3 - -?PR?MENUINIT?MENU ----- ----- +?PR?MENUINIT?MENU ----- ----- +--> ?PR?_M_STARTUP?MENU +--> ?PR?_M_MAINMENU?MENU +--> ?PR?_M_BLOCK?MENU -?PR?_M_STARTUP?MENU 008AH 0003H +?PR?_M_STARTUP?MENU 008AH 0003H +--> ?PR?DRAWNAME?DRAW +--> ?PR?_DELAY?DELAY +--> ?PR?DRAWNUMBER?DRAW +--> ?PR?CLEAR?DISPLAY -?PR?DRAWNAME?DRAW 008DH 0002H +?PR?DRAWNAME?DRAW 008DH 0002H +--> ?PR?WRITE?DISPLAY +--> ?CO?DRAW -?PR?DRAWNUMBER?DRAW 008DH 0002H +?PR?DRAWNUMBER?DRAW 008DH 0002H +--> ?PR?WRITE?DISPLAY +--> ?CO?DRAW -?PR?_M_MAINMENU?MENU 008AH 0003H +?PR?_M_MAINMENU?MENU 008AH 0003H +--> ?PR?_DRAWMAINMENU?DRAW +--> ?PR?CLEAR?DISPLAY -?PR?_DRAWMAINMENU?DRAW 008DH 0003H +?PR?_DRAWMAINMENU?DRAW 008DH 0003H +--> ?PR?WRITE?DISPLAY +--> ?CO?DRAW -?PR?_M_BLOCK?MENU 008AH 0003H +?PR?_M_BLOCK?MENU 008AH 0003H + +--> ?PR?_DRAWVERTICALDOTTEDLINE?DRAW +--> ?PR?BLOCKINIT?BLOCK +--> ?PR?BLOCKDESTROY?BLOCK +--> ?PR?MOVELEFTPIECE?BLOCK @@ -160,29 +160,32 @@ SEGMENT XDATA_GROUP +--> ?PR?DROPPIECE?BLOCK +--> ?PR?_DELAY?DELAY -?PR?MOVELEFTPIECE?BLOCK 008DH 0001H +?PR?_DRAWVERTICALDOTTEDLINE?DRAW 008DH 0003H + +--> ?PR?WRITE?DISPLAY + +?PR?MOVELEFTPIECE?BLOCK 008DH 0001H +--> ?PR?_ISIEGAL?BLOCK -?PR?MOVERIGHTPIECE?BLOCK 008DH 0001H +?PR?MOVERIGHTPIECE?BLOCK 008DH 0001H +--> ?PR?_ISIEGAL?BLOCK -?PR?DRAWBLOCK?BLOCK 008DH 0002H +?PR?DRAWBLOCK?BLOCK 008DH 0002H +--> ?PR?_PLACEIMG_BLOCK?DRAW - +--> ?PR?_PLACE_VOID_BLOCK?DRAW + +--> ?PR?_PLACEVOID_BLOCK?DRAW -?PR?_PLACEIMG_BLOCK?DRAW 008FH 0003H +?PR?_PLACEIMG_BLOCK?DRAW 008FH 0003H +--> ?PR?WRITE?DISPLAY +--> ?CO?DRAW -?PR?_PLACE_VOID_BLOCK?DRAW 008FH 0003H +?PR?_PLACEVOID_BLOCK?DRAW 008FH 0003H +--> ?PR?WRITE?DISPLAY - -?PR?GENPIECE?BLOCK 008DH 0004H - - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 4 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 4 -?PR?DROPPIECE?BLOCK 008DH 0002H + +?PR?GENPIECE?BLOCK 008DH 0002H + +?PR?DROPPIECE?BLOCK 008DH 0002H +--> ?PR?_ISIEGAL?BLOCK @@ -202,8 +205,8 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:00B8H PUBLIC IP X:009AH PUBLIC TH X:009BH PUBLIC TL - C:13DCH PUBLIC main - C:12C2H PUBLIC time + C:13B2H PUBLIC main + C:1298H PUBLIC time D:0098H PUBLIC SCON D:0089H PUBLIC TMOD D:0088H PUBLIC TCON @@ -219,69 +222,69 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) B:00B0H.4 PUBLIC PIN_3 D:00D0H PUBLIC PSW B:00B0H.5 PUBLIC PIN_4 - C:1380H PUBLIC int0 + C:1356H PUBLIC int0 ------- PROC INT0 ------- DO D:0005H SYMBOL LS D:0007H SYMBOL CS D:0006H SYMBOL flag ------- ENDDO - C:1380H LINE# 11 - C:1395H LINE# 29 - C:1397H LINE# 30 - C:139BH LINE# 31 - C:139EH LINE# 32 - C:139EH LINE# 33 - C:13A3H LINE# 34 - C:13A5H LINE# 35 - C:13A7H LINE# 36 - C:13ACH LINE# 37 - C:13ACH LINE# 38 - C:13B7H LINE# 39 - C:13BCH LINE# 40 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 5 + C:1356H LINE# 11 + C:136BH LINE# 29 + C:136DH LINE# 30 + C:1371H LINE# 31 + C:1374H LINE# 32 + C:1374H LINE# 33 + C:1379H LINE# 34 + C:137BH LINE# 35 + C:137DH LINE# 36 + C:1382H LINE# 37 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 5 - C:13C5H LINE# 41 - C:13C9H LINE# 42 - C:13C9H LINE# 44 + C:1382H LINE# 38 + C:138DH LINE# 39 + C:1392H LINE# 40 + C:139BH LINE# 41 + C:139FH LINE# 42 + C:139FH LINE# 44 ------- ENDPROC INT0 ------- PROC TIME - C:12C2H LINE# 46 - C:12DFH LINE# 48 - C:12E1H LINE# 49 - C:12E7H LINE# 50 - C:12EDH LINE# 51 - C:12F3H LINE# 53 - C:12F6H LINE# 54 - C:12F6H LINE# 55 - C:12FDH LINE# 56 - C:1300H LINE# 57 - C:1306H LINE# 58 - C:1306H LINE# 59 - C:1308H LINE# 60 + C:1298H LINE# 46 + C:12B5H LINE# 48 + C:12B7H LINE# 49 + C:12BDH LINE# 50 + C:12C3H LINE# 51 + C:12C9H LINE# 53 + C:12CCH LINE# 54 + C:12CCH LINE# 55 + C:12D3H LINE# 56 + C:12D6H LINE# 57 + C:12DCH LINE# 58 + C:12DCH LINE# 59 + C:12DEH LINE# 60 ------- ENDPROC TIME ------- PROC MAIN - C:13DCH LINE# 62 - C:13DCH LINE# 63 - C:13DCH LINE# 64 - C:13E2H LINE# 65 - C:13E6H LINE# 66 - C:13E9H LINE# 67 - C:13EBH LINE# 69 - C:13EEH LINE# 71 - C:13F0H LINE# 72 - C:13F2H LINE# 73 - C:13F4H LINE# 76 - C:13F6H LINE# 77 - C:13F8H LINE# 79 - C:13FAH LINE# 81 - C:13FDH LINE# 82 - C:1400H LINE# 83 - C:1403H LINE# 85 - C:1403H LINE# 86 - C:1403H LINE# 88 - C:142DH LINE# 90 + C:13B2H LINE# 62 + C:13B2H LINE# 63 + C:13B2H LINE# 64 + C:13B8H LINE# 65 + C:13BCH LINE# 66 + C:13BFH LINE# 67 + C:13C1H LINE# 69 + C:13C4H LINE# 71 + C:13C6H LINE# 72 + C:13C8H LINE# 73 + C:13CAH LINE# 76 + C:13CCH LINE# 77 + C:13CEH LINE# 79 + C:13D0H LINE# 81 + C:13D3H LINE# 82 + C:13D6H LINE# 83 + C:13D9H LINE# 85 + C:13D9H LINE# 86 + C:13D9H LINE# 88 + C:1403H LINE# 90 ------- ENDPROC MAIN ------- ENDMOD MAIN @@ -290,152 +293,153 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) X:0061H PUBLIC M_MAINMENU X:0067H SYMBOL local X:0071H PUBLIC M_BLOCK - C:0A01H PUBLIC _m_mainmenu + C:08A6H PUBLIC _m_mainmenu X:0077H PUBLIC LAST X:007AH PUBLIC M_BALL - C:142FH PUBLIC menuInit + C:1405H PUBLIC menuInit X:0080H PUBLIC opr - C:10F6H PUBLIC _m_block + C:0FCCH PUBLIC _m_block + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 6 + + X:0081H PUBLIC M_STARTUP - C:1178H PUBLIC _m_startup + C:114EH PUBLIC _m_startup X:0087H PUBLIC NOW - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 6 - - ------- PROC _M_STARTUP X:008AH SYMBOL this - C:1178H LINE# 30 - C:1183H LINE# 31 - C:1183H LINE# 34 - C:11A9H LINE# 35 - C:11A9H LINE# 36 - C:11B7H LINE# 38 - C:11BAH LINE# 39 - C:11C1H LINE# 40 - C:11C4H LINE# 41 - C:11C4H LINE# 43 - C:11CCH LINE# 44 - C:11CCH LINE# 45 - C:11CFH LINE# 46 - C:11E8H LINE# 47 - C:11EBH LINE# 48 - C:11EBH LINE# 50 + C:114EH LINE# 30 + C:1159H LINE# 31 + C:1159H LINE# 34 + C:117FH LINE# 35 + C:117FH LINE# 36 + C:118DH LINE# 38 + C:1190H LINE# 39 + C:1197H LINE# 40 + C:119AH LINE# 41 + C:119AH LINE# 43 + C:11A2H LINE# 44 + C:11A2H LINE# 45 + C:11A5H LINE# 46 + C:11BEH LINE# 47 + C:11C1H LINE# 48 + C:11C1H LINE# 50 ------- ENDPROC _M_STARTUP ------- PROC _M_MAINMENU X:008AH SYMBOL this - C:0A01H LINE# 53 - C:0A0CH LINE# 54 - C:0A0CH LINE# 55 - C:0A32H LINE# 56 - C:0A32H LINE# 57 - C:0A40H LINE# 58 - C:0A48H LINE# 59 - C:0A48H LINE# 61 - C:0A50H LINE# 62 - C:0A50H LINE# 63 - C:0A56H LINE# 64 - C:0A60H LINE# 65 - C:0A63H LINE# 67 - C:0A69H LINE# 68 - C:0A71H LINE# 69 - C:0A71H LINE# 70 - C:0A77H LINE# 71 - C:0A77H LINE# 72 - C:0A7DH LINE# 73 - C:0A7FH LINE# 75 - C:0A85H LINE# 76 - C:0A8DH LINE# 77 - C:0A8DH LINE# 78 - C:0A95H LINE# 79 - C:0A95H LINE# 81 - C:0AA6H LINE# 82 - C:0AA6H LINE# 83 - C:0AA6H LINE# 85 - C:0AA6H LINE# 86 - C:0AB4H LINE# 87 - C:0AB6H LINE# 88 - C:0AB6H LINE# 89 - C:0AC4H LINE# 90 - C:0AC6H LINE# 91 - C:0AC6H LINE# 92 - C:0AD4H LINE# 93 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 7 + C:08A6H LINE# 53 + C:08B1H LINE# 54 + C:08B1H LINE# 55 + C:08D7H LINE# 56 + C:08D7H LINE# 57 + C:08E5H LINE# 58 + C:08EDH LINE# 59 + C:08EDH LINE# 61 + C:08F5H LINE# 62 + C:08F5H LINE# 63 + C:08FBH LINE# 64 + C:0905H LINE# 65 + C:0908H LINE# 67 + C:090EH LINE# 68 + C:0916H LINE# 69 + C:0916H LINE# 70 + C:091CH LINE# 71 + C:091CH LINE# 72 + C:0922H LINE# 73 + C:0924H LINE# 75 + C:092AH LINE# 76 + C:0932H LINE# 77 + C:0932H LINE# 78 + C:093AH LINE# 79 + C:093AH LINE# 81 + C:094BH LINE# 82 + C:094BH LINE# 83 + C:094BH LINE# 85 + C:094BH LINE# 86 + C:0959H LINE# 87 + C:095BH LINE# 88 + C:095BH LINE# 89 + C:0969H LINE# 90 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 7 - C:0AD4H LINE# 94 - C:0AD4H LINE# 96 - C:0AD9H LINE# 97 - C:0ADCH LINE# 98 - C:0AE2H LINE# 99 - C:0AE2H LINE# 100 + C:096BH LINE# 91 + C:096BH LINE# 92 + C:0979H LINE# 93 + C:0979H LINE# 94 + C:0979H LINE# 96 + C:097EH LINE# 97 + C:0981H LINE# 98 + C:0987H LINE# 99 + C:0987H LINE# 100 ------- ENDPROC _M_MAINMENU ------- PROC _M_BLOCK X:008AH SYMBOL this - C:10F6H LINE# 104 - C:1101H LINE# 105 - C:1101H LINE# 106 - C:1127H LINE# 107 - C:1127H LINE# 108 - C:1135H LINE# 109 - C:1138H LINE# 110 - C:1138H LINE# 112 - C:1140H LINE# 113 - C:1140H LINE# 114 - C:1143H LINE# 115 - C:1146H LINE# 116 - C:1148H LINE# 118 - C:1148H LINE# 119 - C:114EH LINE# 120 - C:114EH LINE# 121 - C:1151H LINE# 122 - C:1154H LINE# 123 - C:1156H LINE# 125 - C:1156H LINE# 126 - C:115EH LINE# 127 - C:115EH LINE# 128 - C:1161H LINE# 129 - C:1164H LINE# 130 - C:1167H LINE# 132 - C:1167H LINE# 134 - C:116AH LINE# 135 - C:116DH LINE# 136 - C:1170H LINE# 137 - C:1177H LINE# 140 + C:0FCCH LINE# 104 + C:0FD7H LINE# 105 + C:0FD7H LINE# 106 + C:0FFDH LINE# 107 + C:0FFDH LINE# 108 + C:100BH LINE# 109 + C:1010H LINE# 110 + C:1013H LINE# 111 + C:1013H LINE# 113 + C:101BH LINE# 114 + C:101BH LINE# 115 + C:101EH LINE# 116 + C:1021H LINE# 117 + C:1023H LINE# 119 + C:1023H LINE# 120 + C:1029H LINE# 121 + C:1029H LINE# 122 + C:102CH LINE# 123 + C:102FH LINE# 124 + C:1031H LINE# 126 + C:1031H LINE# 127 + C:1039H LINE# 128 + C:1039H LINE# 129 + C:103CH LINE# 130 + C:103FH LINE# 131 + C:1042H LINE# 133 + C:1042H LINE# 135 + C:1045H LINE# 136 + C:1048H LINE# 137 + C:104BH LINE# 138 + C:1052H LINE# 141 ------- ENDPROC _M_BLOCK ------- PROC MENUINIT - C:142FH LINE# 141 - C:142FH LINE# 142 - C:142FH LINE# 143 - C:143DH LINE# 144 - C:1449H LINE# 146 - C:1457H LINE# 147 - C:1465H LINE# 150 - C:1473H LINE# 154 + C:1405H LINE# 142 + C:1405H LINE# 143 + C:1405H LINE# 144 + C:1413H LINE# 145 + C:141FH LINE# 147 + C:142DH LINE# 148 + C:143BH LINE# 151 + C:1449H LINE# 155 ------- ENDPROC MENUINIT ------- ENDMOD MENU ------- MODULE DELAY + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 8 + + C:0000H SYMBOL _ICE_DUMMY_ - C:14D8H PUBLIC delay100us - C:1474H PUBLIC _delay + C:14AEH PUBLIC delay100us + C:144AH PUBLIC _delay ------- PROC DELAY100US - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 8 - - ------- DO D:0007H SYMBOL i D:0006H SYMBOL j ------- ENDDO - C:14D8H LINE# 3 - C:14D8H LINE# 4 - C:14D8H LINE# 7 - C:14D9H LINE# 8 - C:14DAH LINE# 9 - C:14DCH LINE# 10 - C:14DEH LINE# 12 - C:14DEH LINE# 13 - C:14E0H LINE# 14 - C:14E2H LINE# 15 + C:14AEH LINE# 3 + C:14AEH LINE# 4 + C:14AEH LINE# 7 + C:14AFH LINE# 8 + C:14B0H LINE# 9 + C:14B2H LINE# 10 + C:14B4H LINE# 12 + C:14B4H LINE# 13 + C:14B6H LINE# 14 + C:14B8H LINE# 15 ------- ENDPROC DELAY100US ------- PROC _DELAY D:0006H SYMBOL n @@ -443,11 +447,11 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:0006H SYMBOL i D:0004H SYMBOL j ------- ENDDO - C:1474H LINE# 24 - C:1474H LINE# 26 - C:1474H LINE# 27 - C:147FH LINE# 28 - C:1493H LINE# 29 + C:144AH LINE# 24 + C:144AH LINE# 26 + C:144AH LINE# 27 + C:1455H LINE# 28 + C:1469H LINE# 29 ------- ENDPROC _DELAY ------- ENDMOD DELAY @@ -456,195 +460,195 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:0090H PUBLIC P1 D:00A0H PUBLIC P2 D:00B0H PUBLIC P3 - C:0C7BH PUBLIC clear + C:0B20H PUBLIC clear D:00A8H PUBLIC IE - C:1494H PUBLIC displayInit + C:146AH PUBLIC displayInit D:00B8H PUBLIC IP B:00A0H.0 PUBLIC RS B:00A0H.1 PUBLIC RW - C:14B9H PUBLIC write + C:148FH PUBLIC write D:0098H PUBLIC SCON D:0088H PUBLIC TCON - C:0D40H PUBLIC miniclear - C:0E05H PUBLIC test + C:0BE5H PUBLIC miniclear + C:0CAAH PUBLIC test B:00A0H.2 PUBLIC E B:00A0H.4 PUBLIC CSA B:00A0H.5 PUBLIC CSB D:00C8H PUBLIC T2CON D:00D0H PUBLIC PSW - C:14B0H SYMBOL L?0055 + C:1486H SYMBOL L?0055 ------- PROC L?0054 ------- ENDPROC L?0054 - C:14B0H SYMBOL L?0055 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 9 + + + C:1486H SYMBOL L?0055 ------- PROC WRITE - C:14B9H LINE# 17 - C:14B9H LINE# 18 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 9 - - - C:14B9H LINE# 19 - C:14BBH LINE# 20 - C:14BDH LINE# 21 - C:14BFH LINE# 22 - C:14C6H LINE# 23 - C:14C8H LINE# 24 + C:148FH LINE# 17 + C:148FH LINE# 18 + C:148FH LINE# 19 + C:1491H LINE# 20 + C:1493H LINE# 21 + C:1495H LINE# 22 + C:149CH LINE# 23 + C:149EH LINE# 24 ------- ENDPROC WRITE ------- PROC CLEAR ------- DO X:008DH SYMBOL i X:008FH SYMBOL j ------- ENDDO - C:0C7BH LINE# 28 - C:0C7BH LINE# 29 - C:0C7BH LINE# 31 - C:0C7DH LINE# 32 - C:0C7FH LINE# 33 - C:0C96H LINE# 34 - C:0C96H LINE# 35 - C:0C96H LINE# 36 - C:0C96H LINE# 37 - C:0C96H LINE# 38 - C:0C99H LINE# 39 - C:0C9CH LINE# 40 - C:0C9FH LINE# 42 - C:0CA6H LINE# 43 - C:0CA6H LINE# 44 - C:0CA8H LINE# 45 - C:0CAAH LINE# 46 - C:0CADH LINE# 47 - C:0CB0H LINE# 48 - C:0CCDH LINE# 49 - C:0CDDH LINE# 50 - C:0CDFH LINE# 51 - C:0CE1H LINE# 52 - C:0CF8H LINE# 53 - C:0CF8H LINE# 54 - C:0CF8H LINE# 55 - C:0CF8H LINE# 56 - C:0CF8H LINE# 57 - C:0CFBH LINE# 58 - C:0CFEH LINE# 59 - C:0D01H LINE# 61 - C:0D08H LINE# 62 - C:0D08H LINE# 63 - C:0D0AH LINE# 64 - C:0D0CH LINE# 65 - C:0D0FH LINE# 66 - C:0D12H LINE# 67 - C:0D2FH LINE# 68 - C:0D3FH LINE# 69 + C:0B20H LINE# 28 + C:0B20H LINE# 29 + C:0B20H LINE# 31 + C:0B22H LINE# 32 + C:0B24H LINE# 33 + C:0B3BH LINE# 34 + C:0B3BH LINE# 35 + C:0B3BH LINE# 36 + C:0B3BH LINE# 37 + C:0B3BH LINE# 38 + C:0B3EH LINE# 39 + C:0B41H LINE# 40 + C:0B44H LINE# 42 + C:0B4BH LINE# 43 + C:0B4BH LINE# 44 + C:0B4DH LINE# 45 + C:0B4FH LINE# 46 + C:0B52H LINE# 47 + C:0B55H LINE# 48 + C:0B72H LINE# 49 + C:0B82H LINE# 50 + C:0B84H LINE# 51 + C:0B86H LINE# 52 + C:0B9DH LINE# 53 + C:0B9DH LINE# 54 + C:0B9DH LINE# 55 + C:0B9DH LINE# 56 + C:0B9DH LINE# 57 + C:0BA0H LINE# 58 + C:0BA3H LINE# 59 + C:0BA6H LINE# 61 + C:0BADH LINE# 62 + C:0BADH LINE# 63 + C:0BAFH LINE# 64 + C:0BB1H LINE# 65 + C:0BB4H LINE# 66 + C:0BB7H LINE# 67 + C:0BD4H LINE# 68 + C:0BE4H LINE# 69 ------- ENDPROC CLEAR ------- PROC MINICLEAR + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 10 + + ------- DO X:0092H SYMBOL i X:0094H SYMBOL j ------- ENDDO - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 10 - - - C:0D40H LINE# 72 - C:0D40H LINE# 73 - C:0D40H LINE# 75 - C:0D42H LINE# 76 - C:0D44H LINE# 77 - C:0D5BH LINE# 78 - C:0D5BH LINE# 79 - C:0D5BH LINE# 80 - C:0D5BH LINE# 81 - C:0D5BH LINE# 82 - C:0D5EH LINE# 83 - C:0D61H LINE# 84 - C:0D64H LINE# 86 - C:0D6BH LINE# 87 - C:0D6BH LINE# 88 - C:0D6DH LINE# 89 - C:0D6FH LINE# 90 - C:0D72H LINE# 91 - C:0D75H LINE# 92 - C:0D92H LINE# 93 - C:0DA2H LINE# 94 - C:0DA4H LINE# 95 - C:0DA6H LINE# 96 - C:0DBDH LINE# 97 - C:0DBDH LINE# 98 - C:0DBDH LINE# 99 - C:0DBDH LINE# 100 - C:0DBDH LINE# 101 - C:0DC0H LINE# 102 - C:0DC3H LINE# 103 - C:0DC6H LINE# 105 - C:0DCDH LINE# 106 - C:0DCDH LINE# 107 - C:0DCFH LINE# 108 - C:0DD1H LINE# 109 - C:0DD4H LINE# 110 - C:0DD7H LINE# 111 - C:0DF4H LINE# 112 - C:0E04H LINE# 113 + C:0BE5H LINE# 72 + C:0BE5H LINE# 73 + C:0BE5H LINE# 75 + C:0BE7H LINE# 76 + C:0BE9H LINE# 77 + C:0C00H LINE# 78 + C:0C00H LINE# 79 + C:0C00H LINE# 80 + C:0C00H LINE# 81 + C:0C00H LINE# 82 + C:0C03H LINE# 83 + C:0C06H LINE# 84 + C:0C09H LINE# 86 + C:0C10H LINE# 87 + C:0C10H LINE# 88 + C:0C12H LINE# 89 + C:0C14H LINE# 90 + C:0C17H LINE# 91 + C:0C1AH LINE# 92 + C:0C37H LINE# 93 + C:0C47H LINE# 94 + C:0C49H LINE# 95 + C:0C4BH LINE# 96 + C:0C62H LINE# 97 + C:0C62H LINE# 98 + C:0C62H LINE# 99 + C:0C62H LINE# 100 + C:0C62H LINE# 101 + C:0C65H LINE# 102 + C:0C68H LINE# 103 + C:0C6BH LINE# 105 + C:0C72H LINE# 106 + C:0C72H LINE# 107 + C:0C74H LINE# 108 + C:0C76H LINE# 109 + C:0C79H LINE# 110 + C:0C7CH LINE# 111 + C:0C99H LINE# 112 + C:0CA9H LINE# 113 ------- ENDPROC MINICLEAR ------- PROC DISPLAYINIT - C:1494H LINE# 114 - C:1494H LINE# 115 - C:1494H LINE# 116 - C:1496H LINE# 117 - C:1498H LINE# 118 - C:149AH LINE# 119 - C:149CH LINE# 120 - C:149EH LINE# 121 - C:14A1H LINE# 122 - C:14A4H LINE# 124 - C:14A6H LINE# 125 - C:14A8H LINE# 126 - C:14AAH LINE# 127 - C:14ADH LINE# 128 + C:146AH LINE# 114 + C:146AH LINE# 115 + C:146AH LINE# 116 + C:146CH LINE# 117 + C:146EH LINE# 118 + C:1470H LINE# 119 + C:1472H LINE# 120 + C:1474H LINE# 121 + C:1477H LINE# 122 + C:147AH LINE# 124 + C:147CH LINE# 125 + C:147EH LINE# 126 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 11 + + + C:1480H LINE# 127 + C:1483H LINE# 128 ------- ENDPROC DISPLAYINIT ------- PROC TEST - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 11 - - ------- DO X:0096H SYMBOL i X:0098H SYMBOL j ------- ENDDO - C:0E05H LINE# 131 - C:0E05H LINE# 132 - C:0E05H LINE# 134 - C:0E07H LINE# 135 - C:0E09H LINE# 136 - C:0E20H LINE# 137 - C:0E20H LINE# 138 - C:0E20H LINE# 139 - C:0E20H LINE# 140 - C:0E20H LINE# 141 - C:0E23H LINE# 142 - C:0E26H LINE# 143 - C:0E29H LINE# 145 - C:0E30H LINE# 146 - C:0E30H LINE# 147 - C:0E32H LINE# 148 - C:0E34H LINE# 149 - C:0E37H LINE# 150 - C:0E3AH LINE# 151 - C:0E57H LINE# 152 - C:0E67H LINE# 153 - C:0E69H LINE# 154 - C:0E6BH LINE# 155 - C:0E82H LINE# 156 - C:0E82H LINE# 157 - C:0E82H LINE# 158 - C:0E82H LINE# 159 - C:0E82H LINE# 160 - C:0E85H LINE# 161 - C:0E88H LINE# 162 - C:0E8BH LINE# 164 - C:0E92H LINE# 165 - C:0E92H LINE# 166 - C:0E94H LINE# 167 - C:0E96H LINE# 168 - C:0E99H LINE# 169 - C:0E9CH LINE# 170 - C:0EB9H LINE# 171 - C:0EC9H LINE# 172 + C:0CAAH LINE# 131 + C:0CAAH LINE# 132 + C:0CAAH LINE# 134 + C:0CACH LINE# 135 + C:0CAEH LINE# 136 + C:0CC5H LINE# 137 + C:0CC5H LINE# 138 + C:0CC5H LINE# 139 + C:0CC5H LINE# 140 + C:0CC5H LINE# 141 + C:0CC8H LINE# 142 + C:0CCBH LINE# 143 + C:0CCEH LINE# 145 + C:0CD5H LINE# 146 + C:0CD5H LINE# 147 + C:0CD7H LINE# 148 + C:0CD9H LINE# 149 + C:0CDCH LINE# 150 + C:0CDFH LINE# 151 + C:0CFCH LINE# 152 + C:0D0CH LINE# 153 + C:0D0EH LINE# 154 + C:0D10H LINE# 155 + C:0D27H LINE# 156 + C:0D27H LINE# 157 + C:0D27H LINE# 158 + C:0D27H LINE# 159 + C:0D27H LINE# 160 + C:0D2AH LINE# 161 + C:0D2DH LINE# 162 + C:0D30H LINE# 164 + C:0D37H LINE# 165 + C:0D37H LINE# 166 + C:0D39H LINE# 167 + C:0D3BH LINE# 168 + C:0D3EH LINE# 169 + C:0D41H LINE# 170 + C:0D5EH LINE# 171 + C:0D6EH LINE# 172 ------- ENDPROC TEST ------- ENDMOD DISPLAY @@ -654,14 +658,15 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:00A0H PUBLIC P2 D:00B0H PUBLIC P3 C:0377H PUBLIC MAINMANU_PAGE0 + C:12F9H PUBLIC _placeVOID_BLOCK + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 12 + + C:0397H PUBLIC MAINMANU_PAGE1 C:03B7H PUBLIC MAINMANU_PAGE2 C:03D7H PUBLIC MAINMANU_PAGE3 C:03F7H PUBLIC MAINMANU_PAGE4 D:00A8H PUBLIC IE - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 12 - - C:0417H PUBLIC MAINMANU_PAGE5 C:000EH PUBLIC _drawMAINMENU C:0437H PUBLIC MAINMANU_PAGE6 @@ -671,117 +676,117 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) B:00A0H.1 PUBLIC RW C:0477H PUBLIC IMG_BLOCK D:0098H PUBLIC SCON - C:11ECH PUBLIC _placeIMG_BLOCK + C:11C2H PUBLIC _placeIMG_BLOCK D:0088H PUBLIC TCON C:0357H PUBLIC NUMBER_RPAGE0 C:0367H PUBLIC NUMBER_RPAGE1 C:0277H PUBLIC NAME_PAGE0 C:02A7H PUBLIC NAME_PAGE1 - C:0ECAH PUBLIC drawNAME + C:0E24H PUBLIC drawNAME B:00A0H.4 PUBLIC CSA B:00A0H.5 PUBLIC CSB + C:10D7H PUBLIC _drawVerticalDottedLine D:00C8H PUBLIC T2CON - C:1323H PUBLIC _place_VOID_BLOCK D:00D0H PUBLIC PSW C:02D7H PUBLIC NUMBER_PAGE0 C:0317H PUBLIC NUMBER_PAGE1 - C:08E6H PUBLIC drawNUMBER + C:067EH PUBLIC drawNUMBER ------- PROC DRAWNUMBER ------- DO X:008DH SYMBOL j ------- ENDDO - C:08E6H LINE# 16 - C:08E6H LINE# 17 - C:08E6H LINE# 19 - C:08EDH LINE# 20 - C:08EDH LINE# 22 - C:08EFH LINE# 23 - C:08F1H LINE# 24 - C:08F3H LINE# 25 - C:08F5H LINE# 26 - C:08F8H LINE# 27 - C:08FBH LINE# 28 - C:0904H LINE# 29 - C:0907H LINE# 31 - C:0909H LINE# 32 - C:090BH LINE# 33 - C:091FH LINE# 34 - C:0922H LINE# 36 - C:0924H LINE# 37 - C:0926H LINE# 38 - C:0929H LINE# 39 - C:092CH LINE# 40 - C:0935H LINE# 41 - C:0938H LINE# 43 - C:093AH LINE# 44 - C:093CH LINE# 45 - C:0950H LINE# 46 - C:0953H LINE# 48 - C:0973H LINE# 49 - C:097AH LINE# 50 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 13 + C:067EH LINE# 16 + C:067EH LINE# 17 + C:067EH LINE# 19 + C:0685H LINE# 20 + C:0685H LINE# 22 + C:0687H LINE# 23 + C:0689H LINE# 24 + C:068BH LINE# 25 + C:068DH LINE# 26 + C:0690H LINE# 27 + C:0693H LINE# 28 + C:069CH LINE# 29 + C:069FH LINE# 31 + C:06A1H LINE# 32 + C:06A3H LINE# 33 + C:06B7H LINE# 34 + C:06BAH LINE# 36 + C:06BCH LINE# 37 + C:06BEH LINE# 38 + C:06C1H LINE# 39 + C:06C4H LINE# 40 + C:06CDH LINE# 41 + C:06D0H LINE# 43 + C:06D2H LINE# 44 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 13 - C:097AH LINE# 53 - C:097CH LINE# 54 - C:097EH LINE# 55 - C:0980H LINE# 56 - C:0982H LINE# 57 - C:0985H LINE# 58 - C:0988H LINE# 59 - C:0991H LINE# 60 - C:0994H LINE# 62 - C:0996H LINE# 63 - C:0998H LINE# 64 - C:09ACH LINE# 65 - C:09AFH LINE# 67 - C:09B1H LINE# 68 - C:09B3H LINE# 69 - C:09B6H LINE# 70 - C:09B9H LINE# 71 - C:09C2H LINE# 72 - C:09C5H LINE# 74 - C:09C7H LINE# 75 - C:09C9H LINE# 76 - C:09DDH LINE# 77 - C:09E0H LINE# 80 - C:0A00H LINE# 81 + C:06D4H LINE# 45 + C:06E8H LINE# 46 + C:06EBH LINE# 48 + C:070BH LINE# 49 + C:0712H LINE# 50 + C:0712H LINE# 53 + C:0714H LINE# 54 + C:0716H LINE# 55 + C:0718H LINE# 56 + C:071AH LINE# 57 + C:071DH LINE# 58 + C:0720H LINE# 59 + C:0729H LINE# 60 + C:072CH LINE# 62 + C:072EH LINE# 63 + C:0730H LINE# 64 + C:0744H LINE# 65 + C:0747H LINE# 67 + C:0749H LINE# 68 + C:074BH LINE# 69 + C:074EH LINE# 70 + C:0751H LINE# 71 + C:075AH LINE# 72 + C:075DH LINE# 74 + C:075FH LINE# 75 + C:0761H LINE# 76 + C:0775H LINE# 77 + C:0778H LINE# 80 + C:0798H LINE# 81 ------- ENDPROC DRAWNUMBER ------- PROC DRAWNAME ------- DO X:008DH SYMBOL j ------- ENDDO - C:0ECAH LINE# 83 - C:0ECAH LINE# 84 - C:0ECAH LINE# 87 - C:0ED1H LINE# 88 - C:0ED1H LINE# 89 - C:0ED3H LINE# 90 - C:0ED5H LINE# 91 - C:0ED7H LINE# 92 - C:0ED9H LINE# 93 - C:0EDCH LINE# 94 - C:0EDFH LINE# 95 - C:0EE8H LINE# 96 - C:0EEBH LINE# 98 - C:0EEDH LINE# 99 - C:0EEFH LINE# 100 - C:0F03H LINE# 101 - C:0F06H LINE# 103 - C:0F08H LINE# 104 - C:0F0AH LINE# 105 - C:0F0DH LINE# 106 - C:0F10H LINE# 107 - C:0F19H LINE# 108 - C:0F1CH LINE# 110 - C:0F1EH LINE# 111 - C:0F20H LINE# 112 - C:0F34H LINE# 113 - C:0F37H LINE# 114 - C:0F57H LINE# 115 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 14 + C:0E24H LINE# 83 + C:0E24H LINE# 84 + C:0E24H LINE# 87 + C:0E2BH LINE# 88 + C:0E2BH LINE# 89 + C:0E2DH LINE# 90 + C:0E2FH LINE# 91 + C:0E31H LINE# 92 + C:0E33H LINE# 93 + C:0E36H LINE# 94 + C:0E39H LINE# 95 + C:0E42H LINE# 96 + C:0E45H LINE# 98 + C:0E47H LINE# 99 + C:0E49H LINE# 100 + C:0E5DH LINE# 101 + C:0E60H LINE# 103 + C:0E62H LINE# 104 + C:0E64H LINE# 105 + C:0E67H LINE# 106 + C:0E6AH LINE# 107 + C:0E73H LINE# 108 + C:0E76H LINE# 110 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 14 + C:0E78H LINE# 111 + C:0E7AH LINE# 112 + C:0E8EH LINE# 113 + C:0E91H LINE# 114 + C:0EB1H LINE# 115 ------- ENDPROC DRAWNAME ------- PROC _DRAWMAINMENU X:008DH SYMBOL i @@ -834,14 +839,14 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) C:00D7H LINE# 171 C:00DAH LINE# 172 C:00E3H LINE# 173 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 15 + + C:00E6H LINE# 175 C:00E8H LINE# 176 C:00EAH LINE# 177 C:00F2H LINE# 178 C:0107H LINE# 180 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 15 - - C:011BH LINE# 181 C:011EH LINE# 183 C:0120H LINE# 184 @@ -894,59 +899,93 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) C:0256H LINE# 242 C:0276H LINE# 244 ------- ENDPROC _DRAWMAINMENU + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 16 + + ------- PROC _PLACEIMG_BLOCK X:008FH SYMBOL x X:0090H SYMBOL y ------- DO X:0091H SYMBOL j - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 16 - - ------- ENDDO - C:11ECH LINE# 245 - C:11F4H LINE# 246 - C:11F4H LINE# 248 - C:120BH LINE# 249 - C:120BH LINE# 251 - C:120DH LINE# 252 - C:120FH LINE# 253 - C:1211H LINE# 254 - C:1213H LINE# 255 - C:121EH LINE# 256 - C:1221H LINE# 257 - C:1233H LINE# 258 - C:1236H LINE# 260 - C:1238H LINE# 261 - C:123AH LINE# 262 - C:1251H LINE# 263 - C:1254H LINE# 264 - C:125CH LINE# 265 + C:11C2H LINE# 245 + C:11CAH LINE# 246 + C:11CAH LINE# 248 + C:11E1H LINE# 249 + C:11E1H LINE# 251 + C:11E3H LINE# 252 + C:11E5H LINE# 253 + C:11E7H LINE# 254 + C:11E9H LINE# 255 + C:11F4H LINE# 256 + C:11F7H LINE# 257 + C:1209H LINE# 258 + C:120CH LINE# 260 + C:120EH LINE# 261 + C:1210H LINE# 262 + C:1227H LINE# 263 + C:122AH LINE# 264 + C:1232H LINE# 265 ------- ENDPROC _PLACEIMG_BLOCK - ------- PROC _PLACE_VOID_BLOCK + ------- PROC _PLACEVOID_BLOCK X:008FH SYMBOL x X:0090H SYMBOL y ------- DO X:0091H SYMBOL j ------- ENDDO - C:1323H LINE# 267 - C:132BH LINE# 268 - C:132BH LINE# 270 - C:1342H LINE# 271 - C:1342H LINE# 273 - C:1344H LINE# 274 - C:1346H LINE# 275 - C:1348H LINE# 276 - C:134AH LINE# 277 - C:1355H LINE# 278 - C:1358H LINE# 279 - C:136AH LINE# 280 - C:136DH LINE# 282 - C:136FH LINE# 283 - C:1371H LINE# 284 - C:1374H LINE# 285 - C:1377H LINE# 286 - C:137FH LINE# 287 - ------- ENDPROC _PLACE_VOID_BLOCK + C:12F9H LINE# 267 + C:1301H LINE# 268 + C:1301H LINE# 270 + C:1318H LINE# 271 + C:1318H LINE# 273 + C:131AH LINE# 274 + C:131CH LINE# 275 + C:131EH LINE# 276 + C:1320H LINE# 277 + C:132BH LINE# 278 + C:132EH LINE# 279 + C:1340H LINE# 280 + C:1343H LINE# 282 + C:1345H LINE# 283 + C:1347H LINE# 284 + C:134AH LINE# 285 + C:134DH LINE# 286 + C:1355H LINE# 287 + ------- ENDPROC _PLACEVOID_BLOCK + ------- PROC _DRAWVERTICALDOTTEDLINE + X:008DH SYMBOL x + ------- DO + X:008EH SYMBOL j + ------- ENDDO + C:10D7H LINE# 289 + C:10DCH LINE# 290 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 17 + + + C:10DCH LINE# 292 + C:10F2H LINE# 294 + C:10FDH LINE# 295 + C:10FDH LINE# 297 + C:10FDH LINE# 299 + C:10FDH LINE# 300 + C:1101H LINE# 301 + C:1103H LINE# 302 + C:1105H LINE# 303 + C:1105H LINE# 305 + C:111CH LINE# 306 + C:111CH LINE# 308 + C:111EH LINE# 309 + C:1120H LINE# 310 + C:1125H LINE# 311 + C:1128H LINE# 312 + C:1130H LINE# 313 + C:1133H LINE# 315 + C:1135H LINE# 316 + C:1137H LINE# 317 + C:113AH LINE# 318 + C:113DH LINE# 320 + C:114DH LINE# 321 + ------- ENDPROC _DRAWVERTICALDOTTEDLINE ------- ENDMOD DRAW ------- MODULE BLOCK @@ -956,256 +995,239 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:00A8H PUBLIC IE D:00B8H PUBLIC IP X:0000H PUBLIC base - C:0F58H PUBLIC drawBlock + C:0EB2H PUBLIC drawBlock C:047FH PUBLIC dropPiece - C:0BB4H PUBLIC moveRightPiece - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 17 - - - C:07BEH PUBLIC genPiece - C:14E3H PUBLIC blockInit - C:0AE3H PUBLIC moveLeftPiece + C:0A59H PUBLIC moveRightPiece + C:0799H PUBLIC genPiece + C:0006H PUBLIC blockInit + C:0988H PUBLIC moveLeftPiece D:0098H PUBLIC SCON D:0088H PUBLIC TCON - C:125DH PUBLIC _isIegal + C:1233H PUBLIC _isIegal X:0060H PUBLIC type D:008CH PUBLIC TH0 D:00C8H PUBLIC T2CON D:00D0H PUBLIC PSW - C:14C9H PUBLIC blockDestroy + C:149FH PUBLIC blockDestroy ------- PROC BLOCKINIT - C:14E3H LINE# 10 - C:14E3H LINE# 11 - C:14E3H LINE# 13 - C:14E9H LINE# 14 - C:14EBH LINE# 15 - C:14EDH LINE# 17 + C:0006H LINE# 10 + C:0006H LINE# 11 + C:0006H LINE# 13 ------- ENDPROC BLOCKINIT ------- PROC BLOCKDESTROY - C:14C9H LINE# 19 - C:14C9H LINE# 20 - C:14C9H LINE# 21 + C:149FH LINE# 15 + C:149FH LINE# 16 + C:149FH LINE# 17 ------- ENDPROC BLOCKDESTROY + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 18 + + ------- PROC GENPIECE ------- DO D:0007H SYMBOL i D:0006H SYMBOL j X:008DH SYMBOL random - X:008FH SYMBOL len ------- ENDDO - C:07BEH LINE# 24 - C:07BEH LINE# 25 - C:07BEH LINE# 29 - C:07CBH LINE# 30 - C:07DDH LINE# 34 - C:07F0H LINE# 35 - C:0803H LINE# 36 - C:0840H LINE# 42 - C:084DH LINE# 43 - C:084DH LINE# 44 - C:0860H LINE# 45 - C:0860H LINE# 46 - C:0866H LINE# 47 - C:0867H LINE# 48 - C:0869H LINE# 50 - C:0869H LINE# 51 - C:086FH LINE# 52 - C:0873H LINE# 53 - C:0873H LINE# 54 - C:0873H LINE# 56 - C:0879H LINE# 57 - C:0879H LINE# 58 - C:0884H LINE# 59 - C:0884H LINE# 60 - C:088AH LINE# 61 - C:088EH LINE# 62 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 18 + C:0799H LINE# 20 + C:0799H LINE# 21 + C:0799H LINE# 25 + C:07A9H LINE# 30 + C:07BCH LINE# 31 + C:07CFH LINE# 32 + C:080CH LINE# 36 + C:0817H LINE# 37 + C:0817H LINE# 38 + C:081DH LINE# 39 + C:081DH LINE# 42 + C:0829H LINE# 43 + C:0829H LINE# 44 + C:082EH LINE# 45 + C:082EH LINE# 46 + C:0830H LINE# 47 + C:0836H LINE# 48 + C:0836H LINE# 49 + C:083BH LINE# 50 + C:083BH LINE# 51 + C:083DH LINE# 54 + C:0849H LINE# 55 + C:0849H LINE# 57 + C:084FH LINE# 58 + C:0853H LINE# 59 + C:0855H LINE# 60 + C:0856H LINE# 61 + C:085CH LINE# 62 + C:085CH LINE# 63 + C:0862H LINE# 64 + C:0866H LINE# 65 + C:086AH LINE# 66 + C:086BH LINE# 67 + C:0871H LINE# 68 + C:0871H LINE# 69 + C:0877H LINE# 70 + C:087AH LINE# 71 + C:087AH LINE# 72 + C:087CH LINE# 73 + C:0882H LINE# 74 + C:0882H LINE# 75 + C:0888H LINE# 76 + C:088BH LINE# 77 + C:088BH LINE# 78 + C:088DH LINE# 81 + C:0893H LINE# 82 + C:0893H LINE# 83 + C:0899H LINE# 84 + C:089DH LINE# 85 + C:08A1H LINE# 86 + C:08A5H LINE# 87 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 19 - C:0890H LINE# 63 - C:0892H LINE# 64 - C:0898H LINE# 65 - C:0898H LINE# 66 - C:089EH LINE# 67 - C:08A2H LINE# 68 - C:08A6H LINE# 69 - C:08A8H LINE# 70 - C:08AEH LINE# 71 - C:08AEH LINE# 72 - C:08B1H LINE# 73 - C:08B1H LINE# 74 - C:08B1H LINE# 75 - C:08B3H LINE# 76 - C:08B9H LINE# 77 - C:08B9H LINE# 78 - C:08BFH LINE# 79 - C:08C3H LINE# 80 - C:08C7H LINE# 81 - C:08C7H LINE# 82 - C:08C7H LINE# 84 - C:08D3H LINE# 85 - C:08D3H LINE# 86 - C:08D9H LINE# 87 - C:08DDH LINE# 88 - C:08E1H LINE# 89 - C:08E5H LINE# 90 - C:08E5H LINE# 91 + C:08A5H LINE# 88 ------- ENDPROC GENPIECE ------- PROC _ISIEGAL D:0007H SYMBOL i D:0005H SYMBOL j - C:125DH LINE# 94 - C:125DH LINE# 95 - C:125DH LINE# 96 - C:12BCH LINE# 97 - C:12BFH LINE# 98 - C:12C1H LINE# 99 + C:1233H LINE# 91 + C:1233H LINE# 92 + C:1233H LINE# 93 + C:1292H LINE# 94 + C:1295H LINE# 95 + C:1297H LINE# 96 ------- ENDPROC _ISIEGAL ------- PROC DRAWBLOCK ------- DO X:008DH SYMBOL i X:008EH SYMBOL j ------- ENDDO - C:0F58H LINE# 102 - C:0F58H LINE# 103 - C:0F58H LINE# 105 - C:0F71H LINE# 106 - C:0F89H LINE# 107 - C:0FBFH LINE# 108 - C:0FC9H LINE# 110 - C:0FE5H LINE# 111 + C:0EB2H LINE# 99 + C:0EB2H LINE# 100 + C:0EB2H LINE# 102 + C:0ECBH LINE# 103 + C:0EE3H LINE# 104 + C:0F19H LINE# 105 + C:0F23H LINE# 107 + C:0F3FH LINE# 108 ------- ENDPROC DRAWBLOCK ------- PROC DROPPIECE ------- DO X:008DH SYMBOL i D:0001H SYMBOL j - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 19 - - X:008EH SYMBOL flag ------- ENDDO - C:047FH LINE# 114 - C:047FH LINE# 115 - C:047FH LINE# 116 - C:0484H LINE# 119 - C:049FH LINE# 120 - C:049FH LINE# 121 - C:04B5H LINE# 122 - C:04B5H LINE# 123 - C:04C7H LINE# 124 - C:04C7H LINE# 125 - C:04FFH LINE# 126 - C:04FFH LINE# 128 - C:053AH LINE# 129 - C:053AH LINE# 130 - C:0540H LINE# 131 + C:047FH LINE# 111 + C:047FH LINE# 112 + C:047FH LINE# 113 + C:0484H LINE# 116 + C:049FH LINE# 117 + C:049FH LINE# 118 + C:04B5H LINE# 119 + C:04B5H LINE# 120 + C:04C7H LINE# 121 + C:04C7H LINE# 122 + C:04FFH LINE# 123 + C:04FFH LINE# 125 + C:053AH LINE# 126 + C:053AH LINE# 127 + C:0540H LINE# 128 + C:0542H LINE# 129 + C:0542H LINE# 131 C:0542H LINE# 132 - C:0542H LINE# 134 - C:0542H LINE# 135 - C:0546H LINE# 136 - C:0555H LINE# 137 - C:0555H LINE# 138 - C:055EH LINE# 140 - C:057AH LINE# 141 - C:057AH LINE# 142 - C:0590H LINE# 143 - C:0590H LINE# 144 - C:05CCH LINE# 145 - C:05CCH LINE# 147 - C:05E2H LINE# 148 - C:05E2H LINE# 149 - C:0611H LINE# 150 - C:0630H LINE# 151 - C:0632H LINE# 153 - C:0641H LINE# 154 - C:0670H LINE# 155 - C:0670H LINE# 156 - C:0674H LINE# 157 - C:067DH LINE# 159 + C:0546H LINE# 133 + C:0555H LINE# 134 + C:0555H LINE# 135 + C:055EH LINE# 137 + C:057AH LINE# 138 + C:057AH LINE# 139 + C:0590H LINE# 140 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 20 + + + C:0590H LINE# 141 + C:05CCH LINE# 142 + C:05CCH LINE# 144 + C:05E2H LINE# 145 + C:05E2H LINE# 146 + C:0611H LINE# 147 + C:0630H LINE# 148 + C:0632H LINE# 150 + C:0641H LINE# 151 + C:0670H LINE# 152 + C:0670H LINE# 153 + C:0674H LINE# 154 + C:067DH LINE# 156 ------- ENDPROC DROPPIECE ------- PROC MOVELEFTPIECE ------- DO X:008DH SYMBOL i D:0001H SYMBOL j ------- ENDDO - C:0AE3H LINE# 162 - C:0AE3H LINE# 163 - C:0AE3H LINE# 166 - C:0AFFH LINE# 167 - C:0B15H LINE# 168 - C:0B58H LINE# 169 - C:0B58H LINE# 170 - C:0B87H LINE# 171 - C:0BA6H LINE# 172 - C:0BB3H LINE# 173 + C:0988H LINE# 159 + C:0988H LINE# 160 + C:0988H LINE# 163 + C:09A4H LINE# 164 + C:09BAH LINE# 165 + C:09FDH LINE# 166 + C:09FDH LINE# 167 + C:0A2CH LINE# 168 + C:0A4BH LINE# 169 + C:0A58H LINE# 170 ------- ENDPROC MOVELEFTPIECE - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 20 - - ------- PROC MOVERIGHTPIECE ------- DO X:008DH SYMBOL i D:0001H SYMBOL j ------- ENDDO - C:0BB4H LINE# 174 - C:0BB4H LINE# 176 - C:0BB4H LINE# 178 - C:0BCBH LINE# 179 - C:0BDBH LINE# 180 - C:0C1FH LINE# 181 - C:0C1FH LINE# 182 - C:0C4EH LINE# 183 - C:0C6DH LINE# 184 - C:0C7AH LINE# 185 + C:0A59H LINE# 171 + C:0A59H LINE# 173 + C:0A59H LINE# 175 + C:0A70H LINE# 176 + C:0A80H LINE# 177 + C:0AC4H LINE# 178 + C:0AC4H LINE# 179 + C:0AF3H LINE# 180 + C:0B12H LINE# 181 + C:0B1FH LINE# 182 ------- ENDPROC MOVERIGHTPIECE ------- ENDMOD BLOCK - ------- MODULE ?C?SIDIV - C:067EH PUBLIC ?C?SIDIV - ------- ENDMOD ?C?SIDIV - ------- MODULE ?C?OFFXADD - C:06B4H PUBLIC ?C?OFFXADD + C:0D6FH PUBLIC ?C?OFFXADD ------- ENDMOD ?C?OFFXADD ------- MODULE ?C?PLDPTR - C:06C0H PUBLIC ?C?PLDPTR + C:0D7BH PUBLIC ?C?PLDPTR ------- ENDMOD ?C?PLDPTR ------- MODULE ?C?PLDOPTR - C:06E0H PUBLIC ?C?PLDOPTR + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 21 + + + C:0D9BH PUBLIC ?C?PLDOPTR ------- ENDMOD ?C?PLDOPTR ------- MODULE ?C?ICALL - C:0710H PUBLIC ?C?ICALL - C:0714H PUBLIC ?C?ICALL2 + C:0DCBH PUBLIC ?C?ICALL + C:0DCFH PUBLIC ?C?ICALL2 ------- ENDMOD ?C?ICALL ------- MODULE ?C?MEMSET - C:0716H PUBLIC ?C?MEMSET + C:0DD1H PUBLIC ?C?MEMSET ------- ENDMOD ?C?MEMSET - ------- MODULE ?C?UIDIV - C:0742H PUBLIC ?C?UIDIV - ------- ENDMOD ?C?UIDIV - ------- MODULE ?C?PLDIDATA - C:0797H PUBLIC ?C?PLDIDATA + C:0DFDH PUBLIC ?C?PLDIDATA ------- ENDMOD ?C?PLDIDATA ------- MODULE ?C?PLDXDATA - C:07A0H PUBLIC ?C?PLDXDATA + C:0E06H PUBLIC ?C?PLDXDATA ------- ENDMOD ?C?PLDXDATA ------- MODULE ?C?PLDPDATA - C:07A9H PUBLIC ?C?PLDPDATA - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:24:20 PAGE 21 - - + C:0E0FH PUBLIC ?C?PLDPDATA ------- ENDMOD ?C?PLDPDATA ------- MODULE ?C?PLDCODE - C:07B2H PUBLIC ?C?PLDCODE + C:0E18H PUBLIC ?C?PLDCODE ------- ENDMOD ?C?PLDCODE *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS @@ -1217,5 +1239,5 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?TEST?DISPLAY -Program Size: data=9.0 xdata=157 code=5353 +Program Size: data=9.0 xdata=157 code=5301 LINK/LOCATE RUN COMPLETE. 3 WARNING(S), 0 ERROR(S) diff --git a/MCU/MCU_REAL _FINAL/block.c b/MCU/MCU_REAL _FINAL/block.c index a3483d9..24c6d3c 100644 --- a/MCU/MCU_REAL _FINAL/block.c +++ b/MCU/MCU_REAL _FINAL/block.c @@ -10,10 +10,6 @@ extern enum OPR opr; void blockInit() { - base[0][0] = 1; - base[0][1] = 1; - base[0][2] = 1; - } void blockDestroy() @@ -26,8 +22,8 @@ void genPiece() char i, j; //需要一点随机性 - int random = TH0 % 4; - int len = 2 + TH0 % 3; + int random = TH0 % 9; + //若存在尚未下落完成的方块则打断 @@ -36,52 +32,53 @@ void genPiece() if(base[i][j] == 2) return; - + //当两个方块的情况 + if(random == 0) + { + base[4][8] = 2; + } //当两个方块的情况 - if(len == 2) + if(random == 1 || random == 2) { - if(random % 2 == 0) - { - base[4][8] = 2; // - base[4][8] = 2; // - } - else - { - base[3][8] = 2; //// - base[4][8] = 2; - } + base[4][8] = 2; // + base[5][8] = 2; // } + else if(random == 3) + { + base[3][8] = 2; //// + base[4][8] = 2; + } + //当三个方块的情况 - if(len == 3) + else if(random == 4 || random == 5) { - if(random == 0) - { - base[4][10] = 2; - base[4][8] = 2; - base[4][9] = 2; - } - else if(random == 1) - { - base[3][8] = 2; - base[4][8] = 2; - base[5][8] = 2; - } - else if(random == 2) - { - base[3][9] = 2; - base[3][8] = 2; - base[4][8] = 2; - } - else if (random == 3) - { - base[4][9] = 2; - base[3][8] = 2; - base[4][8] = 2; - } + + base[4][10] = 2; + base[4][8] = 2; + base[4][9] = 2; } - //当四个方块的情况 - if(len == 3) + else if(random == 6) + { + base[3][8] = 2; + base[4][8] = 2; + base[5][8] = 2; + } + else if(random == 7) + { + base[3][9] = 2; + base[3][8] = 2; + base[4][8] = 2; + } + else if (random == 8) + { + base[4][9] = 2; + base[3][8] = 2; + base[4][8] = 2; + } + +//当四个方块的情况 + else if(random == 6) { base[3][9] = 2; base[4][9] = 2; @@ -107,7 +104,7 @@ void drawBlock() if(base[i][j] != 0) placeIMG_BLOCK(i, j); else - place_VOID_BLOCK(i, j); + placeVOID_BLOCK(i, j); } //方块下落与合并 diff --git a/MCU/MCU_REAL _FINAL/draw.c b/MCU/MCU_REAL _FINAL/draw.c index 37258e4..a6fc8ed 100644 --- a/MCU/MCU_REAL _FINAL/draw.c +++ b/MCU/MCU_REAL _FINAL/draw.c @@ -264,7 +264,7 @@ void placeIMG_BLOCK(unsigned char x,unsigned char y) } } -void place_VOID_BLOCK(unsigned char x,unsigned char y) +void placeVOID_BLOCK(unsigned char x,unsigned char y) { char j; for(j = 0 ; j < 8; j++) @@ -284,4 +284,38 @@ void place_VOID_BLOCK(unsigned char x,unsigned char y) P1 = 0x00; write(); } +} + +void drawVerticalDottedLine(char x) +{ + unsigned int j; + if(x<0||x>127) + return; + else if(x<64) + { + + } + else + { + x=x-63; + CSA = 0; + CSB = 1; + } + + for(j = 0 ; j < 8; j++) + { + + RS = 0; + RW = 0; + P1 = 0xb8 + j; + write(); + P1 = 0X40 + x; + write(); //页2列j屏A + + RS = 1; + RW = 0; + P1 = 0x55; + write(); + + } } \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/draw.h b/MCU/MCU_REAL _FINAL/draw.h index 53fb0f7..e88df47 100644 --- a/MCU/MCU_REAL _FINAL/draw.h +++ b/MCU/MCU_REAL _FINAL/draw.h @@ -9,5 +9,8 @@ void drawMAINMENU(unsigned char); ////=================== 方块 ================== void placeIMG_BLOCK(unsigned char x,unsigned char y); -void place_VOID_BLOCK(unsigned char x,unsigned char y); +void placeVOID_BLOCK(unsigned char x,unsigned char y); + +////=================== 几何 ================== +void drawVerticalDottedLine(char x); #endif \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/menu.c b/MCU/MCU_REAL _FINAL/menu.c index 408b105..8691316 100644 --- a/MCU/MCU_REAL _FINAL/menu.c +++ b/MCU/MCU_REAL _FINAL/menu.c @@ -106,6 +106,7 @@ void m_block(struct _menu* this) if(LAST != &M_BLOCK) { LAST = &M_BLOCK; + drawVerticalDottedLine(64); blockInit(); } //重置