#DEFINE NOAPPHEADER #INCLUDE "DWEDIT.INC" ypos .equ AppBackUpScreen xpos .equ ypos+1 clip_mask .equ xpos+1 yspr1 .equ clip_mask+1 xspr1 .equ yspr1+1 yspr2 .equ xspr1+1 xspr2 .equ yspr2+1 yspr3 .equ xspr2+1 xspr3 .equ yspr3+1 yspr4 .equ xspr3+1 xspr4 .equ yspr4+1 yspr5 .equ xspr4+1 xspr5 .equ yspr5+1 yspr6 .equ xspr5+1 xspr6 .equ yspr6+1 yspr7 .equ xspr6+1 xspr7 .equ yspr7+1 yspr8 .equ xspr7+1 xspr8 .equ yspr8+1 yspr9 .equ xspr8+1 xspr9 .equ yspr9+1 yspr10 .equ xspr9+1 xspr10 .equ yspr10+1 yspr11 .equ xspr10+1 xspr11 .equ yspr11+1 yspr12 .equ xspr11+1 xspr12 .equ yspr12+1 yspr13 .equ xspr12+1 xspr13 .equ yspr13+1 yspr14 .equ xspr13+1 xspr14 .equ yspr14+1 yspr15 .equ xspr14+1 xspr15 .equ yspr15+1 yspr16 .equ xspr15+1 xspr16 .equ yspr16+1 yspr17 .equ xspr16+1 xspr17 .equ yspr17+1 yspr18 .equ xspr17+1 xspr18 .equ yspr18+1 yspr19 .equ xspr18+1 xspr19 .equ yspr19+1 yspr20 .equ xspr19+1 xspr20 .equ yspr20+1 yspr21 .equ xspr20+1 xspr21 .equ yspr21+1 yspr22 .equ xspr21+1 xspr22 .equ yspr22+1 yspr23 .equ xspr22+1 xspr23 .equ yspr23+1 yspr24 .equ xspr23+1 xspr24 .equ yspr24+1 ButtonPressed .equ xspr24+1 rockmeterpoints .equ ButtonPressed+1 Score .equ rockmeterpoints+1 Score2 .equ Score+1 points1 .equ score2+1 points2 .equ points1+1 points3 .equ points2+1 points4 .equ points3+1 slowfactor .equ points4+1 tablenumberpages .equ slowfactor+1 FailCheck .equ tablenumberpages+1 NoteNumber .equ FailCheck+1 keyStates .equ NoteNumber+1 CheckYequ .equ Keystates+1 CheckWindow .equ CheckYequ+1 CheckZoom .equ CheckWindow+1 CheckTrace .equ CheckZoom+1 CheckGraph .equ CheckTrace+1 save_sp .equ CheckGraph+1 #define NRow_1 CALL NewRow1 #define NRow_2 CALL NewRow2 #define NRow_3 CALL NewRow3 #define NRow_4 CALL NewRow4 #define NRow_5 CALL NewRow5 #define Dur_3 LD B, 3 #defcont \ CALL hidemoveshowncount #define Dur_4 LD B, 4 #defcont \ CALL hidemoveshowncount #define Dur_5 LD B, 5 #defcont \ CALL hidemoveshowncount #define Dur_6 LD B, 6 #defcont \ CALL hidemoveshowncount #define Dur_7 LD B, 7 #defcont \ CALL hidemoveshowncount #define Dur_8 LD B, 8 #defcont \ CALL hidemoveshowncount #define Dur_9 LD B, 9 #defcont \ CALL hidemoveshowncount #define Dur_10 LD B, 10 #defcont \ CALL hidemoveshowncount #define Dur_12 LD B, 12 #defcont \ CALL hidemoveshowncount #define Dur_13 LD B, 13 #defcont \ CALL hidemoveshowncount #define Dur_14 LD B, 14 #defcont \ CALL hidemoveshowncount #define Dur_15 LD B, 15 #defcont \ CALL hidemoveshowncount #define Dur_16 LD B, 16 #defcont \ CALL hidemoveshowncount #define Dur_17 LD B, 17 #defcont \ CALL hidemoveshowncount #define Dur_18 LD B, 18 #defcont \ CALL hidemoveshowncount #define Dur_20 LD B, 20 #defcont \ CALL hidemoveshowncount #define Dur_21 LD B, 21 #defcont \ CALL hidemoveshowncount #define Dur_23 LD B, 23 #defcont \ CALL hidemoveshowncount #define Dur_24 LD B, 24 #defcont \ CALL hidemoveshowncount #define Dur_25 LD B, 25 #defcont \ CALL hidemoveshowncount #define Dur_27 LD B, 27 #defcont \ CALL hidemoveshowncount #define Dur_30 LD B, 30 #defcont \ CALL hidemoveshowncount #define Dur_32 LD B, 32 #defcont \ CALL hidemoveshowncount #define Dur_33 LD B, 33 #defcont \ CALL hidemoveshowncount #define Dur_36 LD B, 36 #defcont \ CALL hidemoveshowncount #define Dur_37 LD B, 37 #defcont \ CALL hidemoveshowncount #define Dur_40 LD B, 40 #defcont \ CALL hidemoveshowncount #define Dur_45 LD B, 45 #defcont \ CALL hidemoveshowncount #define Dur_46 LD B, 46 #defcont \ CALL hidemoveshowncount #define Dur_47 LD B, 47 #defcont \ CALL hidemoveshowncount #define Dur_48 LD B, 48 #defcont \ CALL hidemoveshowncount #define Dur_49 LD B, 49 #defcont \ CALL hidemoveshowncount #define Dur_50 LD B, 50 #defcont \ CALL hidemoveshowncount #define Dur_54 LD B, 54 #defcont \ CALL hidemoveshowncount #define Dur_60 LD B, 60 #defcont \ CALL hidemoveshowncount #define Dur_63 LD B, 63 #defcont \ CALL hidemoveshowncount #define Dur_68 LD B, 68 #defcont \ CALL hidemoveshowncount #define Dur_72 LD B, 72 #defcont \ CALL hidemoveshowncount #define Dur_77 LD B, 77 #defcont \ CALL hidemoveshowncount #define Dur_78 LD B, 78 #defcont \ CALL hidemoveshowncount #define Dur_80 LD B, 80 #defcont \ CALL hidemoveshowncount #define Dur_81 LD B, 81 #defcont \ CALL hidemoveshowncount #define Dur_84 LD B, 84 #defcont \ CALL hidemoveshowncount #define Dur_90 LD B, 90 #defcont \ CALL hidemoveshowncount #define Dur_96 LD B, 96 #defcont \ CALL hidemoveshowncount #define Dur_99 LD B, 99 #defcont \ CALL hidemoveshowncount #define Dur_100 LD B, 100 #defcont \ CALL hidemoveshowncount #define Dur_108 LD B, 108 #defcont \ CALL hidemoveshowncount #define Dur_117 LD B, 117 #defcont \ CALL hidemoveshowncount #define Dur_122 LD B, 122 #defcont \ CALL hidemoveshowncount #define Dur_126 LD B, 126 #defcont \ CALL hidemoveshowncount #define Dur_140 LD B, 140 #defcont \ CALL hidemoveshowncount #define Dur_144 LD B, 144 #defcont \ CALL hidemoveshowncount #define Dur_150 LD B, 150 #defcont \ CALL hidemoveshowncount #define Dur_153 LD B, 153 #defcont \ CALL hidemoveshowncount #define Dur_160 LD B, 160 #defcont \ CALL hidemoveshowncount ld (save_sp), sp LD A, (tablenumberpages) CP 12 JP Z, gameTTFAF2 GameTTFAF2: NRow_3 Dur_5 NRow_5 Dur_4 NRow_4 Dur_4 NRow_3 Dur_4 NRow_1 Dur_4 NRow_3 Dur_4 NRow_1 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_5 Dur_3 NRow_4 Dur_3 NRow_3 Dur_8 NRow_4 Dur_3 NRow_3 Dur_3 NRow_2 Dur_3 NRow_4 Dur_3 NRow_3 Dur_3 NRow_2 Dur_3 NRow_4 Dur_8 NRow_3 Dur_4 NRow_4 Dur_6 NRow_3 Dur_10 NRow_5 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_2 Dur_5 NRow_3 Dur_5 NRow_3 Dur_3 NRow_4 Dur_7 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_3 NRow_4 Dur_4 NRow_3 Dur_3 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_30 NRow_5 Dur_20 NRow_2 Dur_20 NRow_2 Dur_10 NRow_3 Dur_10 NRow_4 Dur_20 NRow_4 Dur_3 NRow_5 Dur_17 NRow_4 Dur_20 NRow_3 Dur_10 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_3 Dur_10 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_10 NRow_1 Dur_10 NRow_3 Dur_10 NRow_5 Dur_50 NRow_4 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_4 Dur_20 NRow_3 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_4 Dur_10 NRow_4 Dur_3 NRow_5 Dur_17 NRow_4 Dur_20 NRow_3 Dur_10 NRow_5 Dur_20 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_3 Dur_10 NRow_1 Dur_10 NRow_4 Dur_10 NRow_1 Dur_10 NRow_5 Dur_10 NRow_1 Dur_10 NRow_4 Dur_10 NRow_1 Dur_10 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_4 Dur_4 NRow_5 Dur_4 NRow_3 Dur_4 NRow_3 Dur_10 NRow_4 Dur_10 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_6 NRow_2 Dur_7 NRow_3 Dur_7 NRow_4 Dur_20 NRow_4 Dur_10 NRow_3 Dur_10 NRow_4 Dur_10 NRow_4 Dur_3 NRow_5 Dur_17 NRow_2 Dur_10 NRow_2 Dur_10 NRow_1 Dur_10 NRow_5 Dur_10 NRow_4 Dur_3 NRow_5 Dur_17 NRow_3 Dur_10 NRow_2 Dur_10 NRow_1 Dur_10 NRow_3 Dur_5 NRow_2 Dur_4 NRow_3 Dur_3 NRow_2 Dur_4 NRow_3 Dur_4 NRow_1 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_5 Dur_4 NRow_4 Dur_4 NRow_3 Dur_4 NRow_5 Dur_4 NRow_4 Dur_4 NRow_3 Dur_4 NRow_5 Dur_4 NRow_4 Dur_4 NRow_2 Dur_4 NRow_5 Dur_4 NRow_4 Dur_4 NRow_2 Dur_4 NRow_5 Dur_4 NRow_4 Dur_4 NRow_1 Dur_4 NRow_5 Dur_4 NRow_4 Dur_4 NRow_1 Dur_4 NRow_4 Dur_4 NRow_1 Dur_4 NRow_5 Dur_160 NRow_3 Dur_160 NRow_4 Dur_160 NRow_5 Dur_160 NRow_5 Dur_160 NRow_3 Dur_160 NRow_4 Dur_160 NRow_5 Dur_10 NRow_2 Dur_10 NRow_5 Dur_10 NRow_2 Dur_10 NRow_5 Dur_10 NRow_2 Dur_10 NRow_5 Dur_5 NRow_5 Dur_5 NRow_2 Dur_10 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_25 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_25 NRow_3 Dur_160 NRow_5 Dur_160 NRow_4 Dur_10 CALL TTFAFcall29 NRow_2 Dur_10 CALL TTFAFcall29 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_3 Dur_5 NRow_2 Dur_4 NRow_1 Dur_4 NRow_4 Dur_4 NRow_2 Dur_4 NRow_1 Dur_4 NRow_4 Dur_4 NRow_2 Dur_4 NRow_1 Dur_4 NRow_5 Dur_4 NRow_2 Dur_4 NRow_1 Dur_4 NRow_5 Dur_4 NRow_2 Dur_4 NRow_1 Dur_4 NRow_2 Dur_4 NRow_5 Dur_60 NRow_5 Dur_10 NRow_4 Dur_10 NRow_5 Dur_30 NRow_4 Dur_30 NRow_3 Dur_20 NRow_5 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_5 Dur_10 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_1 Dur_20 NRow_2 Dur_20 NRow_3 Dur_30 NRow_3 Dur_30 NRow_2 Dur_20 NRow_3 Dur_80 CALL TTFAFcall3 CALL TTFAFcall3 CALL TTFAFcall4 CALL TTFAFcall4 CALL TTFAFcall5 CALL TTFAFcall5 NRow_3 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_3 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 CALL TTFAFcall3 CALL TTFAFcall3 CALL TTFAFcall4 CALL TTFAFcall4 CALL TTFAFcall5 CALL TTFAFcall5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_5 NRow_4 Dur_5 NRow_5 Dur_10 NRow_4 Dur_10 NRow_5 Dur_10 NRow_5 Dur_10 NRow_4 Dur_10 NRow_5 Dur_10 NRow_5 Dur_10 NRow_4 Dur_10 NRow_5 Dur_10 NRow_5 Dur_10 NRow_4 Dur_10 NRow_4 Dur_10 NRow_5 Dur_10 NRow_5 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_3 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_3 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_3 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_3 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_1 Dur_10 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_3 NRow_3 Dur_7 NRow_4 Dur_3 NRow_5 Dur_17 NRow_4 Dur_3 NRow_5 Dur_17 NRow_2 Dur_3 NRow_3 Dur_17 NRow_2 Dur_3 NRow_3 Dur_17 NRow_2 Dur_3 NRow_3 Dur_7 NRow_2 Dur_3 NRow_3 Dur_7 NRow_4 Dur_3 NRow_5 Dur_7 NRow_4 Dur_3 NRow_5 Dur_17 CALL TTFAFcall30 CALL TTFAFcall30 CALL TTFAFcall30 CALL TTFAFcall30 NRow_5 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_4 Dur_10 NRow_3 Dur_10 NRow_2 Dur_10 NRow_1 Dur_10 NRow_4 Dur_3 NRow_5 Dur_37 NRow_5 Dur_5 NRow_4 Dur_5 NRow_3 Dur_5 NRow_2 Dur_5 NRow_1 Dur_5 NRow_2 Dur_5 NRow_3 Dur_5 NRow_4 Dur_5 NRow_4 Dur_7 NRow_3 Dur_6 NRow_2 Dur_7 NRow_1 Dur_7 NRow_2 Dur_6 NRow_3 Dur_7 NRow_1 Dur_15 NRow_3 Dur_10 NRow_4 Dur_15 NRow_4 Dur_3 NRow_5 Dur_160 ret TTFAFcall30: NRow_5 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 NRow_5 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 NRow_5 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 NRow_5 Dur_5 NRow_2 Dur_5 NRow_4 Dur_5 NRow_2 Dur_5 ret TTFAFcall29: NRow_2 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 NRow_2 Dur_10 ret TTFAFcall5: NRow_4 Dur_10 NRow_4 Dur_10 NRow_1 Dur_10 NRow_4 Dur_10 NRow_4 Dur_10 NRow_1 Dur_10 NRow_4 Dur_10 NRow_1 Dur_10 ret TTFAFcall4: NRow_5 Dur_10 NRow_5 Dur_10 NRow_1 Dur_10 NRow_5 Dur_10 NRow_5 Dur_10 NRow_1 Dur_10 NRow_5 Dur_10 NRow_1 Dur_10 ret TTFAFcall3: NRow_3 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_3 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 NRow_3 Dur_10 NRow_1 Dur_10 ret QuitSong: ; References LD A, 1 LD (FailCheck), A ; TEMP ld sp, (save_sp) ret NewRow1: LD C, 16 CALL NewNote ret NewRow2: LD C, 30 CALL NewNote ret NewRow3: LD C, 44 CALL NewNote ret NewRow4: LD C, 58 CALL NewNote ret NewRow5: LD C, 72 CALL NewNote ret CheckYsprites: ld hl, ySpr1 ld b, 18 sprCheckLp: ld a, (hl) cp 49 jr c, outOfRange cp 57 jr nc, outOfRange inc hl ld a, (buttonPressed) add a, (hl) jp nz, wrongButtonPres dec hl ld (hl), 64 jr rockMeterPlus outOfRange: inc hl inc hl djnz sprCheckLp JP WrongButtonPres RockmeterPlus: ; Right Button Pressed LD HL, (score) INC HL LD (Score), HL LD A, (rockmeterpoints) CP 1 JR Z, incpoints1 DEC A LD (rockmeterpoints), A incpoints1: LD a, (points1) CP 9 JR z, incpoints2 inc a LD (points1), a ret incpoints2: LD A, 0 LD (points1), A LD a, (points2) CP 9 JR z, incpoints3 inc a LD (points2), a ret incpoints3: LD A, 0 LD (points2), A LD a, (points3) CP 9 JR z, incpoints4 inc a LD (points3), a ret incpoints4: LD A, 0 LD (points3), A LD a, (points4) inc a LD (points4), a ret WrongButtonPres: ; Wrong Button Pressed LD A, (rockmeterpoints) CP 64 ret Z ; TEMP, JP "you lost" CP 65 ret Z ; TEMP, JP "you lost" CP 66 ret Z ; TEMP, JP "you lost" INC A INC A INC A LD (rockmeterpoints), A ret TooLatePres: LD A, (rockmeterpoints) CP 64 JP Z, AfterLateCheck ; TEMP, JP "you lost" CP 65 JP Z, AfterLateCheck ; TEMP, JP "you lost" CP 66 JP Z, AfterLateCheck ; TEMP, JP "you lost" INC A INC A LD (rockmeterpoints), A JP AfterLateCheck NewNote: LD hl, xpos LD A, (NoteNumber) LD B, A NewNoteLoop: INC HL INC HL djnz NewNoteLoop LD A, -9 LD (hl), A INC HL LD (hl), C LD A, (NoteNumber) CP 16 JR Z, ResetNoteNumber INC A LD (NoteNumber), A ret ResetNoteNumber: LD A, 1 LD (NoteNumber), A ret GameScreen: LD HL, gamescrnempty LD DE, PlotSScreen+(0*12) LD BC, 64*12 LDIR b_call _GrBufCpy LD A, 30 LD (rockmeterpoints), A LD A, 0 LD (score), A LD (score2), A LD (points1), A LD (points2), A LD (points3), A LD (points4), A LD A, 1 LD (NoteNumber), A LD A, 64 LD (yspr2), A LD (yspr3), A LD (yspr4), A LD (yspr5), A LD (yspr6), A LD (yspr7), A LD (yspr8), A LD (yspr9), A LD (yspr10), A LD (yspr11), A LD (yspr12), A LD (yspr13), A LD (yspr14), A LD (yspr15), A LD (yspr16), A LD (yspr17), A LD (yspr18), A LD (FailCheck), A ret spxc: LD A, 87 LD (xpos), A LD B, 8 ret hidemoveshowncount: ; Label HideMoveShownCount PUSH BC LD HL, gamescrnempty LD DE, PlotSScreen+(0*12) LD BC, 64*12 LDIR ld hl, ySpr1 ld b, 18 DownSprLoop: PUSH BC ld a, (hl) cp 64 jP Z, IsDown INC A LD (ypos), A LD (hl), A INC HL LD A, (hl) LD (xpos), A LD B, 8 LD DE, (ypos) LD IX, notesprite PUSH HL CALL ClipSprOR POP HL INC HL POP BC djnz DownSprLoop JR alldown IsDown: inc hl inc hl POP BC djnz DownSprLoop alldown: b_call _GetCSC CP skDel JP Z, Quitsong in a,($04) bit 3,a jp z,QuitSong ld a, $BF out (01), a ld a, (keyStates) ld b, a ld c, 0 in a, (01) rrca call nc, graphPressed rrca call nc, tracePressed rrca call nc, zoomPressed rrca call nc, windowPressed rrca call nc, yEquPressed ld a, c ld (keyStates), a ld hl, ySpr1 ld b, 18 LateCheckLoop: ld a, (hl) cp 58 jP Z, TooLatePres inc hl inc hl djnz LateCheckLoop AfterLateCheck: LD A, 1 LD (xpos), A LD A, (rockmeterpoints) LD (ypos), A LD B, 62 LD DE, (ypos) LD IX, rockmeter CALL ClipSprOR CALL spxc LD A, 28 LD (ypos), A LD DE, (ypos) LD A, (points1) CP 1 JR z, showpoints1_1 CP 2 JR z, showpoints1_2 CP 3 JR z, showpoints1_3 CP 4 JR z, showpoints1_4 CP 5 JR z, showpoints1_5 CP 6 JR z, showpoints1_6 CP 7 JR z, showpoints1_7 CP 8 JR z, showpoints1_8 CP 9 JR z, showpoints1_9 LD IX, spr0 JR qpoints2 showpoints1_1 LD IX, tier1spr JR qpoints2 showpoints1_2 LD IX, tier2spr JR qpoints2 showpoints1_3 LD IX, tier3spr JR qpoints2 showpoints1_4 LD IX, tier4spr JR qpoints2 showpoints1_5 LD IX, tier5spr JR qpoints2 showpoints1_6 LD IX, tier6spr JR qpoints2 showpoints1_7 LD IX, tier7spr JR qpoints2 showpoints1_8 LD IX, tier8spr JR qpoints2 showpoints1_9 LD IX, tier9spr qpoints2: CALL ClipSprOR CALL spxc LD A, 19 LD (ypos), A LD DE, (ypos) LD A, (points2) CP 1 JR z, showpoints2_1 CP 2 JR z, showpoints2_2 CP 3 JR z, showpoints2_3 CP 4 JR z, showpoints2_4 CP 5 JR z, showpoints2_5 CP 6 JR z, showpoints2_6 CP 7 JR z, showpoints2_7 CP 8 JR z, showpoints2_8 CP 9 JR z, showpoints2_9 LD IX, spr0 JR qpoints3 showpoints2_1 LD IX, tier1spr JR qpoints3 showpoints2_2 LD IX, tier2spr JR qpoints3 showpoints2_3 LD IX, tier3spr JR qpoints3 showpoints2_4 LD IX, tier4spr JR qpoints3 showpoints2_5 LD IX, tier5spr JR qpoints3 showpoints2_6 LD IX, tier6spr JR qpoints3 showpoints2_7 LD IX, tier7spr JR qpoints3 showpoints2_8 LD IX, tier8spr JR qpoints3 showpoints2_9 LD IX, tier9spr qpoints3: CALL ClipSprOR CALL spxc LD A, 10 LD (ypos), A LD DE, (ypos) LD A, (points3) CP 1 JR z, showpoints3_1 CP 2 JR z, showpoints3_2 CP 3 JR z, showpoints3_3 CP 4 JR z, showpoints3_4 CP 5 JR z, showpoints3_5 CP 6 JR z, showpoints3_6 CP 7 JR z, showpoints3_7 CP 8 JR z, showpoints3_8 CP 9 JR z, showpoints3_9 LD IX, spr0 JR qpoints4 showpoints3_1 LD IX, tier1spr JR qpoints4 showpoints3_2 LD IX, tier2spr JR qpoints4 showpoints3_3 LD IX, tier3spr JR qpoints4 showpoints3_4 LD IX, tier4spr JR qpoints4 showpoints3_5 LD IX, tier5spr JR qpoints4 showpoints3_6 LD IX, tier6spr JR qpoints4 showpoints3_7 LD IX, tier7spr JR qpoints4 showpoints3_8 LD IX, tier8spr JR qpoints4 showpoints3_9 LD IX, tier9spr qpoints4: CALL ClipSprOR CALL spxc LD A, 1 LD (ypos), A LD DE, (ypos) LD A, (points4) CP 1 JR z, showpoints4_1 CP 2 JR z, showpoints4_2 CP 3 JR z, showpoints4_3 CP 4 JR z, showpoints4_4 CP 5 JR z, showpoints4_5 CP 6 JR z, showpoints4_6 CP 7 JR z, showpoints4_7 CP 8 JR z, showpoints4_8 CP 9 JR z, showpoints4_9 LD IX, spr0 JR apoints showpoints4_1 LD IX, tier1spr JR apoints showpoints4_2 LD IX, tier2spr JR apoints showpoints4_3 LD IX, tier3spr JR apoints showpoints4_4 LD IX, tier4spr JR apoints showpoints4_5 LD IX, tier5spr JR apoints showpoints4_6 LD IX, tier6spr JR apoints showpoints4_7 LD IX, tier7spr JR apoints showpoints4_8 LD IX, tier8spr JR apoints showpoints4_9 LD IX, tier9spr apoints: CALL ClipSprOR di ld a, $80 out ($10), a ld hl, gbuf-12-(-(12*64)+1) ld a, $20 ld c, a inc hl dec hl fastCopyAgain: ld b, 64 inc c ld de, -(12*64)+1 out ($10), a add hl, de ld de, 10 fastCopyLoop: add hl, de inc hl inc hl inc de ld a, (hl) out ($11), a dec de djnz fastCopyLoop ld a, c cp $2B+1 jr nz, fastCopyAgain LD A, (slowfactor) LD B, A POP BC DEC B JP NZ, hidemoveshowncount ret ; End HideMoveShownCount tracePressed: push af set 0, c bit 0, b PUSH BC jr nz, traceIsHeld LD A, 58 LD (CheckYequ), A LD (CheckWindow), A LD (CheckZoom), A LD (CheckTrace), A LD (CheckGraph), A LD A, -58 LD (ButtonPressed), A CALL CheckYSprites jp graphDone traceIsHeld: LD A, 58 LD (xpos), A CALL sprendcall LD A, (CheckTrace) CP 58 JP z, graphdone LD A, 58 LD (CheckTrace), A LD A, -58 LD (ButtonPressed), A CALL CheckYSprites jr graphDone zoomPressed: push af set 0, c bit 0, b PUSH BC jr nz, zoomIsHeld LD A, 44 LD (CheckYequ), A LD (CheckWindow), A LD (CheckZoom), A LD (CheckTrace), A LD (CheckGraph), A LD A, -44 LD (ButtonPressed), A CALL CheckYSprites jr graphDone zoomIsHeld: LD A, 44 LD (xpos), A CALL sprendcall LD A, (CheckZoom) CP 44 JR z, graphdone LD A, 44 LD (CheckZoom), A LD A, -44 LD (ButtonPressed), A CALL CheckYSprites jr graphDone graphPressed: push af set 0, c bit 0, b PUSH BC jr nz, graphIsHeld LD A, 72 LD (CheckYequ), A LD (CheckWindow), A LD (CheckZoom), A LD (CheckTrace), A LD (CheckGraph), A LD A, -72 LD (ButtonPressed), A CALL CheckYSprites jr graphDone graphIsHeld: CALL graphsprshow LD A, (CheckGraph) CP 72 JR z, graphdone LD A, 72 LD (CheckGraph), A LD A, -72 LD (ButtonPressed), A CALL CheckYSprites graphDone: pop bc pop af ret windowPressed: push af set 0, c bit 0, b PUSH BC jr nz, windowIsHeld LD A, 30 LD (CheckYequ), A LD (CheckWindow), A LD (CheckZoom), A LD (CheckTrace), A LD (CheckGraph), A LD A, -30 LD (ButtonPressed), A CALL CheckYSprites jr graphDone windowIsHeld: LD A, 30 LD (xpos), A CALL sprendcall LD A, (CheckWindow) CP 30 JR z, graphdone LD A, 30 LD (CheckWindow), A LD A, -30 LD (ButtonPressed), A CALL CheckYSprites jr graphDone YequPressed: push af set 0, c bit 0, b PUSH BC jr nz, YequIsHeld LD A, 16 LD (CheckYequ), A LD (CheckWindow), A LD (CheckZoom), A LD (CheckTrace), A LD (CheckGraph), A LD A, -16 LD (ButtonPressed), A CALL CheckYSprites jr graphDone YequIsHeld: LD A, 16 LD (xpos), A CALL sprendcall LD A, (CheckYequ) CP 16 JR z, graphdone LD A, 16 LD (CheckYequ), A LD A, -16 LD (ButtonPressed), A CALL CheckYSprites jp graphDone graphsprshow: LD A, 72 LD (xpos), A sprendcall: LD A, 53 LD (ypos), A LD B, 8 LD DE, (ypos) LD IX, buttonspr CALL ClipSprOR ret ClipSprOR: ; Show Sprite OR LD A, %11111111 LD (clip_mask), A LD A, E OR A JP M, ClipTop2 SUB 64 RET NC NEG CP B JR NC, VertClipDone2 LD B, A JR VertClipDone2 ClipTop2: LD A, B NEG SUB E RET NC PUSH AF ADD A, B LD E, 0 LD B, E LD C, A ADD IX, BC POP AF NEG LD B, A VertClipDone2: LD C, 0 LD A, D CP -7 JR NC, ClipLeft2 CP 96 RET NC CP 89 JR C, HorizClipDone2 ClipRight2: AND 7 LD C, A LD A, %11111111 FindRightMask2: ADD A, A DEC C JR NZ, FindRightMask2 LD (clip_mask), A LD A, D JR HorizClipDone2 ClipLeft2: AND 7 LD C, A LD A, %11111111 FindLeftMask2: ADD A, A DEC C JR NZ, FindLeftMask2 CPL LD (clip_mask), A LD A, D ADD A, 96 LD C, 12 HorizClipDone2: LD H, 0 LD D, H LD L, E ADD HL, HL ADD HL, DE ADD HL, HL ADD HL, HL LD E, A SRL E SRL E SRL E ADD HL, DE LD DE, PlotSScreen ADD HL, DE LD D, 0 LD E, C SBC HL, DE AND 7 JR Z, _Aligned2 LD C, A LD DE, 11 _RowLoop2: PUSH BC LD B, C LD A, (clip_mask) AND (IX) LD C, 0 _ShiftLoop2: SRL A RR C DJNZ _ShiftLoop2 OR (HL) LD (HL), A INC HL LD A, C OR (HL) LD (HL), A ADD HL, DE INC IX POP BC DJNZ _RowLoop2 RET _Aligned2: LD DE, 12 _PutLoop2: LD A, (IX) OR (HL) LD (HL), A INC IX ADD HL, DE DJNZ _PutLoop2 RET notesprite: .DB %00011000 .DB %01111110 .DB %01111110 .DB %11100111 .DB %11100111 .DB %01111110 .DB %01111110 .DB %00011000 Buttonspr: .DB %00011000 .DB %01111110 .DB %01111110 .DB %11111111 .DB %11111111 .DB %01111110 .DB %01111110 .DB %00011000 Spr0: .DB %11111111 .DB %11111111 .DB %11100001 .DB %11100001 .DB %11100001 .DB %11100001 .DB %11100001 .DB %11111111 Tier1Spr: .DB %01111000 .DB %01111000 .DB %00011000 .DB %00011000 .DB %00011000 .DB %00011000 .DB %01111100 .DB %01111100 Tier2Spr: .DB %00111110 .DB %11110011 .DB %11000011 .DB %00000110 .DB %00011100 .DB %01110000 .DB %11000011 .DB %11111111 Tier3Spr: .DB %11111111 .DB %11000011 .DB %00000011 .DB %00001111 .DB %00011111 .DB %00000001 .DB %11000001 .DB %11111111 Tier4Spr: .DB %11100111 .DB %11100111 .DB %11100111 .DB %11111111 .DB %00001111 .DB %00000111 .DB %00000111 .DB %00000111 Tier5Spr: .DB %11111111 .DB %11100000 .DB %11000000 .DB %11111111 .DB %00001111 .DB %00000111 .DB %10000011 .DB %11111111 Tier6Spr: .DB %00000111 .DB %00011110 .DB %01111000 .DB %11100000 .DB %10000000 .DB %11111111 .DB %10000011 .DB %11111111 Tier7Spr: .DB %11111111 .DB %11111111 .DB %00000111 .DB %00001110 .DB %00011100 .DB %00111100 .DB %01111000 .DB %11110000 Tier8Spr: .DB %11111111 .DB %11100001 .DB %11100001 .DB %11111111 .DB %11100001 .DB %11100001 .DB %11100001 .DB %11111111 Tier9Spr: .DB %11111111 .DB %11000011 .DB %11111111 .DB %00000011 .DB %00000110 .DB %00011100 .DB %11110000 .DB %11000000 Rockmeter: .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 .DB %11111000 gamescrnempty: .db 11111110b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000011b, 10111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000011b, 10111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00011000b, 00000000b, 01100000b, 00000001b, 10000000b, 00000110b, 00000000b, 00011000b, 00011100b, 00000000b .db 10000010b, 00111000b, 01100110b, 00000001b, 10011000b, 00000110b, 01100000b, 00011001b, 10000000b, 01100110b, 00011100b, 00000000b .db 10000010b, 00111000b, 10000001b, 00000010b, 00000100b, 00001000b, 00010000b, 00100000b, 01000000b, 10000001b, 00011100b, 00000000b .db 10000010b, 00111000b, 10000001b, 00000010b, 00000100b, 00001000b, 00010000b, 00100000b, 01000000b, 10000001b, 00011100b, 00000000b .db 10000010b, 00111001b, 00000000b, 10000100b, 00000010b, 00010000b, 00001000b, 01000000b, 00100001b, 00000000b, 10011100b, 00000000b .db 10000010b, 00111001b, 00000000b, 10000100b, 00000010b, 00010000b, 00001000b, 01000000b, 00100001b, 00000000b, 10011100b, 00000000b .db 10000010b, 00111000b, 10000001b, 00000010b, 00000100b, 00001000b, 00010000b, 00100000b, 01000000b, 10000001b, 00011100b, 00000000b .db 10000010b, 00111000b, 10000001b, 00000010b, 00000100b, 00001000b, 00010000b, 00100000b, 01000000b, 10000001b, 00011100b, 00000000b .db 10000010b, 00111000b, 01100110b, 00000001b, 10011000b, 00000110b, 01100000b, 00011001b, 10000000b, 01100110b, 00011100b, 00000000b .db 10000010b, 00111000b, 00011000b, 00000000b, 01100000b, 00000001b, 10000000b, 00000110b, 00000000b, 00011000b, 00011100b, 00000000b .db 10000010b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .db 11111110b, 00111000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00011100b, 00000000b .end .end