diff --git a/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 b/MCU/MCU_REAL _FINAL/Listings/MCU_1.m51 index 8d42f92..8699885 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:48:35 PAGE 1 +BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 1 BL51 BANKED LINKER/LOCATER V6.22.2.0, INVOKED BY: @@ -54,39 +54,41 @@ LINK MAP OF MODULE: .\Objects\MCU_1 (MAIN) 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 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 0277H 0248H UNIT ?CO?DRAW + CODE 04BFH 01FFH UNIT ?PR?DROPPIECE?BLOCK + CODE 06BEH 011BH UNIT ?PR?DRAWNUMBER?DRAW + CODE 07D9H 010DH UNIT ?PR?GENPIECE?BLOCK + CODE 08E6H 010AH UNIT ?PR?JUDGEBLOCK?BLOCK + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 2 - 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 + CODE 09F0H 00E2H UNIT ?PR?_M_MAINMENU?MENU + CODE 0AD2H 00D1H UNIT ?PR?MOVELEFTPIECE?BLOCK + CODE 0BA3H 00C7H UNIT ?PR?MOVERIGHTPIECE?BLOCK + CODE 0C6AH 00C5H UNIT ?PR?CLEAR?DISPLAY + CODE 0D2FH 00C5H UNIT ?PR?MINICLEAR?DISPLAY + CODE 0DF4H 00C5H UNIT ?PR?TEST?DISPLAY + CODE 0EB9H 00B5H UNIT ?C?LIB_CODE + CODE 0F6EH 008EH UNIT ?PR?DRAWNAME?DRAW + CODE 0FFCH 008EH UNIT ?PR?DRAWBLOCKSCORE?DRAW + CODE 108AH 008EH UNIT ?PR?DRAWBLOCK?BLOCK + CODE 1118H 008DH UNIT ?PR?_M_BLOCK?MENU + CODE 11A5H 008CH UNIT ?C_C51STARTUP + CODE 1231H 0084H UNIT ?C_INITSEG + CODE 12B5H 0077H UNIT ?PR?_DRAWVERTICALDOTTEDLINE?DRAW + CODE 132CH 0074H UNIT ?PR?_M_STARTUP?MENU + CODE 13A0H 0071H UNIT ?PR?_PLACEIMG_BLOCK?DRAW + CODE 1411H 0065H UNIT ?PR?_ISIEGAL?BLOCK + CODE 1476H 0061H UNIT ?PR?TIME?MAIN + CODE 14D7H 005DH UNIT ?PR?_PLACEVOID_BLOCK?DRAW + CODE 1534H 005CH UNIT ?PR?INT0?MAIN + CODE 1590H 0053H UNIT ?PR?MAIN?MAIN + CODE 15E3H 0045H UNIT ?PR?MENUINIT?MENU + CODE 1628H 0020H UNIT ?PR?_DELAY?DELAY + CODE 1648H 001CH UNIT ?PR?DISPLAYINIT?DISPLAY + CODE 1664H 0019H UNIT ?PR?WRITE?DISPLAY + CODE 167DH 000FH UNIT ?PR?BLOCKDESTROY?BLOCK + CODE 168CH 000BH UNIT ?PR?DELAY100US?DELAY @@ -117,11 +119,11 @@ SEGMENT XDATA_GROUP +--> ?PR?_DELAY?DELAY ?PR?CLEAR?DISPLAY 008DH 0004H + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 3 + + +--> ?PR?WRITE?DISPLAY - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 3 - - ?PR?MENUINIT?MENU ----- ----- +--> ?PR?_M_STARTUP?MENU +--> ?PR?_M_MAINMENU?MENU @@ -151,6 +153,7 @@ SEGMENT XDATA_GROUP ?PR?_M_BLOCK?MENU 008AH 0003H +--> ?PR?_DRAWVERTICALDOTTEDLINE?DRAW + +--> ?PR?DRAWBLOCKSCORE?DRAW +--> ?PR?BLOCKINIT?BLOCK +--> ?PR?BLOCKDESTROY?BLOCK +--> ?PR?MOVELEFTPIECE?BLOCK @@ -158,11 +161,16 @@ SEGMENT XDATA_GROUP +--> ?PR?DRAWBLOCK?BLOCK +--> ?PR?GENPIECE?BLOCK +--> ?PR?DROPPIECE?BLOCK + +--> ?PR?JUDGEBLOCK?BLOCK +--> ?PR?_DELAY?DELAY ?PR?_DRAWVERTICALDOTTEDLINE?DRAW 008DH 0003H +--> ?PR?WRITE?DISPLAY +?PR?DRAWBLOCKSCORE?DRAW 008DH 0002H + +--> ?PR?WRITE?DISPLAY + +--> ?CO?DRAW + ?PR?MOVELEFTPIECE?BLOCK 008DH 0001H +--> ?PR?_ISIEGAL?BLOCK @@ -171,6 +179,9 @@ SEGMENT XDATA_GROUP ?PR?DRAWBLOCK?BLOCK 008DH 0002H +--> ?PR?_PLACEIMG_BLOCK?DRAW + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 4 + + +--> ?PR?_PLACEVOID_BLOCK?DRAW ?PR?_PLACEIMG_BLOCK?DRAW 008FH 0003H @@ -179,15 +190,14 @@ SEGMENT XDATA_GROUP ?PR?_PLACEVOID_BLOCK?DRAW 008FH 0003H +--> ?PR?WRITE?DISPLAY - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 4 - - ?PR?GENPIECE?BLOCK 008DH 0002H ?PR?DROPPIECE?BLOCK 008DH 0002H +--> ?PR?_ISIEGAL?BLOCK +?PR?JUDGEBLOCK?BLOCK 008DH 0002H + SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) @@ -205,8 +215,8 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:00B8H PUBLIC IP X:009AH PUBLIC TH X:009BH PUBLIC TL - C:13B2H PUBLIC main - C:1298H PUBLIC time + C:1590H PUBLIC main + C:1476H PUBLIC time D:0098H PUBLIC SCON D:0089H PUBLIC TMOD D:0088H PUBLIC TCON @@ -222,224 +232,226 @@ 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:1356H PUBLIC int0 + C:1534H PUBLIC int0 ------- PROC INT0 ------- DO D:0005H SYMBOL LS D:0007H SYMBOL CS D:0006H SYMBOL flag ------- ENDDO - 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 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 5 - C:1382H LINE# 38 - C:138DH LINE# 39 - C:1392H LINE# 40 - C:139BH LINE# 41 - C:139FH LINE# 42 - C:139FH LINE# 44 + C:1534H LINE# 11 + C:1549H LINE# 29 + C:154BH LINE# 30 + C:154FH LINE# 31 + C:1552H LINE# 32 + C:1552H LINE# 33 + C:1557H LINE# 34 + C:1559H LINE# 35 + C:155BH LINE# 36 + C:1560H LINE# 37 + C:1560H LINE# 38 + C:156BH LINE# 39 + C:1570H LINE# 40 + C:1579H LINE# 41 + C:157DH LINE# 42 + C:157DH LINE# 44 ------- ENDPROC INT0 ------- PROC TIME - 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 + C:1476H LINE# 46 + C:1493H LINE# 48 + C:1495H LINE# 49 + C:149BH LINE# 50 + C:14A1H LINE# 51 + C:14A7H LINE# 53 + C:14AAH LINE# 54 + C:14AAH LINE# 55 + C:14B1H LINE# 56 + C:14B4H LINE# 57 + C:14BAH LINE# 58 + C:14BAH LINE# 59 + C:14BCH LINE# 60 ------- ENDPROC TIME ------- PROC MAIN - 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 + C:1590H LINE# 62 + C:1590H LINE# 63 + C:1590H LINE# 64 + C:1596H LINE# 65 + C:159AH LINE# 66 + C:159DH LINE# 67 + C:159FH LINE# 69 + C:15A2H LINE# 71 + C:15A4H LINE# 72 + C:15A6H LINE# 73 + C:15A8H LINE# 76 + C:15AAH LINE# 77 + C:15ACH LINE# 79 + C:15AEH LINE# 81 + C:15B1H LINE# 82 + C:15B4H LINE# 83 + C:15B7H LINE# 85 + C:15B7H LINE# 86 + C:15B7H LINE# 88 + C:15E1H LINE# 90 ------- ENDPROC MAIN ------- ENDMOD MAIN ------- MODULE MENU + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 6 + + C:0000H SYMBOL _ICE_DUMMY_ X:0061H PUBLIC M_MAINMENU X:0067H SYMBOL local X:0071H PUBLIC M_BLOCK - C:08A6H PUBLIC _m_mainmenu + C:09F0H PUBLIC _m_mainmenu X:0077H PUBLIC LAST X:007AH PUBLIC M_BALL - C:1405H PUBLIC menuInit + C:15E3H PUBLIC menuInit X:0080H PUBLIC opr - C:0FCCH PUBLIC _m_block - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 6 - - + C:1118H PUBLIC _m_block X:0081H PUBLIC M_STARTUP - C:114EH PUBLIC _m_startup + C:132CH PUBLIC _m_startup X:0087H PUBLIC NOW ------- PROC _M_STARTUP X:008AH SYMBOL this - 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 + C:132CH LINE# 30 + C:1337H LINE# 31 + C:1337H LINE# 34 + C:135DH LINE# 35 + C:135DH LINE# 36 + C:136BH LINE# 38 + C:136EH LINE# 39 + C:1375H LINE# 40 + C:1378H LINE# 41 + C:1378H LINE# 43 + C:1380H LINE# 44 + C:1380H LINE# 45 + C:1383H LINE# 46 + C:139CH LINE# 47 + C:139FH LINE# 48 + C:139FH LINE# 50 ------- ENDPROC _M_STARTUP ------- PROC _M_MAINMENU X:008AH SYMBOL this - 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:09F0H LINE# 53 + C:09FBH LINE# 54 + C:09FBH LINE# 55 + C:0A21H LINE# 56 + C:0A21H LINE# 57 + C:0A2FH LINE# 58 + C:0A37H LINE# 59 + C:0A37H LINE# 61 + C:0A3FH LINE# 62 + C:0A3FH LINE# 63 + C:0A45H LINE# 64 + C:0A4FH LINE# 65 + C:0A52H LINE# 67 + C:0A58H LINE# 68 + C:0A60H LINE# 69 + C:0A60H LINE# 70 + C:0A66H LINE# 71 + C:0A66H LINE# 72 + C:0A6CH LINE# 73 + C:0A6EH LINE# 75 + C:0A74H LINE# 76 + C:0A7CH LINE# 77 + C:0A7CH LINE# 78 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 7 - 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 + C:0A84H LINE# 79 + C:0A84H LINE# 81 + C:0A95H LINE# 82 + C:0A95H LINE# 83 + C:0A95H LINE# 85 + C:0A95H LINE# 86 + C:0AA3H LINE# 87 + C:0AA5H LINE# 88 + C:0AA5H LINE# 89 + C:0AB3H LINE# 90 + C:0AB5H LINE# 91 + C:0AB5H LINE# 92 + C:0AC3H LINE# 93 + C:0AC3H LINE# 94 + C:0AC3H LINE# 96 + C:0AC8H LINE# 97 + C:0ACBH LINE# 98 + C:0AD1H LINE# 99 + C:0AD1H LINE# 100 ------- ENDPROC _M_MAINMENU ------- PROC _M_BLOCK X:008AH SYMBOL this - 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 + C:1118H LINE# 104 + C:1123H LINE# 105 + C:1123H LINE# 106 + C:1149H LINE# 107 + C:1149H LINE# 108 + C:1157H LINE# 109 + C:115CH LINE# 110 + C:115FH LINE# 111 + C:1162H LINE# 112 + C:1162H LINE# 114 + C:116AH LINE# 115 + C:116AH LINE# 116 + C:116DH LINE# 117 + C:1170H LINE# 118 + C:1172H LINE# 120 + C:1172H LINE# 121 + C:1178H LINE# 122 + C:1178H LINE# 123 + C:117BH LINE# 124 + C:117EH LINE# 125 + C:1180H LINE# 127 + C:1180H LINE# 128 + C:1188H LINE# 129 + C:1188H LINE# 130 + C:118BH LINE# 131 + C:118EH LINE# 132 + C:1191H LINE# 134 + C:1191H LINE# 136 + C:1194H LINE# 137 + C:1197H LINE# 138 + C:119AH LINE# 139 + C:119DH LINE# 140 + C:11A4H LINE# 143 ------- ENDPROC _M_BLOCK ------- PROC MENUINIT - 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 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 8 + + + C:15E3H LINE# 144 + C:15E3H LINE# 145 + C:15E3H LINE# 146 + C:15F1H LINE# 147 + C:15FDH LINE# 149 + C:160BH LINE# 150 + C:1619H LINE# 153 + C:1627H LINE# 157 ------- 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:14AEH PUBLIC delay100us - C:144AH PUBLIC _delay + C:168CH PUBLIC delay100us + C:1628H PUBLIC _delay ------- PROC DELAY100US ------- DO D:0007H SYMBOL i D:0006H SYMBOL j ------- ENDDO - 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 + C:168CH LINE# 3 + C:168CH LINE# 4 + C:168CH LINE# 7 + C:168DH LINE# 8 + C:168EH LINE# 9 + C:1690H LINE# 10 + C:1692H LINE# 12 + C:1692H LINE# 13 + C:1694H LINE# 14 + C:1696H LINE# 15 ------- ENDPROC DELAY100US ------- PROC _DELAY D:0006H SYMBOL n @@ -447,11 +459,11 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:0006H SYMBOL i D:0004H SYMBOL j ------- ENDDO - C:144AH LINE# 24 - C:144AH LINE# 26 - C:144AH LINE# 27 - C:1455H LINE# 28 - C:1469H LINE# 29 + C:1628H LINE# 24 + C:1628H LINE# 26 + C:1628H LINE# 27 + C:1633H LINE# 28 + C:1647H LINE# 29 ------- ENDPROC _DELAY ------- ENDMOD DELAY @@ -460,195 +472,198 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:0090H PUBLIC P1 D:00A0H PUBLIC P2 D:00B0H PUBLIC P3 - C:0B20H PUBLIC clear + C:0C6AH PUBLIC clear D:00A8H PUBLIC IE - C:146AH PUBLIC displayInit + C:1648H PUBLIC displayInit D:00B8H PUBLIC IP B:00A0H.0 PUBLIC RS B:00A0H.1 PUBLIC RW - C:148FH PUBLIC write + C:166DH PUBLIC write + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 9 + + D:0098H PUBLIC SCON D:0088H PUBLIC TCON - C:0BE5H PUBLIC miniclear - C:0CAAH PUBLIC test + C:0D2FH PUBLIC miniclear + C:0DF4H 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:1486H SYMBOL L?0055 + C:1664H SYMBOL L?0055 ------- PROC L?0054 ------- ENDPROC L?0054 - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 9 - - - C:1486H SYMBOL L?0055 + C:1664H SYMBOL L?0055 ------- PROC WRITE - 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 + C:166DH LINE# 17 + C:166DH LINE# 18 + C:166DH LINE# 19 + C:166FH LINE# 20 + C:1671H LINE# 21 + C:1673H LINE# 22 + C:167AH LINE# 23 + C:167CH LINE# 24 ------- ENDPROC WRITE ------- PROC CLEAR ------- DO X:008DH SYMBOL i X:008FH SYMBOL j ------- ENDDO - 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 + C:0C6AH LINE# 28 + C:0C6AH LINE# 29 + C:0C6AH LINE# 31 + C:0C6CH LINE# 32 + C:0C6EH LINE# 33 + C:0C85H LINE# 34 + C:0C85H LINE# 35 + C:0C85H LINE# 36 + C:0C85H LINE# 37 + C:0C85H LINE# 38 + C:0C88H LINE# 39 + C:0C8BH LINE# 40 + C:0C8EH LINE# 42 + C:0C95H LINE# 43 + C:0C95H LINE# 44 + C:0C97H LINE# 45 + C:0C99H LINE# 46 + C:0C9CH LINE# 47 + C:0C9FH LINE# 48 + C:0CBCH LINE# 49 + C:0CCCH LINE# 50 + C:0CCEH LINE# 51 + C:0CD0H LINE# 52 + C:0CE7H LINE# 53 + C:0CE7H LINE# 54 + C:0CE7H LINE# 55 + C:0CE7H LINE# 56 + C:0CE7H LINE# 57 + C:0CEAH LINE# 58 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 10 + + + C:0CEDH LINE# 59 + C:0CF0H LINE# 61 + C:0CF7H LINE# 62 + C:0CF7H LINE# 63 + C:0CF9H LINE# 64 + C:0CFBH LINE# 65 + C:0CFEH LINE# 66 + C:0D01H LINE# 67 + C:0D1EH LINE# 68 + C:0D2EH 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 - 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 + C:0D2FH LINE# 72 + C:0D2FH LINE# 73 + C:0D2FH LINE# 75 + C:0D31H LINE# 76 + C:0D33H LINE# 77 + C:0D4AH LINE# 78 + C:0D4AH LINE# 79 + C:0D4AH LINE# 80 + C:0D4AH LINE# 81 + C:0D4AH LINE# 82 + C:0D4DH LINE# 83 + C:0D50H LINE# 84 + C:0D53H LINE# 86 + C:0D5AH LINE# 87 + C:0D5AH LINE# 88 + C:0D5CH LINE# 89 + C:0D5EH LINE# 90 + C:0D61H LINE# 91 + C:0D64H LINE# 92 + C:0D81H LINE# 93 + C:0D91H LINE# 94 + C:0D93H LINE# 95 + C:0D95H LINE# 96 + C:0DACH LINE# 97 + C:0DACH LINE# 98 + C:0DACH LINE# 99 + C:0DACH LINE# 100 + C:0DACH LINE# 101 + C:0DAFH LINE# 102 + C:0DB2H LINE# 103 + C:0DB5H LINE# 105 + C:0DBCH LINE# 106 + C:0DBCH LINE# 107 + C:0DBEH LINE# 108 + C:0DC0H LINE# 109 + C:0DC3H LINE# 110 + C:0DC6H LINE# 111 + C:0DE3H LINE# 112 + C:0DF3H LINE# 113 ------- ENDPROC MINICLEAR ------- PROC DISPLAYINIT - 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 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 11 - C:1480H LINE# 127 - C:1483H LINE# 128 + C:1648H LINE# 114 + C:1648H LINE# 115 + C:1648H LINE# 116 + C:164AH LINE# 117 + C:164CH LINE# 118 + C:164EH LINE# 119 + C:1650H LINE# 120 + C:1652H LINE# 121 + C:1655H LINE# 122 + C:1658H LINE# 124 + C:165AH LINE# 125 + C:165CH LINE# 126 + C:165EH LINE# 127 + C:1661H LINE# 128 ------- ENDPROC DISPLAYINIT ------- PROC TEST ------- DO X:0096H SYMBOL i X:0098H SYMBOL j ------- ENDDO - 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 + C:0DF4H LINE# 131 + C:0DF4H LINE# 132 + C:0DF4H LINE# 134 + C:0DF6H LINE# 135 + C:0DF8H LINE# 136 + C:0E0FH LINE# 137 + C:0E0FH LINE# 138 + C:0E0FH LINE# 139 + C:0E0FH LINE# 140 + C:0E0FH LINE# 141 + C:0E12H LINE# 142 + C:0E15H LINE# 143 + C:0E18H LINE# 145 + C:0E1FH LINE# 146 + C:0E1FH LINE# 147 + C:0E21H LINE# 148 + C:0E23H LINE# 149 + C:0E26H LINE# 150 + C:0E29H LINE# 151 + C:0E46H LINE# 152 + C:0E56H LINE# 153 + C:0E58H LINE# 154 + C:0E5AH LINE# 155 + C:0E71H LINE# 156 + C:0E71H LINE# 157 + C:0E71H LINE# 158 + C:0E71H LINE# 159 + C:0E71H LINE# 160 + C:0E74H LINE# 161 + C:0E77H LINE# 162 + C:0E7AH LINE# 164 + C:0E81H LINE# 165 + C:0E81H LINE# 166 + C:0E83H LINE# 167 + C:0E85H LINE# 168 + C:0E88H LINE# 169 + C:0E8BH LINE# 170 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 12 + + + C:0EA8H LINE# 171 + C:0EB8H LINE# 172 ------- ENDPROC TEST ------- ENDMOD DISPLAY @@ -658,10 +673,7 @@ 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:14D7H PUBLIC _placeVOID_BLOCK C:0397H PUBLIC MAINMANU_PAGE1 C:03B7H PUBLIC MAINMANU_PAGE2 C:03D7H PUBLIC MAINMANU_PAGE3 @@ -672,121 +684,124 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) C:0437H PUBLIC MAINMANU_PAGE6 C:0457H PUBLIC MAINMANU_PAGE7 D:00B8H PUBLIC IP + C:0FFCH PUBLIC drawBLOCKSCORE B:00A0H.0 PUBLIC RS B:00A0H.1 PUBLIC RW C:0477H PUBLIC IMG_BLOCK D:0098H PUBLIC SCON - C:11C2H PUBLIC _placeIMG_BLOCK + C:13A0H PUBLIC _placeIMG_BLOCK D:0088H PUBLIC TCON + C:047FH PUBLIC FONT_SCORE0 + C:049FH PUBLIC FONT_SCORE1 C:0357H PUBLIC NUMBER_RPAGE0 C:0367H PUBLIC NUMBER_RPAGE1 C:0277H PUBLIC NAME_PAGE0 C:02A7H PUBLIC NAME_PAGE1 - C:0E24H PUBLIC drawNAME + C:0F6EH PUBLIC drawNAME B:00A0H.4 PUBLIC CSA B:00A0H.5 PUBLIC CSB - C:10D7H PUBLIC _drawVerticalDottedLine + C:12B5H PUBLIC _drawVerticalDottedLine D:00C8H PUBLIC T2CON D:00D0H PUBLIC PSW C:02D7H PUBLIC NUMBER_PAGE0 C:0317H PUBLIC NUMBER_PAGE1 - C:067EH PUBLIC drawNUMBER + C:06BEH PUBLIC drawNUMBER ------- PROC DRAWNUMBER ------- DO X:008DH SYMBOL j ------- ENDDO - 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:06BEH LINE# 16 + C:06BEH LINE# 17 + C:06BEH LINE# 19 + C:06C5H LINE# 20 + C:06C5H LINE# 22 + C:06C7H LINE# 23 + C:06C9H LINE# 24 + C:06CBH LINE# 25 + C:06CDH LINE# 26 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 13 - 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 + C:06D0H LINE# 27 + C:06D3H LINE# 28 + C:06DCH LINE# 29 + C:06DFH LINE# 31 + C:06E1H LINE# 32 + C:06E3H LINE# 33 + C:06F7H LINE# 34 + C:06FAH LINE# 36 + C:06FCH LINE# 37 + C:06FEH LINE# 38 + C:0701H LINE# 39 + C:0704H LINE# 40 + C:070DH LINE# 41 + C:0710H LINE# 43 + C:0712H LINE# 44 + C:0714H LINE# 45 + C:0728H LINE# 46 + C:072BH LINE# 48 + C:074BH LINE# 49 + C:0752H LINE# 50 + C:0752H LINE# 53 + C:0754H LINE# 54 + C:0756H LINE# 55 + C:0758H LINE# 56 + C:075AH LINE# 57 + C:075DH LINE# 58 + C:0760H LINE# 59 + C:0769H LINE# 60 + C:076CH LINE# 62 + C:076EH LINE# 63 + C:0770H LINE# 64 + C:0784H LINE# 65 + C:0787H LINE# 67 + C:0789H LINE# 68 + C:078BH LINE# 69 + C:078EH LINE# 70 + C:0791H LINE# 71 + C:079AH LINE# 72 + C:079DH LINE# 74 + C:079FH LINE# 75 + C:07A1H LINE# 76 + C:07B5H LINE# 77 + C:07B8H LINE# 80 + C:07D8H LINE# 81 ------- ENDPROC DRAWNUMBER ------- PROC DRAWNAME ------- DO X:008DH SYMBOL j ------- ENDDO - 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:0F6EH LINE# 83 + C:0F6EH LINE# 84 + C:0F6EH LINE# 87 + C:0F75H LINE# 88 + C:0F75H LINE# 89 + C:0F77H LINE# 90 + C:0F79H LINE# 91 + C:0F7BH LINE# 92 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 14 - C:0E78H LINE# 111 - C:0E7AH LINE# 112 - C:0E8EH LINE# 113 - C:0E91H LINE# 114 - C:0EB1H LINE# 115 + C:0F7DH LINE# 93 + C:0F80H LINE# 94 + C:0F83H LINE# 95 + C:0F8CH LINE# 96 + C:0F8FH LINE# 98 + C:0F91H LINE# 99 + C:0F93H LINE# 100 + C:0FA7H LINE# 101 + C:0FAAH LINE# 103 + C:0FACH LINE# 104 + C:0FAEH LINE# 105 + C:0FB1H LINE# 106 + C:0FB4H LINE# 107 + C:0FBDH LINE# 108 + C:0FC0H LINE# 110 + C:0FC2H LINE# 111 + C:0FC4H LINE# 112 + C:0FD8H LINE# 113 + C:0FDBH LINE# 114 + C:0FFBH LINE# 115 ------- ENDPROC DRAWNAME ------- PROC _DRAWMAINMENU X:008DH SYMBOL i @@ -824,6 +839,9 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) C:0082H LINE# 153 C:0084H LINE# 154 C:0086H LINE# 155 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 15 + + C:0089H LINE# 156 C:008CH LINE# 157 C:0095H LINE# 158 @@ -839,9 +857,6 @@ 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 @@ -884,6 +899,9 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) C:01DCH LINE# 223 C:01F1H LINE# 225 C:0205H LINE# 226 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 16 + + C:0208H LINE# 228 C:020AH LINE# 229 C:020CH LINE# 230 @@ -899,33 +917,30 @@ 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 ------- ENDDO - 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 + C:13A0H LINE# 245 + C:13A8H LINE# 246 + C:13A8H LINE# 248 + C:13BFH LINE# 249 + C:13BFH LINE# 251 + C:13C1H LINE# 252 + C:13C3H LINE# 253 + C:13C5H LINE# 254 + C:13C7H LINE# 255 + C:13D2H LINE# 256 + C:13D5H LINE# 257 + C:13E7H LINE# 258 + C:13EAH LINE# 260 + C:13ECH LINE# 261 + C:13EEH LINE# 262 + C:1405H LINE# 263 + C:1408H LINE# 264 + C:1410H LINE# 265 ------- ENDPROC _PLACEIMG_BLOCK ------- PROC _PLACEVOID_BLOCK X:008FH SYMBOL x @@ -933,180 +948,217 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) ------- DO X:0091H SYMBOL j ------- ENDDO - 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 + C:14D7H LINE# 267 + C:14DFH LINE# 268 + C:14DFH LINE# 270 + C:14F6H LINE# 271 + C:14F6H LINE# 273 + C:14F8H LINE# 274 + C:14FAH LINE# 275 + C:14FCH LINE# 276 + C:14FEH LINE# 277 + C:1509H LINE# 278 + C:150CH LINE# 279 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 17 + + + C:151EH LINE# 280 + C:1521H LINE# 282 + C:1523H LINE# 283 + C:1525H LINE# 284 + C:1528H LINE# 285 + C:152BH LINE# 286 + C:1533H 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 + C:12B5H LINE# 289 + C:12BAH LINE# 290 + C:12BAH LINE# 292 + C:12D0H LINE# 294 + C:12DBH LINE# 295 + C:12DBH LINE# 297 + C:12DBH LINE# 299 + C:12DBH LINE# 300 + C:12DFH LINE# 301 + C:12E1H LINE# 302 + C:12E3H LINE# 303 + C:12E3H LINE# 305 + C:12FAH LINE# 306 + C:12FAH LINE# 308 + C:12FCH LINE# 309 + C:12FEH LINE# 310 + C:1303H LINE# 311 + C:1306H LINE# 312 + C:130EH LINE# 313 + C:1311H LINE# 315 + C:1313H LINE# 316 + C:1315H LINE# 317 + C:1318H LINE# 318 + C:131BH LINE# 320 + C:132BH LINE# 321 ------- ENDPROC _DRAWVERTICALDOTTEDLINE + ------- PROC DRAWBLOCKSCORE + ------- DO + X:008DH SYMBOL j + ------- ENDDO + C:0FFCH LINE# 323 + C:0FFCH LINE# 324 + C:0FFCH LINE# 327 + C:1003H LINE# 328 + C:1003H LINE# 329 + C:1005H LINE# 330 + C:1007H LINE# 331 + C:1009H LINE# 332 + C:100BH LINE# 333 + C:100EH LINE# 334 + C:1011H LINE# 335 + C:101AH LINE# 336 + C:101DH LINE# 338 + C:101FH LINE# 339 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 18 + + + C:1021H LINE# 340 + C:1035H LINE# 341 + C:1038H LINE# 343 + C:103AH LINE# 344 + C:103CH LINE# 345 + C:103FH LINE# 346 + C:1042H LINE# 347 + C:104BH LINE# 348 + C:104EH LINE# 350 + C:1050H LINE# 351 + C:1052H LINE# 352 + C:1066H LINE# 353 + C:1069H LINE# 354 + C:1089H LINE# 355 + ------- ENDPROC DRAWBLOCKSCORE ------- ENDMOD DRAW ------- MODULE BLOCK C:0000H SYMBOL _ICE_DUMMY_ D:0090H PUBLIC P1 + C:08E6H PUBLIC judgeBlock D:00B0H PUBLIC P3 D:00A8H PUBLIC IE D:00B8H PUBLIC IP X:0000H PUBLIC base - C:0EB2H PUBLIC drawBlock - C:047FH PUBLIC dropPiece - C:0A59H PUBLIC moveRightPiece - C:0799H PUBLIC genPiece + C:108AH PUBLIC drawBlock + C:04BFH PUBLIC dropPiece + C:0BA3H PUBLIC moveRightPiece + C:07D9H PUBLIC genPiece C:0006H PUBLIC blockInit - C:0988H PUBLIC moveLeftPiece + C:0AD2H PUBLIC moveLeftPiece D:0098H PUBLIC SCON D:0088H PUBLIC TCON - C:1233H PUBLIC _isIegal + C:1411H PUBLIC _isIegal X:0060H PUBLIC type D:008CH PUBLIC TH0 D:00C8H PUBLIC T2CON D:00D0H PUBLIC PSW - C:149FH PUBLIC blockDestroy + C:167DH PUBLIC blockDestroy ------- PROC BLOCKINIT C:0006H LINE# 10 C:0006H LINE# 11 C:0006H LINE# 13 ------- ENDPROC BLOCKINIT ------- PROC BLOCKDESTROY - C:149FH LINE# 15 - C:149FH LINE# 16 - C:149FH LINE# 17 + C:167DH LINE# 15 + C:167DH LINE# 16 + C:167DH 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 ------- ENDDO - 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:07D9H LINE# 20 + C:07D9H LINE# 21 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 19 - C:08A5H LINE# 88 + C:07D9H LINE# 25 + C:07E9H LINE# 30 + C:07FCH LINE# 31 + C:080FH LINE# 32 + C:084CH LINE# 36 + C:0857H LINE# 37 + C:0857H LINE# 38 + C:085DH LINE# 39 + C:085DH LINE# 42 + C:0869H LINE# 43 + C:0869H LINE# 44 + C:086EH LINE# 45 + C:086EH LINE# 46 + C:0870H LINE# 47 + C:0876H LINE# 48 + C:0876H LINE# 49 + C:087BH LINE# 50 + C:087BH LINE# 51 + C:087DH LINE# 54 + C:0889H LINE# 55 + C:0889H LINE# 57 + C:088FH LINE# 58 + C:0893H LINE# 59 + C:0895H LINE# 60 + C:0896H LINE# 61 + C:089CH LINE# 62 + C:089CH LINE# 63 + C:08A2H LINE# 64 + C:08A6H LINE# 65 + C:08AAH LINE# 66 + C:08ABH LINE# 67 + C:08B1H LINE# 68 + C:08B1H LINE# 69 + C:08B7H LINE# 70 + C:08BAH LINE# 71 + C:08BAH LINE# 72 + C:08BCH LINE# 73 + C:08C2H LINE# 74 + C:08C2H LINE# 75 + C:08C8H LINE# 76 + C:08CBH LINE# 77 + C:08CBH LINE# 78 + C:08CDH LINE# 81 + C:08D3H LINE# 82 + C:08D3H LINE# 83 + C:08D9H LINE# 84 + C:08DDH LINE# 85 + C:08E1H LINE# 86 + C:08E5H LINE# 87 + C:08E5H LINE# 88 ------- ENDPROC GENPIECE ------- PROC _ISIEGAL D:0007H SYMBOL i D:0005H SYMBOL j - C:1233H LINE# 91 - C:1233H LINE# 92 - C:1233H LINE# 93 - C:1292H LINE# 94 - C:1295H LINE# 95 - C:1297H LINE# 96 + C:1411H LINE# 91 + C:1411H LINE# 92 + C:1411H LINE# 93 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 20 + + + C:1470H LINE# 94 + C:1473H LINE# 95 + C:1475H LINE# 96 ------- ENDPROC _ISIEGAL ------- PROC DRAWBLOCK ------- DO X:008DH SYMBOL i X:008EH SYMBOL j ------- ENDDO - 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 + C:108AH LINE# 99 + C:108AH LINE# 100 + C:108AH LINE# 102 + C:10A3H LINE# 103 + C:10BBH LINE# 104 + C:10F1H LINE# 105 + C:10FBH LINE# 107 + C:1117H LINE# 108 ------- ENDPROC DRAWBLOCK ------- PROC DROPPIECE ------- DO @@ -1114,120 +1166,147 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) D:0001H SYMBOL j X:008EH SYMBOL flag ------- ENDDO - 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: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:04BFH LINE# 111 + C:04BFH LINE# 112 + C:04BFH LINE# 113 + C:04C4H LINE# 116 + C:04DFH LINE# 117 + C:04DFH LINE# 118 + C:04F5H LINE# 119 + C:04F5H LINE# 120 + C:0507H LINE# 121 + C:0507H LINE# 122 + C:053FH LINE# 123 + C:053FH LINE# 125 + C:057AH LINE# 126 + C:057AH LINE# 127 + C:0580H LINE# 128 + C:0582H LINE# 129 + C:0582H LINE# 131 + C:0582H LINE# 132 + C:0586H LINE# 133 + C:0595H LINE# 134 + C:0595H LINE# 135 + C:059EH LINE# 137 + C:05BAH LINE# 138 + C:05BAH LINE# 139 + C:05D0H LINE# 140 + C:05D0H LINE# 141 + C:060CH LINE# 142 + C:060CH LINE# 144 + C:0622H LINE# 145 + C:0622H LINE# 146 + C:0651H LINE# 147 + C:0670H LINE# 148 + C:0672H LINE# 150 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 21 - 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 + C:0681H LINE# 151 + C:06B0H LINE# 152 + C:06B0H LINE# 153 + C:06B4H LINE# 154 + C:06BDH LINE# 156 ------- ENDPROC DROPPIECE ------- PROC MOVELEFTPIECE ------- DO X:008DH SYMBOL i D:0001H SYMBOL j ------- ENDDO - 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 + C:0AD2H LINE# 159 + C:0AD2H LINE# 160 + C:0AD2H LINE# 163 + C:0AEEH LINE# 164 + C:0B04H LINE# 165 + C:0B47H LINE# 166 + C:0B47H LINE# 167 + C:0B76H LINE# 168 + C:0B95H LINE# 169 + C:0BA2H LINE# 170 ------- ENDPROC MOVELEFTPIECE ------- PROC MOVERIGHTPIECE ------- DO X:008DH SYMBOL i D:0001H SYMBOL j ------- ENDDO - 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 + C:0BA3H LINE# 171 + C:0BA3H LINE# 173 + C:0BA3H LINE# 175 + C:0BBAH LINE# 176 + C:0BCAH LINE# 177 + C:0C0EH LINE# 178 + C:0C0EH LINE# 179 + C:0C3DH LINE# 180 + C:0C5CH LINE# 181 + C:0C69H LINE# 182 ------- ENDPROC MOVERIGHTPIECE + ------- PROC JUDGEBLOCK + ------- DO + D:0006H SYMBOL i + X:008DH SYMBOL j + X:008EH SYMBOL k + D:0001H SYMBOL h + D:0007H SYMBOL count + ------- ENDDO + C:08E6H LINE# 185 + C:08E6H LINE# 186 + C:08E6H LINE# 189 + C:0902H LINE# 190 + C:0902H LINE# 191 + C:0904H LINE# 192 + C:0916H LINE# 193 + C:0916H LINE# 195 + C:0948H LINE# 196 + C:0948H LINE# 197 + C:0949H LINE# 198 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 22 + + + C:0949H LINE# 199 + C:094CH LINE# 201 + C:095AH LINE# 202 + C:0972H LINE# 203 + C:0988H LINE# 204 + C:09E6H LINE# 206 + C:09EFH LINE# 207 + ------- ENDPROC JUDGEBLOCK ------- ENDMOD BLOCK ------- MODULE ?C?OFFXADD - C:0D6FH PUBLIC ?C?OFFXADD + C:0EB9H PUBLIC ?C?OFFXADD ------- ENDMOD ?C?OFFXADD ------- MODULE ?C?PLDPTR - C:0D7BH PUBLIC ?C?PLDPTR + C:0EC5H PUBLIC ?C?PLDPTR ------- ENDMOD ?C?PLDPTR ------- MODULE ?C?PLDOPTR - BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 14:48:35 PAGE 21 - - - C:0D9BH PUBLIC ?C?PLDOPTR + C:0EE5H PUBLIC ?C?PLDOPTR ------- ENDMOD ?C?PLDOPTR ------- MODULE ?C?ICALL - C:0DCBH PUBLIC ?C?ICALL - C:0DCFH PUBLIC ?C?ICALL2 + C:0F15H PUBLIC ?C?ICALL + C:0F19H PUBLIC ?C?ICALL2 ------- ENDMOD ?C?ICALL ------- MODULE ?C?MEMSET - C:0DD1H PUBLIC ?C?MEMSET + C:0F1BH PUBLIC ?C?MEMSET ------- ENDMOD ?C?MEMSET ------- MODULE ?C?PLDIDATA - C:0DFDH PUBLIC ?C?PLDIDATA + C:0F47H PUBLIC ?C?PLDIDATA ------- ENDMOD ?C?PLDIDATA ------- MODULE ?C?PLDXDATA - C:0E06H PUBLIC ?C?PLDXDATA + C:0F50H PUBLIC ?C?PLDXDATA ------- ENDMOD ?C?PLDXDATA ------- MODULE ?C?PLDPDATA - C:0E0FH PUBLIC ?C?PLDPDATA + C:0F59H PUBLIC ?C?PLDPDATA ------- ENDMOD ?C?PLDPDATA ------- MODULE ?C?PLDCODE - C:0E18H PUBLIC ?C?PLDCODE + C:0F62H PUBLIC ?C?PLDCODE ------- ENDMOD ?C?PLDCODE *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS @@ -1239,5 +1318,8 @@ 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=5301 +Program Size: data=9.0 xdata=157 code=5779 + BL51 BANKED LINKER/LOCATER V6.22.2.0 06/06/2022 15:39:02 PAGE 23 + + 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 24c6d3c..f3fd145 100644 --- a/MCU/MCU_REAL _FINAL/block.c +++ b/MCU/MCU_REAL _FINAL/block.c @@ -179,4 +179,29 @@ void moveRightPiece() base[i + 1][j] = 2; base[i][j] = 0; } +} + +//判断是否需要清除一行 +void judgeBlock() +{ + char i, j, k, h, count; + //逐行扫描 + for(j = 0; j < MAX_Y; j++) + { + count = 0; + for(i = 0; i < MAX_X; i++) + { + //有则计数 + if(base[i][j] == 1) + { + count++; + } + } + //计数足则整体下移 + if(count == 8) + for(k = 0; k < MAX_X; k++) + for(h = j ; h < MAX_Y-1; h++) + base[k][h] = base[k][h + 1]; + + } } \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/block.h b/MCU/MCU_REAL _FINAL/block.h index 5a0e707..52d9ae3 100644 --- a/MCU/MCU_REAL _FINAL/block.h +++ b/MCU/MCU_REAL _FINAL/block.h @@ -33,4 +33,5 @@ void dropPiece(); void drawBlock(); void moveLeftPiece(); void moveRightPiece(); +void judgeBlock(); #endif \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/draw.c b/MCU/MCU_REAL _FINAL/draw.c index a6fc8ed..7f4a63c 100644 --- a/MCU/MCU_REAL _FINAL/draw.c +++ b/MCU/MCU_REAL _FINAL/draw.c @@ -318,4 +318,38 @@ void drawVerticalDottedLine(char x) write(); } +} + +void drawBLOCKSCORE() +{ + unsigned int j; + + for(j = 0; j < 32; j++) + { + CSA = 0; + CSB = 1; + RS = 0; + RW = 0; + P1 = 0xb8 + 0; + write(); + P1 = 0X40 +5+ j; + write(); //页0列5+j屏B + + RS = 1; + RW = 0; + P1 = FONT_SCORE0[j]; + write(); + + RS = 0; + RW = 0; + P1 = 0xb8 + 1; + write(); + P1 = 0X40 + 5+ j; + write(); //页1列5+j屏B + + RS = 1; + RW = 0; + P1 = FONT_SCORE1[j]; + write(); + } } \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/draw.h b/MCU/MCU_REAL _FINAL/draw.h index e88df47..9a1e76e 100644 --- a/MCU/MCU_REAL _FINAL/draw.h +++ b/MCU/MCU_REAL _FINAL/draw.h @@ -10,7 +10,7 @@ void drawMAINMENU(unsigned char); void placeIMG_BLOCK(unsigned char x,unsigned char y); void placeVOID_BLOCK(unsigned char x,unsigned char y); - +void drawBLOCKSCORE(); ////=================== 几何 ================== void drawVerticalDottedLine(char x); #endif \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/img.h b/MCU/MCU_REAL _FINAL/img.h index c6f8663..8ae060c 100644 --- a/MCU/MCU_REAL _FINAL/img.h +++ b/MCU/MCU_REAL _FINAL/img.h @@ -95,4 +95,36 @@ code unsigned char IMG_BLOCK[]={ }; +code unsigned char FONT_SCORE0[]={ +0x00,0x10,0x88,0xC4,0x33,0x00,0xBE,0xAA,0xAA,0xAA,0xAA,0xAA,0xBE,0x80,0x00,0x00, +0x80,0x40,0x20,0x90,0x88,0x86,0x80,0x80,0x80,0x83,0x8C,0x10,0x20,0x40,0x80,0x00, +}; +code unsigned char FONT_SCORE1[]={ +0x02,0x01,0x00,0xFF,0x00,0x02,0x0A,0x12,0x02,0x42,0x82,0x7F,0x02,0x02,0x02,0x00, +0x00,0x80,0x40,0x20,0x18,0x07,0x00,0x40,0x80,0x40,0x3F,0x00,0x00,0x00,0x00,0x00, +}; +code unsigned char SUPER_NUM0[]={ +0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00, +0x00,0x00,0x10,0x10,0xF8,0x00,0x00,0x00, +0x00,0x70,0x08,0x08,0x08,0x08,0xF0,0x00, +0x00,0x30,0x08,0x08,0x08,0x88,0x70,0x00, +0x00,0x00,0x80,0x40,0x30,0xF8,0x00,0x00, +0x00,0xF8,0x88,0x88,0x88,0x08,0x08,0x00, +0x00,0xE0,0x10,0x88,0x88,0x90,0x00,0x00, +0x00,0x18,0x08,0x08,0x88,0x68,0x18,0x00, +0x00,0x70,0x88,0x08,0x08,0x88,0x70,0x00, +0x00,0xF0,0x08,0x08,0x08,0x10,0xE0,0x00, +}; +code unsigned char SUPER_NUM1[]={ +0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00, +0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00, +0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00, +0x00,0x18,0x20,0x21,0x21,0x22,0x1C,0x00, +0x00,0x06,0x05,0x24,0x24,0x3F,0x24,0x24, +0x00,0x19,0x20,0x20,0x20,0x11,0x0E,0x00, +0x00,0x0F,0x11,0x20,0x20,0x20,0x1F,0x00, +0x00,0x00,0x00,0x3E,0x01,0x00,0x00,0x00, +0x00,0x1C,0x22,0x21,0x21,0x22,0x1C,0x00, +0x00,0x01,0x12,0x22,0x22,0x11,0x0F,0x00, +}; #endif \ No newline at end of file diff --git a/MCU/MCU_REAL _FINAL/menu.c b/MCU/MCU_REAL _FINAL/menu.c index 8691316..f5f9d51 100644 --- a/MCU/MCU_REAL _FINAL/menu.c +++ b/MCU/MCU_REAL _FINAL/menu.c @@ -107,6 +107,7 @@ void m_block(struct _menu* this) { LAST = &M_BLOCK; drawVerticalDottedLine(64); + drawBLOCKSCORE(); blockInit(); } //重置 @@ -132,9 +133,10 @@ void m_block(struct _menu* this) return; } - genPiece(); - dropPiece(); - drawBlock(); + genPiece(); //若有需要,生成新块 + dropPiece(); //若有需要,块下落 + judgeBlock(); //若有需要,清除一行 + drawBlock(); //绘制界面 delay(200);