From 25d4c894457b494703d8b2027e71b441ea80bc40 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sun, 30 Dec 2018 01:00:45 +0100 Subject: [PATCH] Added a score renderer - and some fragments. --- src/main/fragment/pbuz1=_dec_pbuz1.asm | 5 + src/main/fragment/pbuz1=_dec_pbuz2.asm | 7 + .../{unused => }/pbuz1=_inc_pbuz2.asm | 0 .../pbuz1=pptc1_derefidx_vbuxx_plus_vbuc2.asm | 7 + .../pbuz1=pptc1_derefidx_vbuyy_plus_vbuc2.asm | 7 + .../dk/camelot64/kickc/test/TestPrograms.java | 1 - src/test/kc/examples/tetris/tetris-render.kc | 19 + src/test/kc/examples/tetris/tetris.kc | 1 + src/test/ref/examples/tetris/tetris.asm | 160 +- src/test/ref/examples/tetris/tetris.cfg | 1083 +- src/test/ref/examples/tetris/tetris.log | 11549 ++++++++-------- src/test/ref/examples/tetris/tetris.sym | 217 +- 12 files changed, 6941 insertions(+), 6115 deletions(-) create mode 100644 src/main/fragment/pbuz1=_dec_pbuz1.asm create mode 100644 src/main/fragment/pbuz1=_dec_pbuz2.asm rename src/main/fragment/{unused => }/pbuz1=_inc_pbuz2.asm (100%) create mode 100644 src/main/fragment/pbuz1=pptc1_derefidx_vbuxx_plus_vbuc2.asm create mode 100644 src/main/fragment/pbuz1=pptc1_derefidx_vbuyy_plus_vbuc2.asm diff --git a/src/main/fragment/pbuz1=_dec_pbuz1.asm b/src/main/fragment/pbuz1=_dec_pbuz1.asm new file mode 100644 index 000000000..0e48b713c --- /dev/null +++ b/src/main/fragment/pbuz1=_dec_pbuz1.asm @@ -0,0 +1,5 @@ +lda {z1}+1 +bne !+ +dec {z1}+1 +!: +dec {z1} diff --git a/src/main/fragment/pbuz1=_dec_pbuz2.asm b/src/main/fragment/pbuz1=_dec_pbuz2.asm new file mode 100644 index 000000000..6c7420657 --- /dev/null +++ b/src/main/fragment/pbuz1=_dec_pbuz2.asm @@ -0,0 +1,7 @@ +lda {z2} +sec +sbc #1 +sta {z1} +lda {z2}+1 +sbc #0 +sta {z1}+1 diff --git a/src/main/fragment/unused/pbuz1=_inc_pbuz2.asm b/src/main/fragment/pbuz1=_inc_pbuz2.asm similarity index 100% rename from src/main/fragment/unused/pbuz1=_inc_pbuz2.asm rename to src/main/fragment/pbuz1=_inc_pbuz2.asm diff --git a/src/main/fragment/pbuz1=pptc1_derefidx_vbuxx_plus_vbuc2.asm b/src/main/fragment/pbuz1=pptc1_derefidx_vbuxx_plus_vbuc2.asm new file mode 100644 index 000000000..5c2bc6dc2 --- /dev/null +++ b/src/main/fragment/pbuz1=pptc1_derefidx_vbuxx_plus_vbuc2.asm @@ -0,0 +1,7 @@ +lda {c1},x +clc +adc #{c2} +sta {z1} +lda {c1}+1,x +adc #0 +sta {z1}+1 \ No newline at end of file diff --git a/src/main/fragment/pbuz1=pptc1_derefidx_vbuyy_plus_vbuc2.asm b/src/main/fragment/pbuz1=pptc1_derefidx_vbuyy_plus_vbuc2.asm new file mode 100644 index 000000000..b6dd77498 --- /dev/null +++ b/src/main/fragment/pbuz1=pptc1_derefidx_vbuyy_plus_vbuc2.asm @@ -0,0 +1,7 @@ +lda {c1},y +clc +adc #{c2} +sta {z1} +lda {c1}+1,y +adc #0 +sta {z1}+1 \ No newline at end of file diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index a342cae9d..99910d2aa 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -54,7 +54,6 @@ public class TestPrograms { compileAndCompare("examples/tetris/tetris"); } - @Test public void testClobberAProblem() throws IOException, URISyntaxException { compileAndCompare("clobber-a-problem"); diff --git a/src/test/kc/examples/tetris/tetris-render.kc b/src/test/kc/examples/tetris/tetris-render.kc index 1f51c440d..72489226d 100644 --- a/src/test/kc/examples/tetris/tetris-render.kc +++ b/src/test/kc/examples/tetris/tetris-render.kc @@ -75,6 +75,25 @@ void render_screen_swap() { render_screen_show ^= $40; } +// Show the current score +void render_score() { + const byte ZERO_CHAR = 51; + byte SCREEN_SCORE_ROW = $05; + byte SCREEN_SCORE_COL = $1d; + byte* screen_score_pos; + if(render_screen_render==0) { + screen_score_pos = PLAYFIELD_SCREEN_1 + 40*SCREEN_SCORE_ROW + SCREEN_SCORE_COL; + } else { + screen_score_pos = PLAYFIELD_SCREEN_2 + 40*SCREEN_SCORE_ROW + SCREEN_SCORE_COL; + } + byte* score_bytes = (byte*)(&score_bcd); + for (byte b:0..2) { + byte score_byte = score_bytes[b]; + *screen_score_pos-- = ZERO_CHAR + (score_byte & $0f); + *screen_score_pos-- = ZERO_CHAR + (score_byte>>4); + } +} + // Copy the original screen data to the passed screen // Also copies colors to $d800 void render_screen_original(byte* screen) { diff --git a/src/test/kc/examples/tetris/tetris.kc b/src/test/kc/examples/tetris/tetris.kc index e2eb64e72..da4d8c56e 100644 --- a/src/test/kc/examples/tetris/tetris.kc +++ b/src/test/kc/examples/tetris/tetris.kc @@ -34,6 +34,7 @@ void main() { if(render!=0) { render_playfield(); render_current(); + render_score(); render_screen_swap(); } //*BORDERCOL = 0; diff --git a/src/test/ref/examples/tetris/tetris.asm b/src/test/ref/examples/tetris/tetris.asm index e46849700..83bb1ed0f 100644 --- a/src/test/ref/examples/tetris/tetris.asm +++ b/src/test/ref/examples/tetris/tetris.asm @@ -84,27 +84,27 @@ .label irq_cnt = $21 .label current_movedown_counter = 4 .label current_ypos = $e - .label score_bcd = $f .label current_piece_gfx = $16 .label current_xpos = $18 .label current_piece_char = $19 .label current_orientation = $15 + .label score_bcd = $f .label render_screen_render = 3 .label render_screen_show = 2 .label current_piece = $13 - .label current_piece_12 = 7 - .label render_screen_render_28 = 5 - .label current_xpos_47 = 6 - .label current_piece_gfx_53 = 7 - .label render_screen_render_62 = 5 - .label current_xpos_111 = 6 - .label current_xpos_112 = 6 - .label current_piece_gfx_101 = 7 - .label current_piece_gfx_102 = 7 - .label current_piece_75 = 7 - .label current_piece_76 = 7 - .label current_piece_77 = 7 - .label current_piece_78 = 7 + .label current_piece_12 = 5 + .label render_screen_render_30 = 7 + .label current_xpos_47 = 8 + .label current_piece_gfx_53 = 5 + .label render_screen_render_64 = 7 + .label current_xpos_112 = 8 + .label current_xpos_113 = 8 + .label current_piece_gfx_102 = 5 + .label current_piece_gfx_103 = 5 + .label current_piece_76 = 5 + .label current_piece_77 = 5 + .label current_piece_78 = 5 + .label current_piece_79 = 5 bbegin: lda #0 sta render_screen_showing @@ -131,14 +131,14 @@ main: { jsr render_playfield ldy current_ypos lda current_xpos - sta current_xpos_111 + sta current_xpos_112 lda current_piece_gfx - sta current_piece_gfx_101 + sta current_piece_gfx_102 lda current_piece_gfx+1 - sta current_piece_gfx_101+1 + sta current_piece_gfx_102+1 ldx current_piece_char lda #$40 - sta render_screen_render_28 + sta render_screen_render_30 jsr render_current ldy play_spawn_current._3 lda PIECES,y @@ -185,15 +185,16 @@ main: { jsr render_playfield ldy current_ypos lda render_screen_render - sta render_screen_render_62 + sta render_screen_render_64 lda current_xpos - sta current_xpos_112 + sta current_xpos_113 lda current_piece_gfx - sta current_piece_gfx_102 + sta current_piece_gfx_103 lda current_piece_gfx+1 - sta current_piece_gfx_102+1 + sta current_piece_gfx_103+1 ldx current_piece_char jsr render_current + jsr render_score jsr render_screen_swap jmp b4 } @@ -206,6 +207,61 @@ render_screen_swap: { sta render_screen_show rts } +render_score: { + .const ZERO_CHAR = $33 + .const SCREEN_SCORE_ROW = 5 + .const SCREEN_SCORE_COL = $1d + .label score_bytes = score_bcd + .label score_byte = 7 + .label screen_score_pos = 5 + lda render_screen_render + cmp #0 + beq b1 + lda #PLAYFIELD_SCREEN_2+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + jmp b2 + b1: + lda #PLAYFIELD_SCREEN_1+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + b2: + ldx #0 + b3: + lda score_bytes,x + sta score_byte + lda #$f + and score_byte + clc + adc #ZERO_CHAR + ldy #0 + sta (screen_score_pos),y + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + lda score_byte + lsr + lsr + lsr + lsr + clc + adc #ZERO_CHAR + ldy #0 + sta (screen_score_pos),y + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + inx + cpx #3 + bne b3 + rts +} render_current: { .label ypos2 = 9 .label screen_line = $1b @@ -246,7 +302,7 @@ render_current: { bcc b2 jmp b7 b2: - lda render_screen_render_28 + lda render_screen_render_30 clc adc ypos2 tay @@ -279,10 +335,10 @@ render_current: { jmp b3 } render_playfield: { - .label screen_line = 7 - .label i = 6 + .label screen_line = 5 + .label i = 8 .label c = 9 - .label l = 5 + .label l = 7 lda #PLAYFIELD_COLS*2 sta i lda #2 @@ -321,7 +377,7 @@ render_playfield: { rts } play_move_rotate: { - .label orientation = 5 + .label orientation = 7 cmp #KEY_Z beq b1 cmp #KEY_X @@ -342,9 +398,9 @@ play_move_rotate: { ldy current_ypos ldx orientation lda current_piece - sta current_piece_78 + sta current_piece_79 lda current_piece+1 - sta current_piece_78+1 + sta current_piece_79+1 jsr play_collision cmp #COLLISION_NONE bne b3 @@ -367,8 +423,8 @@ play_move_rotate: { jmp b4 } play_collision: { - .label xpos = 6 - .label piece_gfx = 7 + .label xpos = 8 + .label piece_gfx = 5 .label ypos2 = 9 .label playfield_line = $1b .label i = $23 @@ -469,9 +525,9 @@ play_move_leftright: { ldy current_ypos ldx current_orientation lda current_piece - sta current_piece_77 + sta current_piece_78 lda current_piece+1 - sta current_piece_77+1 + sta current_piece_78+1 jsr play_collision cmp #COLLISION_NONE bne b3 @@ -490,9 +546,9 @@ play_move_leftright: { ldy current_ypos ldx current_orientation lda current_piece - sta current_piece_76 + sta current_piece_77 lda current_piece+1 - sta current_piece_76+1 + sta current_piece_77+1 jsr play_collision cmp #COLLISION_NONE bne b3 @@ -531,9 +587,9 @@ play_move_down: { sta play_collision.xpos ldx current_orientation lda current_piece - sta current_piece_75 + sta current_piece_76 lda current_piece+1 - sta current_piece_75+1 + sta current_piece_76+1 jsr play_collision cmp #COLLISION_NONE beq b6 @@ -628,9 +684,9 @@ play_update_score: { } play_remove_lines: { .label c = $a - .label x = 6 + .label x = 8 .label y = 4 - .label removed = 5 + .label removed = 7 .label full = 9 lda #0 sta removed @@ -683,14 +739,14 @@ play_remove_lines: { } play_lock_current: { .label ypos2 = $e - .label playfield_line = 7 - .label col = 6 + .label playfield_line = 5 + .label col = 8 .label i = 9 .label l = 4 - .label i_2 = 5 - .label i_3 = 5 - .label i_7 = 5 - .label i_9 = 5 + .label i_2 = 7 + .label i_3 = 7 + .label i_7 = 7 + .label i_9 = 7 asl ypos2 lda #0 sta l @@ -739,8 +795,8 @@ play_lock_current: { jmp b2 } keyboard_event_pressed: { - .label row_bits = 6 - .label keycode = 5 + .label row_bits = 8 + .label keycode = 7 lda keycode lsr lsr @@ -770,8 +826,8 @@ keyboard_event_get: { } keyboard_event_scan: { .label row_scan = 9 - .label keycode = 6 - .label row = 5 + .label keycode = 8 + .label row = 7 lda #0 sta keycode sta row @@ -889,7 +945,7 @@ render_show: { jmp b2 } play_init: { - .label pli = 7 + .label pli = 5 .label idx = 2 lda #0 sta idx @@ -981,7 +1037,7 @@ sprites_init: { } render_init: { .const vicSelectGfxBank1_toDd001_return = 3^(>PLAYFIELD_CHARSET)>>6 - .label li_1 = 7 + .label li_1 = 5 .label li_2 = $13 lda #3 sta CIA2_PORT_A_DDR @@ -1055,7 +1111,7 @@ render_screen_original: { .const SPACE = 0 .label screen = $16 .label cols = $1b - .label oscr = 7 + .label oscr = 5 .label ocols = $13 .label y = 2 lda #0 diff --git a/src/test/ref/examples/tetris/tetris.cfg b/src/test/ref/examples/tetris/tetris.cfg index a0239d5c0..55e4d1c0d 100644 --- a/src/test/ref/examples/tetris/tetris.cfg +++ b/src/test/ref/examples/tetris/tetris.cfg @@ -17,8 +17,8 @@ }} kickasm(location (const byte*) PLAYFIELD_COLORS_ORIGINAL#0) {{ .import binary "playfield-screen.col" }} - to:@20 -@20: scope:[] from @14 + to:@21 +@21: scope:[] from @14 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { @@ -31,25 +31,25 @@ } } }} - to:@21 -@21: scope:[] from @20 + to:@22 +@22: scope:[] from @21 [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 to:toSpritePtr1 -toSpritePtr1: scope:[] from @21 +toSpritePtr1: scope:[] from @22 [8] phi() - to:@34 -@34: scope:[] from toSpritePtr1 + to:@35 +@35: scope:[] from toSpritePtr1 [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 - to:@33 -@33: scope:[] from @34 + to:@34 +@34: scope:[] from @35 [11] phi() [12] call main to:@end -@end: scope:[] from @33 +@end: scope:[] from @34 [13] phi() -main: scope:[main] from @33 +main: scope:[main] from @34 [14] phi() [15] call sid_rnd_init to:main::@15 @@ -78,25 +78,25 @@ main::@20: scope:[main] from main::@19 [27] call render_playfield to:main::@21 main::@21: scope:[main] from main::@20 - [28] (byte~) current_ypos#85 ← (byte) current_ypos#18 - [29] (byte~) current_xpos#111 ← (byte) current_xpos#23 - [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 - [31] (byte~) current_piece_char#89 ← (byte) current_piece_char#12 + [28] (byte~) current_ypos#86 ← (byte) current_ypos#18 + [29] (byte~) current_xpos#112 ← (byte) current_xpos#23 + [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 + [31] (byte~) current_piece_char#90 ← (byte) current_piece_char#12 [32] call render_current - [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) to:main::@1 -main::@1: scope:[main] from main::@21 main::@28 main::@30 - [34] (dword) score_bcd#13 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(dword) score_bcd#2 main::@28/(dword) score_bcd#2 ) - [34] (byte) current_movedown_counter#12 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) current_movedown_counter#10 main::@28/(byte) current_movedown_counter#10 ) - [34] (byte) keyboard_events_size#19 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) keyboard_events_size#16 main::@28/(byte) keyboard_events_size#16 ) - [34] (byte) current_piece_char#15 ← phi( main::@21/(byte) current_piece_char#12 main::@30/(byte) current_piece_char#1 main::@28/(byte) current_piece_char#1 ) - [34] (byte) current_ypos#21 ← phi( main::@21/(byte) current_ypos#18 main::@30/(byte) current_ypos#13 main::@28/(byte) current_ypos#13 ) - [34] (byte) current_xpos#10 ← phi( main::@21/(byte) current_xpos#23 main::@30/(byte) current_xpos#19 main::@28/(byte) current_xpos#19 ) - [34] (byte*) current_piece_gfx#20 ← phi( main::@21/(byte*) current_piece_gfx#16 main::@30/(byte*) current_piece_gfx#14 main::@28/(byte*) current_piece_gfx#14 ) - [34] (byte) current_orientation#10 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) current_orientation#19 main::@28/(byte) current_orientation#19 ) - [34] (byte*) current_piece#16 ← phi( main::@21/(byte*~) current_piece#72 main::@30/(byte*) current_piece#10 main::@28/(byte*) current_piece#10 ) - [34] (byte) render_screen_render#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@30/(byte) render_screen_render#11 ) - [34] (byte) render_screen_show#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) render_screen_show#13 ) +main::@1: scope:[main] from main::@21 main::@28 main::@31 + [34] (dword) score_bcd#14 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(dword) score_bcd#10 main::@28/(dword) score_bcd#10 ) + [34] (byte) current_movedown_counter#12 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) current_movedown_counter#10 main::@28/(byte) current_movedown_counter#10 ) + [34] (byte) keyboard_events_size#19 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) keyboard_events_size#16 main::@28/(byte) keyboard_events_size#16 ) + [34] (byte) current_piece_char#15 ← phi( main::@21/(byte) current_piece_char#12 main::@31/(byte) current_piece_char#1 main::@28/(byte) current_piece_char#1 ) + [34] (byte) current_ypos#21 ← phi( main::@21/(byte) current_ypos#18 main::@31/(byte) current_ypos#13 main::@28/(byte) current_ypos#13 ) + [34] (byte) current_xpos#10 ← phi( main::@21/(byte) current_xpos#23 main::@31/(byte) current_xpos#19 main::@28/(byte) current_xpos#19 ) + [34] (byte*) current_piece_gfx#20 ← phi( main::@21/(byte*) current_piece_gfx#16 main::@31/(byte*) current_piece_gfx#14 main::@28/(byte*) current_piece_gfx#14 ) + [34] (byte) current_orientation#10 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) current_orientation#19 main::@28/(byte) current_orientation#19 ) + [34] (byte*) current_piece#16 ← phi( main::@21/(byte*~) current_piece#73 main::@31/(byte*) current_piece#10 main::@28/(byte*) current_piece#10 ) + [34] (byte) render_screen_render#17 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@31/(byte) render_screen_render#11 ) + [34] (byte) render_screen_show#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) render_screen_show#13 ) to:main::@4 main::@4: scope:[main] from main::@1 main::@4 [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 @@ -140,843 +140,874 @@ main::@28: scope:[main] from main::@27 [59] if((byte) main::render#3==(byte/signed byte/word/signed word/dword/signed dword) 0) goto main::@1 to:main::@13 main::@13: scope:[main] from main::@28 - [60] (byte~) render_screen_render#63 ← (byte) render_screen_render#16 + [60] (byte~) render_screen_render#65 ← (byte) render_screen_render#17 [61] call render_playfield to:main::@29 main::@29: scope:[main] from main::@13 - [62] (byte~) current_ypos#86 ← (byte) current_ypos#13 - [63] (byte~) render_screen_render#62 ← (byte) render_screen_render#16 - [64] (byte~) current_xpos#112 ← (byte) current_xpos#19 - [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 - [66] (byte~) current_piece_char#90 ← (byte) current_piece_char#1 + [62] (byte~) current_ypos#87 ← (byte) current_ypos#13 + [63] (byte~) render_screen_render#64 ← (byte) render_screen_render#17 + [64] (byte~) current_xpos#113 ← (byte) current_xpos#19 + [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 + [66] (byte~) current_piece_char#91 ← (byte) current_piece_char#1 [67] call render_current to:main::@30 main::@30: scope:[main] from main::@29 [68] phi() - [69] call render_screen_swap + [69] call render_score + to:main::@31 +main::@31: scope:[main] from main::@30 + [70] phi() + [71] call render_screen_swap to:main::@1 -render_screen_swap: scope:[render_screen_swap] from main::@30 - [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 - [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 +render_screen_swap: scope:[render_screen_swap] from main::@31 + [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 + [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 to:render_screen_swap::@return render_screen_swap::@return: scope:[render_screen_swap] from render_screen_swap - [72] return + [74] return + to:@return +render_score: scope:[render_score] from main::@30 + [75] if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@2 + to:render_score::@4 +render_score::@4: scope:[render_score] from render_score + [76] phi() + to:render_score::@2 +render_score::@2: scope:[render_score] from render_score render_score::@4 + [77] (byte*) render_score::screen_score_pos#5 ← phi( render_score/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 render_score::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 ) + to:render_score::@3 +render_score::@3: scope:[render_score] from render_score::@2 render_score::@3 + [78] (byte*) render_score::screen_score_pos#4 ← phi( render_score::@2/(byte*) render_score::screen_score_pos#5 render_score::@3/(byte*) render_score::screen_score_pos#3 ) + [78] (byte) render_score::b#2 ← phi( render_score::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_score::@3/(byte) render_score::b#1 ) + [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) + [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 + [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 + [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 + [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 + [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 + [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 + [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 + [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 + [88] (byte) render_score::b#1 ← ++ (byte) render_score::b#2 + [89] if((byte) render_score::b#1!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto render_score::@3 + to:render_score::@return +render_score::@return: scope:[render_score] from render_score::@3 + [90] return to:@return render_current: scope:[render_current] from main::@21 main::@29 - [73] (byte) current_piece_char#64 ← phi( main::@21/(byte~) current_piece_char#89 main::@29/(byte~) current_piece_char#90 ) - [73] (byte*) current_piece_gfx#53 ← phi( main::@21/(byte*~) current_piece_gfx#101 main::@29/(byte*~) current_piece_gfx#102 ) - [73] (byte) current_xpos#47 ← phi( main::@21/(byte~) current_xpos#111 main::@29/(byte~) current_xpos#112 ) - [73] (byte) render_screen_render#28 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@29/(byte~) render_screen_render#62 ) - [73] (byte) current_ypos#9 ← phi( main::@21/(byte~) current_ypos#85 main::@29/(byte~) current_ypos#86 ) - [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [91] (byte) current_piece_char#64 ← phi( main::@21/(byte~) current_piece_char#90 main::@29/(byte~) current_piece_char#91 ) + [91] (byte*) current_piece_gfx#53 ← phi( main::@21/(byte*~) current_piece_gfx#102 main::@29/(byte*~) current_piece_gfx#103 ) + [91] (byte) current_xpos#47 ← phi( main::@21/(byte~) current_xpos#112 main::@29/(byte~) current_xpos#113 ) + [91] (byte) render_screen_render#30 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@29/(byte~) render_screen_render#64 ) + [91] (byte) current_ypos#9 ← phi( main::@21/(byte~) current_ypos#86 main::@29/(byte~) current_ypos#87 ) + [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 to:render_current::@1 render_current::@1: scope:[render_current] from render_current render_current::@3 - [75] (byte) render_current::l#4 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::l#1 ) - [75] (byte) render_current::i#3 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::i#8 ) - [75] (byte) render_current::ypos2#2 ← phi( render_current/(byte) render_current::ypos2#0 render_current::@3/(byte) render_current::ypos2#1 ) - [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 + [93] (byte) render_current::l#4 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::l#1 ) + [93] (byte) render_current::i#3 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::i#8 ) + [93] (byte) render_current::ypos2#2 ← phi( render_current/(byte) render_current::ypos2#0 render_current::@3/(byte) render_current::ypos2#1 ) + [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 to:render_current::@7 render_current::@7: scope:[render_current] from render_current::@1 render_current::@13 - [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 + [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 to:render_current::@3 render_current::@3: scope:[render_current] from render_current::@5 render_current::@7 - [78] (byte) render_current::i#8 ← phi( render_current::@5/(byte) render_current::i#10 render_current::@7/(byte) render_current::i#1 ) - [79] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [80] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 - [81] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 + [96] (byte) render_current::i#8 ← phi( render_current::@5/(byte) render_current::i#10 render_current::@7/(byte) render_current::i#1 ) + [97] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [98] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 + [99] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 to:render_current::@return render_current::@return: scope:[render_current] from render_current::@3 - [82] return + [100] return to:@return render_current::@13: scope:[render_current] from render_current::@1 - [83] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 + [101] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 to:render_current::@7 render_current::@2: scope:[render_current] from render_current::@13 - [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 - [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) - [86] (byte) render_current::xpos#0 ← (byte) current_xpos#47 + [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 + [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) + [104] (byte) render_current::xpos#0 ← (byte) current_xpos#47 to:render_current::@4 render_current::@4: scope:[render_current] from render_current::@2 render_current::@5 - [87] (byte) render_current::c#2 ← phi( render_current::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@5/(byte) render_current::c#1 ) - [87] (byte) render_current::xpos#2 ← phi( render_current::@2/(byte) render_current::xpos#0 render_current::@5/(byte) render_current::xpos#1 ) - [87] (byte) render_current::i#4 ← phi( render_current::@2/(byte) render_current::i#3 render_current::@5/(byte) render_current::i#10 ) - [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) - [89] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 - [90] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 + [105] (byte) render_current::c#2 ← phi( render_current::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@5/(byte) render_current::c#1 ) + [105] (byte) render_current::xpos#2 ← phi( render_current::@2/(byte) render_current::xpos#0 render_current::@5/(byte) render_current::xpos#1 ) + [105] (byte) render_current::i#4 ← phi( render_current::@2/(byte) render_current::i#3 render_current::@5/(byte) render_current::i#10 ) + [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) + [107] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 + [108] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 to:render_current::@9 render_current::@9: scope:[render_current] from render_current::@4 - [91] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 + [109] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 to:render_current::@10 render_current::@10: scope:[render_current] from render_current::@9 - [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 + [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 to:render_current::@5 render_current::@5: scope:[render_current] from render_current::@10 render_current::@4 render_current::@9 - [93] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 - [94] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 - [95] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 + [111] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 + [112] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 + [113] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 to:render_current::@3 render_playfield: scope:[render_playfield] from main::@13 main::@20 - [96] (byte) render_screen_render#19 ← phi( main::@13/(byte~) render_screen_render#63 main::@20/(byte/signed byte/word/signed word/dword/signed dword) 64 ) + [114] (byte) render_screen_render#21 ← phi( main::@13/(byte~) render_screen_render#65 main::@20/(byte/signed byte/word/signed word/dword/signed dword) 64 ) to:render_playfield::@1 render_playfield::@1: scope:[render_playfield] from render_playfield render_playfield::@3 - [97] (byte) render_playfield::i#3 ← phi( render_playfield/(const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::i#1 ) - [97] (byte) render_playfield::l#2 ← phi( render_playfield/(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::l#1 ) - [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 - [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) + [115] (byte) render_playfield::i#3 ← phi( render_playfield/(const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::i#1 ) + [115] (byte) render_playfield::l#2 ← phi( render_playfield/(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::l#1 ) + [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 + [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) to:render_playfield::@2 render_playfield::@2: scope:[render_playfield] from render_playfield::@1 render_playfield::@2 - [101] (byte) render_playfield::c#2 ← phi( render_playfield::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_playfield::@2/(byte) render_playfield::c#1 ) - [101] (byte*) render_playfield::screen_line#2 ← phi( render_playfield::@1/(byte*) render_playfield::screen_line#0 render_playfield::@2/(byte*) render_playfield::screen_line#1 ) - [101] (byte) render_playfield::i#2 ← phi( render_playfield::@1/(byte) render_playfield::i#3 render_playfield::@2/(byte) render_playfield::i#1 ) - [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) - [103] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 - [104] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 - [105] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 - [106] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 + [119] (byte) render_playfield::c#2 ← phi( render_playfield::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_playfield::@2/(byte) render_playfield::c#1 ) + [119] (byte*) render_playfield::screen_line#2 ← phi( render_playfield::@1/(byte*) render_playfield::screen_line#0 render_playfield::@2/(byte*) render_playfield::screen_line#1 ) + [119] (byte) render_playfield::i#2 ← phi( render_playfield::@1/(byte) render_playfield::i#3 render_playfield::@2/(byte) render_playfield::i#1 ) + [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) + [121] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 + [122] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 + [123] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 + [124] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 to:render_playfield::@3 render_playfield::@3: scope:[render_playfield] from render_playfield::@2 - [107] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 - [108] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 + [125] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 + [126] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 to:render_playfield::@return render_playfield::@return: scope:[render_playfield] from render_playfield::@3 - [109] return + [127] return to:@return play_move_rotate: scope:[play_move_rotate] from main::@27 - [110] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 + [128] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 to:play_move_rotate::@6 play_move_rotate::@6: scope:[play_move_rotate] from play_move_rotate - [111] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 + [129] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 to:play_move_rotate::@return play_move_rotate::@return: scope:[play_move_rotate] from play_move_rotate::@11 play_move_rotate::@14 play_move_rotate::@6 - [112] (byte*) current_piece_gfx#14 ← phi( play_move_rotate::@11/(byte*) current_piece_gfx#3 play_move_rotate::@14/(byte*) current_piece_gfx#1 play_move_rotate::@6/(byte*) current_piece_gfx#1 ) - [112] (byte) current_orientation#19 ← phi( play_move_rotate::@11/(byte) current_orientation#4 play_move_rotate::@14/(byte) current_orientation#14 play_move_rotate::@6/(byte) current_orientation#14 ) - [112] (byte) play_move_rotate::return#1 ← phi( play_move_rotate::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_rotate::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_rotate::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [113] return + [130] (byte*) current_piece_gfx#14 ← phi( play_move_rotate::@11/(byte*) current_piece_gfx#3 play_move_rotate::@14/(byte*) current_piece_gfx#1 play_move_rotate::@6/(byte*) current_piece_gfx#1 ) + [130] (byte) current_orientation#19 ← phi( play_move_rotate::@11/(byte) current_orientation#4 play_move_rotate::@14/(byte) current_orientation#14 play_move_rotate::@6/(byte) current_orientation#14 ) + [130] (byte) play_move_rotate::return#1 ← phi( play_move_rotate::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_rotate::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_rotate::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [131] return to:@return play_move_rotate::@2: scope:[play_move_rotate] from play_move_rotate::@6 - [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 - [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 + [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 + [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 to:play_move_rotate::@4 play_move_rotate::@4: scope:[play_move_rotate] from play_move_rotate::@1 play_move_rotate::@2 - [116] (byte) play_move_rotate::orientation#3 ← phi( play_move_rotate::@1/(byte) play_move_rotate::orientation#1 play_move_rotate::@2/(byte) play_move_rotate::orientation#2 ) - [117] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 - [118] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 - [119] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 - [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 - [121] call play_collision - [122] (byte) play_collision::return#13 ← (byte) play_collision::return#14 + [134] (byte) play_move_rotate::orientation#3 ← phi( play_move_rotate::@1/(byte) play_move_rotate::orientation#1 play_move_rotate::@2/(byte) play_move_rotate::orientation#2 ) + [135] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 + [136] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 + [137] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 + [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 + [139] call play_collision + [140] (byte) play_collision::return#13 ← (byte) play_collision::return#14 to:play_move_rotate::@14 play_move_rotate::@14: scope:[play_move_rotate] from play_move_rotate::@4 - [123] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 - [124] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return + [141] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 + [142] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return to:play_move_rotate::@11 play_move_rotate::@11: scope:[play_move_rotate] from play_move_rotate::@14 - [125] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 - [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 + [143] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 + [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 to:play_move_rotate::@return play_move_rotate::@1: scope:[play_move_rotate] from play_move_rotate - [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 - [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 + [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 + [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 to:play_move_rotate::@4 play_collision: scope:[play_collision] from play_move_down::@12 play_move_leftright::@1 play_move_leftright::@7 play_move_rotate::@4 - [129] (byte) play_collision::xpos#5 ← phi( play_move_down::@12/(byte) play_collision::xpos#0 play_move_leftright::@1/(byte) play_collision::xpos#1 play_move_leftright::@7/(byte) play_collision::xpos#2 play_move_rotate::@4/(byte) play_collision::xpos#3 ) - [129] (byte) play_collision::ypos#4 ← phi( play_move_down::@12/(byte) play_collision::ypos#0 play_move_leftright::@1/(byte) play_collision::ypos#1 play_move_leftright::@7/(byte) play_collision::ypos#2 play_move_rotate::@4/(byte) play_collision::ypos#3 ) - [129] (byte) play_collision::orientation#4 ← phi( play_move_down::@12/(byte) play_collision::orientation#0 play_move_leftright::@1/(byte) play_collision::orientation#1 play_move_leftright::@7/(byte) play_collision::orientation#2 play_move_rotate::@4/(byte) play_collision::orientation#3 ) - [129] (byte*) current_piece#12 ← phi( play_move_down::@12/(byte*~) current_piece#75 play_move_leftright::@1/(byte*~) current_piece#76 play_move_leftright::@7/(byte*~) current_piece#77 play_move_rotate::@4/(byte*~) current_piece#78 ) - [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 - [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [147] (byte) play_collision::xpos#5 ← phi( play_move_down::@12/(byte) play_collision::xpos#0 play_move_leftright::@1/(byte) play_collision::xpos#1 play_move_leftright::@7/(byte) play_collision::xpos#2 play_move_rotate::@4/(byte) play_collision::xpos#3 ) + [147] (byte) play_collision::ypos#4 ← phi( play_move_down::@12/(byte) play_collision::ypos#0 play_move_leftright::@1/(byte) play_collision::ypos#1 play_move_leftright::@7/(byte) play_collision::ypos#2 play_move_rotate::@4/(byte) play_collision::ypos#3 ) + [147] (byte) play_collision::orientation#4 ← phi( play_move_down::@12/(byte) play_collision::orientation#0 play_move_leftright::@1/(byte) play_collision::orientation#1 play_move_leftright::@7/(byte) play_collision::orientation#2 play_move_rotate::@4/(byte) play_collision::orientation#3 ) + [147] (byte*) current_piece#12 ← phi( play_move_down::@12/(byte*~) current_piece#76 play_move_leftright::@1/(byte*~) current_piece#77 play_move_leftright::@7/(byte*~) current_piece#78 play_move_rotate::@4/(byte*~) current_piece#79 ) + [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 + [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 to:play_collision::@1 play_collision::@1: scope:[play_collision] from play_collision play_collision::@20 - [132] (byte) play_collision::l#6 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte) play_collision::l#1 ) - [132] (byte) play_collision::i#3 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte~) play_collision::i#11 ) - [132] (byte) play_collision::ypos2#2 ← phi( play_collision/(byte) play_collision::ypos2#0 play_collision::@20/(byte) play_collision::ypos2#1 ) - [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) - [134] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 + [150] (byte) play_collision::l#6 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte) play_collision::l#1 ) + [150] (byte) play_collision::i#3 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte~) play_collision::i#11 ) + [150] (byte) play_collision::ypos2#2 ← phi( play_collision/(byte) play_collision::ypos2#0 play_collision::@20/(byte) play_collision::ypos2#1 ) + [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) + [152] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 to:play_collision::@2 play_collision::@2: scope:[play_collision] from play_collision::@1 play_collision::@21 - [135] (byte) play_collision::c#2 ← phi( play_collision::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@21/(byte) play_collision::c#1 ) - [135] (byte) play_collision::col#2 ← phi( play_collision::@1/(byte~) play_collision::col#9 play_collision::@21/(byte) play_collision::col#1 ) - [135] (byte) play_collision::i#2 ← phi( play_collision::@1/(byte) play_collision::i#3 play_collision::@21/(byte~) play_collision::i#13 ) - [136] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 - [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 + [153] (byte) play_collision::c#2 ← phi( play_collision::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@21/(byte) play_collision::c#1 ) + [153] (byte) play_collision::col#2 ← phi( play_collision::@1/(byte~) play_collision::col#9 play_collision::@21/(byte) play_collision::col#1 ) + [153] (byte) play_collision::i#2 ← phi( play_collision::@1/(byte) play_collision::i#3 play_collision::@21/(byte~) play_collision::i#13 ) + [154] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 + [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 to:play_collision::@8 play_collision::@8: scope:[play_collision] from play_collision::@2 - [138] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 + [156] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 to:play_collision::@return play_collision::@return: scope:[play_collision] from play_collision::@17 play_collision::@4 play_collision::@5 play_collision::@6 play_collision::@8 - [139] (byte) play_collision::return#14 ← phi( play_collision::@4/(const byte) COLLISION_LEFT#0 play_collision::@5/(const byte) COLLISION_RIGHT#0 play_collision::@6/(const byte) COLLISION_PLAYFIELD#0 play_collision::@17/(const byte) COLLISION_NONE#0 play_collision::@8/(const byte) COLLISION_BOTTOM#0 ) - [140] return + [157] (byte) play_collision::return#14 ← phi( play_collision::@4/(const byte) COLLISION_LEFT#0 play_collision::@5/(const byte) COLLISION_RIGHT#0 play_collision::@6/(const byte) COLLISION_PLAYFIELD#0 play_collision::@17/(const byte) COLLISION_NONE#0 play_collision::@8/(const byte) COLLISION_BOTTOM#0 ) + [158] return to:@return play_collision::@4: scope:[play_collision] from play_collision::@8 - [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 - [142] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 + [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 + [160] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 to:play_collision::@return play_collision::@5: scope:[play_collision] from play_collision::@4 - [143] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 + [161] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 to:play_collision::@return play_collision::@6: scope:[play_collision] from play_collision::@5 - [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 + [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 to:play_collision::@return play_collision::@3: scope:[play_collision] from play_collision::@2 play_collision::@6 - [145] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 - [146] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 - [147] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 + [163] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 + [164] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 + [165] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 to:play_collision::@17 play_collision::@17: scope:[play_collision] from play_collision::@3 - [148] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [149] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 - [150] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 + [166] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [167] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 + [168] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 to:play_collision::@return play_collision::@20: scope:[play_collision] from play_collision::@17 - [151] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 + [169] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 to:play_collision::@1 play_collision::@21: scope:[play_collision] from play_collision::@3 - [152] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 + [170] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 to:play_collision::@2 play_move_leftright: scope:[play_move_leftright] from main::@26 - [153] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 + [171] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 to:play_move_leftright::@6 play_move_leftright::@6: scope:[play_move_leftright] from play_move_leftright - [154] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return + [172] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return to:play_move_leftright::@7 play_move_leftright::@7: scope:[play_move_leftright] from play_move_leftright::@6 - [155] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 - [156] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 - [157] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 - [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 - [159] call play_collision - [160] (byte) play_collision::return#12 ← (byte) play_collision::return#14 + [173] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 + [174] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 + [175] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 + [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 + [177] call play_collision + [178] (byte) play_collision::return#12 ← (byte) play_collision::return#14 to:play_move_leftright::@15 play_move_leftright::@15: scope:[play_move_leftright] from play_move_leftright::@7 - [161] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 - [162] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return + [179] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 + [180] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return to:play_move_leftright::@8 play_move_leftright::@8: scope:[play_move_leftright] from play_move_leftright::@15 - [163] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 + [181] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 to:play_move_leftright::@return play_move_leftright::@return: scope:[play_move_leftright] from play_move_leftright::@11 play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 play_move_leftright::@8 - [164] (byte) current_xpos#19 ← phi( play_move_leftright::@11/(byte) current_xpos#4 play_move_leftright::@15/(byte) current_xpos#1 play_move_leftright::@8/(byte) current_xpos#2 play_move_leftright::@14/(byte) current_xpos#1 play_move_leftright::@6/(byte) current_xpos#1 ) - [164] (byte) play_move_leftright::return#1 ← phi( play_move_leftright::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@15/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [165] return + [182] (byte) current_xpos#19 ← phi( play_move_leftright::@11/(byte) current_xpos#4 play_move_leftright::@15/(byte) current_xpos#1 play_move_leftright::@8/(byte) current_xpos#2 play_move_leftright::@14/(byte) current_xpos#1 play_move_leftright::@6/(byte) current_xpos#1 ) + [182] (byte) play_move_leftright::return#1 ← phi( play_move_leftright::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@15/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [183] return to:@return play_move_leftright::@1: scope:[play_move_leftright] from play_move_leftright - [166] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 - [167] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 - [168] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 - [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 - [170] call play_collision - [171] (byte) play_collision::return#1 ← (byte) play_collision::return#14 + [184] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 + [185] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 + [186] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 + [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 + [188] call play_collision + [189] (byte) play_collision::return#1 ← (byte) play_collision::return#14 to:play_move_leftright::@14 play_move_leftright::@14: scope:[play_move_leftright] from play_move_leftright::@1 - [172] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 - [173] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return + [190] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 + [191] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return to:play_move_leftright::@11 play_move_leftright::@11: scope:[play_move_leftright] from play_move_leftright::@14 - [174] (byte) current_xpos#4 ← -- (byte) current_xpos#1 + [192] (byte) current_xpos#4 ← -- (byte) current_xpos#1 to:play_move_leftright::@return play_move_down: scope:[play_move_down] from main::@25 - [175] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 - [176] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 + [193] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 + [194] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 to:play_move_down::@8 play_move_down::@8: scope:[play_move_down] from play_move_down - [177] phi() + [195] phi() to:play_move_down::@1 play_move_down::@1: scope:[play_move_down] from play_move_down play_move_down::@8 - [178] (byte) play_move_down::movedown#10 ← phi( play_move_down/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 ) - [179] call keyboard_event_pressed - [180] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 + [196] (byte) play_move_down::movedown#10 ← phi( play_move_down/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 ) + [197] call keyboard_event_pressed + [198] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 to:play_move_down::@17 play_move_down::@17: scope:[play_move_down] from play_move_down::@1 - [181] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 - [182] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 + [199] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 + [200] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 to:play_move_down::@9 play_move_down::@9: scope:[play_move_down] from play_move_down::@17 - [183] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 + [201] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 to:play_move_down::@10 play_move_down::@10: scope:[play_move_down] from play_move_down::@9 - [184] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 + [202] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 to:play_move_down::@2 play_move_down::@2: scope:[play_move_down] from play_move_down::@10 play_move_down::@17 play_move_down::@9 - [185] (byte) play_move_down::movedown#7 ← phi( play_move_down::@10/(byte) play_move_down::movedown#2 play_move_down::@17/(byte) play_move_down::movedown#10 play_move_down::@9/(byte) play_move_down::movedown#10 ) - [186] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 + [203] (byte) play_move_down::movedown#7 ← phi( play_move_down::@10/(byte) play_move_down::movedown#2 play_move_down::@17/(byte) play_move_down::movedown#10 play_move_down::@9/(byte) play_move_down::movedown#10 ) + [204] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 to:play_move_down::@11 play_move_down::@11: scope:[play_move_down] from play_move_down::@2 - [187] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 + [205] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 to:play_move_down::@4 play_move_down::@4: scope:[play_move_down] from play_move_down::@11 play_move_down::@2 - [188] (byte) play_move_down::movedown#6 ← phi( play_move_down::@11/(byte) play_move_down::movedown#3 play_move_down::@2/(byte) play_move_down::movedown#7 ) - [189] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return + [206] (byte) play_move_down::movedown#6 ← phi( play_move_down::@11/(byte) play_move_down::movedown#3 play_move_down::@2/(byte) play_move_down::movedown#7 ) + [207] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return to:play_move_down::@12 play_move_down::@12: scope:[play_move_down] from play_move_down::@4 - [190] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 - [191] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 - [192] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 - [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 - [194] call play_collision - [195] (byte) play_collision::return#0 ← (byte) play_collision::return#14 + [208] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 + [209] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 + [210] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 + [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 + [212] call play_collision + [213] (byte) play_collision::return#0 ← (byte) play_collision::return#14 to:play_move_down::@18 play_move_down::@18: scope:[play_move_down] from play_move_down::@12 - [196] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 - [197] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 + [214] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 + [215] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 to:play_move_down::@13 play_move_down::@13: scope:[play_move_down] from play_move_down::@18 - [198] phi() - [199] call play_lock_current + [216] phi() + [217] call play_lock_current to:play_move_down::@19 play_move_down::@19: scope:[play_move_down] from play_move_down::@13 - [200] phi() - [201] call play_remove_lines - [202] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 + [218] phi() + [219] call play_remove_lines + [220] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 to:play_move_down::@20 play_move_down::@20: scope:[play_move_down] from play_move_down::@19 - [203] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 - [204] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 - [205] call play_update_score + [221] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 + [222] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 + [223] call play_update_score to:play_move_down::@21 play_move_down::@21: scope:[play_move_down] from play_move_down::@20 - [206] phi() - [207] call play_spawn_current - [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + [224] phi() + [225] call play_spawn_current + [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) to:play_move_down::@7 play_move_down::@7: scope:[play_move_down] from play_move_down::@21 play_move_down::@6 - [209] (byte) current_piece_char#20 ← phi( play_move_down::@21/(byte) current_piece_char#12 play_move_down::@6/(byte) current_piece_char#15 ) - [209] (byte) current_xpos#33 ← phi( play_move_down::@21/(byte) current_xpos#23 play_move_down::@6/(byte) current_xpos#10 ) - [209] (byte*) current_piece_gfx#26 ← phi( play_move_down::@21/(byte*) current_piece_gfx#16 play_move_down::@6/(byte*) current_piece_gfx#20 ) - [209] (byte) current_orientation#29 ← phi( play_move_down::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@6/(byte) current_orientation#10 ) - [209] (byte*) current_piece#20 ← phi( play_move_down::@21/(byte*~) current_piece#79 play_move_down::@6/(byte*) current_piece#16 ) - [209] (dword) score_bcd#17 ← phi( play_move_down::@21/(dword) score_bcd#11 play_move_down::@6/(dword) score_bcd#13 ) - [209] (byte) current_ypos#29 ← phi( play_move_down::@21/(byte) current_ypos#18 play_move_down::@6/(byte) current_ypos#0 ) + [227] (byte) current_piece_char#20 ← phi( play_move_down::@21/(byte) current_piece_char#12 play_move_down::@6/(byte) current_piece_char#15 ) + [227] (byte) current_xpos#33 ← phi( play_move_down::@21/(byte) current_xpos#23 play_move_down::@6/(byte) current_xpos#10 ) + [227] (byte*) current_piece_gfx#26 ← phi( play_move_down::@21/(byte*) current_piece_gfx#16 play_move_down::@6/(byte*) current_piece_gfx#20 ) + [227] (byte) current_orientation#29 ← phi( play_move_down::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@6/(byte) current_orientation#10 ) + [227] (byte*) current_piece#20 ← phi( play_move_down::@21/(byte*~) current_piece#80 play_move_down::@6/(byte*) current_piece#16 ) + [227] (dword) score_bcd#20 ← phi( play_move_down::@21/(dword) score_bcd#12 play_move_down::@6/(dword) score_bcd#14 ) + [227] (byte) current_ypos#29 ← phi( play_move_down::@21/(byte) current_ypos#18 play_move_down::@6/(byte) current_ypos#0 ) to:play_move_down::@return play_move_down::@return: scope:[play_move_down] from play_move_down::@4 play_move_down::@7 - [210] (byte) current_piece_char#1 ← phi( play_move_down::@4/(byte) current_piece_char#15 play_move_down::@7/(byte) current_piece_char#20 ) - [210] (byte) current_xpos#1 ← phi( play_move_down::@4/(byte) current_xpos#10 play_move_down::@7/(byte) current_xpos#33 ) - [210] (byte*) current_piece_gfx#1 ← phi( play_move_down::@4/(byte*) current_piece_gfx#20 play_move_down::@7/(byte*) current_piece_gfx#26 ) - [210] (byte) current_orientation#14 ← phi( play_move_down::@4/(byte) current_orientation#10 play_move_down::@7/(byte) current_orientation#29 ) - [210] (byte*) current_piece#10 ← phi( play_move_down::@4/(byte*) current_piece#16 play_move_down::@7/(byte*) current_piece#20 ) - [210] (dword) score_bcd#2 ← phi( play_move_down::@4/(dword) score_bcd#13 play_move_down::@7/(dword) score_bcd#17 ) - [210] (byte) current_ypos#13 ← phi( play_move_down::@4/(byte) current_ypos#21 play_move_down::@7/(byte) current_ypos#29 ) - [210] (byte) current_movedown_counter#10 ← phi( play_move_down::@4/(byte) current_movedown_counter#1 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [210] (byte) play_move_down::return#2 ← phi( play_move_down::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 1 ) - [211] return + [228] (byte) current_piece_char#1 ← phi( play_move_down::@4/(byte) current_piece_char#15 play_move_down::@7/(byte) current_piece_char#20 ) + [228] (byte) current_xpos#1 ← phi( play_move_down::@4/(byte) current_xpos#10 play_move_down::@7/(byte) current_xpos#33 ) + [228] (byte*) current_piece_gfx#1 ← phi( play_move_down::@4/(byte*) current_piece_gfx#20 play_move_down::@7/(byte*) current_piece_gfx#26 ) + [228] (byte) current_orientation#14 ← phi( play_move_down::@4/(byte) current_orientation#10 play_move_down::@7/(byte) current_orientation#29 ) + [228] (byte*) current_piece#10 ← phi( play_move_down::@4/(byte*) current_piece#16 play_move_down::@7/(byte*) current_piece#20 ) + [228] (dword) score_bcd#10 ← phi( play_move_down::@4/(dword) score_bcd#14 play_move_down::@7/(dword) score_bcd#20 ) + [228] (byte) current_ypos#13 ← phi( play_move_down::@4/(byte) current_ypos#21 play_move_down::@7/(byte) current_ypos#29 ) + [228] (byte) current_movedown_counter#10 ← phi( play_move_down::@4/(byte) current_movedown_counter#1 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [228] (byte) play_move_down::return#2 ← phi( play_move_down::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 1 ) + [229] return to:@return play_move_down::@6: scope:[play_move_down] from play_move_down::@18 - [212] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 + [230] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 to:play_move_down::@7 play_spawn_current: scope:[play_spawn_current] from main::@19 play_move_down::@21 - [213] phi() + [231] phi() to:play_spawn_current::@1 play_spawn_current::@1: scope:[play_spawn_current] from play_spawn_current play_spawn_current::@7 - [214] (byte) play_spawn_current::piece_idx#2 ← phi( play_spawn_current/(byte/signed byte/word/signed word/dword/signed dword) 7 play_spawn_current::@7/(byte) play_spawn_current::piece_idx#1 ) - [215] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 + [232] (byte) play_spawn_current::piece_idx#2 ← phi( play_spawn_current/(byte/signed byte/word/signed word/dword/signed dword) 7 play_spawn_current::@7/(byte) play_spawn_current::piece_idx#1 ) + [233] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 to:play_spawn_current::@3 play_spawn_current::@3: scope:[play_spawn_current] from play_spawn_current::@1 - [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 - [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) - [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) - [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) + [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 + [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) + [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) + [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) to:play_spawn_current::@return play_spawn_current::@return: scope:[play_spawn_current] from play_spawn_current::@3 - [221] return + [239] return to:@return play_spawn_current::@2: scope:[play_spawn_current] from play_spawn_current::@1 - [222] phi() - [223] call sid_rnd - [224] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 + [240] phi() + [241] call sid_rnd + [242] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 to:play_spawn_current::@7 play_spawn_current::@7: scope:[play_spawn_current] from play_spawn_current::@2 - [225] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 - [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [243] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 + [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 to:play_spawn_current::@1 sid_rnd: scope:[sid_rnd] from play_spawn_current::@2 - [227] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) + [245] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) to:sid_rnd::@return sid_rnd::@return: scope:[sid_rnd] from sid_rnd - [228] return + [246] return to:@return play_update_score: scope:[play_update_score] from play_move_down::@20 - [229] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return + [247] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return to:play_update_score::@2 play_update_score::@2: scope:[play_update_score] from play_update_score - [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 - [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) + [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 + [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) asm { sed } - [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 + [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 asm { cld } to:play_update_score::@return play_update_score::@return: scope:[play_update_score] from play_update_score play_update_score::@2 - [235] (dword) score_bcd#11 ← phi( play_update_score/(dword) score_bcd#13 play_update_score::@2/(dword) score_bcd#3 ) - [236] return + [253] (dword) score_bcd#12 ← phi( play_update_score/(dword) score_bcd#14 play_update_score::@2/(dword) score_bcd#3 ) + [254] return to:@return play_remove_lines: scope:[play_remove_lines] from play_move_down::@19 - [237] phi() + [255] phi() to:play_remove_lines::@1 play_remove_lines::@1: scope:[play_remove_lines] from play_remove_lines play_remove_lines::@4 - [238] (byte) play_remove_lines::removed#11 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::removed#7 ) - [238] (byte) play_remove_lines::y#8 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::y#1 ) - [238] (byte) play_remove_lines::w#12 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::w#11 ) - [238] (byte) play_remove_lines::r#3 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::r#1 ) + [256] (byte) play_remove_lines::removed#11 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::removed#7 ) + [256] (byte) play_remove_lines::y#8 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::y#1 ) + [256] (byte) play_remove_lines::w#12 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::w#11 ) + [256] (byte) play_remove_lines::r#3 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::r#1 ) to:play_remove_lines::@2 play_remove_lines::@2: scope:[play_remove_lines] from play_remove_lines::@1 play_remove_lines::@3 - [239] (byte) play_remove_lines::full#4 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@3/(byte) play_remove_lines::full#2 ) - [239] (byte) play_remove_lines::x#2 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@3/(byte) play_remove_lines::x#1 ) - [239] (byte) play_remove_lines::w#4 ← phi( play_remove_lines::@1/(byte) play_remove_lines::w#12 play_remove_lines::@3/(byte) play_remove_lines::w#1 ) - [239] (byte) play_remove_lines::r#2 ← phi( play_remove_lines::@1/(byte) play_remove_lines::r#3 play_remove_lines::@3/(byte) play_remove_lines::r#1 ) - [240] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) - [241] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 - [242] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 + [257] (byte) play_remove_lines::full#4 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@3/(byte) play_remove_lines::full#2 ) + [257] (byte) play_remove_lines::x#2 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@3/(byte) play_remove_lines::x#1 ) + [257] (byte) play_remove_lines::w#4 ← phi( play_remove_lines::@1/(byte) play_remove_lines::w#12 play_remove_lines::@3/(byte) play_remove_lines::w#1 ) + [257] (byte) play_remove_lines::r#2 ← phi( play_remove_lines::@1/(byte) play_remove_lines::r#3 play_remove_lines::@3/(byte) play_remove_lines::r#1 ) + [258] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) + [259] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 + [260] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 to:play_remove_lines::@3 play_remove_lines::@3: scope:[play_remove_lines] from play_remove_lines::@18 play_remove_lines::@2 - [243] (byte) play_remove_lines::full#2 ← phi( play_remove_lines::@18/(byte) play_remove_lines::full#4 play_remove_lines::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [244] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 - [245] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 - [246] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 - [247] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 + [261] (byte) play_remove_lines::full#2 ← phi( play_remove_lines::@18/(byte) play_remove_lines::full#4 play_remove_lines::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [262] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 + [263] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 + [264] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 + [265] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 to:play_remove_lines::@9 play_remove_lines::@9: scope:[play_remove_lines] from play_remove_lines::@3 - [248] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 + [266] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 to:play_remove_lines::@10 play_remove_lines::@10: scope:[play_remove_lines] from play_remove_lines::@9 - [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 - [250] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 + [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 + [268] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 to:play_remove_lines::@4 play_remove_lines::@4: scope:[play_remove_lines] from play_remove_lines::@10 play_remove_lines::@9 - [251] (byte) play_remove_lines::removed#7 ← phi( play_remove_lines::@10/(byte) play_remove_lines::removed#1 play_remove_lines::@9/(byte) play_remove_lines::removed#11 ) - [251] (byte) play_remove_lines::w#11 ← phi( play_remove_lines::@10/(byte) play_remove_lines::w#2 play_remove_lines::@9/(byte) play_remove_lines::w#1 ) - [252] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 - [253] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 + [269] (byte) play_remove_lines::removed#7 ← phi( play_remove_lines::@10/(byte) play_remove_lines::removed#1 play_remove_lines::@9/(byte) play_remove_lines::removed#11 ) + [269] (byte) play_remove_lines::w#11 ← phi( play_remove_lines::@10/(byte) play_remove_lines::w#2 play_remove_lines::@9/(byte) play_remove_lines::w#1 ) + [270] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 + [271] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 to:play_remove_lines::@5 play_remove_lines::@5: scope:[play_remove_lines] from play_remove_lines::@4 play_remove_lines::@6 - [254] (byte) play_remove_lines::w#6 ← phi( play_remove_lines::@4/(byte) play_remove_lines::w#11 play_remove_lines::@6/(byte) play_remove_lines::w#3 ) - [255] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 + [272] (byte) play_remove_lines::w#6 ← phi( play_remove_lines::@4/(byte) play_remove_lines::w#11 play_remove_lines::@6/(byte) play_remove_lines::w#3 ) + [273] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 to:play_remove_lines::@return play_remove_lines::@return: scope:[play_remove_lines] from play_remove_lines::@5 - [256] return - to:@return -play_remove_lines::@6: scope:[play_remove_lines] from play_remove_lines::@5 - [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [258] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 - to:play_remove_lines::@5 -play_remove_lines::@18: scope:[play_remove_lines] from play_remove_lines::@2 - [259] phi() - to:play_remove_lines::@3 -play_lock_current: scope:[play_lock_current] from play_move_down::@13 - [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 - to:play_lock_current::@1 -play_lock_current::@1: scope:[play_lock_current] from play_lock_current play_lock_current::@7 - [261] (byte) play_lock_current::l#6 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte) play_lock_current::l#1 ) - [261] (byte) play_lock_current::i#3 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte~) play_lock_current::i#7 ) - [261] (byte) play_lock_current::ypos2#2 ← phi( play_lock_current/(byte) play_lock_current::ypos2#0 play_lock_current::@7/(byte) play_lock_current::ypos2#1 ) - [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) - [263] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 - to:play_lock_current::@2 -play_lock_current::@2: scope:[play_lock_current] from play_lock_current::@1 play_lock_current::@8 - [264] (byte) play_lock_current::c#2 ← phi( play_lock_current::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@8/(byte) play_lock_current::c#1 ) - [264] (byte) play_lock_current::col#2 ← phi( play_lock_current::@1/(byte) play_lock_current::col#0 play_lock_current::@8/(byte) play_lock_current::col#1 ) - [264] (byte) play_lock_current::i#2 ← phi( play_lock_current::@1/(byte) play_lock_current::i#3 play_lock_current::@8/(byte~) play_lock_current::i#9 ) - [265] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 - [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 - to:play_lock_current::@4 -play_lock_current::@4: scope:[play_lock_current] from play_lock_current::@2 - [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 - to:play_lock_current::@3 -play_lock_current::@3: scope:[play_lock_current] from play_lock_current::@2 play_lock_current::@4 - [268] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 - [269] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 - [270] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 - to:play_lock_current::@5 -play_lock_current::@5: scope:[play_lock_current] from play_lock_current::@3 - [271] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [272] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 - [273] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 - to:play_lock_current::@return -play_lock_current::@return: scope:[play_lock_current] from play_lock_current::@5 [274] return to:@return +play_remove_lines::@6: scope:[play_remove_lines] from play_remove_lines::@5 + [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [276] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 + to:play_remove_lines::@5 +play_remove_lines::@18: scope:[play_remove_lines] from play_remove_lines::@2 + [277] phi() + to:play_remove_lines::@3 +play_lock_current: scope:[play_lock_current] from play_move_down::@13 + [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 + to:play_lock_current::@1 +play_lock_current::@1: scope:[play_lock_current] from play_lock_current play_lock_current::@7 + [279] (byte) play_lock_current::l#6 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte) play_lock_current::l#1 ) + [279] (byte) play_lock_current::i#3 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte~) play_lock_current::i#7 ) + [279] (byte) play_lock_current::ypos2#2 ← phi( play_lock_current/(byte) play_lock_current::ypos2#0 play_lock_current::@7/(byte) play_lock_current::ypos2#1 ) + [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) + [281] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 + to:play_lock_current::@2 +play_lock_current::@2: scope:[play_lock_current] from play_lock_current::@1 play_lock_current::@8 + [282] (byte) play_lock_current::c#2 ← phi( play_lock_current::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@8/(byte) play_lock_current::c#1 ) + [282] (byte) play_lock_current::col#2 ← phi( play_lock_current::@1/(byte) play_lock_current::col#0 play_lock_current::@8/(byte) play_lock_current::col#1 ) + [282] (byte) play_lock_current::i#2 ← phi( play_lock_current::@1/(byte) play_lock_current::i#3 play_lock_current::@8/(byte~) play_lock_current::i#9 ) + [283] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 + [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 + to:play_lock_current::@4 +play_lock_current::@4: scope:[play_lock_current] from play_lock_current::@2 + [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 + to:play_lock_current::@3 +play_lock_current::@3: scope:[play_lock_current] from play_lock_current::@2 play_lock_current::@4 + [286] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 + [287] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 + [288] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 + to:play_lock_current::@5 +play_lock_current::@5: scope:[play_lock_current] from play_lock_current::@3 + [289] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [290] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 + [291] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 + to:play_lock_current::@return +play_lock_current::@return: scope:[play_lock_current] from play_lock_current::@5 + [292] return + to:@return play_lock_current::@7: scope:[play_lock_current] from play_lock_current::@5 - [275] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 + [293] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 to:play_lock_current::@1 play_lock_current::@8: scope:[play_lock_current] from play_lock_current::@3 - [276] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 + [294] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 to:play_lock_current::@2 keyboard_event_pressed: scope:[keyboard_event_pressed] from keyboard_event_scan::@10 keyboard_event_scan::@11 keyboard_event_scan::@20 keyboard_event_scan::@9 play_move_down::@1 - [277] (byte) keyboard_event_pressed::keycode#5 ← phi( keyboard_event_scan::@10/(const byte) KEY_CTRL#0 keyboard_event_scan::@11/(const byte) KEY_COMMODORE#0 keyboard_event_scan::@20/(const byte) KEY_LSHIFT#0 keyboard_event_scan::@9/(const byte) KEY_RSHIFT#0 play_move_down::@1/(const byte) KEY_SPACE#0 ) - [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 - [279] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) - [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 - [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) + [295] (byte) keyboard_event_pressed::keycode#5 ← phi( keyboard_event_scan::@10/(const byte) KEY_CTRL#0 keyboard_event_scan::@11/(const byte) KEY_COMMODORE#0 keyboard_event_scan::@20/(const byte) KEY_LSHIFT#0 keyboard_event_scan::@9/(const byte) KEY_RSHIFT#0 play_move_down::@1/(const byte) KEY_SPACE#0 ) + [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 + [297] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) + [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) to:keyboard_event_pressed::@return keyboard_event_pressed::@return: scope:[keyboard_event_pressed] from keyboard_event_pressed - [282] return + [300] return to:@return keyboard_event_get: scope:[keyboard_event_get] from main::@24 - [283] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return + [301] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return to:keyboard_event_get::@3 keyboard_event_get::@3: scope:[keyboard_event_get] from keyboard_event_get - [284] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 - [285] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) + [302] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 + [303] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) to:keyboard_event_get::@return keyboard_event_get::@return: scope:[keyboard_event_get] from keyboard_event_get keyboard_event_get::@3 - [286] (byte) keyboard_events_size#16 ← phi( keyboard_event_get/(byte) keyboard_events_size#13 keyboard_event_get::@3/(byte) keyboard_events_size#4 ) - [286] (byte) keyboard_event_get::return#2 ← phi( keyboard_event_get/(byte/word/signed word/dword/signed dword) 255 keyboard_event_get::@3/(byte) keyboard_event_get::return#1 ) - [287] return + [304] (byte) keyboard_events_size#16 ← phi( keyboard_event_get/(byte) keyboard_events_size#13 keyboard_event_get::@3/(byte) keyboard_events_size#4 ) + [304] (byte) keyboard_event_get::return#2 ← phi( keyboard_event_get/(byte/word/signed word/dword/signed dword) 255 keyboard_event_get::@3/(byte) keyboard_event_get::return#1 ) + [305] return to:@return keyboard_event_scan: scope:[keyboard_event_scan] from main::@23 - [288] phi() + [306] phi() to:keyboard_event_scan::@1 keyboard_event_scan::@1: scope:[keyboard_event_scan] from keyboard_event_scan keyboard_event_scan::@3 - [289] (byte) keyboard_events_size#29 ← phi( keyboard_event_scan/(byte) keyboard_events_size#19 keyboard_event_scan::@3/(byte) keyboard_events_size#13 ) - [289] (byte) keyboard_event_scan::keycode#11 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::keycode#14 ) - [289] (byte) keyboard_event_scan::row#2 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::row#1 ) - [290] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 - [291] call keyboard_matrix_read - [292] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 + [307] (byte) keyboard_events_size#29 ← phi( keyboard_event_scan/(byte) keyboard_events_size#19 keyboard_event_scan::@3/(byte) keyboard_events_size#13 ) + [307] (byte) keyboard_event_scan::keycode#11 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::keycode#14 ) + [307] (byte) keyboard_event_scan::row#2 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::row#1 ) + [308] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 + [309] call keyboard_matrix_read + [310] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 to:keyboard_event_scan::@25 keyboard_event_scan::@25: scope:[keyboard_event_scan] from keyboard_event_scan::@1 - [293] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 - [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 + [311] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 + [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 to:keyboard_event_scan::@13 keyboard_event_scan::@13: scope:[keyboard_event_scan] from keyboard_event_scan::@25 - [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 + [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 to:keyboard_event_scan::@3 keyboard_event_scan::@3: scope:[keyboard_event_scan] from keyboard_event_scan::@13 keyboard_event_scan::@19 - [296] (byte) keyboard_events_size#13 ← phi( keyboard_event_scan::@13/(byte) keyboard_events_size#29 keyboard_event_scan::@19/(byte) keyboard_events_size#30 ) - [296] (byte) keyboard_event_scan::keycode#14 ← phi( keyboard_event_scan::@13/(byte) keyboard_event_scan::keycode#1 keyboard_event_scan::@19/(byte) keyboard_event_scan::keycode#15 ) - [297] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 - [298] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 + [314] (byte) keyboard_events_size#13 ← phi( keyboard_event_scan::@13/(byte) keyboard_events_size#29 keyboard_event_scan::@19/(byte) keyboard_events_size#30 ) + [314] (byte) keyboard_event_scan::keycode#14 ← phi( keyboard_event_scan::@13/(byte) keyboard_event_scan::keycode#1 keyboard_event_scan::@19/(byte) keyboard_event_scan::keycode#15 ) + [315] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 + [316] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 to:keyboard_event_scan::@20 keyboard_event_scan::@20: scope:[keyboard_event_scan] from keyboard_event_scan::@3 - [299] phi() - [300] call keyboard_event_pressed - [301] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 + [317] phi() + [318] call keyboard_event_pressed + [319] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@26 keyboard_event_scan::@26: scope:[keyboard_event_scan] from keyboard_event_scan::@20 - [302] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 - [303] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 + [320] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 + [321] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 to:keyboard_event_scan::@21 keyboard_event_scan::@21: scope:[keyboard_event_scan] from keyboard_event_scan::@26 - [304] phi() + [322] phi() to:keyboard_event_scan::@9 keyboard_event_scan::@9: scope:[keyboard_event_scan] from keyboard_event_scan::@21 keyboard_event_scan::@26 - [305] (byte) keyboard_modifiers#11 ← phi( keyboard_event_scan::@21/(byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 keyboard_event_scan::@26/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [306] call keyboard_event_pressed - [307] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 + [323] (byte) keyboard_modifiers#11 ← phi( keyboard_event_scan::@21/(byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 keyboard_event_scan::@26/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [324] call keyboard_event_pressed + [325] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@27 keyboard_event_scan::@27: scope:[keyboard_event_scan] from keyboard_event_scan::@9 - [308] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 - [309] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 + [326] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 + [327] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 to:keyboard_event_scan::@22 keyboard_event_scan::@22: scope:[keyboard_event_scan] from keyboard_event_scan::@27 - [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 + [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 to:keyboard_event_scan::@10 keyboard_event_scan::@10: scope:[keyboard_event_scan] from keyboard_event_scan::@22 keyboard_event_scan::@27 - [311] (byte) keyboard_modifiers#12 ← phi( keyboard_event_scan::@22/(byte) keyboard_modifiers#3 keyboard_event_scan::@27/(byte) keyboard_modifiers#11 ) - [312] call keyboard_event_pressed - [313] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 + [329] (byte) keyboard_modifiers#12 ← phi( keyboard_event_scan::@22/(byte) keyboard_modifiers#3 keyboard_event_scan::@27/(byte) keyboard_modifiers#11 ) + [330] call keyboard_event_pressed + [331] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@28 keyboard_event_scan::@28: scope:[keyboard_event_scan] from keyboard_event_scan::@10 - [314] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 - [315] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 + [332] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 + [333] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 to:keyboard_event_scan::@23 keyboard_event_scan::@23: scope:[keyboard_event_scan] from keyboard_event_scan::@28 - [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 + [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 to:keyboard_event_scan::@11 keyboard_event_scan::@11: scope:[keyboard_event_scan] from keyboard_event_scan::@23 keyboard_event_scan::@28 - [317] (byte) keyboard_modifiers#13 ← phi( keyboard_event_scan::@23/(byte) keyboard_modifiers#4 keyboard_event_scan::@28/(byte) keyboard_modifiers#12 ) - [318] call keyboard_event_pressed - [319] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 + [335] (byte) keyboard_modifiers#13 ← phi( keyboard_event_scan::@23/(byte) keyboard_modifiers#4 keyboard_event_scan::@28/(byte) keyboard_modifiers#12 ) + [336] call keyboard_event_pressed + [337] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@29 keyboard_event_scan::@29: scope:[keyboard_event_scan] from keyboard_event_scan::@11 - [320] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 - [321] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return + [338] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 + [339] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return to:keyboard_event_scan::@24 keyboard_event_scan::@24: scope:[keyboard_event_scan] from keyboard_event_scan::@29 - [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 + [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 to:keyboard_event_scan::@return keyboard_event_scan::@return: scope:[keyboard_event_scan] from keyboard_event_scan::@24 keyboard_event_scan::@29 - [323] return + [341] return to:@return keyboard_event_scan::@4: scope:[keyboard_event_scan] from keyboard_event_scan::@25 keyboard_event_scan::@5 - [324] (byte) keyboard_events_size#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_events_size#29 keyboard_event_scan::@5/(byte) keyboard_events_size#30 ) - [324] (byte) keyboard_event_scan::keycode#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_event_scan::keycode#11 keyboard_event_scan::@5/(byte) keyboard_event_scan::keycode#15 ) - [324] (byte) keyboard_event_scan::col#2 ← phi( keyboard_event_scan::@25/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@5/(byte) keyboard_event_scan::col#1 ) - [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) - [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) - [327] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 + [342] (byte) keyboard_events_size#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_events_size#29 keyboard_event_scan::@5/(byte) keyboard_events_size#30 ) + [342] (byte) keyboard_event_scan::keycode#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_event_scan::keycode#11 keyboard_event_scan::@5/(byte) keyboard_event_scan::keycode#15 ) + [342] (byte) keyboard_event_scan::col#2 ← phi( keyboard_event_scan::@25/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@5/(byte) keyboard_event_scan::col#1 ) + [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) + [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) + [345] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 to:keyboard_event_scan::@15 keyboard_event_scan::@15: scope:[keyboard_event_scan] from keyboard_event_scan::@4 - [328] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 + [346] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 to:keyboard_event_scan::@16 keyboard_event_scan::@16: scope:[keyboard_event_scan] from keyboard_event_scan::@15 - [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) - [330] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 + [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) + [348] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 to:keyboard_event_scan::@17 keyboard_event_scan::@17: scope:[keyboard_event_scan] from keyboard_event_scan::@16 - [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 - [332] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 + [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 + [350] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 to:keyboard_event_scan::@5 keyboard_event_scan::@5: scope:[keyboard_event_scan] from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 - [333] (byte) keyboard_events_size#30 ← phi( keyboard_event_scan::@17/(byte) keyboard_events_size#2 keyboard_event_scan::@4/(byte) keyboard_events_size#10 keyboard_event_scan::@15/(byte) keyboard_events_size#10 keyboard_event_scan::@7/(byte) keyboard_events_size#1 ) - [334] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 - [335] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 - [336] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 + [351] (byte) keyboard_events_size#30 ← phi( keyboard_event_scan::@17/(byte) keyboard_events_size#2 keyboard_event_scan::@4/(byte) keyboard_events_size#10 keyboard_event_scan::@15/(byte) keyboard_events_size#10 keyboard_event_scan::@7/(byte) keyboard_events_size#1 ) + [352] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 + [353] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 + [354] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 to:keyboard_event_scan::@19 keyboard_event_scan::@19: scope:[keyboard_event_scan] from keyboard_event_scan::@5 - [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 + [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 to:keyboard_event_scan::@3 keyboard_event_scan::@7: scope:[keyboard_event_scan] from keyboard_event_scan::@16 - [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 - [339] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 - [340] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 + [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 + [357] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 + [358] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 to:keyboard_event_scan::@5 keyboard_matrix_read: scope:[keyboard_matrix_read] from keyboard_event_scan::@1 - [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) - [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) + [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) + [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) to:keyboard_matrix_read::@return keyboard_matrix_read::@return: scope:[keyboard_matrix_read] from keyboard_matrix_read - [343] return + [361] return to:@return render_show: scope:[render_show] from main::@6 - [344] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 + [362] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 to:render_show::toD0182 render_show::toD0182: scope:[render_show] from render_show - [345] phi() + [363] phi() to:render_show::@2 render_show::@2: scope:[render_show] from render_show::toD0181 render_show::toD0182 - [346] (byte) render_show::d018val#3 ← phi( render_show::toD0181/(const byte) render_show::toD0181_return#0 render_show::toD0182/(const byte) render_show::toD0182_return#0 ) - [347] *((const byte*) D018#0) ← (byte) render_show::d018val#3 - [348] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 + [364] (byte) render_show::d018val#3 ← phi( render_show::toD0181/(const byte) render_show::toD0181_return#0 render_show::toD0182/(const byte) render_show::toD0182_return#0 ) + [365] *((const byte*) D018#0) ← (byte) render_show::d018val#3 + [366] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 to:render_show::@return render_show::@return: scope:[render_show] from render_show::@2 - [349] return + [367] return to:@return render_show::toD0181: scope:[render_show] from render_show - [350] phi() + [368] phi() to:render_show::@2 play_init: scope:[play_init] from main::@18 - [351] phi() + [369] phi() to:play_init::@1 play_init::@1: scope:[play_init] from play_init play_init::@1 - [352] (byte) play_init::idx#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::idx#1 ) - [352] (byte*) play_init::pli#2 ← phi( play_init/(const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 play_init::@1/(byte*) play_init::pli#1 ) - [352] (byte) play_init::j#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::j#1 ) - [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 - [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 - [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 - [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 - [358] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 - [359] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 + [370] (byte) play_init::idx#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::idx#1 ) + [370] (byte*) play_init::pli#2 ← phi( play_init/(const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 play_init::@1/(byte*) play_init::pli#1 ) + [370] (byte) play_init::j#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::j#1 ) + [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 + [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 + [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 + [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 + [376] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 + [377] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 to:play_init::@2 play_init::@2: scope:[play_init] from play_init::@1 - [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 + [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 to:play_init::@return play_init::@return: scope:[play_init] from play_init::@2 - [361] return + [379] return to:@return sprites_irq_init: scope:[sprites_irq_init] from main::@17 asm { sei } - [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 + [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 asm { ldaCIA1_INTERRUPT } - [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 - [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 - [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 - [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 - [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 - [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 - [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() + [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 + [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 + [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 + [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 + [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 + [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 + [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() asm { cli } to:sprites_irq_init::@return sprites_irq_init::@return: scope:[sprites_irq_init] from sprites_irq_init - [373] return + [391] return to:@return sprites_init: scope:[sprites_init] from main::@16 - [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 - [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) - [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) + [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 + [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) + [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) to:sprites_init::@1 sprites_init::@1: scope:[sprites_init] from sprites_init sprites_init::@1 - [378] (byte) sprites_init::xpos#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 sprites_init::@1/(byte) sprites_init::xpos#1 ) - [378] (byte) sprites_init::s#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 0 sprites_init::@1/(byte) sprites_init::s#1 ) - [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 - [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 - [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 - [383] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 - [384] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 + [396] (byte) sprites_init::xpos#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 sprites_init::@1/(byte) sprites_init::xpos#1 ) + [396] (byte) sprites_init::s#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 0 sprites_init::@1/(byte) sprites_init::s#1 ) + [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 + [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 + [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 + [401] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 + [402] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 to:sprites_init::@return sprites_init::@return: scope:[sprites_init] from sprites_init::@1 - [385] return + [403] return to:@return render_init: scope:[render_init] from main::@15 - [386] phi() + [404] phi() to:render_init::vicSelectGfxBank1 render_init::vicSelectGfxBank1: scope:[render_init] from render_init - [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 + [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 to:render_init::vicSelectGfxBank1_toDd001 render_init::vicSelectGfxBank1_toDd001: scope:[render_init] from render_init::vicSelectGfxBank1 - [388] phi() + [406] phi() to:render_init::vicSelectGfxBank1_@1 render_init::vicSelectGfxBank1_@1: scope:[render_init] from render_init::vicSelectGfxBank1_toDd001 - [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 + [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 to:render_init::@3 render_init::@3: scope:[render_init] from render_init::vicSelectGfxBank1_@1 - [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 - [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 - [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 - [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 - [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 - [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 - [396] call render_screen_original + [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 + [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 + [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 + [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 + [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 + [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 + [414] call render_screen_original to:render_init::@4 render_init::@4: scope:[render_init] from render_init::@3 - [397] phi() - [398] call render_screen_original + [415] phi() + [416] call render_screen_original to:render_init::@1 render_init::@1: scope:[render_init] from render_init::@1 render_init::@4 - [399] (byte*) render_init::li_2#2 ← phi( render_init::@1/(byte*) render_init::li_2#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) - [399] (byte*) render_init::li_1#2 ← phi( render_init::@1/(byte*) render_init::li_1#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) - [399] (byte) render_init::i#2 ← phi( render_init::@1/(byte) render_init::i#1 render_init::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 - [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 - [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 - [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 - [406] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 - [407] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 + [417] (byte*) render_init::li_2#2 ← phi( render_init::@1/(byte*) render_init::li_2#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) + [417] (byte*) render_init::li_1#2 ← phi( render_init::@1/(byte*) render_init::li_1#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) + [417] (byte) render_init::i#2 ← phi( render_init::@1/(byte) render_init::i#1 render_init::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 + [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 + [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 + [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 + [424] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 + [425] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 to:render_init::@return render_init::@return: scope:[render_init] from render_init::@1 - [408] return + [426] return to:@return render_screen_original: scope:[render_screen_original] from render_init::@3 render_init::@4 - [409] (byte*) render_screen_original::screen#9 ← phi( render_init::@3/(const byte*) PLAYFIELD_SCREEN_1#0 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0 ) + [427] (byte*) render_screen_original::screen#9 ← phi( render_init::@3/(const byte*) PLAYFIELD_SCREEN_1#0 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0 ) to:render_screen_original::@1 render_screen_original::@1: scope:[render_screen_original] from render_screen_original render_screen_original::@7 - [410] (byte) render_screen_original::y#6 ← phi( render_screen_original/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@7/(byte) render_screen_original::y#1 ) - [410] (byte*) render_screen_original::ocols#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::ocols#1 ) - [410] (byte*) render_screen_original::oscr#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::oscr#1 ) - [410] (byte*) render_screen_original::cols#7 ← phi( render_screen_original/(const byte*) COLS#0 render_screen_original::@7/(byte*) render_screen_original::cols#3 ) - [410] (byte*) render_screen_original::screen#8 ← phi( render_screen_original/(byte*) render_screen_original::screen#9 render_screen_original::@7/(byte*) render_screen_original::screen#10 ) + [428] (byte) render_screen_original::y#6 ← phi( render_screen_original/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@7/(byte) render_screen_original::y#1 ) + [428] (byte*) render_screen_original::ocols#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::ocols#1 ) + [428] (byte*) render_screen_original::oscr#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::oscr#1 ) + [428] (byte*) render_screen_original::cols#7 ← phi( render_screen_original/(const byte*) COLS#0 render_screen_original::@7/(byte*) render_screen_original::cols#3 ) + [428] (byte*) render_screen_original::screen#8 ← phi( render_screen_original/(byte*) render_screen_original::screen#9 render_screen_original::@7/(byte*) render_screen_original::screen#10 ) to:render_screen_original::@2 render_screen_original::@2: scope:[render_screen_original] from render_screen_original::@1 render_screen_original::@2 - [411] (byte) render_screen_original::x#4 ← phi( render_screen_original::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@2/(byte) render_screen_original::x#1 ) - [411] (byte*) render_screen_original::cols#4 ← phi( render_screen_original::@1/(byte*) render_screen_original::cols#7 render_screen_original::@2/(byte*) render_screen_original::cols#1 ) - [411] (byte*) render_screen_original::screen#5 ← phi( render_screen_original::@1/(byte*) render_screen_original::screen#8 render_screen_original::@2/(byte*) render_screen_original::screen#2 ) - [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 - [413] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 - [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 - [415] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 - [416] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 - [417] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 + [429] (byte) render_screen_original::x#4 ← phi( render_screen_original::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@2/(byte) render_screen_original::x#1 ) + [429] (byte*) render_screen_original::cols#4 ← phi( render_screen_original::@1/(byte*) render_screen_original::cols#7 render_screen_original::@2/(byte*) render_screen_original::cols#1 ) + [429] (byte*) render_screen_original::screen#5 ← phi( render_screen_original::@1/(byte*) render_screen_original::screen#8 render_screen_original::@2/(byte*) render_screen_original::screen#2 ) + [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 + [431] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 + [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 + [433] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 + [434] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 + [435] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 to:render_screen_original::@3 render_screen_original::@3: scope:[render_screen_original] from render_screen_original::@2 render_screen_original::@3 - [418] (byte) render_screen_original::x#5 ← phi( render_screen_original::@2/(byte) render_screen_original::x#1 render_screen_original::@3/(byte) render_screen_original::x#2 ) - [418] (byte*) render_screen_original::cols#5 ← phi( render_screen_original::@2/(byte*) render_screen_original::cols#1 render_screen_original::@3/(byte*) render_screen_original::cols#2 ) - [418] (byte*) render_screen_original::ocols#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::ocols#4 render_screen_original::@3/(byte*) render_screen_original::ocols#1 ) - [418] (byte*) render_screen_original::screen#6 ← phi( render_screen_original::@2/(byte*) render_screen_original::screen#2 render_screen_original::@3/(byte*) render_screen_original::screen#3 ) - [418] (byte*) render_screen_original::oscr#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::oscr#4 render_screen_original::@3/(byte*) render_screen_original::oscr#1 ) - [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) - [420] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 - [421] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 - [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) - [423] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 - [424] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 - [425] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 - [426] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 + [436] (byte) render_screen_original::x#5 ← phi( render_screen_original::@2/(byte) render_screen_original::x#1 render_screen_original::@3/(byte) render_screen_original::x#2 ) + [436] (byte*) render_screen_original::cols#5 ← phi( render_screen_original::@2/(byte*) render_screen_original::cols#1 render_screen_original::@3/(byte*) render_screen_original::cols#2 ) + [436] (byte*) render_screen_original::ocols#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::ocols#4 render_screen_original::@3/(byte*) render_screen_original::ocols#1 ) + [436] (byte*) render_screen_original::screen#6 ← phi( render_screen_original::@2/(byte*) render_screen_original::screen#2 render_screen_original::@3/(byte*) render_screen_original::screen#3 ) + [436] (byte*) render_screen_original::oscr#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::oscr#4 render_screen_original::@3/(byte*) render_screen_original::oscr#1 ) + [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) + [438] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 + [439] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 + [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) + [441] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 + [442] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 + [443] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 + [444] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 to:render_screen_original::@4 render_screen_original::@4: scope:[render_screen_original] from render_screen_original::@3 render_screen_original::@4 - [427] (byte) render_screen_original::x#6 ← phi( render_screen_original::@3/(byte) render_screen_original::x#2 render_screen_original::@4/(byte) render_screen_original::x#3 ) - [427] (byte*) render_screen_original::cols#6 ← phi( render_screen_original::@3/(byte*) render_screen_original::cols#2 render_screen_original::@4/(byte*) render_screen_original::cols#3 ) - [427] (byte*) render_screen_original::screen#7 ← phi( render_screen_original::@3/(byte*) render_screen_original::screen#3 render_screen_original::@4/(byte*) render_screen_original::screen#10 ) - [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 - [429] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 - [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 - [431] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 - [432] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 - [433] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 + [445] (byte) render_screen_original::x#6 ← phi( render_screen_original::@3/(byte) render_screen_original::x#2 render_screen_original::@4/(byte) render_screen_original::x#3 ) + [445] (byte*) render_screen_original::cols#6 ← phi( render_screen_original::@3/(byte*) render_screen_original::cols#2 render_screen_original::@4/(byte*) render_screen_original::cols#3 ) + [445] (byte*) render_screen_original::screen#7 ← phi( render_screen_original::@3/(byte*) render_screen_original::screen#3 render_screen_original::@4/(byte*) render_screen_original::screen#10 ) + [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 + [447] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 + [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 + [449] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 + [450] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 + [451] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 to:render_screen_original::@7 render_screen_original::@7: scope:[render_screen_original] from render_screen_original::@4 - [434] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 - [435] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 + [452] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 + [453] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 to:render_screen_original::@return render_screen_original::@return: scope:[render_screen_original] from render_screen_original::@7 - [436] return + [454] return to:@return sid_rnd_init: scope:[sid_rnd_init] from main - [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 - [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 + [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 + [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 to:sid_rnd_init::@return sid_rnd_init::@return: scope:[sid_rnd_init] from sid_rnd_init - [439] return + [457] return to:@return sprites_irq: scope:[sprites_irq] from asm { cld } - [441] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 - [442] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 - [443] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 - [444] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 - [445] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 + [459] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 + [460] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 + [461] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 + [462] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 + [463] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 to:sprites_irq::@1 sprites_irq::@1: scope:[sprites_irq] from sprites_irq sprites_irq::@1 - [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 + [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 to:sprites_irq::@7 sprites_irq::@7: scope:[sprites_irq] from sprites_irq::@1 - [447] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 - [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 + [465] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 + [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 to:sprites_irq::@8 sprites_irq::@8: scope:[sprites_irq] from sprites_irq::@7 - [449] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 - [450] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 - [451] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 - [452] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 - [453] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 - [454] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 + [467] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 + [468] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 + [469] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 + [470] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 + [471] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 + [472] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 to:sprites_irq::@3 sprites_irq::@3: scope:[sprites_irq] from sprites_irq::@2 sprites_irq::@8 - [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 - [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 + [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 + [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 to:sprites_irq::@10 sprites_irq::@10: scope:[sprites_irq] from sprites_irq::@3 - [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 - [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 - [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 + [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 + [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 + [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 to:sprites_irq::@5 sprites_irq::@5: scope:[sprites_irq] from sprites_irq::@10 sprites_irq::@13 - [460] (byte) irq_raster_next#13 ← phi( sprites_irq::@10/(byte) irq_raster_next#2 sprites_irq::@13/(byte) irq_raster_next#1 ) - [461] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 - [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 - [463] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 + [478] (byte) irq_raster_next#13 ← phi( sprites_irq::@10/(byte) irq_raster_next#2 sprites_irq::@13/(byte) irq_raster_next#1 ) + [479] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 + [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [481] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 to:sprites_irq::@12 sprites_irq::@12: scope:[sprites_irq] from sprites_irq::@5 - [464] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 + [482] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 to:sprites_irq::@6 sprites_irq::@6: scope:[sprites_irq] from sprites_irq::@12 sprites_irq::@5 - [465] (byte) sprites_irq::raster_next#2 ← phi( sprites_irq::@12/(byte) sprites_irq::raster_next#1 sprites_irq::@5/(byte) sprites_irq::raster_next#0 ) - [466] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 - [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 + [483] (byte) sprites_irq::raster_next#2 ← phi( sprites_irq::@12/(byte) sprites_irq::raster_next#1 sprites_irq::@5/(byte) sprites_irq::raster_next#0 ) + [484] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 + [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 to:sprites_irq::@return sprites_irq::@return: scope:[sprites_irq] from sprites_irq::@6 - [468] return + [486] return to:@return sprites_irq::@4: scope:[sprites_irq] from sprites_irq::@3 - [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 - [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 + [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 + [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 to:sprites_irq::toSpritePtr2 sprites_irq::toSpritePtr2: scope:[sprites_irq] from sprites_irq::@4 - [472] phi() + [490] phi() to:sprites_irq::@13 sprites_irq::@13: scope:[sprites_irq] from sprites_irq::toSpritePtr2 - [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 + [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 to:sprites_irq::@5 sprites_irq::@2: scope:[sprites_irq] from sprites_irq::@7 - [474] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 - [475] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 - [476] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 - [477] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 - [478] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 - [479] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 + [492] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 + [493] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 + [494] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 + [495] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 + [496] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 + [497] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 to:sprites_irq::@3 diff --git a/src/test/ref/examples/tetris/tetris.log b/src/test/ref/examples/tetris/tetris.log index f4d1337ef..12f16be82 100644 --- a/src/test/ref/examples/tetris/tetris.log +++ b/src/test/ref/examples/tetris/tetris.log @@ -12,10 +12,10 @@ Inlined call (byte~) sprites_irq::$3 ← call toSpritePtr (byte*) PLAYFIELD_SPRI CONTROL FLOW GRAPH SSA @begin: scope:[] from - (byte) current_piece_char#85 ← phi( ) - (byte) current_ypos#81 ← phi( ) - (byte) current_xpos#107 ← phi( ) - (byte*) current_piece_gfx#97 ← phi( ) + (byte) current_piece_char#86 ← phi( ) + (byte) current_ypos#82 ← phi( ) + (byte) current_xpos#108 ← phi( ) + (byte*) current_piece_gfx#98 ← phi( ) (byte*) PROCPORT_DDR#0 ← ((byte*)) (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) PROCPORT_DDR_MEMORY_MASK#0 ← (byte/signed byte/word/signed word/dword/signed dword) 7 (byte*) PROCPORT#0 ← ((byte*)) (byte/signed byte/word/signed word/dword/signed dword) 1 @@ -97,10 +97,10 @@ CONTROL FLOW GRAPH SSA (byte) LIGHT_GREY#0 ← (byte/signed byte/word/signed word/dword/signed dword) 15 to:@5 @5: scope:[] from @begin - (byte) current_piece_char#84 ← phi( @begin/(byte) current_piece_char#85 ) - (byte) current_ypos#80 ← phi( @begin/(byte) current_ypos#81 ) - (byte) current_xpos#106 ← phi( @begin/(byte) current_xpos#107 ) - (byte*) current_piece_gfx#96 ← phi( @begin/(byte*) current_piece_gfx#97 ) + (byte) current_piece_char#85 ← phi( @begin/(byte) current_piece_char#86 ) + (byte) current_ypos#81 ← phi( @begin/(byte) current_ypos#82 ) + (byte) current_xpos#107 ← phi( @begin/(byte) current_xpos#108 ) + (byte*) current_piece_gfx#97 ← phi( @begin/(byte*) current_piece_gfx#98 ) (byte) KEY_DEL#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) KEY_RETURN#0 ← (byte/signed byte/word/signed word/dword/signed dword) 1 (byte) KEY_CRSR_RIGHT#0 ← (byte/signed byte/word/signed word/dword/signed dword) 2 @@ -182,10 +182,10 @@ keyboard_matrix_read::@return: scope:[keyboard_matrix_read] from keyboard_matri return to:@return @9: scope:[] from @5 - (byte) current_piece_char#83 ← phi( @5/(byte) current_piece_char#84 ) - (byte) current_ypos#79 ← phi( @5/(byte) current_ypos#80 ) - (byte) current_xpos#105 ← phi( @5/(byte) current_xpos#106 ) - (byte*) current_piece_gfx#95 ← phi( @5/(byte*) current_piece_gfx#96 ) + (byte) current_piece_char#84 ← phi( @5/(byte) current_piece_char#85 ) + (byte) current_ypos#80 ← phi( @5/(byte) current_ypos#81 ) + (byte) current_xpos#106 ← phi( @5/(byte) current_xpos#107 ) + (byte*) current_piece_gfx#96 ← phi( @5/(byte*) current_piece_gfx#97 ) (byte[8]) keyboard_events#0 ← { fill( 8, 0) } (byte) keyboard_events_size#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) keyboard_modifiers#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -320,14 +320,14 @@ keyboard_event_scan::@19: scope:[keyboard_event_scan] from keyboard_event_scan: *((byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#6) ← (byte) keyboard_event_scan::row_scan#3 to:keyboard_event_scan::@3 keyboard_event_scan::@20: scope:[keyboard_event_scan] from keyboard_event_scan::@3 - (byte) keyboard_events_size#74 ← phi( keyboard_event_scan::@3/(byte) keyboard_events_size#55 ) + (byte) keyboard_events_size#75 ← phi( keyboard_event_scan::@3/(byte) keyboard_events_size#55 ) (byte) keyboard_modifiers#1 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) keyboard_event_pressed::keycode#0 ← (byte) KEY_LSHIFT#0 call keyboard_event_pressed (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#5 to:keyboard_event_scan::@26 keyboard_event_scan::@26: scope:[keyboard_event_scan] from keyboard_event_scan::@20 - (byte) keyboard_events_size#71 ← phi( keyboard_event_scan::@20/(byte) keyboard_events_size#74 ) + (byte) keyboard_events_size#72 ← phi( keyboard_event_scan::@20/(byte) keyboard_events_size#75 ) (byte) keyboard_modifiers#18 ← phi( keyboard_event_scan::@20/(byte) keyboard_modifiers#1 ) (byte) keyboard_event_pressed::return#7 ← phi( keyboard_event_scan::@20/(byte) keyboard_event_pressed::return#0 ) (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#7 @@ -336,14 +336,14 @@ keyboard_event_scan::@26: scope:[keyboard_event_scan] from keyboard_event_scan: if((bool~) keyboard_event_scan::$16) goto keyboard_event_scan::@9 to:keyboard_event_scan::@21 keyboard_event_scan::@9: scope:[keyboard_event_scan] from keyboard_event_scan::@21 keyboard_event_scan::@26 - (byte) keyboard_events_size#67 ← phi( keyboard_event_scan::@21/(byte) keyboard_events_size#70 keyboard_event_scan::@26/(byte) keyboard_events_size#71 ) + (byte) keyboard_events_size#68 ← phi( keyboard_event_scan::@21/(byte) keyboard_events_size#71 keyboard_event_scan::@26/(byte) keyboard_events_size#72 ) (byte) keyboard_modifiers#26 ← phi( keyboard_event_scan::@21/(byte) keyboard_modifiers#2 keyboard_event_scan::@26/(byte) keyboard_modifiers#18 ) (byte) keyboard_event_pressed::keycode#1 ← (byte) KEY_RSHIFT#0 call keyboard_event_pressed (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#5 to:keyboard_event_scan::@27 keyboard_event_scan::@27: scope:[keyboard_event_scan] from keyboard_event_scan::@9 - (byte) keyboard_events_size#64 ← phi( keyboard_event_scan::@9/(byte) keyboard_events_size#67 ) + (byte) keyboard_events_size#64 ← phi( keyboard_event_scan::@9/(byte) keyboard_events_size#68 ) (byte) keyboard_modifiers#19 ← phi( keyboard_event_scan::@9/(byte) keyboard_modifiers#26 ) (byte) keyboard_event_pressed::return#8 ← phi( keyboard_event_scan::@9/(byte) keyboard_event_pressed::return#1 ) (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#8 @@ -352,7 +352,7 @@ keyboard_event_scan::@27: scope:[keyboard_event_scan] from keyboard_event_scan: if((bool~) keyboard_event_scan::$20) goto keyboard_event_scan::@10 to:keyboard_event_scan::@22 keyboard_event_scan::@21: scope:[keyboard_event_scan] from keyboard_event_scan::@26 - (byte) keyboard_events_size#70 ← phi( keyboard_event_scan::@26/(byte) keyboard_events_size#71 ) + (byte) keyboard_events_size#71 ← phi( keyboard_event_scan::@26/(byte) keyboard_events_size#72 ) (byte) keyboard_modifiers#10 ← phi( keyboard_event_scan::@26/(byte) keyboard_modifiers#18 ) (byte~) keyboard_event_scan::$17 ← (byte) keyboard_modifiers#10 | (byte) KEY_MODIFIER_LSHIFT#0 (byte) keyboard_modifiers#2 ← (byte~) keyboard_event_scan::$17 @@ -453,12 +453,12 @@ keyboard_event_get::@return: scope:[keyboard_event_get] from keyboard_event_get return to:@return @12: scope:[] from @9 - (byte) keyboard_modifiers#58 ← phi( @9/(byte) keyboard_modifiers#0 ) - (byte) keyboard_events_size#77 ← phi( @9/(byte) keyboard_events_size#0 ) - (byte) current_piece_char#82 ← phi( @9/(byte) current_piece_char#83 ) - (byte) current_ypos#78 ← phi( @9/(byte) current_ypos#79 ) - (byte) current_xpos#104 ← phi( @9/(byte) current_xpos#105 ) - (byte*) current_piece_gfx#94 ← phi( @9/(byte*) current_piece_gfx#95 ) + (byte) keyboard_modifiers#59 ← phi( @9/(byte) keyboard_modifiers#0 ) + (byte) keyboard_events_size#78 ← phi( @9/(byte) keyboard_events_size#0 ) + (byte) current_piece_char#83 ← phi( @9/(byte) current_piece_char#84 ) + (byte) current_ypos#79 ← phi( @9/(byte) current_ypos#80 ) + (byte) current_xpos#105 ← phi( @9/(byte) current_xpos#106 ) + (byte*) current_piece_gfx#95 ← phi( @9/(byte*) current_piece_gfx#96 ) (word*) SID_VOICE3_FREQ#0 ← ((word*)) (word/dword/signed dword) 54286 (byte*) SID_VOICE3_FREQ_LOW#0 ← ((byte*)) (word/dword/signed dword) 54286 (byte*) SID_VOICE3_FREQ_HIGH#0 ← ((byte*)) (word/dword/signed dword) 54287 @@ -489,12 +489,12 @@ sid_rnd::@return: scope:[sid_rnd] from sid_rnd return to:@return @14: scope:[] from @12 - (byte) keyboard_modifiers#56 ← phi( @12/(byte) keyboard_modifiers#58 ) - (byte) keyboard_events_size#75 ← phi( @12/(byte) keyboard_events_size#77 ) - (byte) current_piece_char#81 ← phi( @12/(byte) current_piece_char#82 ) - (byte) current_ypos#77 ← phi( @12/(byte) current_ypos#78 ) - (byte) current_xpos#103 ← phi( @12/(byte) current_xpos#104 ) - (byte*) current_piece_gfx#93 ← phi( @12/(byte*) current_piece_gfx#94 ) + (byte) keyboard_modifiers#57 ← phi( @12/(byte) keyboard_modifiers#59 ) + (byte) keyboard_events_size#76 ← phi( @12/(byte) keyboard_events_size#78 ) + (byte) current_piece_char#82 ← phi( @12/(byte) current_piece_char#83 ) + (byte) current_ypos#78 ← phi( @12/(byte) current_ypos#79 ) + (byte) current_xpos#104 ← phi( @12/(byte) current_xpos#105 ) + (byte*) current_piece_gfx#94 ← phi( @12/(byte*) current_piece_gfx#95 ) (byte*) PLAYFIELD_SCREEN_1#0 ← ((byte*)) (word/signed word/dword/signed dword) 1024 (byte*) PLAYFIELD_SCREEN_2#0 ← ((byte*)) (word/signed word/dword/signed dword) 11264 (byte*~) $1 ← (byte*) PLAYFIELD_SCREEN_1#0 + (word) SPRITE_PTRS#0 @@ -530,7 +530,7 @@ sid_rnd::@return: scope:[sid_rnd] from sid_rnd }} (byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 ← { fill( PLAYFIELD_LINES#0, 0) } (byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 ← { fill( PLAYFIELD_LINES#0, 0) } - to:@20 + to:@21 render_init: scope:[render_init] from main::@15 (byte*) render_init::vicSelectGfxBank1_gfx#0 ← (byte*) PLAYFIELD_CHARSET#0 to:render_init::vicSelectGfxBank1 @@ -689,9 +689,9 @@ render_show::@return: scope:[render_show] from render_show::@2 (byte) render_screen_showing#2 ← (byte) render_screen_showing#6 return to:@return -render_screen_swap: scope:[render_screen_swap] from main::@30 - (byte) render_screen_show#12 ← phi( main::@30/(byte) render_screen_show#21 ) - (byte) render_screen_render#10 ← phi( main::@30/(byte) render_screen_render#18 ) +render_screen_swap: scope:[render_screen_swap] from main::@31 + (byte) render_screen_show#12 ← phi( main::@31/(byte) render_screen_show#21 ) + (byte) render_screen_render#10 ← phi( main::@31/(byte) render_screen_render#19 ) (byte) render_screen_render#3 ← (byte) render_screen_render#10 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 (byte) render_screen_show#3 ← (byte) render_screen_show#12 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 to:render_screen_swap::@return @@ -702,6 +702,61 @@ render_screen_swap::@return: scope:[render_screen_swap] from render_screen_swap (byte) render_screen_show#4 ← (byte) render_screen_show#13 return to:@return +render_score: scope:[render_score] from main::@30 + (dword) score_bcd#26 ← phi( main::@30/(dword) score_bcd#36 ) + (byte) render_screen_render#12 ← phi( main::@30/(byte) render_screen_render#20 ) + (byte) render_score::ZERO_CHAR#0 ← (byte/signed byte/word/signed word/dword/signed dword) 51 + (byte) render_score::SCREEN_SCORE_ROW#0 ← (byte/signed byte/word/signed word/dword/signed dword) 5 + (byte) render_score::SCREEN_SCORE_COL#0 ← (byte/signed byte/word/signed word/dword/signed dword) 29 + (bool~) render_score::$0 ← (byte) render_screen_render#12 == (byte/signed byte/word/signed word/dword/signed dword) 0 + if((bool~) render_score::$0) goto render_score::@1 + to:render_score::@4 +render_score::@1: scope:[render_score] from render_score + (dword) score_bcd#16 ← phi( render_score/(dword) score_bcd#26 ) + (byte) render_score::SCREEN_SCORE_COL#1 ← phi( render_score/(byte) render_score::SCREEN_SCORE_COL#0 ) + (byte) render_score::SCREEN_SCORE_ROW#1 ← phi( render_score/(byte) render_score::SCREEN_SCORE_ROW#0 ) + (byte/signed word/word/dword/signed dword~) render_score::$4 ← (byte/signed byte/word/signed word/dword/signed dword) 40 * (byte) render_score::SCREEN_SCORE_ROW#1 + (byte*~) render_score::$5 ← (byte*) PLAYFIELD_SCREEN_1#0 + (byte/signed word/word/dword/signed dword~) render_score::$4 + (byte*~) render_score::$6 ← (byte*~) render_score::$5 + (byte) render_score::SCREEN_SCORE_COL#1 + (byte*) render_score::screen_score_pos#0 ← (byte*~) render_score::$6 + to:render_score::@2 +render_score::@4: scope:[render_score] from render_score + (dword) score_bcd#17 ← phi( render_score/(dword) score_bcd#26 ) + (byte) render_score::SCREEN_SCORE_COL#2 ← phi( render_score/(byte) render_score::SCREEN_SCORE_COL#0 ) + (byte) render_score::SCREEN_SCORE_ROW#2 ← phi( render_score/(byte) render_score::SCREEN_SCORE_ROW#0 ) + (byte/signed word/word/dword/signed dword~) render_score::$1 ← (byte/signed byte/word/signed word/dword/signed dword) 40 * (byte) render_score::SCREEN_SCORE_ROW#2 + (byte*~) render_score::$2 ← (byte*) PLAYFIELD_SCREEN_2#0 + (byte/signed word/word/dword/signed dword~) render_score::$1 + (byte*~) render_score::$3 ← (byte*~) render_score::$2 + (byte) render_score::SCREEN_SCORE_COL#2 + (byte*) render_score::screen_score_pos#1 ← (byte*~) render_score::$3 + to:render_score::@2 +render_score::@2: scope:[render_score] from render_score::@1 render_score::@4 + (byte*) render_score::screen_score_pos#5 ← phi( render_score::@1/(byte*) render_score::screen_score_pos#0 render_score::@4/(byte*) render_score::screen_score_pos#1 ) + (dword) score_bcd#8 ← phi( render_score::@1/(dword) score_bcd#16 render_score::@4/(dword) score_bcd#17 ) + (dword*~) render_score::$7 ← & (dword) score_bcd#8 + (byte*~) render_score::$8 ← ((byte*)) (dword*~) render_score::$7 + (byte*) render_score::score_bytes#0 ← (byte*~) render_score::$8 + (byte) render_score::b#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + to:render_score::@3 +render_score::@3: scope:[render_score] from render_score::@2 render_score::@3 + (byte*) render_score::screen_score_pos#4 ← phi( render_score::@2/(byte*) render_score::screen_score_pos#5 render_score::@3/(byte*) render_score::screen_score_pos#3 ) + (byte) render_score::b#2 ← phi( render_score::@2/(byte) render_score::b#0 render_score::@3/(byte) render_score::b#1 ) + (byte*) render_score::score_bytes#1 ← phi( render_score::@2/(byte*) render_score::score_bytes#0 render_score::@3/(byte*) render_score::score_bytes#1 ) + (byte) render_score::score_byte#0 ← *((byte*) render_score::score_bytes#1 + (byte) render_score::b#2) + (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 + (byte~) render_score::$10 ← (byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 + *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 + (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 + (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 + (byte~) render_score::$12 ← (byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 + *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 + (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 + (byte) render_score::b#1 ← (byte) render_score::b#2 + rangenext(0,2) + (bool~) render_score::$13 ← (byte) render_score::b#1 != rangelast(0,2) + if((bool~) render_score::$13) goto render_score::@3 + to:render_score::@return +render_score::@return: scope:[render_score] from render_score::@3 + return + to:@return render_screen_original: scope:[render_screen_original] from render_init::@3 render_init::@4 (byte*) render_screen_original::screen#9 ← phi( render_init::@3/(byte*) render_screen_original::screen#0 render_init::@4/(byte*) render_screen_original::screen#1 ) (byte) render_screen_original::SPACE#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -788,7 +843,7 @@ render_screen_original::@return: scope:[render_screen_original] from render_scr return to:@return render_playfield: scope:[render_playfield] from main::@13 main::@20 - (byte) render_screen_render#19 ← phi( main::@13/(byte) render_screen_render#25 main::@20/(byte) render_screen_render#26 ) + (byte) render_screen_render#21 ← phi( main::@13/(byte) render_screen_render#27 main::@20/(byte) render_screen_render#28 ) (byte/signed word/word/dword/signed dword~) render_playfield::$0 ← (byte) PLAYFIELD_COLS#0 * (byte/signed byte/word/signed word/dword/signed dword) 2 (byte) render_playfield::i#0 ← (byte/signed word/word/dword/signed dword~) render_playfield::$0 (byte/signed word/word/dword/signed dword~) render_playfield::$1 ← (byte) PLAYFIELD_LINES#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 @@ -796,16 +851,16 @@ render_playfield: scope:[render_playfield] from main::@13 main::@20 to:render_playfield::@1 render_playfield::@1: scope:[render_playfield] from render_playfield render_playfield::@3 (byte) render_playfield::i#3 ← phi( render_playfield/(byte) render_playfield::i#0 render_playfield::@3/(byte) render_playfield::i#4 ) - (byte) render_screen_render#12 ← phi( render_playfield/(byte) render_screen_render#19 render_playfield::@3/(byte) render_screen_render#20 ) + (byte) render_screen_render#13 ← phi( render_playfield/(byte) render_screen_render#21 render_playfield::@3/(byte) render_screen_render#22 ) (byte) render_playfield::l#2 ← phi( render_playfield/(byte) render_playfield::l#0 render_playfield::@3/(byte) render_playfield::l#1 ) (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - (byte~) render_playfield::$3 ← (byte) render_screen_render#12 + (byte~) render_playfield::$2 + (byte~) render_playfield::$3 ← (byte) render_screen_render#13 + (byte~) render_playfield::$2 (byte*) render_playfield::screen_line#0 ← *((byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) (byte/signed word/word/dword/signed dword~) render_playfield::$4 ← (byte) PLAYFIELD_COLS#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 (byte) render_playfield::c#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 to:render_playfield::@2 render_playfield::@2: scope:[render_playfield] from render_playfield::@1 render_playfield::@2 - (byte) render_screen_render#27 ← phi( render_playfield::@1/(byte) render_screen_render#12 render_playfield::@2/(byte) render_screen_render#27 ) + (byte) render_screen_render#29 ← phi( render_playfield::@1/(byte) render_screen_render#13 render_playfield::@2/(byte) render_screen_render#29 ) (byte) render_playfield::l#4 ← phi( render_playfield::@1/(byte) render_playfield::l#2 render_playfield::@2/(byte) render_playfield::l#4 ) (byte) render_playfield::c#2 ← phi( render_playfield::@1/(byte) render_playfield::c#0 render_playfield::@2/(byte) render_playfield::c#1 ) (byte*) render_playfield::screen_line#2 ← phi( render_playfield::@1/(byte*) render_playfield::screen_line#0 render_playfield::@2/(byte*) render_playfield::screen_line#1 ) @@ -819,7 +874,7 @@ render_playfield::@2: scope:[render_playfield] from render_playfield::@1 render to:render_playfield::@3 render_playfield::@3: scope:[render_playfield] from render_playfield::@2 (byte) render_playfield::i#4 ← phi( render_playfield::@2/(byte) render_playfield::i#1 ) - (byte) render_screen_render#20 ← phi( render_playfield::@2/(byte) render_screen_render#27 ) + (byte) render_screen_render#22 ← phi( render_playfield::@2/(byte) render_screen_render#29 ) (byte) render_playfield::l#3 ← phi( render_playfield::@2/(byte) render_playfield::l#4 ) (byte) render_playfield::l#1 ← (byte) render_playfield::l#3 + rangenext(2,render_playfield::$1) (bool~) render_playfield::$6 ← (byte) render_playfield::l#1 != rangelast(2,render_playfield::$1) @@ -829,10 +884,10 @@ render_playfield::@return: scope:[render_playfield] from render_playfield::@3 return to:@return render_current: scope:[render_current] from main::@21 main::@29 - (byte) current_piece_char#64 ← phi( main::@21/(byte) current_piece_char#48 main::@29/(byte) current_piece_char#63 ) + (byte) current_piece_char#64 ← phi( main::@21/(byte) current_piece_char#48 main::@29/(byte) current_piece_char#71 ) (byte*) current_piece_gfx#53 ← phi( main::@21/(byte*) current_piece_gfx#65 main::@29/(byte*) current_piece_gfx#68 ) (byte) current_xpos#47 ← phi( main::@21/(byte) current_xpos#66 main::@29/(byte) current_xpos#67 ) - (byte) render_screen_render#28 ← phi( main::@21/(byte) render_screen_render#35 main::@29/(byte) render_screen_render#33 ) + (byte) render_screen_render#30 ← phi( main::@21/(byte) render_screen_render#37 main::@29/(byte) render_screen_render#35 ) (byte) current_ypos#9 ← phi( main::@21/(byte) current_ypos#23 main::@29/(byte) current_ypos#24 ) (byte) render_current::i#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte~) render_current::$0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 @@ -845,7 +900,7 @@ render_current::@1: scope:[render_current] from render_current render_current:: (byte*) current_piece_gfx#36 ← phi( render_current/(byte*) current_piece_gfx#53 render_current::@3/(byte*) current_piece_gfx#54 ) (byte) render_current::i#5 ← phi( render_current/(byte) render_current::i#0 render_current::@3/(byte) render_current::i#8 ) (byte) current_xpos#29 ← phi( render_current/(byte) current_xpos#47 render_current::@3/(byte) current_xpos#48 ) - (byte) render_screen_render#21 ← phi( render_current/(byte) render_screen_render#28 render_current::@3/(byte) render_screen_render#29 ) + (byte) render_screen_render#23 ← phi( render_current/(byte) render_screen_render#30 render_current::@3/(byte) render_screen_render#31 ) (byte) render_current::ypos2#2 ← phi( render_current/(byte) render_current::ypos2#0 render_current::@3/(byte) render_current::ypos2#1 ) (bool~) render_current::$1 ← (byte) render_current::ypos2#2 > (byte/signed byte/word/signed word/dword/signed dword) 2 (byte/signed word/word/dword/signed dword~) render_current::$2 ← (byte/signed byte/word/signed word/dword/signed dword) 2 * (byte) PLAYFIELD_LINES#0 @@ -860,8 +915,8 @@ render_current::@2: scope:[render_current] from render_current::@1 (byte*) current_piece_gfx#22 ← phi( render_current::@1/(byte*) current_piece_gfx#36 ) (byte) current_xpos#12 ← phi( render_current::@1/(byte) current_xpos#29 ) (byte) render_current::ypos2#3 ← phi( render_current::@1/(byte) render_current::ypos2#2 ) - (byte) render_screen_render#13 ← phi( render_current::@1/(byte) render_screen_render#21 ) - (byte~) render_current::$5 ← (byte) render_screen_render#13 + (byte) render_current::ypos2#3 + (byte) render_screen_render#14 ← phi( render_current::@1/(byte) render_screen_render#23 ) + (byte~) render_current::$5 ← (byte) render_screen_render#14 + (byte) render_current::ypos2#3 (byte*) render_current::screen_line#0 ← *((byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) (byte) render_current::xpos#0 ← (byte) current_xpos#12 (byte) render_current::c#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -870,7 +925,7 @@ render_current::@7: scope:[render_current] from render_current::@1 (byte) current_piece_char#72 ← phi( render_current::@1/(byte) current_piece_char#52 ) (byte*) current_piece_gfx#69 ← phi( render_current::@1/(byte*) current_piece_gfx#36 ) (byte) current_xpos#69 ← phi( render_current::@1/(byte) current_xpos#29 ) - (byte) render_screen_render#37 ← phi( render_current::@1/(byte) render_screen_render#21 ) + (byte) render_screen_render#39 ← phi( render_current::@1/(byte) render_screen_render#23 ) (byte) render_current::l#4 ← phi( render_current::@1/(byte) render_current::l#5 ) (byte) render_current::ypos2#6 ← phi( render_current::@1/(byte) render_current::ypos2#2 ) (byte) render_current::i#3 ← phi( render_current::@1/(byte) render_current::i#5 ) @@ -881,7 +936,7 @@ render_current::@3: scope:[render_current] from render_current::@5 render_curre (byte*) current_piece_gfx#54 ← phi( render_current::@5/(byte*) current_piece_gfx#23 render_current::@7/(byte*) current_piece_gfx#69 ) (byte) render_current::i#8 ← phi( render_current::@5/(byte) render_current::i#7 render_current::@7/(byte) render_current::i#1 ) (byte) current_xpos#48 ← phi( render_current::@5/(byte) current_xpos#68 render_current::@7/(byte) current_xpos#69 ) - (byte) render_screen_render#29 ← phi( render_current::@5/(byte) render_screen_render#36 render_current::@7/(byte) render_screen_render#37 ) + (byte) render_screen_render#31 ← phi( render_current::@5/(byte) render_screen_render#38 render_current::@7/(byte) render_screen_render#39 ) (byte) render_current::l#2 ← phi( render_current::@5/(byte) render_current::l#3 render_current::@7/(byte) render_current::l#4 ) (byte) render_current::ypos2#4 ← phi( render_current::@5/(byte) render_current::ypos2#5 render_current::@7/(byte) render_current::ypos2#6 ) (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#4 + (byte/signed byte/word/signed word/dword/signed dword) 2 @@ -891,7 +946,7 @@ render_current::@3: scope:[render_current] from render_current::@5 render_curre to:render_current::@return render_current::@4: scope:[render_current] from render_current::@2 render_current::@5 (byte) current_xpos#83 ← phi( render_current::@2/(byte) current_xpos#12 render_current::@5/(byte) current_xpos#68 ) - (byte) render_screen_render#42 ← phi( render_current::@2/(byte) render_screen_render#13 render_current::@5/(byte) render_screen_render#36 ) + (byte) render_screen_render#44 ← phi( render_current::@2/(byte) render_screen_render#14 render_current::@5/(byte) render_screen_render#38 ) (byte*) render_current::screen_line#3 ← phi( render_current::@2/(byte*) render_current::screen_line#0 render_current::@5/(byte*) render_current::screen_line#4 ) (byte) current_piece_char#26 ← phi( render_current::@2/(byte) current_piece_char#38 render_current::@5/(byte) current_piece_char#39 ) (byte) render_current::l#7 ← phi( render_current::@2/(byte) render_current::l#9 render_current::@5/(byte) render_current::l#3 ) @@ -910,7 +965,7 @@ render_current::@5: scope:[render_current] from render_current::@10 render_curr (byte*) render_current::screen_line#4 ← phi( render_current::@10/(byte*) render_current::screen_line#1 render_current::@4/(byte*) render_current::screen_line#3 render_current::@6/(byte*) render_current::screen_line#5 ) (byte) current_piece_char#39 ← phi( render_current::@10/(byte) current_piece_char#8 render_current::@4/(byte) current_piece_char#26 render_current::@6/(byte) current_piece_char#53 ) (byte) current_xpos#68 ← phi( render_current::@10/(byte) current_xpos#82 render_current::@4/(byte) current_xpos#83 render_current::@6/(byte) current_xpos#84 ) - (byte) render_screen_render#36 ← phi( render_current::@10/(byte) render_screen_render#41 render_current::@4/(byte) render_screen_render#42 render_current::@6/(byte) render_screen_render#43 ) + (byte) render_screen_render#38 ← phi( render_current::@10/(byte) render_screen_render#43 render_current::@4/(byte) render_screen_render#44 render_current::@6/(byte) render_screen_render#45 ) (byte) render_current::i#7 ← phi( render_current::@10/(byte) render_current::i#9 render_current::@4/(byte) render_current::i#2 render_current::@6/(byte) render_current::i#10 ) (byte*) current_piece_gfx#23 ← phi( render_current::@10/(byte*) current_piece_gfx#37 render_current::@4/(byte*) current_piece_gfx#11 render_current::@6/(byte*) current_piece_gfx#38 ) (byte) render_current::l#3 ← phi( render_current::@10/(byte) render_current::l#6 render_current::@4/(byte) render_current::l#7 render_current::@6/(byte) render_current::l#8 ) @@ -923,8 +978,8 @@ render_current::@5: scope:[render_current] from render_current::@10 render_curr if((bool~) render_current::$10) goto render_current::@4 to:render_current::@3 render_current::@9: scope:[render_current] from render_current::@4 - (byte) current_xpos#91 ← phi( render_current::@4/(byte) current_xpos#83 ) - (byte) render_screen_render#47 ← phi( render_current::@4/(byte) render_screen_render#42 ) + (byte) current_xpos#92 ← phi( render_current::@4/(byte) current_xpos#83 ) + (byte) render_screen_render#49 ← phi( render_current::@4/(byte) render_screen_render#44 ) (byte) render_current::i#11 ← phi( render_current::@4/(byte) render_current::i#2 ) (byte*) current_piece_gfx#55 ← phi( render_current::@4/(byte*) current_piece_gfx#11 ) (byte) render_current::l#10 ← phi( render_current::@4/(byte) render_current::l#7 ) @@ -940,8 +995,8 @@ render_current::@9: scope:[render_current] from render_current::@4 render_current::@6: scope:[render_current] from render_current::@9 (byte*) render_current::screen_line#5 ← phi( render_current::@9/(byte*) render_current::screen_line#2 ) (byte) current_piece_char#53 ← phi( render_current::@9/(byte) current_piece_char#17 ) - (byte) current_xpos#84 ← phi( render_current::@9/(byte) current_xpos#91 ) - (byte) render_screen_render#43 ← phi( render_current::@9/(byte) render_screen_render#47 ) + (byte) current_xpos#84 ← phi( render_current::@9/(byte) current_xpos#92 ) + (byte) render_screen_render#45 ← phi( render_current::@9/(byte) render_screen_render#49 ) (byte) render_current::i#10 ← phi( render_current::@9/(byte) render_current::i#11 ) (byte*) current_piece_gfx#38 ← phi( render_current::@9/(byte*) current_piece_gfx#55 ) (byte) render_current::l#8 ← phi( render_current::@9/(byte) render_current::l#10 ) @@ -950,8 +1005,8 @@ render_current::@6: scope:[render_current] from render_current::@9 (byte) render_current::xpos#6 ← phi( render_current::@9/(byte) render_current::xpos#3 ) to:render_current::@5 render_current::@10: scope:[render_current] from render_current::@9 - (byte) current_xpos#82 ← phi( render_current::@9/(byte) current_xpos#91 ) - (byte) render_screen_render#41 ← phi( render_current::@9/(byte) render_screen_render#47 ) + (byte) current_xpos#82 ← phi( render_current::@9/(byte) current_xpos#92 ) + (byte) render_screen_render#43 ← phi( render_current::@9/(byte) render_screen_render#49 ) (byte) render_current::i#9 ← phi( render_current::@9/(byte) render_current::i#11 ) (byte*) current_piece_gfx#37 ← phi( render_current::@9/(byte*) current_piece_gfx#55 ) (byte) render_current::l#6 ← phi( render_current::@9/(byte) render_current::l#10 ) @@ -965,17 +1020,17 @@ render_current::@10: scope:[render_current] from render_current::@9 render_current::@return: scope:[render_current] from render_current::@3 return to:@return -@20: scope:[] from @14 - (dword) score_bcd#64 ← phi( @14/(dword) score_bcd#0 ) - (byte) keyboard_modifiers#54 ← phi( @14/(byte) keyboard_modifiers#56 ) - (byte) keyboard_events_size#72 ← phi( @14/(byte) keyboard_events_size#75 ) - (byte) render_screen_showing#41 ← phi( @14/(byte) render_screen_showing#0 ) - (byte) current_piece_char#80 ← phi( @14/(byte) current_piece_char#81 ) - (byte) current_ypos#76 ← phi( @14/(byte) current_ypos#77 ) - (byte) current_xpos#102 ← phi( @14/(byte) current_xpos#103 ) - (byte*) current_piece_gfx#92 ← phi( @14/(byte*) current_piece_gfx#93 ) - (byte) render_screen_render#55 ← phi( @14/(byte) render_screen_render#0 ) - (byte) render_screen_show#55 ← phi( @14/(byte) render_screen_show#0 ) +@21: scope:[] from @14 + (dword) score_bcd#69 ← phi( @14/(dword) score_bcd#0 ) + (byte) keyboard_modifiers#55 ← phi( @14/(byte) keyboard_modifiers#57 ) + (byte) keyboard_events_size#73 ← phi( @14/(byte) keyboard_events_size#76 ) + (byte) render_screen_showing#42 ← phi( @14/(byte) render_screen_showing#0 ) + (byte) current_piece_char#81 ← phi( @14/(byte) current_piece_char#82 ) + (byte) current_ypos#77 ← phi( @14/(byte) current_ypos#78 ) + (byte) current_xpos#103 ← phi( @14/(byte) current_xpos#104 ) + (byte*) current_piece_gfx#93 ← phi( @14/(byte*) current_piece_gfx#94 ) + (byte) render_screen_render#57 ← phi( @14/(byte) render_screen_render#0 ) + (byte) render_screen_show#56 ← phi( @14/(byte) render_screen_show#0 ) kickasm(location (byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { @@ -988,7 +1043,7 @@ render_current::@return: scope:[render_current] from render_current::@3 } } }} - to:@21 + to:@22 sprites_init: scope:[sprites_init] from main::@16 *((byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 *((byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -1015,36 +1070,36 @@ sprites_init::@1: scope:[sprites_init] from sprites_init sprites_init::@1 sprites_init::@return: scope:[sprites_init] from sprites_init::@1 return to:@return -@21: scope:[] from @20 - (dword) score_bcd#62 ← phi( @20/(dword) score_bcd#64 ) - (byte) keyboard_modifiers#52 ← phi( @20/(byte) keyboard_modifiers#54 ) - (byte) keyboard_events_size#68 ← phi( @20/(byte) keyboard_events_size#72 ) - (byte) render_screen_showing#38 ← phi( @20/(byte) render_screen_showing#41 ) - (byte) current_piece_char#79 ← phi( @20/(byte) current_piece_char#80 ) - (byte) current_ypos#75 ← phi( @20/(byte) current_ypos#76 ) - (byte) current_xpos#101 ← phi( @20/(byte) current_xpos#102 ) - (byte*) current_piece_gfx#91 ← phi( @20/(byte*) current_piece_gfx#92 ) - (byte) render_screen_render#53 ← phi( @20/(byte) render_screen_render#55 ) - (byte) render_screen_show#52 ← phi( @20/(byte) render_screen_show#55 ) +@22: scope:[] from @21 + (dword) score_bcd#67 ← phi( @21/(dword) score_bcd#69 ) + (byte) keyboard_modifiers#53 ← phi( @21/(byte) keyboard_modifiers#55 ) + (byte) keyboard_events_size#69 ← phi( @21/(byte) keyboard_events_size#73 ) + (byte) render_screen_showing#39 ← phi( @21/(byte) render_screen_showing#42 ) + (byte) current_piece_char#80 ← phi( @21/(byte) current_piece_char#81 ) + (byte) current_ypos#76 ← phi( @21/(byte) current_ypos#77 ) + (byte) current_xpos#102 ← phi( @21/(byte) current_xpos#103 ) + (byte*) current_piece_gfx#92 ← phi( @21/(byte*) current_piece_gfx#93 ) + (byte) render_screen_render#55 ← phi( @21/(byte) render_screen_render#57 ) + (byte) render_screen_show#53 ← phi( @21/(byte) render_screen_show#56 ) (byte) IRQ_RASTER_FIRST#0 ← (byte/signed byte/word/signed word/dword/signed dword) 49 (byte) irq_raster_next#0 ← (byte) IRQ_RASTER_FIRST#0 (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 (byte*) toSpritePtr1_sprite#0 ← (byte*) PLAYFIELD_SPRITES#0 to:toSpritePtr1 -toSpritePtr1: scope:[] from @21 - (byte) irq_raster_next#23 ← phi( @21/(byte) irq_raster_next#0 ) - (dword) score_bcd#56 ← phi( @21/(dword) score_bcd#62 ) - (byte) keyboard_modifiers#49 ← phi( @21/(byte) keyboard_modifiers#52 ) - (byte) keyboard_events_size#65 ← phi( @21/(byte) keyboard_events_size#68 ) - (byte) render_screen_showing#35 ← phi( @21/(byte) render_screen_showing#38 ) - (byte) current_piece_char#73 ← phi( @21/(byte) current_piece_char#79 ) - (byte) current_ypos#71 ← phi( @21/(byte) current_ypos#75 ) - (byte) current_xpos#97 ← phi( @21/(byte) current_xpos#101 ) - (byte*) current_piece_gfx#85 ← phi( @21/(byte*) current_piece_gfx#91 ) - (byte) render_screen_render#51 ← phi( @21/(byte) render_screen_render#53 ) - (byte) render_screen_show#49 ← phi( @21/(byte) render_screen_show#52 ) - (byte) irq_sprite_ypos#23 ← phi( @21/(byte) irq_sprite_ypos#0 ) - (byte*) toSpritePtr1_sprite#1 ← phi( @21/(byte*) toSpritePtr1_sprite#0 ) +toSpritePtr1: scope:[] from @22 + (byte) irq_raster_next#23 ← phi( @22/(byte) irq_raster_next#0 ) + (dword) score_bcd#61 ← phi( @22/(dword) score_bcd#67 ) + (byte) keyboard_modifiers#49 ← phi( @22/(byte) keyboard_modifiers#53 ) + (byte) keyboard_events_size#65 ← phi( @22/(byte) keyboard_events_size#69 ) + (byte) render_screen_showing#35 ← phi( @22/(byte) render_screen_showing#39 ) + (byte) current_piece_char#73 ← phi( @22/(byte) current_piece_char#80 ) + (byte) current_ypos#72 ← phi( @22/(byte) current_ypos#76 ) + (byte) current_xpos#98 ← phi( @22/(byte) current_xpos#102 ) + (byte*) current_piece_gfx#86 ← phi( @22/(byte*) current_piece_gfx#92 ) + (byte) render_screen_render#53 ← phi( @22/(byte) render_screen_render#55 ) + (byte) render_screen_show#50 ← phi( @22/(byte) render_screen_show#53 ) + (byte) irq_sprite_ypos#23 ← phi( @22/(byte) irq_sprite_ypos#0 ) + (byte*) toSpritePtr1_sprite#1 ← phi( @22/(byte*) toSpritePtr1_sprite#0 ) (word) toSpritePtr1_$0#0 ← ((word)) (byte*) toSpritePtr1_sprite#1 (word) toSpritePtr1_$1#0 ← (word) toSpritePtr1_$0#0 >> (byte/signed byte/word/signed word/dword/signed dword) 6 (byte) toSpritePtr1_$2#0 ← ((byte)) (word) toSpritePtr1_$1#0 @@ -1052,38 +1107,38 @@ toSpritePtr1: scope:[] from @21 to:toSpritePtr1_@return toSpritePtr1_@return: scope:[] from toSpritePtr1 (byte) irq_raster_next#22 ← phi( toSpritePtr1/(byte) irq_raster_next#23 ) - (dword) score_bcd#50 ← phi( toSpritePtr1/(dword) score_bcd#56 ) + (dword) score_bcd#55 ← phi( toSpritePtr1/(dword) score_bcd#61 ) (byte) keyboard_modifiers#45 ← phi( toSpritePtr1/(byte) keyboard_modifiers#49 ) (byte) keyboard_events_size#57 ← phi( toSpritePtr1/(byte) keyboard_events_size#65 ) (byte) render_screen_showing#31 ← phi( toSpritePtr1/(byte) render_screen_showing#35 ) (byte) current_piece_char#66 ← phi( toSpritePtr1/(byte) current_piece_char#73 ) - (byte) current_ypos#66 ← phi( toSpritePtr1/(byte) current_ypos#71 ) - (byte) current_xpos#92 ← phi( toSpritePtr1/(byte) current_xpos#97 ) - (byte*) current_piece_gfx#79 ← phi( toSpritePtr1/(byte*) current_piece_gfx#85 ) - (byte) render_screen_render#48 ← phi( toSpritePtr1/(byte) render_screen_render#51 ) - (byte) render_screen_show#46 ← phi( toSpritePtr1/(byte) render_screen_show#49 ) + (byte) current_ypos#67 ← phi( toSpritePtr1/(byte) current_ypos#72 ) + (byte) current_xpos#93 ← phi( toSpritePtr1/(byte) current_xpos#98 ) + (byte*) current_piece_gfx#80 ← phi( toSpritePtr1/(byte*) current_piece_gfx#86 ) + (byte) render_screen_render#50 ← phi( toSpritePtr1/(byte) render_screen_render#53 ) + (byte) render_screen_show#47 ← phi( toSpritePtr1/(byte) render_screen_show#50 ) (byte) irq_sprite_ypos#21 ← phi( toSpritePtr1/(byte) irq_sprite_ypos#23 ) (byte) toSpritePtr1_return#2 ← phi( toSpritePtr1/(byte) toSpritePtr1_return#0 ) (byte) toSpritePtr1_return#1 ← (byte) toSpritePtr1_return#2 - to:@34 -@34: scope:[] from toSpritePtr1_@return + to:@35 +@35: scope:[] from toSpritePtr1_@return (byte) irq_raster_next#21 ← phi( toSpritePtr1_@return/(byte) irq_raster_next#22 ) - (dword) score_bcd#41 ← phi( toSpritePtr1_@return/(dword) score_bcd#50 ) + (dword) score_bcd#46 ← phi( toSpritePtr1_@return/(dword) score_bcd#55 ) (byte) keyboard_modifiers#39 ← phi( toSpritePtr1_@return/(byte) keyboard_modifiers#45 ) (byte) keyboard_events_size#48 ← phi( toSpritePtr1_@return/(byte) keyboard_events_size#57 ) (byte) render_screen_showing#27 ← phi( toSpritePtr1_@return/(byte) render_screen_showing#31 ) (byte) current_piece_char#54 ← phi( toSpritePtr1_@return/(byte) current_piece_char#66 ) - (byte) current_ypos#61 ← phi( toSpritePtr1_@return/(byte) current_ypos#66 ) - (byte) current_xpos#85 ← phi( toSpritePtr1_@return/(byte) current_xpos#92 ) - (byte*) current_piece_gfx#70 ← phi( toSpritePtr1_@return/(byte*) current_piece_gfx#79 ) - (byte) render_screen_render#44 ← phi( toSpritePtr1_@return/(byte) render_screen_render#48 ) - (byte) render_screen_show#43 ← phi( toSpritePtr1_@return/(byte) render_screen_show#46 ) + (byte) current_ypos#61 ← phi( toSpritePtr1_@return/(byte) current_ypos#67 ) + (byte) current_xpos#85 ← phi( toSpritePtr1_@return/(byte) current_xpos#93 ) + (byte*) current_piece_gfx#70 ← phi( toSpritePtr1_@return/(byte*) current_piece_gfx#80 ) + (byte) render_screen_render#46 ← phi( toSpritePtr1_@return/(byte) render_screen_render#50 ) + (byte) render_screen_show#43 ← phi( toSpritePtr1_@return/(byte) render_screen_show#47 ) (byte) irq_sprite_ypos#20 ← phi( toSpritePtr1_@return/(byte) irq_sprite_ypos#21 ) (byte) toSpritePtr1_return#3 ← phi( toSpritePtr1_@return/(byte) toSpritePtr1_return#1 ) (byte~) $4 ← (byte) toSpritePtr1_return#3 (byte) irq_sprite_ptr#0 ← (byte~) $4 (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 - to:@23 + to:@24 sprites_irq_init: scope:[sprites_irq_init] from main::@17 asm { sei } *((byte*) IRQ_STATUS#0) ← (byte) IRQ_RASTER#0 @@ -1102,11 +1157,11 @@ sprites_irq_init::@return: scope:[sprites_irq_init] from sprites_irq_init return to:@return sprites_irq: scope:[sprites_irq] from - (byte) irq_raster_next#17 ← phi( @33/(byte) irq_raster_next#18 ) - (byte) irq_cnt#15 ← phi( @33/(byte) irq_cnt#17 ) - (byte) render_screen_showing#15 ← phi( @33/(byte) render_screen_showing#14 ) - (byte) irq_sprite_ptr#10 ← phi( @33/(byte) irq_sprite_ptr#15 ) - (byte) irq_sprite_ypos#4 ← phi( @33/(byte) irq_sprite_ypos#8 ) + (byte) irq_raster_next#17 ← phi( @34/(byte) irq_raster_next#18 ) + (byte) irq_cnt#15 ← phi( @34/(byte) irq_cnt#17 ) + (byte) render_screen_showing#15 ← phi( @34/(byte) render_screen_showing#14 ) + (byte) irq_sprite_ptr#10 ← phi( @34/(byte) irq_sprite_ptr#15 ) + (byte) irq_sprite_ypos#4 ← phi( @34/(byte) irq_sprite_ypos#8 ) asm { cld } (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#4 *((byte*) SPRITES_YPOS#0 + (byte/signed byte/word/signed word/dword/signed dword) 0) ← (byte) sprites_irq::ypos#0 @@ -1247,21 +1302,21 @@ sprites_irq::@return: scope:[sprites_irq] from sprites_irq::@6 (byte) irq_sprite_ptr#3 ← (byte) irq_sprite_ptr#6 return to:@return -@23: scope:[] from @34 - (byte) irq_raster_next#20 ← phi( @34/(byte) irq_raster_next#21 ) - (byte) irq_cnt#20 ← phi( @34/(byte) irq_cnt#0 ) - (byte) irq_sprite_ptr#17 ← phi( @34/(byte) irq_sprite_ptr#0 ) - (dword) score_bcd#36 ← phi( @34/(dword) score_bcd#41 ) - (byte) keyboard_modifiers#34 ← phi( @34/(byte) keyboard_modifiers#39 ) - (byte) keyboard_events_size#40 ← phi( @34/(byte) keyboard_events_size#48 ) - (byte) render_screen_showing#21 ← phi( @34/(byte) render_screen_showing#27 ) - (byte) current_piece_char#44 ← phi( @34/(byte) current_piece_char#54 ) - (byte) current_ypos#56 ← phi( @34/(byte) current_ypos#61 ) - (byte) current_xpos#75 ← phi( @34/(byte) current_xpos#85 ) - (byte*) current_piece_gfx#62 ← phi( @34/(byte*) current_piece_gfx#70 ) - (byte) render_screen_render#38 ← phi( @34/(byte) render_screen_render#44 ) - (byte) render_screen_show#35 ← phi( @34/(byte) render_screen_show#43 ) - (byte) irq_sprite_ypos#18 ← phi( @34/(byte) irq_sprite_ypos#20 ) +@24: scope:[] from @35 + (byte) irq_raster_next#20 ← phi( @35/(byte) irq_raster_next#21 ) + (byte) irq_cnt#20 ← phi( @35/(byte) irq_cnt#0 ) + (byte) irq_sprite_ptr#17 ← phi( @35/(byte) irq_sprite_ptr#0 ) + (dword) score_bcd#41 ← phi( @35/(dword) score_bcd#46 ) + (byte) keyboard_modifiers#34 ← phi( @35/(byte) keyboard_modifiers#39 ) + (byte) keyboard_events_size#40 ← phi( @35/(byte) keyboard_events_size#48 ) + (byte) render_screen_showing#21 ← phi( @35/(byte) render_screen_showing#27 ) + (byte) current_piece_char#44 ← phi( @35/(byte) current_piece_char#54 ) + (byte) current_ypos#56 ← phi( @35/(byte) current_ypos#61 ) + (byte) current_xpos#75 ← phi( @35/(byte) current_xpos#85 ) + (byte*) current_piece_gfx#62 ← phi( @35/(byte*) current_piece_gfx#70 ) + (byte) render_screen_render#40 ← phi( @35/(byte) render_screen_render#46 ) + (byte) render_screen_show#35 ← phi( @35/(byte) render_screen_show#43 ) + (byte) irq_sprite_ypos#18 ← phi( @35/(byte) irq_sprite_ypos#20 ) (byte/signed byte/word/signed word/dword/signed dword~) $5 ← (byte/signed byte/word/signed word/dword/signed dword) 4 * (byte/signed byte/word/signed word/dword/signed dword) 4 (byte/signed word/word/dword/signed dword/signed byte~) $6 ← (byte/signed byte/word/signed word/dword/signed dword~) $5 * (byte/signed byte/word/signed word/dword/signed dword) 4 (byte[$6]) PIECE_T#0 ← { (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 0 } @@ -1303,7 +1358,7 @@ sprites_irq::@return: scope:[sprites_irq] from sprites_irq::@6 (byte) current_movedown_fast#0 ← (byte/signed byte/word/signed word/dword/signed dword) 5 (byte) current_movedown_counter#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (dword[]) score_add_bcd#0 ← { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 64, (word/signed word/dword/signed dword) 256, (word/signed word/dword/signed dword) 768, (word/signed word/dword/signed dword) 4608 } - to:@27 + to:@28 play_init: scope:[play_init] from main::@18 (byte) play_init::idx#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte*) play_init::pli#0 ← (byte[$3]) playfield#0 @@ -1332,12 +1387,12 @@ play_init::@return: scope:[play_init] from play_init::@2 to:@return play_move_down: scope:[play_move_down] from main::@25 (byte) current_piece_char#74 ← phi( main::@25/(byte) current_piece_char#23 ) - (byte*) current_piece_gfx#86 ← phi( main::@25/(byte*) current_piece_gfx#32 ) + (byte*) current_piece_gfx#87 ← phi( main::@25/(byte*) current_piece_gfx#32 ) (byte*) current_piece#67 ← phi( main::@25/(byte*) current_piece#27 ) - (dword) score_bcd#57 ← phi( main::@25/(dword) score_bcd#20 ) + (dword) score_bcd#62 ← phi( main::@25/(dword) score_bcd#23 ) (byte) current_orientation#68 ← phi( main::@25/(byte) current_orientation#37 ) - (byte) current_xpos#93 ← phi( main::@25/(byte) current_xpos#44 ) - (byte) current_ypos#67 ← phi( main::@25/(byte) current_ypos#36 ) + (byte) current_xpos#94 ← phi( main::@25/(byte) current_xpos#44 ) + (byte) current_ypos#68 ← phi( main::@25/(byte) current_ypos#36 ) (byte) play_move_down::key_event#1 ← phi( main::@25/(byte) play_move_down::key_event#0 ) (byte) current_movedown_counter#7 ← phi( main::@25/(byte) current_movedown_counter#14 ) (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#7 @@ -1348,12 +1403,12 @@ play_move_down: scope:[play_move_down] from main::@25 to:play_move_down::@8 play_move_down::@1: scope:[play_move_down] from play_move_down play_move_down::@8 (byte) current_piece_char#67 ← phi( play_move_down/(byte) current_piece_char#74 play_move_down::@8/(byte) current_piece_char#75 ) - (byte*) current_piece_gfx#80 ← phi( play_move_down/(byte*) current_piece_gfx#86 play_move_down::@8/(byte*) current_piece_gfx#87 ) + (byte*) current_piece_gfx#81 ← phi( play_move_down/(byte*) current_piece_gfx#87 play_move_down::@8/(byte*) current_piece_gfx#88 ) (byte*) current_piece#62 ← phi( play_move_down/(byte*) current_piece#67 play_move_down::@8/(byte*) current_piece#68 ) - (dword) score_bcd#51 ← phi( play_move_down/(dword) score_bcd#57 play_move_down::@8/(dword) score_bcd#58 ) + (dword) score_bcd#56 ← phi( play_move_down/(dword) score_bcd#62 play_move_down::@8/(dword) score_bcd#63 ) (byte) current_orientation#62 ← phi( play_move_down/(byte) current_orientation#68 play_move_down::@8/(byte) current_orientation#69 ) - (byte) current_xpos#86 ← phi( play_move_down/(byte) current_xpos#93 play_move_down::@8/(byte) current_xpos#94 ) - (byte) current_ypos#62 ← phi( play_move_down/(byte) current_ypos#67 play_move_down::@8/(byte) current_ypos#68 ) + (byte) current_xpos#86 ← phi( play_move_down/(byte) current_xpos#94 play_move_down::@8/(byte) current_xpos#95 ) + (byte) current_ypos#62 ← phi( play_move_down/(byte) current_ypos#68 play_move_down::@8/(byte) current_ypos#69 ) (byte) play_move_down::movedown#12 ← phi( play_move_down/(byte) play_move_down::movedown#0 play_move_down::@8/(byte) play_move_down::movedown#1 ) (byte) current_movedown_counter#21 ← phi( play_move_down/(byte) current_movedown_counter#1 play_move_down::@8/(byte) current_movedown_counter#28 ) (byte) keyboard_event_pressed::keycode#4 ← (byte) KEY_SPACE#0 @@ -1362,9 +1417,9 @@ play_move_down::@1: scope:[play_move_down] from play_move_down play_move_down:: to:play_move_down::@17 play_move_down::@17: scope:[play_move_down] from play_move_down::@1 (byte) current_piece_char#56 ← phi( play_move_down::@1/(byte) current_piece_char#67 ) - (byte*) current_piece_gfx#72 ← phi( play_move_down::@1/(byte*) current_piece_gfx#80 ) + (byte*) current_piece_gfx#72 ← phi( play_move_down::@1/(byte*) current_piece_gfx#81 ) (byte*) current_piece#55 ← phi( play_move_down::@1/(byte*) current_piece#62 ) - (dword) score_bcd#43 ← phi( play_move_down::@1/(dword) score_bcd#51 ) + (dword) score_bcd#48 ← phi( play_move_down::@1/(dword) score_bcd#56 ) (byte) current_orientation#53 ← phi( play_move_down::@1/(byte) current_orientation#62 ) (byte) current_xpos#71 ← phi( play_move_down::@1/(byte) current_xpos#86 ) (byte) current_ypos#52 ← phi( play_move_down::@1/(byte) current_ypos#62 ) @@ -1378,12 +1433,12 @@ play_move_down::@17: scope:[play_move_down] from play_move_down::@1 to:play_move_down::@9 play_move_down::@8: scope:[play_move_down] from play_move_down (byte) current_piece_char#75 ← phi( play_move_down/(byte) current_piece_char#74 ) - (byte*) current_piece_gfx#87 ← phi( play_move_down/(byte*) current_piece_gfx#86 ) + (byte*) current_piece_gfx#88 ← phi( play_move_down/(byte*) current_piece_gfx#87 ) (byte*) current_piece#68 ← phi( play_move_down/(byte*) current_piece#67 ) - (dword) score_bcd#58 ← phi( play_move_down/(dword) score_bcd#57 ) + (dword) score_bcd#63 ← phi( play_move_down/(dword) score_bcd#62 ) (byte) current_orientation#69 ← phi( play_move_down/(byte) current_orientation#68 ) - (byte) current_xpos#94 ← phi( play_move_down/(byte) current_xpos#93 ) - (byte) current_ypos#68 ← phi( play_move_down/(byte) current_ypos#67 ) + (byte) current_xpos#95 ← phi( play_move_down/(byte) current_xpos#94 ) + (byte) current_ypos#69 ← phi( play_move_down/(byte) current_ypos#68 ) (byte) current_movedown_counter#28 ← phi( play_move_down/(byte) current_movedown_counter#1 ) (byte) play_move_down::movedown#4 ← phi( play_move_down/(byte) play_move_down::movedown#0 ) (byte) play_move_down::movedown#1 ← ++ (byte) play_move_down::movedown#4 @@ -1392,7 +1447,7 @@ play_move_down::@2: scope:[play_move_down] from play_move_down::@10 play_move_d (byte) current_piece_char#41 ← phi( play_move_down::@10/(byte) current_piece_char#55 play_move_down::@17/(byte) current_piece_char#56 play_move_down::@3/(byte) current_piece_char#57 ) (byte*) current_piece_gfx#57 ← phi( play_move_down::@10/(byte*) current_piece_gfx#71 play_move_down::@17/(byte*) current_piece_gfx#72 play_move_down::@3/(byte*) current_piece_gfx#73 ) (byte*) current_piece#44 ← phi( play_move_down::@10/(byte*) current_piece#54 play_move_down::@17/(byte*) current_piece#55 play_move_down::@3/(byte*) current_piece#56 ) - (dword) score_bcd#33 ← phi( play_move_down::@10/(dword) score_bcd#42 play_move_down::@17/(dword) score_bcd#43 play_move_down::@3/(dword) score_bcd#44 ) + (dword) score_bcd#38 ← phi( play_move_down::@10/(dword) score_bcd#47 play_move_down::@17/(dword) score_bcd#48 play_move_down::@3/(dword) score_bcd#49 ) (byte) current_orientation#42 ← phi( play_move_down::@10/(byte) current_orientation#52 play_move_down::@17/(byte) current_orientation#53 play_move_down::@3/(byte) current_orientation#54 ) (byte) current_xpos#50 ← phi( play_move_down::@10/(byte) current_xpos#70 play_move_down::@17/(byte) current_xpos#71 play_move_down::@3/(byte) current_xpos#72 ) (byte) current_ypos#40 ← phi( play_move_down::@10/(byte) current_ypos#51 play_move_down::@17/(byte) current_ypos#52 play_move_down::@3/(byte) current_ypos#53 ) @@ -1404,9 +1459,9 @@ play_move_down::@2: scope:[play_move_down] from play_move_down::@10 play_move_d to:play_move_down::@11 play_move_down::@9: scope:[play_move_down] from play_move_down::@17 (byte) current_piece_char#68 ← phi( play_move_down::@17/(byte) current_piece_char#56 ) - (byte*) current_piece_gfx#81 ← phi( play_move_down::@17/(byte*) current_piece_gfx#72 ) + (byte*) current_piece_gfx#82 ← phi( play_move_down::@17/(byte*) current_piece_gfx#72 ) (byte*) current_piece#63 ← phi( play_move_down::@17/(byte*) current_piece#55 ) - (dword) score_bcd#52 ← phi( play_move_down::@17/(dword) score_bcd#43 ) + (dword) score_bcd#57 ← phi( play_move_down::@17/(dword) score_bcd#48 ) (byte) current_orientation#63 ← phi( play_move_down::@17/(byte) current_orientation#53 ) (byte) current_xpos#87 ← phi( play_move_down::@17/(byte) current_xpos#71 ) (byte) current_ypos#63 ← phi( play_move_down::@17/(byte) current_ypos#52 ) @@ -1418,9 +1473,9 @@ play_move_down::@9: scope:[play_move_down] from play_move_down::@17 to:play_move_down::@10 play_move_down::@3: scope:[play_move_down] from play_move_down::@9 (byte) current_piece_char#57 ← phi( play_move_down::@9/(byte) current_piece_char#68 ) - (byte*) current_piece_gfx#73 ← phi( play_move_down::@9/(byte*) current_piece_gfx#81 ) + (byte*) current_piece_gfx#73 ← phi( play_move_down::@9/(byte*) current_piece_gfx#82 ) (byte*) current_piece#56 ← phi( play_move_down::@9/(byte*) current_piece#63 ) - (dword) score_bcd#44 ← phi( play_move_down::@9/(dword) score_bcd#52 ) + (dword) score_bcd#49 ← phi( play_move_down::@9/(dword) score_bcd#57 ) (byte) current_orientation#54 ← phi( play_move_down::@9/(byte) current_orientation#63 ) (byte) current_xpos#72 ← phi( play_move_down::@9/(byte) current_xpos#87 ) (byte) current_ypos#53 ← phi( play_move_down::@9/(byte) current_ypos#63 ) @@ -1429,9 +1484,9 @@ play_move_down::@3: scope:[play_move_down] from play_move_down::@9 to:play_move_down::@2 play_move_down::@10: scope:[play_move_down] from play_move_down::@9 (byte) current_piece_char#55 ← phi( play_move_down::@9/(byte) current_piece_char#68 ) - (byte*) current_piece_gfx#71 ← phi( play_move_down::@9/(byte*) current_piece_gfx#81 ) + (byte*) current_piece_gfx#71 ← phi( play_move_down::@9/(byte*) current_piece_gfx#82 ) (byte*) current_piece#54 ← phi( play_move_down::@9/(byte*) current_piece#63 ) - (dword) score_bcd#42 ← phi( play_move_down::@9/(dword) score_bcd#52 ) + (dword) score_bcd#47 ← phi( play_move_down::@9/(dword) score_bcd#57 ) (byte) current_orientation#52 ← phi( play_move_down::@9/(byte) current_orientation#63 ) (byte) current_xpos#70 ← phi( play_move_down::@9/(byte) current_xpos#87 ) (byte) current_ypos#51 ← phi( play_move_down::@9/(byte) current_ypos#63 ) @@ -1443,7 +1498,7 @@ play_move_down::@4: scope:[play_move_down] from play_move_down::@11 play_move_d (byte) current_piece_char#27 ← phi( play_move_down::@11/(byte) current_piece_char#40 play_move_down::@2/(byte) current_piece_char#41 ) (byte*) current_piece_gfx#39 ← phi( play_move_down::@11/(byte*) current_piece_gfx#56 play_move_down::@2/(byte*) current_piece_gfx#57 ) (byte*) current_piece#30 ← phi( play_move_down::@11/(byte*) current_piece#43 play_move_down::@2/(byte*) current_piece#44 ) - (dword) score_bcd#23 ← phi( play_move_down::@11/(dword) score_bcd#32 play_move_down::@2/(dword) score_bcd#33 ) + (dword) score_bcd#27 ← phi( play_move_down::@11/(dword) score_bcd#37 play_move_down::@2/(dword) score_bcd#38 ) (byte) current_movedown_counter#22 ← phi( play_move_down::@11/(byte) current_movedown_counter#29 play_move_down::@2/(byte) current_movedown_counter#8 ) (byte) current_orientation#26 ← phi( play_move_down::@11/(byte) current_orientation#41 play_move_down::@2/(byte) current_orientation#42 ) (byte) current_xpos#30 ← phi( play_move_down::@11/(byte) current_xpos#49 play_move_down::@2/(byte) current_xpos#50 ) @@ -1457,7 +1512,7 @@ play_move_down::@11: scope:[play_move_down] from play_move_down::@2 (byte) current_piece_char#40 ← phi( play_move_down::@2/(byte) current_piece_char#41 ) (byte*) current_piece_gfx#56 ← phi( play_move_down::@2/(byte*) current_piece_gfx#57 ) (byte*) current_piece#43 ← phi( play_move_down::@2/(byte*) current_piece#44 ) - (dword) score_bcd#32 ← phi( play_move_down::@2/(dword) score_bcd#33 ) + (dword) score_bcd#37 ← phi( play_move_down::@2/(dword) score_bcd#38 ) (byte) current_movedown_counter#29 ← phi( play_move_down::@2/(byte) current_movedown_counter#8 ) (byte) current_orientation#41 ← phi( play_move_down::@2/(byte) current_orientation#42 ) (byte) current_xpos#49 ← phi( play_move_down::@2/(byte) current_xpos#50 ) @@ -1471,7 +1526,7 @@ play_move_down::@5: scope:[play_move_down] from play_move_down::@4 (byte*) current_piece_gfx#25 ← phi( play_move_down::@4/(byte*) current_piece_gfx#39 ) (byte) current_orientation#28 ← phi( play_move_down::@4/(byte) current_orientation#26 ) (byte*) current_piece#19 ← phi( play_move_down::@4/(byte*) current_piece#30 ) - (dword) score_bcd#16 ← phi( play_move_down::@4/(dword) score_bcd#23 ) + (dword) score_bcd#19 ← phi( play_move_down::@4/(dword) score_bcd#27 ) (byte) current_ypos#28 ← phi( play_move_down::@4/(byte) current_ypos#25 ) (byte) current_movedown_counter#18 ← phi( play_move_down::@4/(byte) current_movedown_counter#22 ) (byte) play_move_down::return#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -1479,7 +1534,7 @@ play_move_down::@5: scope:[play_move_down] from play_move_down::@4 play_move_down::@12: scope:[play_move_down] from play_move_down::@4 (byte) current_piece_char#58 ← phi( play_move_down::@4/(byte) current_piece_char#27 ) (byte*) current_piece_gfx#74 ← phi( play_move_down::@4/(byte*) current_piece_gfx#39 ) - (dword) score_bcd#45 ← phi( play_move_down::@4/(dword) score_bcd#23 ) + (dword) score_bcd#50 ← phi( play_move_down::@4/(dword) score_bcd#27 ) (byte*) current_piece#22 ← phi( play_move_down::@4/(byte*) current_piece#30 ) (byte) current_orientation#12 ← phi( play_move_down::@4/(byte) current_orientation#26 ) (byte) current_xpos#13 ← phi( play_move_down::@4/(byte) current_xpos#30 ) @@ -1497,7 +1552,7 @@ play_move_down::@18: scope:[play_move_down] from play_move_down::@12 (byte*) current_piece_gfx#58 ← phi( play_move_down::@12/(byte*) current_piece_gfx#74 ) (byte) current_orientation#55 ← phi( play_move_down::@12/(byte) current_orientation#12 ) (byte*) current_piece#45 ← phi( play_move_down::@12/(byte*) current_piece#22 ) - (dword) score_bcd#34 ← phi( play_move_down::@12/(dword) score_bcd#45 ) + (dword) score_bcd#39 ← phi( play_move_down::@12/(dword) score_bcd#50 ) (byte) current_ypos#26 ← phi( play_move_down::@12/(byte) current_ypos#10 ) (byte) play_collision::return#10 ← phi( play_move_down::@12/(byte) play_collision::return#0 ) (byte~) play_move_down::$12 ← (byte) play_collision::return#10 @@ -1510,7 +1565,7 @@ play_move_down::@6: scope:[play_move_down] from play_move_down::@18 (byte*) current_piece_gfx#41 ← phi( play_move_down::@18/(byte*) current_piece_gfx#58 ) (byte) current_orientation#44 ← phi( play_move_down::@18/(byte) current_orientation#55 ) (byte*) current_piece#32 ← phi( play_move_down::@18/(byte*) current_piece#45 ) - (dword) score_bcd#26 ← phi( play_move_down::@18/(dword) score_bcd#34 ) + (dword) score_bcd#30 ← phi( play_move_down::@18/(dword) score_bcd#39 ) (byte) current_ypos#11 ← phi( play_move_down::@18/(byte) current_ypos#26 ) (byte) current_ypos#0 ← ++ (byte) current_ypos#11 to:play_move_down::@7 @@ -1519,7 +1574,7 @@ play_move_down::@13: scope:[play_move_down] from play_move_down::@18 (byte) current_orientation#64 ← phi( play_move_down::@18/(byte) current_orientation#55 ) (byte*) current_piece#57 ← phi( play_move_down::@18/(byte*) current_piece#45 ) (byte*) current_piece_gfx#63 ← phi( play_move_down::@18/(byte*) current_piece_gfx#58 ) - (dword) score_bcd#35 ← phi( play_move_down::@18/(dword) score_bcd#34 ) + (dword) score_bcd#40 ← phi( play_move_down::@18/(dword) score_bcd#39 ) (byte) current_xpos#58 ← phi( play_move_down::@18/(byte) current_xpos#73 ) (byte) current_ypos#34 ← phi( play_move_down::@18/(byte) current_ypos#26 ) call play_lock_current @@ -1531,7 +1586,7 @@ play_move_down::@19: scope:[play_move_down] from play_move_down::@13 (byte*) current_piece_gfx#59 ← phi( play_move_down::@13/(byte*) current_piece_gfx#63 ) (byte) current_orientation#56 ← phi( play_move_down::@13/(byte) current_orientation#64 ) (byte*) current_piece#46 ← phi( play_move_down::@13/(byte*) current_piece#57 ) - (dword) score_bcd#24 ← phi( play_move_down::@13/(dword) score_bcd#35 ) + (dword) score_bcd#28 ← phi( play_move_down::@13/(dword) score_bcd#40 ) call play_remove_lines (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::return#2 to:play_move_down::@20 @@ -1542,7 +1597,7 @@ play_move_down::@20: scope:[play_move_down] from play_move_down::@19 (byte*) current_piece_gfx#40 ← phi( play_move_down::@19/(byte*) current_piece_gfx#59 ) (byte) current_orientation#43 ← phi( play_move_down::@19/(byte) current_orientation#56 ) (byte*) current_piece#31 ← phi( play_move_down::@19/(byte*) current_piece#46 ) - (dword) score_bcd#15 ← phi( play_move_down::@19/(dword) score_bcd#24 ) + (dword) score_bcd#18 ← phi( play_move_down::@19/(dword) score_bcd#28 ) (byte) play_remove_lines::return#3 ← phi( play_move_down::@19/(byte) play_remove_lines::return#0 ) (byte~) play_move_down::$15 ← (byte) play_remove_lines::return#3 (byte) play_move_down::removed#0 ← (byte~) play_move_down::$15 @@ -1556,12 +1611,12 @@ play_move_down::@21: scope:[play_move_down] from play_move_down::@20 (byte*) current_piece_gfx#24 ← phi( play_move_down::@20/(byte*) current_piece_gfx#40 ) (byte) current_orientation#27 ← phi( play_move_down::@20/(byte) current_orientation#43 ) (byte*) current_piece#18 ← phi( play_move_down::@20/(byte*) current_piece#31 ) - (dword) score_bcd#8 ← phi( play_move_down::@20/(dword) score_bcd#4 ) - (dword) score_bcd#1 ← (dword) score_bcd#8 + (dword) score_bcd#9 ← phi( play_move_down::@20/(dword) score_bcd#4 ) + (dword) score_bcd#1 ← (dword) score_bcd#9 call play_spawn_current to:play_move_down::@22 play_move_down::@22: scope:[play_move_down] from play_move_down::@21 - (dword) score_bcd#25 ← phi( play_move_down::@21/(dword) score_bcd#1 ) + (dword) score_bcd#29 ← phi( play_move_down::@21/(dword) score_bcd#1 ) (byte) current_piece_char#9 ← phi( play_move_down::@21/(byte) current_piece_char#3 ) (byte) current_ypos#12 ← phi( play_move_down::@21/(byte) current_ypos#4 ) (byte) current_xpos#14 ← phi( play_move_down::@21/(byte) current_xpos#6 ) @@ -1581,7 +1636,7 @@ play_move_down::@7: scope:[play_move_down] from play_move_down::@22 play_move_d (byte*) current_piece_gfx#26 ← phi( play_move_down::@22/(byte*) current_piece_gfx#0 play_move_down::@6/(byte*) current_piece_gfx#41 ) (byte) current_orientation#29 ← phi( play_move_down::@22/(byte) current_orientation#1 play_move_down::@6/(byte) current_orientation#44 ) (byte*) current_piece#20 ← phi( play_move_down::@22/(byte*) current_piece#1 play_move_down::@6/(byte*) current_piece#32 ) - (dword) score_bcd#17 ← phi( play_move_down::@22/(dword) score_bcd#25 play_move_down::@6/(dword) score_bcd#26 ) + (dword) score_bcd#20 ← phi( play_move_down::@22/(dword) score_bcd#29 play_move_down::@6/(dword) score_bcd#30 ) (byte) current_ypos#29 ← phi( play_move_down::@22/(byte) current_ypos#1 play_move_down::@6/(byte) current_ypos#0 ) (byte) current_movedown_counter#2 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) play_move_down::return#1 ← (byte/signed byte/word/signed word/dword/signed dword) 1 @@ -1592,14 +1647,14 @@ play_move_down::@return: scope:[play_move_down] from play_move_down::@5 play_mo (byte*) current_piece_gfx#13 ← phi( play_move_down::@5/(byte*) current_piece_gfx#25 play_move_down::@7/(byte*) current_piece_gfx#26 ) (byte) current_orientation#14 ← phi( play_move_down::@5/(byte) current_orientation#28 play_move_down::@7/(byte) current_orientation#29 ) (byte*) current_piece#10 ← phi( play_move_down::@5/(byte*) current_piece#19 play_move_down::@7/(byte*) current_piece#20 ) - (dword) score_bcd#9 ← phi( play_move_down::@5/(dword) score_bcd#16 play_move_down::@7/(dword) score_bcd#17 ) + (dword) score_bcd#10 ← phi( play_move_down::@5/(dword) score_bcd#19 play_move_down::@7/(dword) score_bcd#20 ) (byte) current_ypos#13 ← phi( play_move_down::@5/(byte) current_ypos#28 play_move_down::@7/(byte) current_ypos#29 ) (byte) current_movedown_counter#10 ← phi( play_move_down::@5/(byte) current_movedown_counter#18 play_move_down::@7/(byte) current_movedown_counter#2 ) (byte) play_move_down::return#4 ← phi( play_move_down::@5/(byte) play_move_down::return#0 play_move_down::@7/(byte) play_move_down::return#1 ) (byte) play_move_down::return#2 ← (byte) play_move_down::return#4 (byte) current_movedown_counter#3 ← (byte) current_movedown_counter#10 (byte) current_ypos#2 ← (byte) current_ypos#13 - (dword) score_bcd#2 ← (dword) score_bcd#9 + (dword) score_bcd#2 ← (dword) score_bcd#10 (byte*) current_piece#2 ← (byte*) current_piece#10 (byte) current_orientation#2 ← (byte) current_orientation#14 (byte*) current_piece_gfx#1 ← (byte*) current_piece_gfx#13 @@ -1788,30 +1843,30 @@ play_move_rotate::@11: scope:[play_move_rotate] from play_move_rotate::@14 (byte*) current_piece_gfx#3 ← (byte*~) play_move_rotate::$9 (byte) play_move_rotate::return#3 ← (byte/signed byte/word/signed word/dword/signed dword) 1 to:play_move_rotate::@return -@27: scope:[] from @23 - (byte) irq_raster_next#19 ← phi( @23/(byte) irq_raster_next#20 ) - (byte) irq_cnt#19 ← phi( @23/(byte) irq_cnt#20 ) - (byte) irq_sprite_ptr#16 ← phi( @23/(byte) irq_sprite_ptr#17 ) - (dword) score_bcd#31 ← phi( @23/(dword) score_bcd#36 ) - (byte) current_movedown_counter#27 ← phi( @23/(byte) current_movedown_counter#0 ) - (byte) keyboard_modifiers#33 ← phi( @23/(byte) keyboard_modifiers#34 ) - (byte) keyboard_events_size#36 ← phi( @23/(byte) keyboard_events_size#40 ) - (byte) render_screen_showing#20 ← phi( @23/(byte) render_screen_showing#21 ) - (byte) current_piece_char#37 ← phi( @23/(byte) current_piece_char#44 ) - (byte) current_ypos#50 ← phi( @23/(byte) current_ypos#56 ) - (byte) current_xpos#65 ← phi( @23/(byte) current_xpos#75 ) - (byte*) current_piece_gfx#52 ← phi( @23/(byte*) current_piece_gfx#62 ) - (byte) current_orientation#51 ← phi( @23/(byte) current_orientation#0 ) - (byte*) current_piece#42 ← phi( @23/(byte*) current_piece#0 ) - (byte) render_screen_render#34 ← phi( @23/(byte) render_screen_render#38 ) - (byte) render_screen_show#32 ← phi( @23/(byte) render_screen_show#35 ) - (byte) irq_sprite_ypos#15 ← phi( @23/(byte) irq_sprite_ypos#18 ) +@28: scope:[] from @24 + (byte) irq_raster_next#19 ← phi( @24/(byte) irq_raster_next#20 ) + (byte) irq_cnt#19 ← phi( @24/(byte) irq_cnt#20 ) + (byte) irq_sprite_ptr#16 ← phi( @24/(byte) irq_sprite_ptr#17 ) + (dword) score_bcd#35 ← phi( @24/(dword) score_bcd#41 ) + (byte) current_movedown_counter#27 ← phi( @24/(byte) current_movedown_counter#0 ) + (byte) keyboard_modifiers#33 ← phi( @24/(byte) keyboard_modifiers#34 ) + (byte) keyboard_events_size#36 ← phi( @24/(byte) keyboard_events_size#40 ) + (byte) render_screen_showing#20 ← phi( @24/(byte) render_screen_showing#21 ) + (byte) current_piece_char#37 ← phi( @24/(byte) current_piece_char#44 ) + (byte) current_ypos#50 ← phi( @24/(byte) current_ypos#56 ) + (byte) current_xpos#65 ← phi( @24/(byte) current_xpos#75 ) + (byte*) current_piece_gfx#52 ← phi( @24/(byte*) current_piece_gfx#62 ) + (byte) current_orientation#51 ← phi( @24/(byte) current_orientation#0 ) + (byte*) current_piece#42 ← phi( @24/(byte*) current_piece#0 ) + (byte) render_screen_render#36 ← phi( @24/(byte) render_screen_render#40 ) + (byte) render_screen_show#32 ← phi( @24/(byte) render_screen_show#35 ) + (byte) irq_sprite_ypos#15 ← phi( @24/(byte) irq_sprite_ypos#18 ) (byte) COLLISION_NONE#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 (byte) COLLISION_PLAYFIELD#0 ← (byte/signed byte/word/signed word/dword/signed dword) 1 (byte) COLLISION_BOTTOM#0 ← (byte/signed byte/word/signed word/dword/signed dword) 2 (byte) COLLISION_LEFT#0 ← (byte/signed byte/word/signed word/dword/signed dword) 4 (byte) COLLISION_RIGHT#0 ← (byte/signed byte/word/signed word/dword/signed dword) 8 - to:@33 + to:@34 play_collision: scope:[play_collision] from play_move_down::@12 play_move_leftright::@1 play_move_leftright::@7 play_move_rotate::@4 (byte) play_collision::xpos#5 ← phi( play_move_down::@12/(byte) play_collision::xpos#0 play_move_leftright::@1/(byte) play_collision::xpos#1 play_move_leftright::@7/(byte) play_collision::xpos#2 play_move_rotate::@4/(byte) play_collision::xpos#3 ) (byte) play_collision::ypos#4 ← phi( play_move_down::@12/(byte) play_collision::ypos#0 play_move_leftright::@1/(byte) play_collision::ypos#1 play_move_leftright::@7/(byte) play_collision::ypos#2 play_move_rotate::@4/(byte) play_collision::ypos#3 ) @@ -2185,88 +2240,88 @@ play_remove_lines::@return: scope:[play_remove_lines] from play_remove_lines::@ return to:@return play_update_score: scope:[play_update_score] from play_move_down::@20 - (dword) score_bcd#18 ← phi( play_move_down::@20/(dword) score_bcd#15 ) + (dword) score_bcd#21 ← phi( play_move_down::@20/(dword) score_bcd#18 ) (byte) play_update_score::removed#1 ← phi( play_move_down::@20/(byte) play_update_score::removed#0 ) (bool~) play_update_score::$0 ← (byte) play_update_score::removed#1 != (byte/signed byte/word/signed word/dword/signed dword) 0 (bool~) play_update_score::$1 ← ! (bool~) play_update_score::$0 if((bool~) play_update_score::$1) goto play_update_score::@1 to:play_update_score::@2 play_update_score::@1: scope:[play_update_score] from play_update_score - (dword) score_bcd#19 ← phi( play_update_score/(dword) score_bcd#18 ) + (dword) score_bcd#22 ← phi( play_update_score/(dword) score_bcd#21 ) to:play_update_score::@return play_update_score::@2: scope:[play_update_score] from play_update_score - (dword) score_bcd#10 ← phi( play_update_score/(dword) score_bcd#18 ) + (dword) score_bcd#11 ← phi( play_update_score/(dword) score_bcd#21 ) (byte) play_update_score::removed#2 ← phi( play_update_score/(byte) play_update_score::removed#1 ) (byte~) play_update_score::$2 ← (byte) play_update_score::removed#2 << (byte/signed byte/word/signed word/dword/signed dword) 2 (dword) play_update_score::add_bcd#0 ← *((dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) asm { sed } - (dword) score_bcd#3 ← (dword) score_bcd#10 + (dword) play_update_score::add_bcd#0 + (dword) score_bcd#3 ← (dword) score_bcd#11 + (dword) play_update_score::add_bcd#0 asm { cld } to:play_update_score::@return play_update_score::@return: scope:[play_update_score] from play_update_score::@1 play_update_score::@2 - (dword) score_bcd#11 ← phi( play_update_score::@1/(dword) score_bcd#19 play_update_score::@2/(dword) score_bcd#3 ) - (dword) score_bcd#4 ← (dword) score_bcd#11 + (dword) score_bcd#12 ← phi( play_update_score::@1/(dword) score_bcd#22 play_update_score::@2/(dword) score_bcd#3 ) + (dword) score_bcd#4 ← (dword) score_bcd#12 return to:@return -main: scope:[main] from @33 - (dword) score_bcd#67 ← phi( @33/(dword) score_bcd#22 ) - (byte) current_movedown_counter#47 ← phi( @33/(byte) current_movedown_counter#20 ) - (byte) keyboard_modifiers#59 ← phi( @33/(byte) keyboard_modifiers#25 ) - (byte) keyboard_events_size#78 ← phi( @33/(byte) keyboard_events_size#28 ) - (byte) render_screen_showing#44 ← phi( @33/(byte) render_screen_showing#14 ) - (byte) current_piece_char#76 ← phi( @33/(byte) current_piece_char#25 ) - (byte) current_ypos#72 ← phi( @33/(byte) current_ypos#38 ) - (byte) current_xpos#98 ← phi( @33/(byte) current_xpos#46 ) - (byte*) current_piece_gfx#88 ← phi( @33/(byte*) current_piece_gfx#35 ) - (byte) current_orientation#73 ← phi( @33/(byte) current_orientation#40 ) - (byte*) current_piece#69 ← phi( @33/(byte*) current_piece#29 ) - (byte) render_screen_render#30 ← phi( @33/(byte) render_screen_render#24 ) - (byte) render_screen_show#27 ← phi( @33/(byte) render_screen_show#24 ) +main: scope:[main] from @34 + (dword) score_bcd#72 ← phi( @34/(dword) score_bcd#25 ) + (byte) current_movedown_counter#48 ← phi( @34/(byte) current_movedown_counter#20 ) + (byte) keyboard_modifiers#60 ← phi( @34/(byte) keyboard_modifiers#25 ) + (byte) keyboard_events_size#79 ← phi( @34/(byte) keyboard_events_size#28 ) + (byte) render_screen_showing#45 ← phi( @34/(byte) render_screen_showing#14 ) + (byte) current_piece_char#76 ← phi( @34/(byte) current_piece_char#25 ) + (byte) current_ypos#73 ← phi( @34/(byte) current_ypos#38 ) + (byte) current_xpos#99 ← phi( @34/(byte) current_xpos#46 ) + (byte*) current_piece_gfx#89 ← phi( @34/(byte*) current_piece_gfx#35 ) + (byte) current_orientation#73 ← phi( @34/(byte) current_orientation#40 ) + (byte*) current_piece#69 ← phi( @34/(byte*) current_piece#29 ) + (byte) render_screen_render#32 ← phi( @34/(byte) render_screen_render#26 ) + (byte) render_screen_show#27 ← phi( @34/(byte) render_screen_show#24 ) call sid_rnd_init to:main::@15 main::@15: scope:[main] from main - (dword) score_bcd#66 ← phi( main/(dword) score_bcd#67 ) - (byte) current_movedown_counter#46 ← phi( main/(byte) current_movedown_counter#47 ) - (byte) keyboard_modifiers#57 ← phi( main/(byte) keyboard_modifiers#59 ) - (byte) keyboard_events_size#76 ← phi( main/(byte) keyboard_events_size#78 ) - (byte) render_screen_showing#43 ← phi( main/(byte) render_screen_showing#44 ) + (dword) score_bcd#71 ← phi( main/(dword) score_bcd#72 ) + (byte) current_movedown_counter#47 ← phi( main/(byte) current_movedown_counter#48 ) + (byte) keyboard_modifiers#58 ← phi( main/(byte) keyboard_modifiers#60 ) + (byte) keyboard_events_size#77 ← phi( main/(byte) keyboard_events_size#79 ) + (byte) render_screen_showing#44 ← phi( main/(byte) render_screen_showing#45 ) (byte) current_piece_char#69 ← phi( main/(byte) current_piece_char#76 ) - (byte) current_ypos#69 ← phi( main/(byte) current_ypos#72 ) - (byte) current_xpos#95 ← phi( main/(byte) current_xpos#98 ) - (byte*) current_piece_gfx#82 ← phi( main/(byte*) current_piece_gfx#88 ) + (byte) current_ypos#70 ← phi( main/(byte) current_ypos#73 ) + (byte) current_xpos#96 ← phi( main/(byte) current_xpos#99 ) + (byte*) current_piece_gfx#83 ← phi( main/(byte*) current_piece_gfx#89 ) (byte) current_orientation#70 ← phi( main/(byte) current_orientation#73 ) (byte*) current_piece#64 ← phi( main/(byte*) current_piece#69 ) - (byte) render_screen_render#22 ← phi( main/(byte) render_screen_render#30 ) + (byte) render_screen_render#24 ← phi( main/(byte) render_screen_render#32 ) (byte) render_screen_show#22 ← phi( main/(byte) render_screen_show#27 ) asm { sei } call render_init to:main::@16 main::@16: scope:[main] from main::@15 - (dword) score_bcd#65 ← phi( main::@15/(dword) score_bcd#66 ) - (byte) current_movedown_counter#45 ← phi( main::@15/(byte) current_movedown_counter#46 ) - (byte) keyboard_modifiers#55 ← phi( main::@15/(byte) keyboard_modifiers#57 ) - (byte) keyboard_events_size#73 ← phi( main::@15/(byte) keyboard_events_size#76 ) - (byte) render_screen_showing#42 ← phi( main::@15/(byte) render_screen_showing#43 ) + (dword) score_bcd#70 ← phi( main::@15/(dword) score_bcd#71 ) + (byte) current_movedown_counter#46 ← phi( main::@15/(byte) current_movedown_counter#47 ) + (byte) keyboard_modifiers#56 ← phi( main::@15/(byte) keyboard_modifiers#58 ) + (byte) keyboard_events_size#74 ← phi( main::@15/(byte) keyboard_events_size#77 ) + (byte) render_screen_showing#43 ← phi( main::@15/(byte) render_screen_showing#44 ) (byte) current_piece_char#60 ← phi( main::@15/(byte) current_piece_char#69 ) - (byte) current_ypos#64 ← phi( main::@15/(byte) current_ypos#69 ) - (byte) current_xpos#88 ← phi( main::@15/(byte) current_xpos#95 ) - (byte*) current_piece_gfx#77 ← phi( main::@15/(byte*) current_piece_gfx#82 ) + (byte) current_ypos#64 ← phi( main::@15/(byte) current_ypos#70 ) + (byte) current_xpos#88 ← phi( main::@15/(byte) current_xpos#96 ) + (byte*) current_piece_gfx#77 ← phi( main::@15/(byte*) current_piece_gfx#83 ) (byte) current_orientation#65 ← phi( main::@15/(byte) current_orientation#70 ) (byte*) current_piece#59 ← phi( main::@15/(byte*) current_piece#64 ) - (byte) render_screen_render#14 ← phi( main::@15/(byte) render_screen_render#2 ) + (byte) render_screen_render#15 ← phi( main::@15/(byte) render_screen_render#2 ) (byte) render_screen_show#14 ← phi( main::@15/(byte) render_screen_show#2 ) (byte) render_screen_show#5 ← (byte) render_screen_show#14 - (byte) render_screen_render#5 ← (byte) render_screen_render#14 + (byte) render_screen_render#5 ← (byte) render_screen_render#15 call sprites_init to:main::@17 main::@17: scope:[main] from main::@16 - (dword) score_bcd#63 ← phi( main::@16/(dword) score_bcd#65 ) - (byte) current_movedown_counter#44 ← phi( main::@16/(byte) current_movedown_counter#45 ) - (byte) keyboard_modifiers#53 ← phi( main::@16/(byte) keyboard_modifiers#55 ) - (byte) keyboard_events_size#69 ← phi( main::@16/(byte) keyboard_events_size#73 ) - (byte) render_screen_showing#39 ← phi( main::@16/(byte) render_screen_showing#42 ) - (byte) render_screen_show#53 ← phi( main::@16/(byte) render_screen_show#5 ) - (byte) render_screen_render#49 ← phi( main::@16/(byte) render_screen_render#5 ) + (dword) score_bcd#68 ← phi( main::@16/(dword) score_bcd#70 ) + (byte) current_movedown_counter#45 ← phi( main::@16/(byte) current_movedown_counter#46 ) + (byte) keyboard_modifiers#54 ← phi( main::@16/(byte) keyboard_modifiers#56 ) + (byte) keyboard_events_size#70 ← phi( main::@16/(byte) keyboard_events_size#74 ) + (byte) render_screen_showing#40 ← phi( main::@16/(byte) render_screen_showing#43 ) + (byte) render_screen_show#54 ← phi( main::@16/(byte) render_screen_show#5 ) + (byte) render_screen_render#51 ← phi( main::@16/(byte) render_screen_render#5 ) (byte) current_piece_char#47 ← phi( main::@16/(byte) current_piece_char#60 ) (byte) current_ypos#57 ← phi( main::@16/(byte) current_ypos#64 ) (byte) current_xpos#78 ← phi( main::@16/(byte) current_xpos#88 ) @@ -2276,13 +2331,13 @@ main::@17: scope:[main] from main::@16 call sprites_irq_init to:main::@18 main::@18: scope:[main] from main::@17 - (dword) score_bcd#59 ← phi( main::@17/(dword) score_bcd#63 ) - (byte) current_movedown_counter#41 ← phi( main::@17/(byte) current_movedown_counter#44 ) - (byte) keyboard_modifiers#50 ← phi( main::@17/(byte) keyboard_modifiers#53 ) - (byte) keyboard_events_size#66 ← phi( main::@17/(byte) keyboard_events_size#69 ) - (byte) render_screen_showing#36 ← phi( main::@17/(byte) render_screen_showing#39 ) - (byte) render_screen_show#50 ← phi( main::@17/(byte) render_screen_show#53 ) - (byte) render_screen_render#45 ← phi( main::@17/(byte) render_screen_render#49 ) + (dword) score_bcd#64 ← phi( main::@17/(dword) score_bcd#68 ) + (byte) current_movedown_counter#41 ← phi( main::@17/(byte) current_movedown_counter#45 ) + (byte) keyboard_modifiers#50 ← phi( main::@17/(byte) keyboard_modifiers#54 ) + (byte) keyboard_events_size#66 ← phi( main::@17/(byte) keyboard_events_size#70 ) + (byte) render_screen_showing#36 ← phi( main::@17/(byte) render_screen_showing#40 ) + (byte) render_screen_show#51 ← phi( main::@17/(byte) render_screen_show#54 ) + (byte) render_screen_render#47 ← phi( main::@17/(byte) render_screen_render#51 ) (byte) current_piece_char#32 ← phi( main::@17/(byte) current_piece_char#47 ) (byte) current_ypos#44 ← phi( main::@17/(byte) current_ypos#57 ) (byte) current_xpos#60 ← phi( main::@17/(byte) current_xpos#78 ) @@ -2292,13 +2347,13 @@ main::@18: scope:[main] from main::@17 call play_init to:main::@19 main::@19: scope:[main] from main::@18 - (dword) score_bcd#53 ← phi( main::@18/(dword) score_bcd#59 ) + (dword) score_bcd#58 ← phi( main::@18/(dword) score_bcd#64 ) (byte) current_movedown_counter#38 ← phi( main::@18/(byte) current_movedown_counter#41 ) (byte) keyboard_modifiers#46 ← phi( main::@18/(byte) keyboard_modifiers#50 ) (byte) keyboard_events_size#58 ← phi( main::@18/(byte) keyboard_events_size#66 ) (byte) render_screen_showing#32 ← phi( main::@18/(byte) render_screen_showing#36 ) - (byte) render_screen_show#47 ← phi( main::@18/(byte) render_screen_show#50 ) - (byte) render_screen_render#39 ← phi( main::@18/(byte) render_screen_render#45 ) + (byte) render_screen_show#48 ← phi( main::@18/(byte) render_screen_show#51 ) + (byte) render_screen_render#41 ← phi( main::@18/(byte) render_screen_render#47 ) (byte) current_piece_char#22 ← phi( main::@18/(byte) current_piece_char#32 ) (byte) current_ypos#35 ← phi( main::@18/(byte) current_ypos#44 ) (byte) current_xpos#43 ← phi( main::@18/(byte) current_xpos#60 ) @@ -2308,13 +2363,13 @@ main::@19: scope:[main] from main::@18 call play_spawn_current to:main::@20 main::@20: scope:[main] from main::@19 - (dword) score_bcd#46 ← phi( main::@19/(dword) score_bcd#53 ) + (dword) score_bcd#51 ← phi( main::@19/(dword) score_bcd#58 ) (byte) current_movedown_counter#34 ← phi( main::@19/(byte) current_movedown_counter#38 ) (byte) keyboard_modifiers#40 ← phi( main::@19/(byte) keyboard_modifiers#46 ) (byte) keyboard_events_size#49 ← phi( main::@19/(byte) keyboard_events_size#58 ) (byte) render_screen_showing#28 ← phi( main::@19/(byte) render_screen_showing#32 ) - (byte) render_screen_show#44 ← phi( main::@19/(byte) render_screen_show#47 ) - (byte) render_screen_render#26 ← phi( main::@19/(byte) render_screen_render#39 ) + (byte) render_screen_show#44 ← phi( main::@19/(byte) render_screen_show#48 ) + (byte) render_screen_render#28 ← phi( main::@19/(byte) render_screen_render#41 ) (byte) current_piece_char#13 ← phi( main::@19/(byte) current_piece_char#3 ) (byte) current_ypos#19 ← phi( main::@19/(byte) current_ypos#4 ) (byte) current_xpos#24 ← phi( main::@19/(byte) current_xpos#6 ) @@ -2330,7 +2385,7 @@ main::@20: scope:[main] from main::@19 call render_playfield to:main::@21 main::@21: scope:[main] from main::@20 - (dword) score_bcd#37 ← phi( main::@20/(dword) score_bcd#46 ) + (dword) score_bcd#42 ← phi( main::@20/(dword) score_bcd#51 ) (byte) current_movedown_counter#30 ← phi( main::@20/(byte) current_movedown_counter#34 ) (byte) keyboard_modifiers#35 ← phi( main::@20/(byte) keyboard_modifiers#40 ) (byte) keyboard_events_size#41 ← phi( main::@20/(byte) keyboard_events_size#49 ) @@ -2341,12 +2396,12 @@ main::@21: scope:[main] from main::@20 (byte*) current_piece#50 ← phi( main::@20/(byte*) current_piece#5 ) (byte) render_screen_show#36 ← phi( main::@20/(byte) render_screen_show#44 ) (byte) current_xpos#66 ← phi( main::@20/(byte) current_xpos#7 ) - (byte) render_screen_render#35 ← phi( main::@20/(byte) render_screen_render#26 ) + (byte) render_screen_render#37 ← phi( main::@20/(byte) render_screen_render#28 ) (byte) current_ypos#23 ← phi( main::@20/(byte) current_ypos#5 ) call render_current to:main::@22 main::@22: scope:[main] from main::@21 - (dword) score_bcd#27 ← phi( main::@21/(dword) score_bcd#37 ) + (dword) score_bcd#31 ← phi( main::@21/(dword) score_bcd#42 ) (byte) current_movedown_counter#23 ← phi( main::@21/(byte) current_movedown_counter#30 ) (byte) keyboard_modifiers#29 ← phi( main::@21/(byte) keyboard_modifiers#35 ) (byte) keyboard_events_size#32 ← phi( main::@21/(byte) keyboard_events_size#41 ) @@ -2357,34 +2412,34 @@ main::@22: scope:[main] from main::@21 (byte*) current_piece_gfx#48 ← phi( main::@21/(byte*) current_piece_gfx#65 ) (byte) current_orientation#47 ← phi( main::@21/(byte) current_orientation#59 ) (byte*) current_piece#38 ← phi( main::@21/(byte*) current_piece#50 ) - (byte) render_screen_render#31 ← phi( main::@21/(byte) render_screen_render#35 ) + (byte) render_screen_render#33 ← phi( main::@21/(byte) render_screen_render#37 ) (byte) render_screen_show#28 ← phi( main::@21/(byte) render_screen_show#36 ) to:main::@1 -main::@1: scope:[main] from main::@22 main::@31 main::@7 - (dword) score_bcd#21 ← phi( main::@22/(dword) score_bcd#27 main::@31/(dword) score_bcd#28 main::@7/(dword) score_bcd#29 ) - (byte) current_movedown_counter#19 ← phi( main::@22/(byte) current_movedown_counter#23 main::@31/(byte) current_movedown_counter#24 main::@7/(byte) current_movedown_counter#25 ) - (byte) keyboard_modifiers#24 ← phi( main::@22/(byte) keyboard_modifiers#29 main::@31/(byte) keyboard_modifiers#30 main::@7/(byte) keyboard_modifiers#31 ) - (byte) keyboard_events_size#27 ← phi( main::@22/(byte) keyboard_events_size#32 main::@31/(byte) keyboard_events_size#33 main::@7/(byte) keyboard_events_size#34 ) - (byte) render_screen_showing#13 ← phi( main::@22/(byte) render_screen_showing#16 main::@31/(byte) render_screen_showing#17 main::@7/(byte) render_screen_showing#18 ) - (byte) current_piece_char#24 ← phi( main::@22/(byte) current_piece_char#33 main::@31/(byte) current_piece_char#34 main::@7/(byte) current_piece_char#35 ) - (byte) current_ypos#37 ← phi( main::@22/(byte) current_ypos#45 main::@31/(byte) current_ypos#46 main::@7/(byte) current_ypos#47 ) - (byte) current_xpos#45 ← phi( main::@22/(byte) current_xpos#61 main::@31/(byte) current_xpos#62 main::@7/(byte) current_xpos#63 ) - (byte*) current_piece_gfx#34 ← phi( main::@22/(byte*) current_piece_gfx#48 main::@31/(byte*) current_piece_gfx#49 main::@7/(byte*) current_piece_gfx#50 ) - (byte) current_orientation#39 ← phi( main::@22/(byte) current_orientation#47 main::@31/(byte) current_orientation#48 main::@7/(byte) current_orientation#49 ) - (byte*) current_piece#28 ← phi( main::@22/(byte*) current_piece#38 main::@31/(byte*) current_piece#39 main::@7/(byte*) current_piece#40 ) - (byte) render_screen_render#23 ← phi( main::@22/(byte) render_screen_render#31 main::@31/(byte) render_screen_render#6 main::@7/(byte) render_screen_render#32 ) - (byte) render_screen_show#23 ← phi( main::@22/(byte) render_screen_show#28 main::@31/(byte) render_screen_show#6 main::@7/(byte) render_screen_show#29 ) +main::@1: scope:[main] from main::@22 main::@32 main::@7 + (dword) score_bcd#24 ← phi( main::@22/(dword) score_bcd#31 main::@32/(dword) score_bcd#32 main::@7/(dword) score_bcd#33 ) + (byte) current_movedown_counter#19 ← phi( main::@22/(byte) current_movedown_counter#23 main::@32/(byte) current_movedown_counter#24 main::@7/(byte) current_movedown_counter#25 ) + (byte) keyboard_modifiers#24 ← phi( main::@22/(byte) keyboard_modifiers#29 main::@32/(byte) keyboard_modifiers#30 main::@7/(byte) keyboard_modifiers#31 ) + (byte) keyboard_events_size#27 ← phi( main::@22/(byte) keyboard_events_size#32 main::@32/(byte) keyboard_events_size#33 main::@7/(byte) keyboard_events_size#34 ) + (byte) render_screen_showing#13 ← phi( main::@22/(byte) render_screen_showing#16 main::@32/(byte) render_screen_showing#17 main::@7/(byte) render_screen_showing#18 ) + (byte) current_piece_char#24 ← phi( main::@22/(byte) current_piece_char#33 main::@32/(byte) current_piece_char#34 main::@7/(byte) current_piece_char#35 ) + (byte) current_ypos#37 ← phi( main::@22/(byte) current_ypos#45 main::@32/(byte) current_ypos#46 main::@7/(byte) current_ypos#47 ) + (byte) current_xpos#45 ← phi( main::@22/(byte) current_xpos#61 main::@32/(byte) current_xpos#62 main::@7/(byte) current_xpos#63 ) + (byte*) current_piece_gfx#34 ← phi( main::@22/(byte*) current_piece_gfx#48 main::@32/(byte*) current_piece_gfx#49 main::@7/(byte*) current_piece_gfx#50 ) + (byte) current_orientation#39 ← phi( main::@22/(byte) current_orientation#47 main::@32/(byte) current_orientation#48 main::@7/(byte) current_orientation#49 ) + (byte*) current_piece#28 ← phi( main::@22/(byte*) current_piece#38 main::@32/(byte*) current_piece#39 main::@7/(byte*) current_piece#40 ) + (byte) render_screen_render#25 ← phi( main::@22/(byte) render_screen_render#33 main::@32/(byte) render_screen_render#6 main::@7/(byte) render_screen_render#34 ) + (byte) render_screen_show#23 ← phi( main::@22/(byte) render_screen_show#28 main::@32/(byte) render_screen_show#6 main::@7/(byte) render_screen_show#29 ) if(true) goto main::@2 to:main::@return main::@2: scope:[main] from main::@1 - (byte) render_screen_render#59 ← phi( main::@1/(byte) render_screen_render#23 ) + (byte) render_screen_render#61 ← phi( main::@1/(byte) render_screen_render#25 ) (byte) current_piece_char#77 ← phi( main::@1/(byte) current_piece_char#24 ) - (byte) current_xpos#99 ← phi( main::@1/(byte) current_xpos#45 ) - (byte*) current_piece_gfx#89 ← phi( main::@1/(byte*) current_piece_gfx#34 ) + (byte) current_xpos#100 ← phi( main::@1/(byte) current_xpos#45 ) + (byte*) current_piece_gfx#90 ← phi( main::@1/(byte*) current_piece_gfx#34 ) (byte) current_orientation#74 ← phi( main::@1/(byte) current_orientation#39 ) (byte*) current_piece#70 ← phi( main::@1/(byte*) current_piece#28 ) - (dword) score_bcd#60 ← phi( main::@1/(dword) score_bcd#21 ) - (byte) current_ypos#73 ← phi( main::@1/(byte) current_ypos#37 ) + (dword) score_bcd#65 ← phi( main::@1/(dword) score_bcd#24 ) + (byte) current_ypos#74 ← phi( main::@1/(byte) current_ypos#37 ) (byte) current_movedown_counter#42 ← phi( main::@1/(byte) current_movedown_counter#19 ) (byte) keyboard_modifiers#41 ← phi( main::@1/(byte) keyboard_modifiers#24 ) (byte) keyboard_events_size#50 ← phi( main::@1/(byte) keyboard_events_size#27 ) @@ -2392,14 +2447,14 @@ main::@2: scope:[main] from main::@1 (byte) render_screen_show#37 ← phi( main::@1/(byte) render_screen_show#23 ) to:main::@4 main::@4: scope:[main] from main::@2 main::@5 - (byte) render_screen_render#58 ← phi( main::@2/(byte) render_screen_render#59 main::@5/(byte) render_screen_render#60 ) + (byte) render_screen_render#60 ← phi( main::@2/(byte) render_screen_render#61 main::@5/(byte) render_screen_render#62 ) (byte) current_piece_char#70 ← phi( main::@2/(byte) current_piece_char#77 main::@5/(byte) current_piece_char#78 ) - (byte) current_xpos#96 ← phi( main::@2/(byte) current_xpos#99 main::@5/(byte) current_xpos#100 ) - (byte*) current_piece_gfx#83 ← phi( main::@2/(byte*) current_piece_gfx#89 main::@5/(byte*) current_piece_gfx#90 ) + (byte) current_xpos#97 ← phi( main::@2/(byte) current_xpos#100 main::@5/(byte) current_xpos#101 ) + (byte*) current_piece_gfx#84 ← phi( main::@2/(byte*) current_piece_gfx#90 main::@5/(byte*) current_piece_gfx#91 ) (byte) current_orientation#71 ← phi( main::@2/(byte) current_orientation#74 main::@5/(byte) current_orientation#75 ) (byte*) current_piece#65 ← phi( main::@2/(byte*) current_piece#70 main::@5/(byte*) current_piece#71 ) - (dword) score_bcd#54 ← phi( main::@2/(dword) score_bcd#60 main::@5/(dword) score_bcd#61 ) - (byte) current_ypos#70 ← phi( main::@2/(byte) current_ypos#73 main::@5/(byte) current_ypos#74 ) + (dword) score_bcd#59 ← phi( main::@2/(dword) score_bcd#65 main::@5/(dword) score_bcd#66 ) + (byte) current_ypos#71 ← phi( main::@2/(byte) current_ypos#74 main::@5/(byte) current_ypos#75 ) (byte) current_movedown_counter#39 ← phi( main::@2/(byte) current_movedown_counter#42 main::@5/(byte) current_movedown_counter#43 ) (byte) keyboard_modifiers#36 ← phi( main::@2/(byte) keyboard_modifiers#41 main::@5/(byte) keyboard_modifiers#42 ) (byte) keyboard_events_size#42 ← phi( main::@2/(byte) keyboard_events_size#50 main::@5/(byte) keyboard_events_size#51 ) @@ -2409,14 +2464,14 @@ main::@4: scope:[main] from main::@2 main::@5 if((bool~) main::$8) goto main::@5 to:main::@6 main::@5: scope:[main] from main::@4 - (byte) render_screen_render#60 ← phi( main::@4/(byte) render_screen_render#58 ) + (byte) render_screen_render#62 ← phi( main::@4/(byte) render_screen_render#60 ) (byte) current_piece_char#78 ← phi( main::@4/(byte) current_piece_char#70 ) - (byte) current_xpos#100 ← phi( main::@4/(byte) current_xpos#96 ) - (byte*) current_piece_gfx#90 ← phi( main::@4/(byte*) current_piece_gfx#83 ) + (byte) current_xpos#101 ← phi( main::@4/(byte) current_xpos#97 ) + (byte*) current_piece_gfx#91 ← phi( main::@4/(byte*) current_piece_gfx#84 ) (byte) current_orientation#75 ← phi( main::@4/(byte) current_orientation#71 ) (byte*) current_piece#71 ← phi( main::@4/(byte*) current_piece#65 ) - (dword) score_bcd#61 ← phi( main::@4/(dword) score_bcd#54 ) - (byte) current_ypos#74 ← phi( main::@4/(byte) current_ypos#70 ) + (dword) score_bcd#66 ← phi( main::@4/(dword) score_bcd#59 ) + (byte) current_ypos#75 ← phi( main::@4/(byte) current_ypos#71 ) (byte) current_movedown_counter#43 ← phi( main::@4/(byte) current_movedown_counter#39 ) (byte) keyboard_modifiers#42 ← phi( main::@4/(byte) keyboard_modifiers#36 ) (byte) keyboard_events_size#51 ← phi( main::@4/(byte) keyboard_events_size#42 ) @@ -2424,14 +2479,14 @@ main::@5: scope:[main] from main::@4 (byte) render_screen_show#38 ← phi( main::@4/(byte) render_screen_show#30 ) to:main::@4 main::@6: scope:[main] from main::@4 - (byte) render_screen_render#57 ← phi( main::@4/(byte) render_screen_render#58 ) + (byte) render_screen_render#59 ← phi( main::@4/(byte) render_screen_render#60 ) (byte) current_piece_char#61 ← phi( main::@4/(byte) current_piece_char#70 ) - (byte) current_xpos#89 ← phi( main::@4/(byte) current_xpos#96 ) - (byte*) current_piece_gfx#78 ← phi( main::@4/(byte*) current_piece_gfx#83 ) + (byte) current_xpos#89 ← phi( main::@4/(byte) current_xpos#97 ) + (byte*) current_piece_gfx#78 ← phi( main::@4/(byte*) current_piece_gfx#84 ) (byte) current_orientation#66 ← phi( main::@4/(byte) current_orientation#71 ) (byte*) current_piece#60 ← phi( main::@4/(byte*) current_piece#65 ) - (dword) score_bcd#47 ← phi( main::@4/(dword) score_bcd#54 ) - (byte) current_ypos#65 ← phi( main::@4/(byte) current_ypos#70 ) + (dword) score_bcd#52 ← phi( main::@4/(dword) score_bcd#59 ) + (byte) current_ypos#65 ← phi( main::@4/(byte) current_ypos#71 ) (byte) current_movedown_counter#35 ← phi( main::@4/(byte) current_movedown_counter#39 ) (byte) keyboard_modifiers#32 ← phi( main::@4/(byte) keyboard_modifiers#36 ) (byte) keyboard_events_size#35 ← phi( main::@4/(byte) keyboard_events_size#42 ) @@ -2440,14 +2495,14 @@ main::@6: scope:[main] from main::@4 call render_show to:main::@23 main::@23: scope:[main] from main::@6 - (byte) render_screen_render#56 ← phi( main::@6/(byte) render_screen_render#57 ) - (byte) render_screen_show#56 ← phi( main::@6/(byte) render_screen_show#18 ) + (byte) render_screen_render#58 ← phi( main::@6/(byte) render_screen_render#59 ) + (byte) render_screen_show#57 ← phi( main::@6/(byte) render_screen_show#18 ) (byte) current_piece_char#49 ← phi( main::@6/(byte) current_piece_char#61 ) (byte) current_xpos#79 ← phi( main::@6/(byte) current_xpos#89 ) (byte*) current_piece_gfx#66 ← phi( main::@6/(byte*) current_piece_gfx#78 ) (byte) current_orientation#60 ← phi( main::@6/(byte) current_orientation#66 ) (byte*) current_piece#51 ← phi( main::@6/(byte*) current_piece#60 ) - (dword) score_bcd#38 ← phi( main::@6/(dword) score_bcd#47 ) + (dword) score_bcd#43 ← phi( main::@6/(dword) score_bcd#52 ) (byte) current_ypos#58 ← phi( main::@6/(byte) current_ypos#65 ) (byte) current_movedown_counter#31 ← phi( main::@6/(byte) current_movedown_counter#35 ) (byte) keyboard_modifiers#23 ← phi( main::@6/(byte) keyboard_modifiers#32 ) @@ -2457,15 +2512,15 @@ main::@23: scope:[main] from main::@6 call keyboard_event_scan to:main::@24 main::@24: scope:[main] from main::@23 - (byte) render_screen_showing#40 ← phi( main::@23/(byte) render_screen_showing#3 ) - (byte) render_screen_render#54 ← phi( main::@23/(byte) render_screen_render#56 ) - (byte) render_screen_show#54 ← phi( main::@23/(byte) render_screen_show#56 ) + (byte) render_screen_showing#41 ← phi( main::@23/(byte) render_screen_showing#3 ) + (byte) render_screen_render#56 ← phi( main::@23/(byte) render_screen_render#58 ) + (byte) render_screen_show#55 ← phi( main::@23/(byte) render_screen_show#57 ) (byte) current_piece_char#36 ← phi( main::@23/(byte) current_piece_char#49 ) (byte) current_xpos#64 ← phi( main::@23/(byte) current_xpos#79 ) (byte*) current_piece_gfx#51 ← phi( main::@23/(byte*) current_piece_gfx#66 ) (byte) current_orientation#50 ← phi( main::@23/(byte) current_orientation#60 ) (byte*) current_piece#41 ← phi( main::@23/(byte*) current_piece#51 ) - (dword) score_bcd#30 ← phi( main::@23/(dword) score_bcd#38 ) + (dword) score_bcd#34 ← phi( main::@23/(dword) score_bcd#43 ) (byte) current_ypos#48 ← phi( main::@23/(byte) current_ypos#58 ) (byte) current_movedown_counter#26 ← phi( main::@23/(byte) current_movedown_counter#31 ) (byte) keyboard_modifiers#15 ← phi( main::@23/(byte) keyboard_modifiers#6 ) @@ -2477,15 +2532,15 @@ main::@24: scope:[main] from main::@23 to:main::@25 main::@25: scope:[main] from main::@24 (byte) keyboard_modifiers#51 ← phi( main::@24/(byte) keyboard_modifiers#7 ) - (byte) render_screen_showing#37 ← phi( main::@24/(byte) render_screen_showing#40 ) - (byte) render_screen_render#52 ← phi( main::@24/(byte) render_screen_render#54 ) - (byte) render_screen_show#51 ← phi( main::@24/(byte) render_screen_show#54 ) + (byte) render_screen_showing#37 ← phi( main::@24/(byte) render_screen_showing#41 ) + (byte) render_screen_render#54 ← phi( main::@24/(byte) render_screen_render#56 ) + (byte) render_screen_show#52 ← phi( main::@24/(byte) render_screen_show#55 ) (byte) current_piece_char#23 ← phi( main::@24/(byte) current_piece_char#36 ) (byte) current_xpos#44 ← phi( main::@24/(byte) current_xpos#64 ) (byte*) current_piece_gfx#32 ← phi( main::@24/(byte*) current_piece_gfx#51 ) (byte) current_orientation#37 ← phi( main::@24/(byte) current_orientation#50 ) (byte*) current_piece#27 ← phi( main::@24/(byte*) current_piece#41 ) - (dword) score_bcd#20 ← phi( main::@24/(dword) score_bcd#30 ) + (dword) score_bcd#23 ← phi( main::@24/(dword) score_bcd#34 ) (byte) current_ypos#36 ← phi( main::@24/(byte) current_ypos#48 ) (byte) current_movedown_counter#14 ← phi( main::@24/(byte) current_movedown_counter#26 ) (byte) keyboard_events_size#18 ← phi( main::@24/(byte) keyboard_events_size#5 ) @@ -2502,8 +2557,8 @@ main::@26: scope:[main] from main::@25 (byte) keyboard_modifiers#47 ← phi( main::@25/(byte) keyboard_modifiers#51 ) (byte) keyboard_events_size#59 ← phi( main::@25/(byte) keyboard_events_size#7 ) (byte) render_screen_showing#33 ← phi( main::@25/(byte) render_screen_showing#37 ) - (byte) render_screen_render#50 ← phi( main::@25/(byte) render_screen_render#52 ) - (byte) render_screen_show#48 ← phi( main::@25/(byte) render_screen_show#51 ) + (byte) render_screen_render#52 ← phi( main::@25/(byte) render_screen_render#54 ) + (byte) render_screen_show#49 ← phi( main::@25/(byte) render_screen_show#52 ) (byte) main::key_event#1 ← phi( main::@25/(byte) main::key_event#0 ) (byte) main::render#4 ← phi( main::@25/(byte) main::render#0 ) (byte) current_piece_char#14 ← phi( main::@25/(byte) current_piece_char#1 ) @@ -2511,14 +2566,14 @@ main::@26: scope:[main] from main::@25 (byte*) current_piece_gfx#18 ← phi( main::@25/(byte*) current_piece_gfx#1 ) (byte) current_orientation#22 ← phi( main::@25/(byte) current_orientation#2 ) (byte*) current_piece#15 ← phi( main::@25/(byte*) current_piece#2 ) - (dword) score_bcd#12 ← phi( main::@25/(dword) score_bcd#2 ) + (dword) score_bcd#13 ← phi( main::@25/(dword) score_bcd#2 ) (byte) current_ypos#20 ← phi( main::@25/(byte) current_ypos#2 ) (byte) current_movedown_counter#11 ← phi( main::@25/(byte) current_movedown_counter#3 ) (byte) play_move_down::return#5 ← phi( main::@25/(byte) play_move_down::return#3 ) (byte~) main::$12 ← (byte) play_move_down::return#5 (byte) current_movedown_counter#4 ← (byte) current_movedown_counter#11 (byte) current_ypos#6 ← (byte) current_ypos#20 - (dword) score_bcd#5 ← (dword) score_bcd#12 + (dword) score_bcd#5 ← (dword) score_bcd#13 (byte*) current_piece#6 ← (byte*) current_piece#15 (byte) current_orientation#8 ← (byte) current_orientation#22 (byte*) current_piece_gfx#7 ← (byte*) current_piece_gfx#18 @@ -2530,14 +2585,14 @@ main::@26: scope:[main] from main::@25 (byte) play_move_leftright::return#4 ← (byte) play_move_leftright::return#1 to:main::@27 main::@27: scope:[main] from main::@26 - (dword) score_bcd#48 ← phi( main::@26/(dword) score_bcd#5 ) + (dword) score_bcd#53 ← phi( main::@26/(dword) score_bcd#5 ) (byte) current_movedown_counter#36 ← phi( main::@26/(byte) current_movedown_counter#4 ) (byte) keyboard_modifiers#43 ← phi( main::@26/(byte) keyboard_modifiers#47 ) (byte) keyboard_events_size#52 ← phi( main::@26/(byte) keyboard_events_size#59 ) (byte) render_screen_showing#29 ← phi( main::@26/(byte) render_screen_showing#33 ) (byte) current_piece_char#62 ← phi( main::@26/(byte) current_piece_char#5 ) - (byte) render_screen_render#46 ← phi( main::@26/(byte) render_screen_render#50 ) - (byte) render_screen_show#45 ← phi( main::@26/(byte) render_screen_show#48 ) + (byte) render_screen_render#48 ← phi( main::@26/(byte) render_screen_render#52 ) + (byte) render_screen_show#45 ← phi( main::@26/(byte) render_screen_show#49 ) (byte*) current_piece#58 ← phi( main::@26/(byte*) current_piece#6 ) (byte) current_ypos#55 ← phi( main::@26/(byte) current_ypos#6 ) (byte*) current_piece_gfx#33 ← phi( main::@26/(byte*) current_piece_gfx#7 ) @@ -2554,7 +2609,7 @@ main::@27: scope:[main] from main::@26 (byte) play_move_rotate::return#4 ← (byte) play_move_rotate::return#1 to:main::@28 main::@28: scope:[main] from main::@27 - (dword) score_bcd#39 ← phi( main::@27/(dword) score_bcd#48 ) + (dword) score_bcd#44 ← phi( main::@27/(dword) score_bcd#53 ) (byte) current_movedown_counter#32 ← phi( main::@27/(byte) current_movedown_counter#36 ) (byte) keyboard_modifiers#37 ← phi( main::@27/(byte) keyboard_modifiers#43 ) (byte) keyboard_events_size#43 ← phi( main::@27/(byte) keyboard_events_size#52 ) @@ -2563,7 +2618,7 @@ main::@28: scope:[main] from main::@27 (byte) current_ypos#59 ← phi( main::@27/(byte) current_ypos#55 ) (byte) current_xpos#80 ← phi( main::@27/(byte) current_xpos#9 ) (byte*) current_piece#52 ← phi( main::@27/(byte*) current_piece#58 ) - (byte) render_screen_render#40 ← phi( main::@27/(byte) render_screen_render#46 ) + (byte) render_screen_render#42 ← phi( main::@27/(byte) render_screen_render#48 ) (byte) render_screen_show#39 ← phi( main::@27/(byte) render_screen_show#45 ) (byte) main::render#6 ← phi( main::@27/(byte) main::render#2 ) (byte*) current_piece_gfx#19 ← phi( main::@27/(byte*) current_piece_gfx#2 ) @@ -2578,7 +2633,7 @@ main::@28: scope:[main] from main::@27 if((bool~) main::$16) goto main::@7 to:main::@13 main::@7: scope:[main] from main::@28 - (dword) score_bcd#29 ← phi( main::@28/(dword) score_bcd#39 ) + (dword) score_bcd#33 ← phi( main::@28/(dword) score_bcd#44 ) (byte) current_movedown_counter#25 ← phi( main::@28/(byte) current_movedown_counter#32 ) (byte) keyboard_modifiers#31 ← phi( main::@28/(byte) keyboard_modifiers#37 ) (byte) keyboard_events_size#34 ← phi( main::@28/(byte) keyboard_events_size#43 ) @@ -2589,76 +2644,92 @@ main::@7: scope:[main] from main::@28 (byte*) current_piece_gfx#50 ← phi( main::@28/(byte*) current_piece_gfx#8 ) (byte) current_orientation#49 ← phi( main::@28/(byte) current_orientation#9 ) (byte*) current_piece#40 ← phi( main::@28/(byte*) current_piece#52 ) - (byte) render_screen_render#32 ← phi( main::@28/(byte) render_screen_render#40 ) + (byte) render_screen_render#34 ← phi( main::@28/(byte) render_screen_render#42 ) (byte) render_screen_show#29 ← phi( main::@28/(byte) render_screen_show#39 ) to:main::@1 main::@13: scope:[main] from main::@28 - (dword) score_bcd#55 ← phi( main::@28/(dword) score_bcd#39 ) - (byte) current_movedown_counter#40 ← phi( main::@28/(byte) current_movedown_counter#32 ) - (byte) keyboard_modifiers#48 ← phi( main::@28/(byte) keyboard_modifiers#37 ) - (byte) keyboard_events_size#60 ← phi( main::@28/(byte) keyboard_events_size#43 ) - (byte) render_screen_showing#34 ← phi( main::@28/(byte) render_screen_showing#25 ) - (byte) current_piece_char#71 ← phi( main::@28/(byte) current_piece_char#50 ) - (byte) current_orientation#72 ← phi( main::@28/(byte) current_orientation#9 ) - (byte*) current_piece#66 ← phi( main::@28/(byte*) current_piece#52 ) - (byte*) current_piece_gfx#84 ← phi( main::@28/(byte*) current_piece_gfx#8 ) + (byte) current_movedown_counter#44 ← phi( main::@28/(byte) current_movedown_counter#32 ) + (byte) keyboard_modifiers#52 ← phi( main::@28/(byte) keyboard_modifiers#37 ) + (byte) keyboard_events_size#67 ← phi( main::@28/(byte) keyboard_events_size#43 ) + (byte) render_screen_showing#38 ← phi( main::@28/(byte) render_screen_showing#25 ) + (byte) current_piece_char#79 ← phi( main::@28/(byte) current_piece_char#50 ) + (byte) current_orientation#76 ← phi( main::@28/(byte) current_orientation#9 ) + (byte*) current_piece#72 ← phi( main::@28/(byte*) current_piece#52 ) + (dword) score_bcd#60 ← phi( main::@28/(dword) score_bcd#44 ) + (byte*) current_piece_gfx#85 ← phi( main::@28/(byte*) current_piece_gfx#8 ) + (byte) render_screen_show#46 ← phi( main::@28/(byte) render_screen_show#39 ) (byte) current_xpos#90 ← phi( main::@28/(byte) current_xpos#80 ) - (byte) render_screen_show#40 ← phi( main::@28/(byte) render_screen_show#39 ) (byte) current_ypos#49 ← phi( main::@28/(byte) current_ypos#59 ) - (byte) render_screen_render#25 ← phi( main::@28/(byte) render_screen_render#40 ) + (byte) render_screen_render#27 ← phi( main::@28/(byte) render_screen_render#42 ) call render_playfield to:main::@29 main::@29: scope:[main] from main::@13 - (dword) score_bcd#49 ← phi( main::@13/(dword) score_bcd#55 ) - (byte) current_movedown_counter#37 ← phi( main::@13/(byte) current_movedown_counter#40 ) - (byte) keyboard_modifiers#44 ← phi( main::@13/(byte) keyboard_modifiers#48 ) - (byte) keyboard_events_size#53 ← phi( main::@13/(byte) keyboard_events_size#60 ) - (byte) render_screen_showing#30 ← phi( main::@13/(byte) render_screen_showing#34 ) - (byte) current_piece_char#63 ← phi( main::@13/(byte) current_piece_char#71 ) - (byte) current_orientation#67 ← phi( main::@13/(byte) current_orientation#72 ) - (byte*) current_piece#61 ← phi( main::@13/(byte*) current_piece#66 ) - (byte*) current_piece_gfx#68 ← phi( main::@13/(byte*) current_piece_gfx#84 ) + (byte) current_movedown_counter#40 ← phi( main::@13/(byte) current_movedown_counter#44 ) + (byte) keyboard_modifiers#48 ← phi( main::@13/(byte) keyboard_modifiers#52 ) + (byte) keyboard_events_size#60 ← phi( main::@13/(byte) keyboard_events_size#67 ) + (byte) render_screen_showing#34 ← phi( main::@13/(byte) render_screen_showing#38 ) + (byte) current_piece_char#71 ← phi( main::@13/(byte) current_piece_char#79 ) + (byte) current_orientation#72 ← phi( main::@13/(byte) current_orientation#76 ) + (byte*) current_piece#66 ← phi( main::@13/(byte*) current_piece#72 ) + (dword) score_bcd#54 ← phi( main::@13/(dword) score_bcd#60 ) + (byte*) current_piece_gfx#68 ← phi( main::@13/(byte*) current_piece_gfx#85 ) + (byte) render_screen_show#40 ← phi( main::@13/(byte) render_screen_show#46 ) (byte) current_xpos#67 ← phi( main::@13/(byte) current_xpos#90 ) - (byte) render_screen_show#31 ← phi( main::@13/(byte) render_screen_show#40 ) - (byte) render_screen_render#33 ← phi( main::@13/(byte) render_screen_render#25 ) + (byte) render_screen_render#35 ← phi( main::@13/(byte) render_screen_render#27 ) (byte) current_ypos#24 ← phi( main::@13/(byte) current_ypos#49 ) call render_current to:main::@30 main::@30: scope:[main] from main::@29 - (dword) score_bcd#40 ← phi( main::@29/(dword) score_bcd#49 ) - (byte) current_movedown_counter#33 ← phi( main::@29/(byte) current_movedown_counter#37 ) - (byte) keyboard_modifiers#38 ← phi( main::@29/(byte) keyboard_modifiers#44 ) - (byte) keyboard_events_size#44 ← phi( main::@29/(byte) keyboard_events_size#53 ) - (byte) render_screen_showing#26 ← phi( main::@29/(byte) render_screen_showing#30 ) - (byte) current_piece_char#51 ← phi( main::@29/(byte) current_piece_char#63 ) - (byte) current_ypos#60 ← phi( main::@29/(byte) current_ypos#24 ) - (byte) current_xpos#81 ← phi( main::@29/(byte) current_xpos#67 ) - (byte*) current_piece_gfx#67 ← phi( main::@29/(byte*) current_piece_gfx#68 ) - (byte) current_orientation#61 ← phi( main::@29/(byte) current_orientation#67 ) - (byte*) current_piece#53 ← phi( main::@29/(byte*) current_piece#61 ) - (byte) render_screen_show#21 ← phi( main::@29/(byte) render_screen_show#31 ) - (byte) render_screen_render#18 ← phi( main::@29/(byte) render_screen_render#33 ) - call render_screen_swap + (byte) current_movedown_counter#37 ← phi( main::@29/(byte) current_movedown_counter#40 ) + (byte) keyboard_modifiers#44 ← phi( main::@29/(byte) keyboard_modifiers#48 ) + (byte) keyboard_events_size#53 ← phi( main::@29/(byte) keyboard_events_size#60 ) + (byte) render_screen_showing#30 ← phi( main::@29/(byte) render_screen_showing#34 ) + (byte) current_piece_char#63 ← phi( main::@29/(byte) current_piece_char#71 ) + (byte) current_ypos#66 ← phi( main::@29/(byte) current_ypos#24 ) + (byte) current_xpos#91 ← phi( main::@29/(byte) current_xpos#67 ) + (byte*) current_piece_gfx#79 ← phi( main::@29/(byte*) current_piece_gfx#68 ) + (byte) current_orientation#67 ← phi( main::@29/(byte) current_orientation#72 ) + (byte*) current_piece#61 ← phi( main::@29/(byte*) current_piece#66 ) + (dword) score_bcd#36 ← phi( main::@29/(dword) score_bcd#54 ) + (byte) render_screen_show#31 ← phi( main::@29/(byte) render_screen_show#40 ) + (byte) render_screen_render#20 ← phi( main::@29/(byte) render_screen_render#35 ) + call render_score to:main::@31 main::@31: scope:[main] from main::@30 - (dword) score_bcd#28 ← phi( main::@30/(dword) score_bcd#40 ) - (byte) current_movedown_counter#24 ← phi( main::@30/(byte) current_movedown_counter#33 ) - (byte) keyboard_modifiers#30 ← phi( main::@30/(byte) keyboard_modifiers#38 ) - (byte) keyboard_events_size#33 ← phi( main::@30/(byte) keyboard_events_size#44 ) - (byte) render_screen_showing#17 ← phi( main::@30/(byte) render_screen_showing#26 ) - (byte) current_piece_char#34 ← phi( main::@30/(byte) current_piece_char#51 ) - (byte) current_ypos#46 ← phi( main::@30/(byte) current_ypos#60 ) - (byte) current_xpos#62 ← phi( main::@30/(byte) current_xpos#81 ) - (byte*) current_piece_gfx#49 ← phi( main::@30/(byte*) current_piece_gfx#67 ) - (byte) current_orientation#48 ← phi( main::@30/(byte) current_orientation#61 ) - (byte*) current_piece#39 ← phi( main::@30/(byte*) current_piece#53 ) - (byte) render_screen_show#15 ← phi( main::@30/(byte) render_screen_show#4 ) - (byte) render_screen_render#15 ← phi( main::@30/(byte) render_screen_render#4 ) - (byte) render_screen_render#6 ← (byte) render_screen_render#15 + (dword) score_bcd#45 ← phi( main::@30/(dword) score_bcd#36 ) + (byte) current_movedown_counter#33 ← phi( main::@30/(byte) current_movedown_counter#37 ) + (byte) keyboard_modifiers#38 ← phi( main::@30/(byte) keyboard_modifiers#44 ) + (byte) keyboard_events_size#44 ← phi( main::@30/(byte) keyboard_events_size#53 ) + (byte) render_screen_showing#26 ← phi( main::@30/(byte) render_screen_showing#30 ) + (byte) current_piece_char#51 ← phi( main::@30/(byte) current_piece_char#63 ) + (byte) current_ypos#60 ← phi( main::@30/(byte) current_ypos#66 ) + (byte) current_xpos#81 ← phi( main::@30/(byte) current_xpos#91 ) + (byte*) current_piece_gfx#67 ← phi( main::@30/(byte*) current_piece_gfx#79 ) + (byte) current_orientation#61 ← phi( main::@30/(byte) current_orientation#67 ) + (byte*) current_piece#53 ← phi( main::@30/(byte*) current_piece#61 ) + (byte) render_screen_show#21 ← phi( main::@30/(byte) render_screen_show#31 ) + (byte) render_screen_render#19 ← phi( main::@30/(byte) render_screen_render#20 ) + call render_screen_swap + to:main::@32 +main::@32: scope:[main] from main::@31 + (dword) score_bcd#32 ← phi( main::@31/(dword) score_bcd#45 ) + (byte) current_movedown_counter#24 ← phi( main::@31/(byte) current_movedown_counter#33 ) + (byte) keyboard_modifiers#30 ← phi( main::@31/(byte) keyboard_modifiers#38 ) + (byte) keyboard_events_size#33 ← phi( main::@31/(byte) keyboard_events_size#44 ) + (byte) render_screen_showing#17 ← phi( main::@31/(byte) render_screen_showing#26 ) + (byte) current_piece_char#34 ← phi( main::@31/(byte) current_piece_char#51 ) + (byte) current_ypos#46 ← phi( main::@31/(byte) current_ypos#60 ) + (byte) current_xpos#62 ← phi( main::@31/(byte) current_xpos#81 ) + (byte*) current_piece_gfx#49 ← phi( main::@31/(byte*) current_piece_gfx#67 ) + (byte) current_orientation#48 ← phi( main::@31/(byte) current_orientation#61 ) + (byte*) current_piece#39 ← phi( main::@31/(byte*) current_piece#53 ) + (byte) render_screen_show#15 ← phi( main::@31/(byte) render_screen_show#4 ) + (byte) render_screen_render#16 ← phi( main::@31/(byte) render_screen_render#4 ) + (byte) render_screen_render#6 ← (byte) render_screen_render#16 (byte) render_screen_show#6 ← (byte) render_screen_show#15 to:main::@1 main::@return: scope:[main] from main::@1 - (dword) score_bcd#13 ← phi( main::@1/(dword) score_bcd#21 ) + (dword) score_bcd#14 ← phi( main::@1/(dword) score_bcd#24 ) (byte) current_movedown_counter#12 ← phi( main::@1/(byte) current_movedown_counter#19 ) (byte) keyboard_modifiers#16 ← phi( main::@1/(byte) keyboard_modifiers#24 ) (byte) keyboard_events_size#19 ← phi( main::@1/(byte) keyboard_events_size#27 ) @@ -2669,10 +2740,10 @@ main::@return: scope:[main] from main::@1 (byte*) current_piece_gfx#20 ← phi( main::@1/(byte*) current_piece_gfx#34 ) (byte) current_orientation#24 ← phi( main::@1/(byte) current_orientation#39 ) (byte*) current_piece#16 ← phi( main::@1/(byte*) current_piece#28 ) - (byte) render_screen_render#16 ← phi( main::@1/(byte) render_screen_render#23 ) + (byte) render_screen_render#17 ← phi( main::@1/(byte) render_screen_render#25 ) (byte) render_screen_show#16 ← phi( main::@1/(byte) render_screen_show#23 ) (byte) render_screen_show#7 ← (byte) render_screen_show#16 - (byte) render_screen_render#7 ← (byte) render_screen_render#16 + (byte) render_screen_render#7 ← (byte) render_screen_render#17 (byte*) current_piece#7 ← (byte*) current_piece#16 (byte) current_orientation#10 ← (byte) current_orientation#24 (byte*) current_piece_gfx#9 ← (byte*) current_piece_gfx#20 @@ -2683,45 +2754,45 @@ main::@return: scope:[main] from main::@1 (byte) keyboard_events_size#8 ← (byte) keyboard_events_size#19 (byte) keyboard_modifiers#8 ← (byte) keyboard_modifiers#16 (byte) current_movedown_counter#5 ← (byte) current_movedown_counter#12 - (dword) score_bcd#6 ← (dword) score_bcd#13 + (dword) score_bcd#6 ← (dword) score_bcd#14 return to:@return -@33: scope:[] from @27 - (byte) irq_raster_next#18 ← phi( @27/(byte) irq_raster_next#19 ) - (byte) irq_cnt#17 ← phi( @27/(byte) irq_cnt#19 ) - (byte) irq_sprite_ptr#15 ← phi( @27/(byte) irq_sprite_ptr#16 ) - (dword) score_bcd#22 ← phi( @27/(dword) score_bcd#31 ) - (byte) current_movedown_counter#20 ← phi( @27/(byte) current_movedown_counter#27 ) - (byte) keyboard_modifiers#25 ← phi( @27/(byte) keyboard_modifiers#33 ) - (byte) keyboard_events_size#28 ← phi( @27/(byte) keyboard_events_size#36 ) - (byte) render_screen_showing#14 ← phi( @27/(byte) render_screen_showing#20 ) - (byte) current_piece_char#25 ← phi( @27/(byte) current_piece_char#37 ) - (byte) current_ypos#38 ← phi( @27/(byte) current_ypos#50 ) - (byte) current_xpos#46 ← phi( @27/(byte) current_xpos#65 ) - (byte*) current_piece_gfx#35 ← phi( @27/(byte*) current_piece_gfx#52 ) - (byte) current_orientation#40 ← phi( @27/(byte) current_orientation#51 ) - (byte*) current_piece#29 ← phi( @27/(byte*) current_piece#42 ) - (byte) render_screen_render#24 ← phi( @27/(byte) render_screen_render#34 ) - (byte) render_screen_show#24 ← phi( @27/(byte) render_screen_show#32 ) - (byte) irq_sprite_ypos#8 ← phi( @27/(byte) irq_sprite_ypos#15 ) +@34: scope:[] from @28 + (byte) irq_raster_next#18 ← phi( @28/(byte) irq_raster_next#19 ) + (byte) irq_cnt#17 ← phi( @28/(byte) irq_cnt#19 ) + (byte) irq_sprite_ptr#15 ← phi( @28/(byte) irq_sprite_ptr#16 ) + (dword) score_bcd#25 ← phi( @28/(dword) score_bcd#35 ) + (byte) current_movedown_counter#20 ← phi( @28/(byte) current_movedown_counter#27 ) + (byte) keyboard_modifiers#25 ← phi( @28/(byte) keyboard_modifiers#33 ) + (byte) keyboard_events_size#28 ← phi( @28/(byte) keyboard_events_size#36 ) + (byte) render_screen_showing#14 ← phi( @28/(byte) render_screen_showing#20 ) + (byte) current_piece_char#25 ← phi( @28/(byte) current_piece_char#37 ) + (byte) current_ypos#38 ← phi( @28/(byte) current_ypos#50 ) + (byte) current_xpos#46 ← phi( @28/(byte) current_xpos#65 ) + (byte*) current_piece_gfx#35 ← phi( @28/(byte*) current_piece_gfx#52 ) + (byte) current_orientation#40 ← phi( @28/(byte) current_orientation#51 ) + (byte*) current_piece#29 ← phi( @28/(byte*) current_piece#42 ) + (byte) render_screen_render#26 ← phi( @28/(byte) render_screen_render#36 ) + (byte) render_screen_show#24 ← phi( @28/(byte) render_screen_show#32 ) + (byte) irq_sprite_ypos#8 ← phi( @28/(byte) irq_sprite_ypos#15 ) call main - to:@35 -@35: scope:[] from @33 - (dword) score_bcd#14 ← phi( @33/(dword) score_bcd#6 ) - (byte) current_movedown_counter#13 ← phi( @33/(byte) current_movedown_counter#5 ) - (byte) keyboard_modifiers#17 ← phi( @33/(byte) keyboard_modifiers#8 ) - (byte) keyboard_events_size#20 ← phi( @33/(byte) keyboard_events_size#8 ) - (byte) render_screen_showing#10 ← phi( @33/(byte) render_screen_showing#4 ) - (byte) current_piece_char#16 ← phi( @33/(byte) current_piece_char#6 ) - (byte) current_ypos#22 ← phi( @33/(byte) current_ypos#7 ) - (byte) current_xpos#28 ← phi( @33/(byte) current_xpos#10 ) - (byte*) current_piece_gfx#21 ← phi( @33/(byte*) current_piece_gfx#9 ) - (byte) current_orientation#25 ← phi( @33/(byte) current_orientation#10 ) - (byte*) current_piece#17 ← phi( @33/(byte*) current_piece#7 ) - (byte) render_screen_render#17 ← phi( @33/(byte) render_screen_render#7 ) - (byte) render_screen_show#17 ← phi( @33/(byte) render_screen_show#7 ) + to:@36 +@36: scope:[] from @34 + (dword) score_bcd#15 ← phi( @34/(dword) score_bcd#6 ) + (byte) current_movedown_counter#13 ← phi( @34/(byte) current_movedown_counter#5 ) + (byte) keyboard_modifiers#17 ← phi( @34/(byte) keyboard_modifiers#8 ) + (byte) keyboard_events_size#20 ← phi( @34/(byte) keyboard_events_size#8 ) + (byte) render_screen_showing#10 ← phi( @34/(byte) render_screen_showing#4 ) + (byte) current_piece_char#16 ← phi( @34/(byte) current_piece_char#6 ) + (byte) current_ypos#22 ← phi( @34/(byte) current_ypos#7 ) + (byte) current_xpos#28 ← phi( @34/(byte) current_xpos#10 ) + (byte*) current_piece_gfx#21 ← phi( @34/(byte*) current_piece_gfx#9 ) + (byte) current_orientation#25 ← phi( @34/(byte) current_orientation#10 ) + (byte*) current_piece#17 ← phi( @34/(byte*) current_piece#7 ) + (byte) render_screen_render#18 ← phi( @34/(byte) render_screen_render#7 ) + (byte) render_screen_show#17 ← phi( @34/(byte) render_screen_show#7 ) (byte) render_screen_show#8 ← (byte) render_screen_show#17 - (byte) render_screen_render#8 ← (byte) render_screen_render#17 + (byte) render_screen_render#8 ← (byte) render_screen_render#18 (byte*) current_piece#8 ← (byte*) current_piece#17 (byte) current_orientation#11 ← (byte) current_orientation#25 (byte*) current_piece_gfx#10 ← (byte*) current_piece_gfx#21 @@ -2732,9 +2803,9 @@ main::@return: scope:[main] from main::@1 (byte) keyboard_events_size#9 ← (byte) keyboard_events_size#20 (byte) keyboard_modifiers#9 ← (byte) keyboard_modifiers#17 (byte) current_movedown_counter#6 ← (byte) current_movedown_counter#13 - (dword) score_bcd#7 ← (dword) score_bcd#14 + (dword) score_bcd#7 ← (dword) score_bcd#15 to:@end -@end: scope:[] from @35 +@end: scope:[] from @36 SYMBOL TABLE SSA (byte~) $0 @@ -2766,13 +2837,13 @@ SYMBOL TABLE SSA (byte/signed byte/word/signed word/dword/signed dword~) $9 (label) @12 (label) @14 -(label) @20 (label) @21 -(label) @23 -(label) @27 -(label) @33 +(label) @22 +(label) @24 +(label) @28 (label) @34 (label) @35 +(label) @36 (label) @5 (label) @9 (label) @begin @@ -3199,6 +3270,7 @@ SYMBOL TABLE SSA (byte) current_movedown_counter#45 (byte) current_movedown_counter#46 (byte) current_movedown_counter#47 +(byte) current_movedown_counter#48 (byte) current_movedown_counter#5 (byte) current_movedown_counter#6 (byte) current_movedown_counter#7 @@ -3283,6 +3355,7 @@ SYMBOL TABLE SSA (byte) current_orientation#73 (byte) current_orientation#74 (byte) current_orientation#75 +(byte) current_orientation#76 (byte) current_orientation#8 (byte) current_orientation#9 (byte*) current_piece @@ -3356,6 +3429,7 @@ SYMBOL TABLE SSA (byte*) current_piece#7 (byte*) current_piece#70 (byte*) current_piece#71 +(byte*) current_piece#72 (byte*) current_piece#8 (byte*) current_piece#9 (byte) current_piece_char @@ -3444,6 +3518,7 @@ SYMBOL TABLE SSA (byte) current_piece_char#83 (byte) current_piece_char#84 (byte) current_piece_char#85 +(byte) current_piece_char#86 (byte) current_piece_char#9 (byte*) current_piece_gfx (byte*) current_piece_gfx#0 @@ -3544,6 +3619,7 @@ SYMBOL TABLE SSA (byte*) current_piece_gfx#95 (byte*) current_piece_gfx#96 (byte*) current_piece_gfx#97 +(byte*) current_piece_gfx#98 (byte) current_xpos (byte) current_xpos#0 (byte) current_xpos#1 @@ -3556,6 +3632,7 @@ SYMBOL TABLE SSA (byte) current_xpos#105 (byte) current_xpos#106 (byte) current_xpos#107 +(byte) current_xpos#108 (byte) current_xpos#11 (byte) current_xpos#12 (byte) current_xpos#13 @@ -3735,6 +3812,7 @@ SYMBOL TABLE SSA (byte) current_ypos#8 (byte) current_ypos#80 (byte) current_ypos#81 +(byte) current_ypos#82 (byte) current_ypos#9 (byte) irq_cnt (byte) irq_cnt#0 @@ -4063,6 +4141,7 @@ SYMBOL TABLE SSA (byte) keyboard_events_size#76 (byte) keyboard_events_size#77 (byte) keyboard_events_size#78 +(byte) keyboard_events_size#79 (byte) keyboard_events_size#8 (byte) keyboard_events_size#9 (byte[8]) keyboard_matrix_col_bitmask @@ -4141,6 +4220,7 @@ SYMBOL TABLE SSA (byte) keyboard_modifiers#58 (byte) keyboard_modifiers#59 (byte) keyboard_modifiers#6 +(byte) keyboard_modifiers#60 (byte) keyboard_modifiers#7 (byte) keyboard_modifiers#8 (byte) keyboard_modifiers#9 @@ -4174,6 +4254,7 @@ SYMBOL TABLE SSA (label) main::@29 (label) main::@30 (label) main::@31 +(label) main::@32 (label) main::@4 (label) main::@5 (label) main::@6 @@ -4856,6 +4937,52 @@ SYMBOL TABLE SSA (byte*) render_playfield::screen_line#0 (byte*) render_playfield::screen_line#1 (byte*) render_playfield::screen_line#2 +(void()) render_score() +(bool~) render_score::$0 +(byte/signed word/word/dword/signed dword~) render_score::$1 +(byte~) render_score::$10 +(byte~) render_score::$11 +(byte~) render_score::$12 +(bool~) render_score::$13 +(byte*~) render_score::$2 +(byte*~) render_score::$3 +(byte/signed word/word/dword/signed dword~) render_score::$4 +(byte*~) render_score::$5 +(byte*~) render_score::$6 +(dword*~) render_score::$7 +(byte*~) render_score::$8 +(byte~) render_score::$9 +(label) render_score::@1 +(label) render_score::@2 +(label) render_score::@3 +(label) render_score::@4 +(label) render_score::@return +(byte) render_score::SCREEN_SCORE_COL +(byte) render_score::SCREEN_SCORE_COL#0 +(byte) render_score::SCREEN_SCORE_COL#1 +(byte) render_score::SCREEN_SCORE_COL#2 +(byte) render_score::SCREEN_SCORE_ROW +(byte) render_score::SCREEN_SCORE_ROW#0 +(byte) render_score::SCREEN_SCORE_ROW#1 +(byte) render_score::SCREEN_SCORE_ROW#2 +(byte) render_score::ZERO_CHAR +(byte) render_score::ZERO_CHAR#0 +(byte) render_score::b +(byte) render_score::b#0 +(byte) render_score::b#1 +(byte) render_score::b#2 +(byte) render_score::score_byte +(byte) render_score::score_byte#0 +(byte*) render_score::score_bytes +(byte*) render_score::score_bytes#0 +(byte*) render_score::score_bytes#1 +(byte*) render_score::screen_score_pos +(byte*) render_score::screen_score_pos#0 +(byte*) render_score::screen_score_pos#1 +(byte*) render_score::screen_score_pos#2 +(byte*) render_score::screen_score_pos#3 +(byte*) render_score::screen_score_pos#4 +(byte*) render_score::screen_score_pos#5 (void()) render_screen_original((byte*) render_screen_original::screen) (byte/signed byte/word/signed word/dword/signed dword~) render_screen_original::$0 (byte*~) render_screen_original::$1 @@ -4991,6 +5118,8 @@ SYMBOL TABLE SSA (byte) render_screen_render#59 (byte) render_screen_render#6 (byte) render_screen_render#60 +(byte) render_screen_render#61 +(byte) render_screen_render#62 (byte) render_screen_render#7 (byte) render_screen_render#8 (byte) render_screen_render#9 @@ -5048,6 +5177,7 @@ SYMBOL TABLE SSA (byte) render_screen_show#54 (byte) render_screen_show#55 (byte) render_screen_show#56 +(byte) render_screen_show#57 (byte) render_screen_show#6 (byte) render_screen_show#7 (byte) render_screen_show#8 @@ -5093,6 +5223,7 @@ SYMBOL TABLE SSA (byte) render_screen_showing#42 (byte) render_screen_showing#43 (byte) render_screen_showing#44 +(byte) render_screen_showing#45 (byte) render_screen_showing#5 (byte) render_screen_showing#6 (byte) render_screen_showing#7 @@ -5245,7 +5376,12 @@ SYMBOL TABLE SSA (dword) score_bcd#65 (dword) score_bcd#66 (dword) score_bcd#67 +(dword) score_bcd#68 +(dword) score_bcd#69 (dword) score_bcd#7 +(dword) score_bcd#70 +(dword) score_bcd#71 +(dword) score_bcd#72 (dword) score_bcd#8 (dword) score_bcd#9 (byte*[PLAYFIELD_LINES#0]) screen_lines_1 @@ -5384,10 +5520,10 @@ Alias candidate removed (volatile)(byte) render_screen_showing#1 = (byte) render Alias candidate removed (volatile)(byte) IRQ_RASTER_FIRST#0 = (byte) irq_raster_next#0 (byte) irq_raster_next#23 (byte) irq_raster_next#22 (byte) irq_raster_next#21 (byte) irq_raster_next#20 (byte) irq_raster_next#19 (byte) irq_raster_next#18 Alias candidate removed (volatile)(byte) toSpritePtr1_return#0 = (byte) toSpritePtr1_$2#0 (byte) toSpritePtr1_return#2 (byte) toSpritePtr1_return#1 (byte) toSpritePtr1_return#3 (byte~) $4 (byte) irq_sprite_ptr#0 (byte) irq_sprite_ptr#17 (byte) irq_sprite_ptr#16 (byte) irq_sprite_ptr#15 Alias candidate removed (volatile)(byte) sprites_irq::toSpritePtr2_return#0 = (byte) sprites_irq::toSpritePtr2_$2#0 (byte) sprites_irq::toSpritePtr2_return#2 (byte) sprites_irq::toSpritePtr2_return#1 (byte) sprites_irq::toSpritePtr2_return#3 (byte~) sprites_irq::$3 (byte) irq_sprite_ptr#1 -Alias (byte*) current_piece_gfx#35 = (byte*) current_piece_gfx#96 (byte*) current_piece_gfx#97 (byte*) current_piece_gfx#95 (byte*) current_piece_gfx#94 (byte*) current_piece_gfx#93 (byte*) current_piece_gfx#92 (byte*) current_piece_gfx#91 (byte*) current_piece_gfx#85 (byte*) current_piece_gfx#79 (byte*) current_piece_gfx#70 (byte*) current_piece_gfx#62 (byte*) current_piece_gfx#52 -Alias (byte) current_xpos#101 = (byte) current_xpos#106 (byte) current_xpos#107 (byte) current_xpos#105 (byte) current_xpos#104 (byte) current_xpos#103 (byte) current_xpos#102 (byte) current_xpos#97 (byte) current_xpos#92 (byte) current_xpos#85 (byte) current_xpos#75 (byte) current_xpos#65 (byte) current_xpos#46 -Alias (byte) current_ypos#38 = (byte) current_ypos#80 (byte) current_ypos#81 (byte) current_ypos#79 (byte) current_ypos#78 (byte) current_ypos#77 (byte) current_ypos#76 (byte) current_ypos#75 (byte) current_ypos#71 (byte) current_ypos#66 (byte) current_ypos#61 (byte) current_ypos#56 (byte) current_ypos#50 -Alias (byte) current_piece_char#25 = (byte) current_piece_char#84 (byte) current_piece_char#85 (byte) current_piece_char#83 (byte) current_piece_char#82 (byte) current_piece_char#81 (byte) current_piece_char#80 (byte) current_piece_char#79 (byte) current_piece_char#73 (byte) current_piece_char#66 (byte) current_piece_char#54 (byte) current_piece_char#44 (byte) current_piece_char#37 +Alias (byte*) current_piece_gfx#35 = (byte*) current_piece_gfx#97 (byte*) current_piece_gfx#98 (byte*) current_piece_gfx#96 (byte*) current_piece_gfx#95 (byte*) current_piece_gfx#94 (byte*) current_piece_gfx#93 (byte*) current_piece_gfx#92 (byte*) current_piece_gfx#86 (byte*) current_piece_gfx#80 (byte*) current_piece_gfx#70 (byte*) current_piece_gfx#62 (byte*) current_piece_gfx#52 +Alias (byte) current_xpos#102 = (byte) current_xpos#107 (byte) current_xpos#108 (byte) current_xpos#106 (byte) current_xpos#105 (byte) current_xpos#104 (byte) current_xpos#103 (byte) current_xpos#98 (byte) current_xpos#93 (byte) current_xpos#85 (byte) current_xpos#75 (byte) current_xpos#65 (byte) current_xpos#46 +Alias (byte) current_ypos#38 = (byte) current_ypos#81 (byte) current_ypos#82 (byte) current_ypos#80 (byte) current_ypos#79 (byte) current_ypos#78 (byte) current_ypos#77 (byte) current_ypos#76 (byte) current_ypos#72 (byte) current_ypos#67 (byte) current_ypos#61 (byte) current_ypos#56 (byte) current_ypos#50 +Alias (byte) current_piece_char#25 = (byte) current_piece_char#85 (byte) current_piece_char#86 (byte) current_piece_char#84 (byte) current_piece_char#83 (byte) current_piece_char#82 (byte) current_piece_char#81 (byte) current_piece_char#80 (byte) current_piece_char#73 (byte) current_piece_char#66 (byte) current_piece_char#54 (byte) current_piece_char#44 (byte) current_piece_char#37 Alias (byte) keyboard_matrix_read::return#0 = (byte) keyboard_matrix_read::row_pressed_bits#0 (byte~) keyboard_matrix_read::$0 (byte) keyboard_matrix_read::return#3 (byte) keyboard_matrix_read::return#1 Alias (byte) KEY_MODIFIER_SHIFT#0 = (byte~) $0 Alias (byte) keyboard_matrix_read::return#2 = (byte) keyboard_matrix_read::return#4 @@ -5406,12 +5542,12 @@ Alias (byte) keyboard_event_scan::row_scan#3 = (byte) keyboard_event_scan::row_s Alias (byte) keyboard_event_scan::row#6 = (byte) keyboard_event_scan::row#9 Alias (byte) keyboard_event_scan::keycode#15 = (byte) keyboard_event_scan::keycode#2 Alias (byte) keyboard_events_size#30 = (byte) keyboard_events_size#62 -Alias (byte) keyboard_events_size#55 = (byte) keyboard_events_size#74 (byte) keyboard_events_size#71 (byte) keyboard_events_size#70 +Alias (byte) keyboard_events_size#55 = (byte) keyboard_events_size#75 (byte) keyboard_events_size#72 (byte) keyboard_events_size#71 Alias (byte) keyboard_event_pressed::return#0 = (byte) keyboard_event_pressed::return#7 Alias (byte) keyboard_modifiers#1 = (byte) keyboard_modifiers#18 (byte) keyboard_modifiers#10 Alias (byte) keyboard_event_pressed::return#1 = (byte) keyboard_event_pressed::return#8 Alias (byte) keyboard_modifiers#11 = (byte) keyboard_modifiers#19 (byte) keyboard_modifiers#26 -Alias (byte) keyboard_events_size#63 = (byte) keyboard_events_size#64 (byte) keyboard_events_size#67 +Alias (byte) keyboard_events_size#63 = (byte) keyboard_events_size#64 (byte) keyboard_events_size#68 Alias (byte) keyboard_modifiers#2 = (byte~) keyboard_event_scan::$17 Alias (byte) keyboard_event_pressed::return#2 = (byte) keyboard_event_pressed::return#9 Alias (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#20 (byte) keyboard_modifiers#27 @@ -5428,8 +5564,8 @@ Alias (byte) keyboard_event_pressed::return#11 = (byte) keyboard_event_pressed:: Alias (byte) keyboard_events_size#14 = (byte) keyboard_events_size#25 (byte) keyboard_events_size#15 Alias (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#4 Alias (byte) keyboard_events_size#16 = (byte) keyboard_events_size#5 -Alias (byte) keyboard_events_size#0 = (byte) keyboard_events_size#77 (byte) keyboard_events_size#75 (byte) keyboard_events_size#72 (byte) keyboard_events_size#68 (byte) keyboard_events_size#65 (byte) keyboard_events_size#57 (byte) keyboard_events_size#48 (byte) keyboard_events_size#40 (byte) keyboard_events_size#36 (byte) keyboard_events_size#28 -Alias (byte) keyboard_modifiers#0 = (byte) keyboard_modifiers#58 (byte) keyboard_modifiers#56 (byte) keyboard_modifiers#54 (byte) keyboard_modifiers#52 (byte) keyboard_modifiers#49 (byte) keyboard_modifiers#45 (byte) keyboard_modifiers#39 (byte) keyboard_modifiers#34 (byte) keyboard_modifiers#33 (byte) keyboard_modifiers#25 +Alias (byte) keyboard_events_size#0 = (byte) keyboard_events_size#78 (byte) keyboard_events_size#76 (byte) keyboard_events_size#73 (byte) keyboard_events_size#69 (byte) keyboard_events_size#65 (byte) keyboard_events_size#57 (byte) keyboard_events_size#48 (byte) keyboard_events_size#40 (byte) keyboard_events_size#36 (byte) keyboard_events_size#28 +Alias (byte) keyboard_modifiers#0 = (byte) keyboard_modifiers#59 (byte) keyboard_modifiers#57 (byte) keyboard_modifiers#55 (byte) keyboard_modifiers#53 (byte) keyboard_modifiers#49 (byte) keyboard_modifiers#45 (byte) keyboard_modifiers#39 (byte) keyboard_modifiers#34 (byte) keyboard_modifiers#33 (byte) keyboard_modifiers#25 Alias (byte) sid_rnd::return#0 = (byte) sid_rnd::return#3 (byte) sid_rnd::return#1 Alias (byte*) PLAYFIELD_SPRITE_PTRS_1#0 = (byte*~) $1 Alias (byte*) PLAYFIELD_SPRITE_PTRS_2#0 = (byte*~) $2 @@ -5448,6 +5584,12 @@ Alias (byte*) render_show::toD0182_gfx#0 = (byte*) render_show::toD0182_gfx#1 Alias (byte) render_show::toD0182_return#0 = (byte) render_show::toD0182_$8#0 (byte) render_show::toD0182_return#2 (byte) render_show::toD0182_return#1 (byte) render_show::toD0182_return#3 (byte~) render_show::$1 (byte) render_show::d018val#2 Alias (byte) render_screen_render#11 = (byte) render_screen_render#3 (byte) render_screen_render#4 Alias (byte) render_screen_show#13 = (byte) render_screen_show#3 (byte) render_screen_show#4 +Alias (byte) render_score::SCREEN_SCORE_ROW#0 = (byte) render_score::SCREEN_SCORE_ROW#1 (byte) render_score::SCREEN_SCORE_ROW#2 +Alias (byte) render_score::SCREEN_SCORE_COL#0 = (byte) render_score::SCREEN_SCORE_COL#1 (byte) render_score::SCREEN_SCORE_COL#2 +Alias (dword) score_bcd#16 = (dword) score_bcd#26 (dword) score_bcd#17 +Alias (byte*) render_score::screen_score_pos#0 = (byte*~) render_score::$6 +Alias (byte*) render_score::screen_score_pos#1 = (byte*~) render_score::$3 +Alias (byte*) render_score::score_bytes#0 = (byte*~) render_score::$8 Alias (byte*) render_screen_original::oscr#0 = (byte*~) render_screen_original::$1 Alias (byte*) render_screen_original::ocols#0 = (byte*~) render_screen_original::$3 Alias (byte) render_screen_original::y#2 = (byte) render_screen_original::y#3 @@ -5458,10 +5600,10 @@ Alias (byte*) render_screen_original::oscr#5 = (byte*) render_screen_original::o Alias (byte*) render_screen_original::ocols#5 = (byte*) render_screen_original::ocols#6 Alias (byte) render_playfield::i#0 = (byte/signed word/word/dword/signed dword~) render_playfield::$0 Alias (byte) render_playfield::l#3 = (byte) render_playfield::l#4 -Alias (byte) render_screen_render#20 = (byte) render_screen_render#27 +Alias (byte) render_screen_render#22 = (byte) render_screen_render#29 Alias (byte) render_playfield::i#1 = (byte) render_playfield::i#4 Alias (byte) render_current::ypos2#0 = (byte~) render_current::$0 -Alias (byte) render_screen_render#13 = (byte) render_screen_render#21 (byte) render_screen_render#37 +Alias (byte) render_screen_render#14 = (byte) render_screen_render#23 (byte) render_screen_render#39 Alias (byte) render_current::ypos2#2 = (byte) render_current::ypos2#3 (byte) render_current::ypos2#6 Alias (byte) current_xpos#12 = (byte) current_xpos#29 (byte) current_xpos#69 Alias (byte*) current_piece_gfx#22 = (byte*) current_piece_gfx#36 (byte*) current_piece_gfx#69 @@ -5476,12 +5618,12 @@ Alias (byte) render_current::ypos2#10 = (byte) render_current::ypos2#8 (byte) re Alias (byte) render_current::l#10 = (byte) render_current::l#7 (byte) render_current::l#8 (byte) render_current::l#6 Alias (byte*) current_piece_gfx#11 = (byte*) current_piece_gfx#55 (byte*) current_piece_gfx#38 (byte*) current_piece_gfx#37 Alias (byte) render_current::i#10 = (byte) render_current::i#11 (byte) render_current::i#2 (byte) render_current::i#9 -Alias (byte) render_screen_render#41 = (byte) render_screen_render#47 (byte) render_screen_render#42 (byte) render_screen_render#43 -Alias (byte) current_xpos#82 = (byte) current_xpos#91 (byte) current_xpos#83 (byte) current_xpos#84 -Alias (byte) render_screen_show#0 = (byte) render_screen_show#55 (byte) render_screen_show#52 (byte) render_screen_show#49 (byte) render_screen_show#46 (byte) render_screen_show#43 (byte) render_screen_show#35 (byte) render_screen_show#32 (byte) render_screen_show#24 -Alias (byte) render_screen_render#0 = (byte) render_screen_render#55 (byte) render_screen_render#53 (byte) render_screen_render#51 (byte) render_screen_render#48 (byte) render_screen_render#44 (byte) render_screen_render#38 (byte) render_screen_render#34 (byte) render_screen_render#24 -Alias (byte) render_screen_showing#0 = (byte) render_screen_showing#41 (byte) render_screen_showing#38 (byte) render_screen_showing#35 (byte) render_screen_showing#31 (byte) render_screen_showing#27 (byte) render_screen_showing#21 (byte) render_screen_showing#20 (byte) render_screen_showing#14 -Alias (dword) score_bcd#0 = (dword) score_bcd#64 (dword) score_bcd#62 (dword) score_bcd#56 (dword) score_bcd#50 (dword) score_bcd#41 (dword) score_bcd#36 (dword) score_bcd#31 (dword) score_bcd#22 +Alias (byte) render_screen_render#43 = (byte) render_screen_render#49 (byte) render_screen_render#44 (byte) render_screen_render#45 +Alias (byte) current_xpos#82 = (byte) current_xpos#92 (byte) current_xpos#83 (byte) current_xpos#84 +Alias (byte) render_screen_show#0 = (byte) render_screen_show#56 (byte) render_screen_show#53 (byte) render_screen_show#50 (byte) render_screen_show#47 (byte) render_screen_show#43 (byte) render_screen_show#35 (byte) render_screen_show#32 (byte) render_screen_show#24 +Alias (byte) render_screen_render#0 = (byte) render_screen_render#57 (byte) render_screen_render#55 (byte) render_screen_render#53 (byte) render_screen_render#50 (byte) render_screen_render#46 (byte) render_screen_render#40 (byte) render_screen_render#36 (byte) render_screen_render#26 +Alias (byte) render_screen_showing#0 = (byte) render_screen_showing#42 (byte) render_screen_showing#39 (byte) render_screen_showing#35 (byte) render_screen_showing#31 (byte) render_screen_showing#27 (byte) render_screen_showing#21 (byte) render_screen_showing#20 (byte) render_screen_showing#14 +Alias (dword) score_bcd#0 = (dword) score_bcd#69 (dword) score_bcd#67 (dword) score_bcd#61 (dword) score_bcd#55 (dword) score_bcd#46 (dword) score_bcd#41 (dword) score_bcd#35 (dword) score_bcd#25 Alias (byte) sprites_init::xpos#0 = (byte/signed word/word/dword/signed dword/signed byte~) sprites_init::$1 Alias (byte) sprites_init::s2#0 = (byte~) sprites_init::$2 Alias (byte) sprites_init::xpos#1 = (byte/signed word/word/dword/signed dword~) sprites_init::$3 @@ -5517,31 +5659,31 @@ Alias (byte) play_move_down::movedown#10 = (byte) play_move_down::movedown#12 (b Alias (byte) current_ypos#51 = (byte) current_ypos#52 (byte) current_ypos#62 (byte) current_ypos#63 (byte) current_ypos#53 Alias (byte) current_xpos#70 = (byte) current_xpos#71 (byte) current_xpos#86 (byte) current_xpos#87 (byte) current_xpos#72 Alias (byte) current_orientation#52 = (byte) current_orientation#53 (byte) current_orientation#62 (byte) current_orientation#63 (byte) current_orientation#54 -Alias (dword) score_bcd#42 = (dword) score_bcd#43 (dword) score_bcd#51 (dword) score_bcd#52 (dword) score_bcd#44 +Alias (dword) score_bcd#47 = (dword) score_bcd#48 (dword) score_bcd#56 (dword) score_bcd#57 (dword) score_bcd#49 Alias (byte*) current_piece#54 = (byte*) current_piece#55 (byte*) current_piece#62 (byte*) current_piece#63 (byte*) current_piece#56 -Alias (byte*) current_piece_gfx#71 = (byte*) current_piece_gfx#72 (byte*) current_piece_gfx#80 (byte*) current_piece_gfx#81 (byte*) current_piece_gfx#73 +Alias (byte*) current_piece_gfx#71 = (byte*) current_piece_gfx#72 (byte*) current_piece_gfx#81 (byte*) current_piece_gfx#82 (byte*) current_piece_gfx#73 Alias (byte) current_piece_char#55 = (byte) current_piece_char#56 (byte) current_piece_char#67 (byte) current_piece_char#68 (byte) current_piece_char#57 Alias (byte) play_move_down::movedown#0 = (byte) play_move_down::movedown#4 Alias (byte) current_movedown_counter#1 = (byte) current_movedown_counter#28 -Alias (byte) current_ypos#67 = (byte) current_ypos#68 -Alias (byte) current_xpos#93 = (byte) current_xpos#94 +Alias (byte) current_ypos#68 = (byte) current_ypos#69 +Alias (byte) current_xpos#94 = (byte) current_xpos#95 Alias (byte) current_orientation#68 = (byte) current_orientation#69 -Alias (dword) score_bcd#57 = (dword) score_bcd#58 +Alias (dword) score_bcd#62 = (dword) score_bcd#63 Alias (byte*) current_piece#67 = (byte*) current_piece#68 -Alias (byte*) current_piece_gfx#86 = (byte*) current_piece_gfx#87 +Alias (byte*) current_piece_gfx#87 = (byte*) current_piece_gfx#88 Alias (byte) current_piece_char#74 = (byte) current_piece_char#75 Alias (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#9 Alias (byte) current_ypos#39 = (byte) current_ypos#40 Alias (byte) current_xpos#49 = (byte) current_xpos#50 Alias (byte) current_orientation#41 = (byte) current_orientation#42 Alias (byte) current_movedown_counter#29 = (byte) current_movedown_counter#8 -Alias (dword) score_bcd#32 = (dword) score_bcd#33 +Alias (dword) score_bcd#37 = (dword) score_bcd#38 Alias (byte*) current_piece#43 = (byte*) current_piece#44 Alias (byte*) current_piece_gfx#56 = (byte*) current_piece_gfx#57 Alias (byte) current_piece_char#40 = (byte) current_piece_char#41 Alias (byte) current_movedown_counter#18 = (byte) current_movedown_counter#22 Alias (byte) current_ypos#10 = (byte) current_ypos#28 (byte) current_ypos#25 (byte) current_ypos#26 (byte) current_ypos#11 (byte) current_ypos#34 (byte) current_ypos#54 (byte) current_ypos#41 (byte) current_ypos#27 -Alias (dword) score_bcd#15 = (dword) score_bcd#16 (dword) score_bcd#23 (dword) score_bcd#45 (dword) score_bcd#34 (dword) score_bcd#26 (dword) score_bcd#35 (dword) score_bcd#24 +Alias (dword) score_bcd#18 = (dword) score_bcd#19 (dword) score_bcd#27 (dword) score_bcd#50 (dword) score_bcd#39 (dword) score_bcd#30 (dword) score_bcd#40 (dword) score_bcd#28 Alias (byte*) current_piece#18 = (byte*) current_piece#19 (byte*) current_piece#30 (byte*) current_piece#22 (byte*) current_piece#45 (byte*) current_piece#32 (byte*) current_piece#57 (byte*) current_piece#46 (byte*) current_piece#31 Alias (byte) current_orientation#12 = (byte) current_orientation#28 (byte) current_orientation#26 (byte) current_orientation#55 (byte) current_orientation#44 (byte) current_orientation#64 (byte) current_orientation#56 (byte) current_orientation#43 (byte) current_orientation#27 Alias (byte*) current_piece_gfx#24 = (byte*) current_piece_gfx#25 (byte*) current_piece_gfx#39 (byte*) current_piece_gfx#74 (byte*) current_piece_gfx#58 (byte*) current_piece_gfx#41 (byte*) current_piece_gfx#63 (byte*) current_piece_gfx#59 (byte*) current_piece_gfx#40 @@ -5551,7 +5693,7 @@ Alias (byte) play_collision::ypos#0 = (byte/signed word/word/dword/signed dword~ Alias (byte) play_collision::return#0 = (byte) play_collision::return#10 Alias (byte) play_remove_lines::return#0 = (byte) play_remove_lines::return#3 Alias (byte) play_move_down::removed#0 = (byte~) play_move_down::$15 -Alias (dword) score_bcd#1 = (dword) score_bcd#8 (dword) score_bcd#25 +Alias (dword) score_bcd#1 = (dword) score_bcd#9 (dword) score_bcd#29 Alias (byte*) current_piece#1 = (byte*) current_piece#9 Alias (byte) current_orientation#1 = (byte) current_orientation#13 Alias (byte*) current_piece_gfx#0 = (byte*) current_piece_gfx#12 @@ -5561,7 +5703,7 @@ Alias (byte) current_piece_char#0 = (byte) current_piece_char#9 Alias (byte) play_move_down::return#2 = (byte) play_move_down::return#4 Alias (byte) current_movedown_counter#10 = (byte) current_movedown_counter#3 Alias (byte) current_ypos#13 = (byte) current_ypos#2 -Alias (dword) score_bcd#2 = (dword) score_bcd#9 +Alias (dword) score_bcd#10 = (dword) score_bcd#2 Alias (byte*) current_piece#10 = (byte*) current_piece#2 Alias (byte) current_orientation#14 = (byte) current_orientation#2 Alias (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#13 @@ -5656,24 +5798,24 @@ Alias (byte) play_remove_lines::r#4 = (byte) play_remove_lines::r#8 (byte) play_ Alias (byte) play_remove_lines::w#2 = (byte~) play_remove_lines::$11 Alias (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#7 Alias (byte) play_remove_lines::removed#3 = (byte) play_remove_lines::removed#8 (byte) play_remove_lines::removed#5 (byte) play_remove_lines::return#1 (byte) play_remove_lines::return#4 (byte) play_remove_lines::return#2 -Alias (dword) score_bcd#10 = (dword) score_bcd#19 (dword) score_bcd#18 +Alias (dword) score_bcd#11 = (dword) score_bcd#22 (dword) score_bcd#21 Alias (byte) play_update_score::removed#1 = (byte) play_update_score::removed#2 -Alias (dword) score_bcd#11 = (dword) score_bcd#4 +Alias (dword) score_bcd#12 = (dword) score_bcd#4 Alias (byte) render_screen_show#22 = (byte) render_screen_show#27 -Alias (byte) render_screen_render#22 = (byte) render_screen_render#30 +Alias (byte) render_screen_render#24 = (byte) render_screen_render#32 Alias (byte*) current_piece#26 = (byte*) current_piece#64 (byte*) current_piece#69 (byte*) current_piece#59 (byte*) current_piece#49 (byte*) current_piece#37 Alias (byte) current_orientation#36 = (byte) current_orientation#70 (byte) current_orientation#73 (byte) current_orientation#65 (byte) current_orientation#58 (byte) current_orientation#46 -Alias (byte*) current_piece_gfx#31 = (byte*) current_piece_gfx#82 (byte*) current_piece_gfx#88 (byte*) current_piece_gfx#77 (byte*) current_piece_gfx#64 (byte*) current_piece_gfx#47 -Alias (byte) current_xpos#43 = (byte) current_xpos#95 (byte) current_xpos#98 (byte) current_xpos#88 (byte) current_xpos#78 (byte) current_xpos#60 -Alias (byte) current_ypos#35 = (byte) current_ypos#69 (byte) current_ypos#72 (byte) current_ypos#64 (byte) current_ypos#57 (byte) current_ypos#44 +Alias (byte*) current_piece_gfx#31 = (byte*) current_piece_gfx#83 (byte*) current_piece_gfx#89 (byte*) current_piece_gfx#77 (byte*) current_piece_gfx#64 (byte*) current_piece_gfx#47 +Alias (byte) current_xpos#43 = (byte) current_xpos#96 (byte) current_xpos#99 (byte) current_xpos#88 (byte) current_xpos#78 (byte) current_xpos#60 +Alias (byte) current_ypos#35 = (byte) current_ypos#70 (byte) current_ypos#73 (byte) current_ypos#64 (byte) current_ypos#57 (byte) current_ypos#44 Alias (byte) current_piece_char#22 = (byte) current_piece_char#69 (byte) current_piece_char#76 (byte) current_piece_char#60 (byte) current_piece_char#47 (byte) current_piece_char#32 -Alias (byte) render_screen_showing#16 = (byte) render_screen_showing#43 (byte) render_screen_showing#44 (byte) render_screen_showing#42 (byte) render_screen_showing#39 (byte) render_screen_showing#36 (byte) render_screen_showing#32 (byte) render_screen_showing#28 (byte) render_screen_showing#22 -Alias (byte) keyboard_events_size#32 = (byte) keyboard_events_size#76 (byte) keyboard_events_size#78 (byte) keyboard_events_size#73 (byte) keyboard_events_size#69 (byte) keyboard_events_size#66 (byte) keyboard_events_size#58 (byte) keyboard_events_size#49 (byte) keyboard_events_size#41 -Alias (byte) keyboard_modifiers#29 = (byte) keyboard_modifiers#57 (byte) keyboard_modifiers#59 (byte) keyboard_modifiers#55 (byte) keyboard_modifiers#53 (byte) keyboard_modifiers#50 (byte) keyboard_modifiers#46 (byte) keyboard_modifiers#40 (byte) keyboard_modifiers#35 -Alias (byte) current_movedown_counter#23 = (byte) current_movedown_counter#46 (byte) current_movedown_counter#47 (byte) current_movedown_counter#45 (byte) current_movedown_counter#44 (byte) current_movedown_counter#41 (byte) current_movedown_counter#38 (byte) current_movedown_counter#34 (byte) current_movedown_counter#30 -Alias (dword) score_bcd#27 = (dword) score_bcd#66 (dword) score_bcd#67 (dword) score_bcd#65 (dword) score_bcd#63 (dword) score_bcd#59 (dword) score_bcd#53 (dword) score_bcd#46 (dword) score_bcd#37 -Alias (byte) render_screen_show#14 = (byte) render_screen_show#5 (byte) render_screen_show#53 (byte) render_screen_show#50 (byte) render_screen_show#47 (byte) render_screen_show#44 (byte) render_screen_show#36 (byte) render_screen_show#28 -Alias (byte) render_screen_render#14 = (byte) render_screen_render#5 (byte) render_screen_render#49 (byte) render_screen_render#45 (byte) render_screen_render#39 (byte) render_screen_render#26 (byte) render_screen_render#35 (byte) render_screen_render#31 +Alias (byte) render_screen_showing#16 = (byte) render_screen_showing#44 (byte) render_screen_showing#45 (byte) render_screen_showing#43 (byte) render_screen_showing#40 (byte) render_screen_showing#36 (byte) render_screen_showing#32 (byte) render_screen_showing#28 (byte) render_screen_showing#22 +Alias (byte) keyboard_events_size#32 = (byte) keyboard_events_size#77 (byte) keyboard_events_size#79 (byte) keyboard_events_size#74 (byte) keyboard_events_size#70 (byte) keyboard_events_size#66 (byte) keyboard_events_size#58 (byte) keyboard_events_size#49 (byte) keyboard_events_size#41 +Alias (byte) keyboard_modifiers#29 = (byte) keyboard_modifiers#58 (byte) keyboard_modifiers#60 (byte) keyboard_modifiers#56 (byte) keyboard_modifiers#54 (byte) keyboard_modifiers#50 (byte) keyboard_modifiers#46 (byte) keyboard_modifiers#40 (byte) keyboard_modifiers#35 +Alias (byte) current_movedown_counter#23 = (byte) current_movedown_counter#47 (byte) current_movedown_counter#48 (byte) current_movedown_counter#46 (byte) current_movedown_counter#45 (byte) current_movedown_counter#41 (byte) current_movedown_counter#38 (byte) current_movedown_counter#34 (byte) current_movedown_counter#30 +Alias (dword) score_bcd#31 = (dword) score_bcd#71 (dword) score_bcd#72 (dword) score_bcd#70 (dword) score_bcd#68 (dword) score_bcd#64 (dword) score_bcd#58 (dword) score_bcd#51 (dword) score_bcd#42 +Alias (byte) render_screen_show#14 = (byte) render_screen_show#5 (byte) render_screen_show#54 (byte) render_screen_show#51 (byte) render_screen_show#48 (byte) render_screen_show#44 (byte) render_screen_show#36 (byte) render_screen_show#28 +Alias (byte) render_screen_render#15 = (byte) render_screen_render#5 (byte) render_screen_render#51 (byte) render_screen_render#47 (byte) render_screen_render#41 (byte) render_screen_render#28 (byte) render_screen_render#37 (byte) render_screen_render#33 Alias (byte*) current_piece#14 = (byte*) current_piece#5 (byte*) current_piece#50 (byte*) current_piece#38 Alias (byte) current_orientation#21 = (byte) current_orientation#7 (byte) current_orientation#59 (byte) current_orientation#47 Alias (byte*) current_piece_gfx#17 = (byte*) current_piece_gfx#6 (byte*) current_piece_gfx#65 (byte*) current_piece_gfx#48 @@ -5685,54 +5827,54 @@ Alias (byte) render_screen_showing#13 = (byte) render_screen_showing#23 (byte) r Alias (byte) keyboard_events_size#19 = (byte) keyboard_events_size#50 (byte) keyboard_events_size#27 (byte) keyboard_events_size#8 Alias (byte) keyboard_modifiers#16 = (byte) keyboard_modifiers#41 (byte) keyboard_modifiers#24 (byte) keyboard_modifiers#8 Alias (byte) current_movedown_counter#12 = (byte) current_movedown_counter#42 (byte) current_movedown_counter#19 (byte) current_movedown_counter#5 -Alias (byte) current_ypos#21 = (byte) current_ypos#73 (byte) current_ypos#37 (byte) current_ypos#7 -Alias (dword) score_bcd#13 = (dword) score_bcd#60 (dword) score_bcd#21 (dword) score_bcd#6 +Alias (byte) current_ypos#21 = (byte) current_ypos#74 (byte) current_ypos#37 (byte) current_ypos#7 +Alias (dword) score_bcd#14 = (dword) score_bcd#65 (dword) score_bcd#24 (dword) score_bcd#6 Alias (byte*) current_piece#16 = (byte*) current_piece#70 (byte*) current_piece#28 (byte*) current_piece#7 Alias (byte) current_orientation#10 = (byte) current_orientation#74 (byte) current_orientation#39 (byte) current_orientation#24 -Alias (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#89 (byte*) current_piece_gfx#34 (byte*) current_piece_gfx#9 -Alias (byte) current_xpos#10 = (byte) current_xpos#99 (byte) current_xpos#45 (byte) current_xpos#27 +Alias (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#90 (byte*) current_piece_gfx#34 (byte*) current_piece_gfx#9 +Alias (byte) current_xpos#10 = (byte) current_xpos#100 (byte) current_xpos#45 (byte) current_xpos#27 Alias (byte) current_piece_char#15 = (byte) current_piece_char#77 (byte) current_piece_char#24 (byte) current_piece_char#6 -Alias (byte) render_screen_render#16 = (byte) render_screen_render#59 (byte) render_screen_render#23 (byte) render_screen_render#7 -Alias (byte) render_screen_show#18 = (byte) render_screen_show#38 (byte) render_screen_show#30 (byte) render_screen_show#56 (byte) render_screen_show#54 (byte) render_screen_show#51 (byte) render_screen_show#48 (byte) render_screen_show#45 (byte) render_screen_show#39 (byte) render_screen_show#29 (byte) render_screen_show#40 (byte) render_screen_show#31 (byte) render_screen_show#21 +Alias (byte) render_screen_render#17 = (byte) render_screen_render#61 (byte) render_screen_render#25 (byte) render_screen_render#7 +Alias (byte) render_screen_show#18 = (byte) render_screen_show#38 (byte) render_screen_show#30 (byte) render_screen_show#57 (byte) render_screen_show#55 (byte) render_screen_show#52 (byte) render_screen_show#49 (byte) render_screen_show#45 (byte) render_screen_show#39 (byte) render_screen_show#29 (byte) render_screen_show#46 (byte) render_screen_show#40 (byte) render_screen_show#31 (byte) render_screen_show#21 Alias (byte) render_screen_showing#12 = (byte) render_screen_showing#24 (byte) render_screen_showing#19 Alias (byte) keyboard_events_size#26 = (byte) keyboard_events_size#51 (byte) keyboard_events_size#42 (byte) keyboard_events_size#35 Alias (byte) keyboard_modifiers#23 = (byte) keyboard_modifiers#42 (byte) keyboard_modifiers#36 (byte) keyboard_modifiers#32 Alias (byte) current_movedown_counter#14 = (byte) current_movedown_counter#43 (byte) current_movedown_counter#39 (byte) current_movedown_counter#35 (byte) current_movedown_counter#31 (byte) current_movedown_counter#26 -Alias (byte) current_ypos#36 = (byte) current_ypos#74 (byte) current_ypos#70 (byte) current_ypos#65 (byte) current_ypos#58 (byte) current_ypos#48 -Alias (dword) score_bcd#20 = (dword) score_bcd#61 (dword) score_bcd#54 (dword) score_bcd#47 (dword) score_bcd#38 (dword) score_bcd#30 +Alias (byte) current_ypos#36 = (byte) current_ypos#75 (byte) current_ypos#71 (byte) current_ypos#65 (byte) current_ypos#58 (byte) current_ypos#48 +Alias (dword) score_bcd#23 = (dword) score_bcd#66 (dword) score_bcd#59 (dword) score_bcd#52 (dword) score_bcd#43 (dword) score_bcd#34 Alias (byte*) current_piece#27 = (byte*) current_piece#71 (byte*) current_piece#65 (byte*) current_piece#60 (byte*) current_piece#51 (byte*) current_piece#41 Alias (byte) current_orientation#37 = (byte) current_orientation#75 (byte) current_orientation#71 (byte) current_orientation#66 (byte) current_orientation#60 (byte) current_orientation#50 -Alias (byte*) current_piece_gfx#32 = (byte*) current_piece_gfx#90 (byte*) current_piece_gfx#83 (byte*) current_piece_gfx#78 (byte*) current_piece_gfx#66 (byte*) current_piece_gfx#51 -Alias (byte) current_xpos#100 = (byte) current_xpos#96 (byte) current_xpos#89 (byte) current_xpos#79 (byte) current_xpos#64 (byte) current_xpos#44 +Alias (byte*) current_piece_gfx#32 = (byte*) current_piece_gfx#91 (byte*) current_piece_gfx#84 (byte*) current_piece_gfx#78 (byte*) current_piece_gfx#66 (byte*) current_piece_gfx#51 +Alias (byte) current_xpos#101 = (byte) current_xpos#97 (byte) current_xpos#89 (byte) current_xpos#79 (byte) current_xpos#64 (byte) current_xpos#44 Alias (byte) current_piece_char#23 = (byte) current_piece_char#78 (byte) current_piece_char#70 (byte) current_piece_char#61 (byte) current_piece_char#49 (byte) current_piece_char#36 -Alias (byte) render_screen_render#18 = (byte) render_screen_render#60 (byte) render_screen_render#58 (byte) render_screen_render#57 (byte) render_screen_render#56 (byte) render_screen_render#54 (byte) render_screen_render#52 (byte) render_screen_render#50 (byte) render_screen_render#46 (byte) render_screen_render#40 (byte) render_screen_render#32 (byte) render_screen_render#25 (byte) render_screen_render#33 -Alias (byte) render_screen_showing#17 = (byte) render_screen_showing#3 (byte) render_screen_showing#8 (byte) render_screen_showing#40 (byte) render_screen_showing#37 (byte) render_screen_showing#33 (byte) render_screen_showing#29 (byte) render_screen_showing#25 (byte) render_screen_showing#18 (byte) render_screen_showing#34 (byte) render_screen_showing#30 (byte) render_screen_showing#26 +Alias (byte) render_screen_render#19 = (byte) render_screen_render#62 (byte) render_screen_render#60 (byte) render_screen_render#59 (byte) render_screen_render#58 (byte) render_screen_render#56 (byte) render_screen_render#54 (byte) render_screen_render#52 (byte) render_screen_render#48 (byte) render_screen_render#42 (byte) render_screen_render#34 (byte) render_screen_render#27 (byte) render_screen_render#35 (byte) render_screen_render#20 +Alias (byte) render_screen_showing#17 = (byte) render_screen_showing#3 (byte) render_screen_showing#8 (byte) render_screen_showing#41 (byte) render_screen_showing#37 (byte) render_screen_showing#33 (byte) render_screen_showing#29 (byte) render_screen_showing#25 (byte) render_screen_showing#18 (byte) render_screen_showing#38 (byte) render_screen_showing#34 (byte) render_screen_showing#30 (byte) render_screen_showing#26 Alias (byte) keyboard_events_size#17 = (byte) keyboard_events_size#6 -Alias (byte) keyboard_modifiers#15 = (byte) keyboard_modifiers#7 (byte) keyboard_modifiers#51 (byte) keyboard_modifiers#47 (byte) keyboard_modifiers#43 (byte) keyboard_modifiers#37 (byte) keyboard_modifiers#31 (byte) keyboard_modifiers#48 (byte) keyboard_modifiers#44 (byte) keyboard_modifiers#38 (byte) keyboard_modifiers#30 +Alias (byte) keyboard_modifiers#15 = (byte) keyboard_modifiers#7 (byte) keyboard_modifiers#51 (byte) keyboard_modifiers#47 (byte) keyboard_modifiers#43 (byte) keyboard_modifiers#37 (byte) keyboard_modifiers#31 (byte) keyboard_modifiers#52 (byte) keyboard_modifiers#48 (byte) keyboard_modifiers#44 (byte) keyboard_modifiers#38 (byte) keyboard_modifiers#30 Alias (byte) keyboard_event_get::return#3 = (byte) keyboard_event_get::return#5 -Alias (byte) keyboard_events_size#18 = (byte) keyboard_events_size#7 (byte) keyboard_events_size#59 (byte) keyboard_events_size#52 (byte) keyboard_events_size#43 (byte) keyboard_events_size#34 (byte) keyboard_events_size#60 (byte) keyboard_events_size#53 (byte) keyboard_events_size#44 (byte) keyboard_events_size#33 +Alias (byte) keyboard_events_size#18 = (byte) keyboard_events_size#7 (byte) keyboard_events_size#59 (byte) keyboard_events_size#52 (byte) keyboard_events_size#43 (byte) keyboard_events_size#34 (byte) keyboard_events_size#67 (byte) keyboard_events_size#60 (byte) keyboard_events_size#53 (byte) keyboard_events_size#44 (byte) keyboard_events_size#33 Alias (byte) main::key_event#0 = (byte~) main::$11 (byte) main::key_event#1 (byte) main::key_event#2 Alias (byte) play_move_down::return#3 = (byte) play_move_down::return#5 Alias (byte) main::render#0 = (byte) main::render#4 -Alias (byte) current_movedown_counter#11 = (byte) current_movedown_counter#4 (byte) current_movedown_counter#36 (byte) current_movedown_counter#32 (byte) current_movedown_counter#25 (byte) current_movedown_counter#40 (byte) current_movedown_counter#37 (byte) current_movedown_counter#33 (byte) current_movedown_counter#24 -Alias (byte) current_ypos#20 = (byte) current_ypos#6 (byte) current_ypos#55 (byte) current_ypos#59 (byte) current_ypos#47 (byte) current_ypos#49 (byte) current_ypos#24 (byte) current_ypos#60 (byte) current_ypos#46 -Alias (dword) score_bcd#12 = (dword) score_bcd#5 (dword) score_bcd#48 (dword) score_bcd#39 (dword) score_bcd#29 (dword) score_bcd#55 (dword) score_bcd#49 (dword) score_bcd#40 (dword) score_bcd#28 -Alias (byte*) current_piece#15 = (byte*) current_piece#6 (byte*) current_piece#58 (byte*) current_piece#52 (byte*) current_piece#40 (byte*) current_piece#66 (byte*) current_piece#61 (byte*) current_piece#53 (byte*) current_piece#39 +Alias (byte) current_movedown_counter#11 = (byte) current_movedown_counter#4 (byte) current_movedown_counter#36 (byte) current_movedown_counter#32 (byte) current_movedown_counter#25 (byte) current_movedown_counter#44 (byte) current_movedown_counter#40 (byte) current_movedown_counter#37 (byte) current_movedown_counter#33 (byte) current_movedown_counter#24 +Alias (byte) current_ypos#20 = (byte) current_ypos#6 (byte) current_ypos#55 (byte) current_ypos#59 (byte) current_ypos#47 (byte) current_ypos#49 (byte) current_ypos#24 (byte) current_ypos#66 (byte) current_ypos#60 (byte) current_ypos#46 +Alias (dword) score_bcd#13 = (dword) score_bcd#5 (dword) score_bcd#53 (dword) score_bcd#44 (dword) score_bcd#33 (dword) score_bcd#60 (dword) score_bcd#54 (dword) score_bcd#36 (dword) score_bcd#45 (dword) score_bcd#32 +Alias (byte*) current_piece#15 = (byte*) current_piece#6 (byte*) current_piece#58 (byte*) current_piece#52 (byte*) current_piece#40 (byte*) current_piece#72 (byte*) current_piece#66 (byte*) current_piece#61 (byte*) current_piece#53 (byte*) current_piece#39 Alias (byte) current_orientation#22 = (byte) current_orientation#8 (byte) current_orientation#38 Alias (byte*) current_piece_gfx#18 = (byte*) current_piece_gfx#7 (byte*) current_piece_gfx#33 Alias (byte) current_xpos#25 = (byte) current_xpos#8 -Alias (byte) current_piece_char#14 = (byte) current_piece_char#5 (byte) current_piece_char#62 (byte) current_piece_char#50 (byte) current_piece_char#35 (byte) current_piece_char#71 (byte) current_piece_char#63 (byte) current_piece_char#51 (byte) current_piece_char#34 +Alias (byte) current_piece_char#14 = (byte) current_piece_char#5 (byte) current_piece_char#62 (byte) current_piece_char#50 (byte) current_piece_char#35 (byte) current_piece_char#79 (byte) current_piece_char#71 (byte) current_piece_char#63 (byte) current_piece_char#51 (byte) current_piece_char#34 Alias (byte) play_move_leftright::return#4 = (byte) play_move_leftright::return#6 Alias (byte) main::render#1 = (byte) main::render#5 -Alias (byte) current_xpos#26 = (byte) current_xpos#9 (byte) current_xpos#80 (byte) current_xpos#63 (byte) current_xpos#90 (byte) current_xpos#67 (byte) current_xpos#81 (byte) current_xpos#62 +Alias (byte) current_xpos#26 = (byte) current_xpos#9 (byte) current_xpos#80 (byte) current_xpos#63 (byte) current_xpos#90 (byte) current_xpos#67 (byte) current_xpos#91 (byte) current_xpos#81 (byte) current_xpos#62 Alias (byte) play_move_rotate::return#4 = (byte) play_move_rotate::return#6 Alias (byte) main::render#2 = (byte) main::render#6 -Alias (byte) current_orientation#23 = (byte) current_orientation#9 (byte) current_orientation#49 (byte) current_orientation#72 (byte) current_orientation#67 (byte) current_orientation#61 (byte) current_orientation#48 -Alias (byte*) current_piece_gfx#19 = (byte*) current_piece_gfx#8 (byte*) current_piece_gfx#50 (byte*) current_piece_gfx#84 (byte*) current_piece_gfx#68 (byte*) current_piece_gfx#67 (byte*) current_piece_gfx#49 -Alias (byte) render_screen_render#15 = (byte) render_screen_render#6 +Alias (byte) current_orientation#23 = (byte) current_orientation#9 (byte) current_orientation#49 (byte) current_orientation#76 (byte) current_orientation#72 (byte) current_orientation#67 (byte) current_orientation#61 (byte) current_orientation#48 +Alias (byte*) current_piece_gfx#19 = (byte*) current_piece_gfx#8 (byte*) current_piece_gfx#50 (byte*) current_piece_gfx#85 (byte*) current_piece_gfx#68 (byte*) current_piece_gfx#79 (byte*) current_piece_gfx#67 (byte*) current_piece_gfx#49 +Alias (byte) render_screen_render#16 = (byte) render_screen_render#6 Alias (byte) render_screen_show#15 = (byte) render_screen_show#6 Alias (byte) render_screen_show#17 = (byte) render_screen_show#8 -Alias (byte) render_screen_render#17 = (byte) render_screen_render#8 +Alias (byte) render_screen_render#18 = (byte) render_screen_render#8 Alias (byte*) current_piece#17 = (byte*) current_piece#8 Alias (byte) current_orientation#11 = (byte) current_orientation#25 Alias (byte*) current_piece_gfx#10 = (byte*) current_piece_gfx#21 @@ -5743,7 +5885,7 @@ Alias (byte) render_screen_showing#10 = (byte) render_screen_showing#5 Alias (byte) keyboard_events_size#20 = (byte) keyboard_events_size#9 Alias (byte) keyboard_modifiers#17 = (byte) keyboard_modifiers#9 Alias (byte) current_movedown_counter#13 = (byte) current_movedown_counter#6 -Alias (dword) score_bcd#14 = (dword) score_bcd#7 +Alias (dword) score_bcd#15 = (dword) score_bcd#7 Successful SSA optimization Pass2AliasElimination Alias candidate removed (volatile)(byte) render_screen_showing#1 = (byte) render_screen_show#11 (byte) render_screen_show#10 (byte) render_screen_showing#6 (byte) render_screen_showing#2 Alias candidate removed (volatile)(byte) IRQ_RASTER_FIRST#0 = (byte) irq_raster_next#0 (byte) irq_raster_next#23 (byte) irq_raster_next#22 (byte) irq_raster_next#21 (byte) irq_raster_next#20 (byte) irq_raster_next#19 (byte) irq_raster_next#18 @@ -5754,13 +5896,14 @@ Alias (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#3 Alias (byte) keyboard_event_scan::row_scan#1 = (byte) keyboard_event_scan::row_scan#3 Alias (byte) keyboard_event_scan::row#10 = (byte) keyboard_event_scan::row#6 Alias (byte) keyboard_events_size#13 = (byte) keyboard_events_size#63 (byte) keyboard_events_size#55 (byte) keyboard_events_size#46 (byte) keyboard_events_size#23 +Alias (dword) score_bcd#16 = (dword) score_bcd#8 Alias (byte) render_current::xpos#2 = (byte) render_current::xpos#3 Alias (byte) render_current::c#2 = (byte) render_current::c#3 Alias (byte) render_current::ypos2#10 = (byte) render_current::ypos2#5 Alias (byte) render_current::l#10 = (byte) render_current::l#3 Alias (byte*) current_piece_gfx#11 = (byte*) current_piece_gfx#23 Alias (byte) render_current::i#10 = (byte) render_current::i#7 -Alias (byte) render_screen_render#36 = (byte) render_screen_render#41 +Alias (byte) render_screen_render#38 = (byte) render_screen_render#43 Alias (byte) current_xpos#68 = (byte) current_xpos#82 Alias (byte) current_piece_char#17 = (byte) current_piece_char#39 Alias (byte*) render_current::screen_line#1 = (byte*) render_current::screen_line#4 @@ -5773,12 +5916,12 @@ Alias (byte) irq_raster_next#13 = (byte) irq_raster_next#3 Alias (byte) irq_sprite_ypos#10 = (byte) irq_sprite_ypos#13 Alias (byte) irq_sprite_ptr#13 = (byte) irq_sprite_ptr#3 Alias (byte) current_movedown_counter#1 = (byte) current_movedown_counter#15 (byte) current_movedown_counter#29 (byte) current_movedown_counter#18 -Alias (byte) current_ypos#10 = (byte) current_ypos#51 (byte) current_ypos#67 (byte) current_ypos#39 -Alias (byte) current_xpos#13 = (byte) current_xpos#70 (byte) current_xpos#93 (byte) current_xpos#49 +Alias (byte) current_ypos#10 = (byte) current_ypos#51 (byte) current_ypos#68 (byte) current_ypos#39 +Alias (byte) current_xpos#13 = (byte) current_xpos#70 (byte) current_xpos#94 (byte) current_xpos#49 Alias (byte) current_orientation#12 = (byte) current_orientation#52 (byte) current_orientation#68 (byte) current_orientation#41 -Alias (dword) score_bcd#15 = (dword) score_bcd#42 (dword) score_bcd#57 (dword) score_bcd#32 +Alias (dword) score_bcd#18 = (dword) score_bcd#47 (dword) score_bcd#62 (dword) score_bcd#37 Alias (byte*) current_piece#18 = (byte*) current_piece#54 (byte*) current_piece#67 (byte*) current_piece#43 -Alias (byte*) current_piece_gfx#24 = (byte*) current_piece_gfx#71 (byte*) current_piece_gfx#86 (byte*) current_piece_gfx#56 +Alias (byte*) current_piece_gfx#24 = (byte*) current_piece_gfx#71 (byte*) current_piece_gfx#87 (byte*) current_piece_gfx#56 Alias (byte) current_piece_char#18 = (byte) current_piece_char#55 (byte) current_piece_char#74 (byte) current_piece_char#40 Alias (byte) current_xpos#16 = (byte) current_xpos#37 Alias (byte) current_xpos#21 = (byte) current_xpos#39 @@ -5816,6 +5959,7 @@ Alias candidate removed (volatile)(byte) toSpritePtr1_return#0 = (byte) toSprite Alias candidate removed (volatile)(byte) sprites_irq::toSpritePtr2_return#0 = (byte) sprites_irq::toSpritePtr2_$2#0 (byte) sprites_irq::toSpritePtr2_return#2 (byte) sprites_irq::toSpritePtr2_return#1 (byte) sprites_irq::toSpritePtr2_return#3 (byte~) sprites_irq::$3 (byte) irq_sprite_ptr#1 Self Phi Eliminated (byte) keyboard_event_scan::row_scan#1 Self Phi Eliminated (byte) keyboard_event_scan::row#10 +Self Phi Eliminated (byte*) render_score::score_bytes#1 Self Phi Eliminated (byte) render_screen_original::SPACE#1 Self Phi Eliminated (byte*) render_screen_original::oscr#3 Self Phi Eliminated (byte*) render_screen_original::ocols#3 @@ -5827,13 +5971,13 @@ Self Phi Eliminated (byte) render_screen_original::y#2 Self Phi Eliminated (byte*) render_screen_original::oscr#5 Self Phi Eliminated (byte*) render_screen_original::ocols#5 Self Phi Eliminated (byte) render_playfield::l#3 -Self Phi Eliminated (byte) render_screen_render#20 +Self Phi Eliminated (byte) render_screen_render#22 Self Phi Eliminated (byte*) current_piece_gfx#11 Self Phi Eliminated (byte) render_current::ypos2#10 Self Phi Eliminated (byte) render_current::l#10 Self Phi Eliminated (byte) current_piece_char#17 Self Phi Eliminated (byte*) render_current::screen_line#1 -Self Phi Eliminated (byte) render_screen_render#36 +Self Phi Eliminated (byte) render_screen_render#38 Self Phi Eliminated (byte) current_xpos#68 Self Phi Eliminated (byte) irq_sprite_ypos#11 Self Phi Eliminated (byte) irq_sprite_ptr#11 @@ -5860,16 +6004,16 @@ Self Phi Eliminated (byte) keyboard_events_size#26 Self Phi Eliminated (byte) keyboard_modifiers#23 Self Phi Eliminated (byte) current_movedown_counter#14 Self Phi Eliminated (byte) current_ypos#36 -Self Phi Eliminated (dword) score_bcd#20 +Self Phi Eliminated (dword) score_bcd#23 Self Phi Eliminated (byte*) current_piece#27 Self Phi Eliminated (byte) current_orientation#37 Self Phi Eliminated (byte*) current_piece_gfx#32 -Self Phi Eliminated (byte) current_xpos#100 +Self Phi Eliminated (byte) current_xpos#101 Self Phi Eliminated (byte) current_piece_char#23 -Self Phi Eliminated (byte) render_screen_render#18 +Self Phi Eliminated (byte) render_screen_render#19 Successful SSA optimization Pass2SelfPhiElimination Redundant Phi (byte*) current_piece_gfx#35 VOID -Redundant Phi (byte) current_xpos#101 VOID +Redundant Phi (byte) current_xpos#102 VOID Redundant Phi (byte) current_ypos#38 VOID Redundant Phi (byte) current_piece_char#25 VOID Redundant Phi (byte) keyboard_matrix_read::rowid#1 (byte) keyboard_matrix_read::rowid#0 @@ -5880,8 +6024,11 @@ Redundant Phi (byte) keyboard_events_size#14 (byte) keyboard_events_size#17 Redundant Phi (byte) render_screen_show#10 (byte) render_screen_show#18 Redundant Phi (byte) render_screen_show#11 (byte) render_screen_show#10 Redundant Phi (byte) render_screen_showing#6 (byte) render_screen_showing#1 -Redundant Phi (byte) render_screen_render#10 (byte) render_screen_render#18 +Redundant Phi (byte) render_screen_render#10 (byte) render_screen_render#19 Redundant Phi (byte) render_screen_show#12 (byte) render_screen_show#18 +Redundant Phi (byte) render_screen_render#12 (byte) render_screen_render#19 +Redundant Phi (dword) score_bcd#16 (dword) score_bcd#13 +Redundant Phi (byte*) render_score::score_bytes#1 (byte*) render_score::score_bytes#0 Redundant Phi (byte) render_screen_original::SPACE#1 (byte) render_screen_original::SPACE#3 Redundant Phi (byte*) render_screen_original::oscr#3 (byte*) render_screen_original::oscr#4 Redundant Phi (byte*) render_screen_original::ocols#3 (byte*) render_screen_original::ocols#4 @@ -5893,13 +6040,13 @@ Redundant Phi (byte) render_screen_original::y#2 (byte) render_screen_original:: Redundant Phi (byte*) render_screen_original::oscr#5 (byte*) render_screen_original::oscr#1 Redundant Phi (byte*) render_screen_original::ocols#5 (byte*) render_screen_original::ocols#1 Redundant Phi (byte) render_playfield::l#3 (byte) render_playfield::l#2 -Redundant Phi (byte) render_screen_render#20 (byte) render_screen_render#12 +Redundant Phi (byte) render_screen_render#22 (byte) render_screen_render#13 Redundant Phi (byte*) current_piece_gfx#11 (byte*) current_piece_gfx#22 Redundant Phi (byte) render_current::ypos2#10 (byte) render_current::ypos2#2 Redundant Phi (byte) render_current::l#10 (byte) render_current::l#4 Redundant Phi (byte) current_piece_char#17 (byte) current_piece_char#38 Redundant Phi (byte*) render_current::screen_line#1 (byte*) render_current::screen_line#0 -Redundant Phi (byte) render_screen_render#36 (byte) render_screen_render#13 +Redundant Phi (byte) render_screen_render#38 (byte) render_screen_render#14 Redundant Phi (byte) current_xpos#68 (byte) current_xpos#12 Redundant Phi (byte) irq_raster_next#23 (byte) irq_raster_next#0 Redundant Phi (byte) toSpritePtr1_return#2 (byte) toSpritePtr1_return#0 @@ -5923,13 +6070,13 @@ Redundant Phi (byte) irq_raster_next#20 (byte) irq_raster_next#21 Redundant Phi (byte) current_movedown_counter#7 (byte) current_movedown_counter#14 Redundant Phi (byte) play_move_down::key_event#1 (byte) play_move_down::key_event#0 Redundant Phi (byte) current_ypos#10 (byte) current_ypos#36 -Redundant Phi (byte) current_xpos#13 (byte) current_xpos#100 +Redundant Phi (byte) current_xpos#13 (byte) current_xpos#101 Redundant Phi (byte) current_orientation#12 (byte) current_orientation#37 -Redundant Phi (dword) score_bcd#15 (dword) score_bcd#20 +Redundant Phi (dword) score_bcd#18 (dword) score_bcd#23 Redundant Phi (byte*) current_piece#18 (byte*) current_piece#27 Redundant Phi (byte*) current_piece_gfx#24 (byte*) current_piece_gfx#32 Redundant Phi (byte) current_piece_char#18 (byte) current_piece_char#23 -Redundant Phi (dword) score_bcd#1 (dword) score_bcd#11 +Redundant Phi (dword) score_bcd#1 (dword) score_bcd#12 Redundant Phi (byte*) current_piece#1 (byte*) current_piece#13 Redundant Phi (byte) current_orientation#1 (byte) current_orientation#20 Redundant Phi (byte*) current_piece_gfx#0 (byte*) current_piece_gfx#16 @@ -5968,22 +6115,22 @@ Redundant Phi (byte) play_remove_lines::y#2 (byte) play_remove_lines::y#8 Redundant Phi (byte) play_remove_lines::removed#10 (byte) play_remove_lines::removed#11 Redundant Phi (byte) play_remove_lines::removed#3 (byte) play_remove_lines::removed#7 Redundant Phi (byte) play_update_score::removed#1 (byte) play_update_score::removed#0 -Redundant Phi (dword) score_bcd#10 (dword) score_bcd#15 +Redundant Phi (dword) score_bcd#11 (dword) score_bcd#18 Redundant Phi (byte) render_screen_show#22 (byte) render_screen_show#0 -Redundant Phi (byte) render_screen_render#22 (byte) render_screen_render#0 +Redundant Phi (byte) render_screen_render#24 (byte) render_screen_render#0 Redundant Phi (byte*) current_piece#26 (byte*) current_piece#0 Redundant Phi (byte) current_orientation#36 (byte) current_orientation#0 Redundant Phi (byte*) current_piece_gfx#31 (byte*) current_piece_gfx#35 -Redundant Phi (byte) current_xpos#43 (byte) current_xpos#101 +Redundant Phi (byte) current_xpos#43 (byte) current_xpos#102 Redundant Phi (byte) current_ypos#35 (byte) current_ypos#38 Redundant Phi (byte) current_piece_char#22 (byte) current_piece_char#25 Redundant Phi (byte) render_screen_showing#16 (byte) render_screen_showing#0 Redundant Phi (byte) keyboard_events_size#32 (byte) keyboard_events_size#0 Redundant Phi (byte) keyboard_modifiers#29 (byte) keyboard_modifiers#0 Redundant Phi (byte) current_movedown_counter#23 (byte) current_movedown_counter#0 -Redundant Phi (dword) score_bcd#27 (dword) score_bcd#0 +Redundant Phi (dword) score_bcd#31 (dword) score_bcd#0 Redundant Phi (byte) render_screen_show#14 (byte) render_screen_show#1 -Redundant Phi (byte) render_screen_render#14 (byte) render_screen_render#1 +Redundant Phi (byte) render_screen_render#15 (byte) render_screen_render#1 Redundant Phi (byte*) current_piece#14 (byte*) current_piece#13 Redundant Phi (byte) current_orientation#21 (byte) current_orientation#20 Redundant Phi (byte*) current_piece_gfx#17 (byte*) current_piece_gfx#16 @@ -5996,20 +6143,20 @@ Redundant Phi (byte) keyboard_events_size#26 (byte) keyboard_events_size#19 Redundant Phi (byte) keyboard_modifiers#23 (byte) keyboard_modifiers#16 Redundant Phi (byte) current_movedown_counter#14 (byte) current_movedown_counter#12 Redundant Phi (byte) current_ypos#36 (byte) current_ypos#21 -Redundant Phi (dword) score_bcd#20 (dword) score_bcd#13 +Redundant Phi (dword) score_bcd#23 (dword) score_bcd#14 Redundant Phi (byte*) current_piece#27 (byte*) current_piece#16 Redundant Phi (byte) current_orientation#37 (byte) current_orientation#10 Redundant Phi (byte*) current_piece_gfx#32 (byte*) current_piece_gfx#20 -Redundant Phi (byte) current_xpos#100 (byte) current_xpos#10 +Redundant Phi (byte) current_xpos#101 (byte) current_xpos#10 Redundant Phi (byte) current_piece_char#23 (byte) current_piece_char#15 -Redundant Phi (byte) render_screen_render#18 (byte) render_screen_render#16 +Redundant Phi (byte) render_screen_render#19 (byte) render_screen_render#17 Redundant Phi (byte) render_screen_showing#17 (byte) render_screen_showing#2 Redundant Phi (byte) keyboard_events_size#17 (byte) keyboard_events_size#13 Redundant Phi (byte) keyboard_modifiers#15 (byte) keyboard_modifiers#14 Redundant Phi (byte) keyboard_events_size#18 (byte) keyboard_events_size#16 Redundant Phi (byte) current_movedown_counter#11 (byte) current_movedown_counter#10 Redundant Phi (byte) current_ypos#20 (byte) current_ypos#13 -Redundant Phi (dword) score_bcd#12 (dword) score_bcd#2 +Redundant Phi (dword) score_bcd#13 (dword) score_bcd#10 Redundant Phi (byte*) current_piece#15 (byte*) current_piece#10 Redundant Phi (byte) current_orientation#22 (byte) current_orientation#14 Redundant Phi (byte*) current_piece_gfx#18 (byte*) current_piece_gfx#1 @@ -6018,12 +6165,12 @@ Redundant Phi (byte) current_piece_char#14 (byte) current_piece_char#1 Redundant Phi (byte) current_xpos#26 (byte) current_xpos#19 Redundant Phi (byte) current_orientation#23 (byte) current_orientation#19 Redundant Phi (byte*) current_piece_gfx#19 (byte*) current_piece_gfx#14 -Redundant Phi (byte) render_screen_render#15 (byte) render_screen_render#11 +Redundant Phi (byte) render_screen_render#16 (byte) render_screen_render#11 Redundant Phi (byte) render_screen_show#15 (byte) render_screen_show#13 Redundant Phi (byte) irq_sprite_ptr#15 (byte) irq_sprite_ptr#16 Redundant Phi (byte) irq_raster_next#18 (byte) irq_raster_next#19 Redundant Phi (byte) render_screen_show#17 (byte) render_screen_show#16 -Redundant Phi (byte) render_screen_render#17 (byte) render_screen_render#16 +Redundant Phi (byte) render_screen_render#18 (byte) render_screen_render#17 Redundant Phi (byte*) current_piece#17 (byte*) current_piece#16 Redundant Phi (byte) current_orientation#11 (byte) current_orientation#10 Redundant Phi (byte*) current_piece_gfx#10 (byte*) current_piece_gfx#20 @@ -6034,12 +6181,12 @@ Redundant Phi (byte) render_screen_showing#10 (byte) render_screen_showing#13 Redundant Phi (byte) keyboard_events_size#20 (byte) keyboard_events_size#19 Redundant Phi (byte) keyboard_modifiers#17 (byte) keyboard_modifiers#16 Redundant Phi (byte) current_movedown_counter#13 (byte) current_movedown_counter#12 -Redundant Phi (dword) score_bcd#14 (dword) score_bcd#13 +Redundant Phi (dword) score_bcd#15 (dword) score_bcd#14 Successful SSA optimization Pass2RedundantPhiElimination Redundant Phi (byte) keyboard_event_scan::row#4 (byte) keyboard_event_scan::row#2 Redundant Phi (byte) render_current::ypos2#4 (byte) render_current::ypos2#2 Redundant Phi (byte) render_current::l#2 (byte) render_current::l#4 -Redundant Phi (byte) render_screen_render#29 (byte) render_screen_render#13 +Redundant Phi (byte) render_screen_render#31 (byte) render_screen_render#14 Redundant Phi (byte) current_xpos#48 (byte) current_xpos#12 Redundant Phi (byte*) current_piece_gfx#54 (byte*) current_piece_gfx#22 Redundant Phi (byte) current_piece_char#65 (byte) current_piece_char#38 @@ -6057,6 +6204,8 @@ Simple Condition (bool~) keyboard_event_scan::$28 if((byte~) keyboard_event_scan Simple Condition (bool~) keyboard_event_get::$0 if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@1 Simple Condition (bool~) render_init::$15 if((byte) render_init::i#1!=rangelast(0,render_init::$12)) goto render_init::@1 Simple Condition (bool~) render_show::$0 if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::@1 +Simple Condition (bool~) render_score::$0 if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@1 +Simple Condition (bool~) render_score::$13 if((byte) render_score::b#1!=rangelast(0,2)) goto render_score::@3 Simple Condition (bool~) render_screen_original::$4 if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 Simple Condition (bool~) render_screen_original::$5 if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 Simple Condition (bool~) render_screen_original::$6 if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 @@ -6297,6 +6446,11 @@ Constant (const byte) render_init::i#0 = 0 Constant (const byte) render_screen_show#1 = 0 Constant (const byte) render_screen_render#1 = 64 Constant (const byte) render_show::d018val#0 = 0 +Constant (const byte) render_score::ZERO_CHAR#0 = 51 +Constant (const byte) render_score::SCREEN_SCORE_ROW#0 = 5 +Constant (const byte) render_score::SCREEN_SCORE_COL#0 = 29 +Constant (const dword*) render_score::$7 = &score_bcd#10 +Constant (const byte) render_score::b#0 = 0 Constant (const byte) render_screen_original::SPACE#0 = 0 Constant (const byte/signed byte/word/signed word/dword/signed dword) render_screen_original::$0 = 32*2 Constant (const byte/signed byte/word/signed word/dword/signed dword) render_screen_original::$2 = 32*2 @@ -6390,6 +6544,9 @@ Constant (const byte*) render_show::toD0181_screen#0 = PLAYFIELD_SCREEN_1#0 Constant (const byte*) render_show::toD0181_gfx#0 = PLAYFIELD_CHARSET#0 Constant (const byte*) render_show::toD0182_screen#0 = PLAYFIELD_SCREEN_2#0 Constant (const byte*) render_show::toD0182_gfx#0 = PLAYFIELD_CHARSET#0 +Constant (const byte/signed word/word/dword/signed dword) render_score::$4 = 40*render_score::SCREEN_SCORE_ROW#0 +Constant (const byte/signed word/word/dword/signed dword) render_score::$1 = 40*render_score::SCREEN_SCORE_ROW#0 +Constant (const byte*) render_score::score_bytes#0 = ((byte*))render_score::$7 Constant (const byte*) render_screen_original::oscr#0 = PLAYFIELD_SCREEN_ORIGINAL#0+render_screen_original::$0 Constant (const byte*) render_screen_original::ocols#0 = PLAYFIELD_COLORS_ORIGINAL#0+render_screen_original::$2 Constant (const byte*) render_screen_original::cols#0 = COLS#0 @@ -6440,6 +6597,8 @@ Constant (const word) render_show::toD0181_$0#0 = ((word))render_show::toD0181_s Constant (const word) render_show::toD0181_$4#0 = ((word))render_show::toD0181_gfx#0 Constant (const word) render_show::toD0182_$0#0 = ((word))render_show::toD0182_screen#0 Constant (const word) render_show::toD0182_$4#0 = ((word))render_show::toD0182_gfx#0 +Constant (const byte*) render_score::$5 = PLAYFIELD_SCREEN_1#0+render_score::$4 +Constant (const byte*) render_score::$2 = PLAYFIELD_SCREEN_2#0+render_score::$1 Constant (const word) toSpritePtr1_$1#0 = toSpritePtr1_$0#0>>6 Constant (const word) sprites_irq::toSpritePtr2_$0#0 = ((word))sprites_irq::toSpritePtr2_sprite#0 Constant (const word[]) PIECES#0 = { $19, $20, $21, $22, $23, $24, $25 } @@ -6453,6 +6612,8 @@ Constant (const word) render_show::toD0181_$1#0 = render_show::toD0181_$0#0&1638 Constant (const byte) render_show::toD0181_$5#0 = >render_show::toD0181_$4#0 Constant (const word) render_show::toD0182_$1#0 = render_show::toD0182_$0#0&16383 Constant (const byte) render_show::toD0182_$5#0 = >render_show::toD0182_$4#0 +Constant (const byte*) render_score::screen_score_pos#0 = render_score::$5+render_score::SCREEN_SCORE_COL#0 +Constant (const byte*) render_score::screen_score_pos#1 = render_score::$2+render_score::SCREEN_SCORE_COL#0 Constant (const byte) toSpritePtr1_$2#0 = ((byte))toSpritePtr1_$1#0 Constant (const word) sprites_irq::toSpritePtr2_$1#0 = sprites_irq::toSpritePtr2_$0#0>>6 Constant (const byte*) play_init::pli#0 = playfield#0 @@ -6508,6 +6669,8 @@ Resolved ranged next value keyboard_event_scan::col#1 ← ++ keyboard_event_scan Resolved ranged comparison value if(keyboard_event_scan::col#1!=rangelast(0,7)) goto keyboard_event_scan::@4 to (byte/signed byte/word/signed word/dword/signed dword) 8 Resolved ranged next value render_init::i#1 ← ++ render_init::i#2 to ++ Resolved ranged comparison value if(render_init::i#1!=rangelast(0,render_init::$12)) goto render_init::@1 to (const byte/signed word/word/dword/signed dword) render_init::$12+(byte/signed byte/word/signed word/dword/signed dword) 1 +Resolved ranged next value render_score::b#1 ← ++ render_score::b#2 to ++ +Resolved ranged comparison value if(render_score::b#1!=rangelast(0,2)) goto render_score::@3 to (byte/signed byte/word/signed word/dword/signed dword) 3 Resolved ranged next value render_screen_original::y#1 ← ++ render_screen_original::y#6 to ++ Resolved ranged comparison value if(render_screen_original::y#1!=rangelast(0,24)) goto render_screen_original::@1 to (byte/signed byte/word/signed word/dword/signed dword) 25 Resolved ranged next value render_playfield::c#1 ← ++ render_playfield::c#2 to ++ @@ -6550,10 +6713,11 @@ Culled Empty Block (label) render_show::@5 Culled Empty Block (label) render_show::@3 Culled Empty Block (label) render_show::toD0182_@return Culled Empty Block (label) render_show::@6 +Culled Empty Block (label) render_score::@1 Culled Empty Block (label) render_current::@6 Culled Empty Block (label) toSpritePtr1_@return Culled Empty Block (label) sprites_irq::toSpritePtr2_@return -Culled Empty Block (label) @23 +Culled Empty Block (label) @24 Culled Empty Block (label) play_move_down::@3 Culled Empty Block (label) play_move_down::@5 Culled Empty Block (label) play_move_down::@22 @@ -6563,7 +6727,7 @@ Culled Empty Block (label) play_move_leftright::@4 Culled Empty Block (label) play_move_leftright::@5 Culled Empty Block (label) play_move_rotate::@7 Culled Empty Block (label) play_move_rotate::@5 -Culled Empty Block (label) @27 +Culled Empty Block (label) @28 Culled Empty Block (label) play_collision::@9 Culled Empty Block (label) play_collision::@11 Culled Empty Block (label) play_collision::@13 @@ -6576,14 +6740,14 @@ Culled Empty Block (label) main::@22 Culled Empty Block (label) main::@2 Culled Empty Block (label) main::@5 Culled Empty Block (label) main::@7 -Culled Empty Block (label) main::@31 -Culled Empty Block (label) @35 +Culled Empty Block (label) main::@32 +Culled Empty Block (label) @36 Successful SSA optimization Pass2CullEmptyBlocks Alias (byte) render_screen_showing#1 = (byte) render_screen_showing#2 Successful SSA optimization Pass2AliasElimination Self Phi Eliminated (byte) render_screen_original::SPACE#3 -Self Phi Eliminated (byte) render_screen_render#12 Self Phi Eliminated (byte) render_screen_render#13 +Self Phi Eliminated (byte) render_screen_render#14 Self Phi Eliminated (byte) current_xpos#12 Self Phi Eliminated (byte*) current_piece_gfx#22 Self Phi Eliminated (byte) current_piece_char#38 @@ -6593,11 +6757,11 @@ Self Phi Eliminated (byte) current_xpos#22 Self Phi Eliminated (byte*) current_piece_gfx#29 Self Phi Eliminated (byte) current_piece_char#30 Self Phi Eliminated (byte) render_screen_show#16 -Self Phi Eliminated (byte) render_screen_render#16 +Self Phi Eliminated (byte) render_screen_render#17 Successful SSA optimization Pass2SelfPhiElimination Redundant Phi (byte) render_screen_original::SPACE#3 (const byte) render_screen_original::SPACE#0 -Redundant Phi (byte) render_screen_render#12 (byte) render_screen_render#19 -Redundant Phi (byte) render_screen_render#13 (byte) render_screen_render#28 +Redundant Phi (byte) render_screen_render#13 (byte) render_screen_render#21 +Redundant Phi (byte) render_screen_render#14 (byte) render_screen_render#30 Redundant Phi (byte) current_xpos#12 (byte) current_xpos#47 Redundant Phi (byte*) current_piece_gfx#22 (byte*) current_piece_gfx#53 Redundant Phi (byte) current_piece_char#38 (byte) current_piece_char#64 @@ -6622,6 +6786,9 @@ Inlining constant with var siblings (const byte) keyboard_event_get::return#0 Inlining constant with var siblings (const byte) render_init::i#0 Inlining constant with var siblings (const byte*) render_init::li_1#0 Inlining constant with var siblings (const byte*) render_init::li_2#0 +Inlining constant with var siblings (const byte) render_score::b#0 +Inlining constant with var siblings (const byte*) render_score::screen_score_pos#0 +Inlining constant with var siblings (const byte*) render_score::screen_score_pos#1 Inlining constant with var siblings (const byte) render_screen_original::y#0 Inlining constant with var siblings (const byte) render_screen_original::x#0 Inlining constant with var siblings (const byte*) render_screen_original::screen#0 @@ -6690,6 +6857,7 @@ Constant inlined play_move_rotate::return#3 = (byte/signed byte/word/signed word Constant inlined render_current::l#0 = (byte/signed byte/word/signed word/dword/signed dword) 0 Constant inlined current_movedown_counter#0 = (byte/signed byte/word/signed word/dword/signed dword) 0 Constant inlined current_movedown_counter#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 +Constant inlined render_score::b#0 = (byte/signed byte/word/signed word/dword/signed dword) 0 Constant inlined render_screen_original::screen#1 = (const byte*) PLAYFIELD_SCREEN_2#0 Constant inlined render_screen_original::screen#0 = (const byte*) PLAYFIELD_SCREEN_1#0 Constant inlined render_screen_original::y#0 = (byte/signed byte/word/signed word/dword/signed dword) 0 @@ -6698,7 +6866,9 @@ Constant inlined render_playfield::i#0 = (const byte) PLAYFIELD_COLS#0*(byte/sig Constant inlined play_collision::$4 = (byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0 Constant inlined render_show::toD0182_$2#0 = ((word))(const byte*) PLAYFIELD_SCREEN_2#0&(word/signed word/dword/signed dword) 16383<<(byte/signed byte/word/signed word/dword/signed dword) 2 Constant inlined render_init::vicSelectGfxBank1_toDd001_$1#0 = >((word))(const byte*) PLAYFIELD_CHARSET#0 +Constant inlined render_score::screen_score_pos#0 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 Constant inlined render_init::$12 = (const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1 +Constant inlined render_score::screen_score_pos#1 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 Constant inlined render_init::$10 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40 Constant inlined play_remove_lines::$0 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0 Constant inlined play_remove_lines::$2 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0 @@ -6825,10 +6995,15 @@ Constant inlined render_screen_original::oscr#0 = (const byte*) PLAYFIELD_SCREEN Constant inlined render_screen_show#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 Constant inlined sprites_irq::toSpritePtr2_sprite#0 = (const byte*) PLAYFIELD_SPRITES#0 Constant inlined play_collision::l#0 = (byte/signed byte/word/signed word/dword/signed dword) 0 +Constant inlined render_score::$4 = (byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0 +Constant inlined render_score::$5 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0 +Constant inlined render_score::$7 = &(dword) score_bcd#10 Constant inlined toSpritePtr1_$2#0 = (const byte) toSpritePtr1_return#0 Constant inlined render_show::toD0181_$2#0 = ((word))(const byte*) PLAYFIELD_SCREEN_1#0&(word/signed word/dword/signed dword) 16383<<(byte/signed byte/word/signed word/dword/signed dword) 2 Constant inlined keyboard_event_get::return#0 = (byte/word/signed word/dword/signed dword) 255 Constant inlined render_init::li_1#0 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 +Constant inlined render_score::$1 = (byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0 +Constant inlined render_score::$2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0 Constant inlined render_screen_original::cols#0 = (const byte*) COLS#0 Successful SSA optimization Pass2ConstantInlining Simplifying constant plus zero SPRITES_YPOS#0+0 @@ -6836,7 +7011,8 @@ Simplifying constant plus zero PLAYFIELD_SPRITE_PTRS_1#0+0 Simplifying constant plus zero PLAYFIELD_SPRITE_PTRS_2#0+0 Simplifying constant integer increment ++0 Successful SSA optimization Pass2ConstantSimplification -Added new block during phi lifting main::@32(between main::@28 and main::@1) +Added new block during phi lifting main::@33(between main::@28 and main::@1) +Added new block during phi lifting render_score::@7(between render_score::@3 and render_score::@3) Added new block during phi lifting render_current::@14(between render_current::@3 and render_current::@1) Added new block during phi lifting render_current::@15(between render_current::@5 and render_current::@3) Added new block during phi lifting render_current::@16(between render_current::@5 and render_current::@4) @@ -6889,7 +7065,7 @@ Added new block during phi lifting render_screen_original::@14(between render_sc Added new block during phi lifting sprites_irq::@14(between sprites_irq::@5 and sprites_irq::@6) Adding NOP phi() at start of @begin Adding NOP phi() at start of toSpritePtr1 -Adding NOP phi() at start of @33 +Adding NOP phi() at start of @34 Adding NOP phi() at start of @end Adding NOP phi() at start of main Adding NOP phi() at start of main::@16 @@ -6901,6 +7077,8 @@ Adding NOP phi() at start of main::@6 Adding NOP phi() at start of main::@23 Adding NOP phi() at start of main::@24 Adding NOP phi() at start of main::@30 +Adding NOP phi() at start of main::@31 +Adding NOP phi() at start of render_score::@4 Adding NOP phi() at start of play_move_down::@8 Adding NOP phi() at start of play_move_down::@13 Adding NOP phi() at start of play_move_down::@19 @@ -6920,231 +7098,235 @@ Adding NOP phi() at start of render_init::@4 Adding NOP phi() at start of sprites_irq::toSpritePtr2 CALL GRAPH Calls in [] to main:12 -Calls in [main] to sid_rnd_init:15 render_init:17 sprites_init:19 sprites_irq_init:21 play_init:23 play_spawn_current:25 render_playfield:27 render_current:32 render_show:41 keyboard_event_scan:43 keyboard_event_get:45 play_move_down:49 play_move_leftright:54 play_move_rotate:59 render_playfield:65 render_current:71 render_screen_swap:73 -Calls in [play_move_rotate] to play_collision:169 -Calls in [play_move_leftright] to play_collision:221 play_collision:238 -Calls in [play_move_down] to keyboard_event_pressed:249 play_collision:269 play_lock_current:274 play_remove_lines:276 play_update_score:280 play_spawn_current:282 -Calls in [play_spawn_current] to sid_rnd:328 -Calls in [keyboard_event_scan] to keyboard_matrix_read:426 keyboard_event_pressed:437 keyboard_event_pressed:443 keyboard_event_pressed:450 keyboard_event_pressed:457 -Calls in [render_init] to render_screen_original:556 render_screen_original:558 +Calls in [main] to sid_rnd_init:15 render_init:17 sprites_init:19 sprites_irq_init:21 play_init:23 play_spawn_current:25 render_playfield:27 render_current:32 render_show:41 keyboard_event_scan:43 keyboard_event_get:45 play_move_down:49 play_move_leftright:54 play_move_rotate:59 render_playfield:65 render_current:71 render_score:73 render_screen_swap:75 +Calls in [play_move_rotate] to play_collision:190 +Calls in [play_move_leftright] to play_collision:242 play_collision:259 +Calls in [play_move_down] to keyboard_event_pressed:270 play_collision:290 play_lock_current:295 play_remove_lines:297 play_update_score:301 play_spawn_current:303 +Calls in [play_spawn_current] to sid_rnd:349 +Calls in [keyboard_event_scan] to keyboard_matrix_read:447 keyboard_event_pressed:458 keyboard_event_pressed:464 keyboard_event_pressed:471 keyboard_event_pressed:478 +Calls in [render_init] to render_screen_original:577 render_screen_original:579 -Created 128 initial phi equivalence classes -Not coalescing [28] current_ypos#85 ← current_ypos#18 -Not coalescing [29] current_xpos#111 ← current_xpos#23 -Not coalescing [30] current_piece_gfx#101 ← current_piece_gfx#16 -Not coalescing [31] current_piece_char#89 ← current_piece_char#12 -Coalesced [34] current_piece_gfx#98 ← current_piece_gfx#16 -Coalesced [35] current_xpos#108 ← current_xpos#23 -Coalesced [36] current_ypos#82 ← current_ypos#18 -Coalesced [37] current_piece_char#86 ← current_piece_char#12 -Not coalescing [64] render_screen_render#63 ← render_screen_render#16 -Not coalescing [66] current_ypos#86 ← current_ypos#13 -Not coalescing [67] render_screen_render#62 ← render_screen_render#16 -Not coalescing [68] current_xpos#112 ← current_xpos#19 -Not coalescing [69] current_piece_gfx#102 ← current_piece_gfx#14 -Not coalescing [70] current_piece_char#90 ← current_piece_char#1 -Coalesced [74] render_screen_show#57 ← render_screen_show#13 -Coalesced [75] render_screen_render#61 ← render_screen_render#11 -Coalesced [76] current_piece#73 ← current_piece#10 -Coalesced [77] current_orientation#76 ← current_orientation#19 -Coalesced [78] current_piece_gfx#99 ← current_piece_gfx#14 -Coalesced [79] current_xpos#109 ← current_xpos#19 -Coalesced [80] current_ypos#83 ← current_ypos#13 -Coalesced [81] current_piece_char#87 ← current_piece_char#1 -Coalesced [82] keyboard_events_size#79 ← keyboard_events_size#16 -Coalesced [83] current_movedown_counter#48 ← current_movedown_counter#10 -Coalesced [84] score_bcd#68 ← score_bcd#2 -Coalesced (already) [85] current_piece#74 ← current_piece#10 -Coalesced (already) [86] current_orientation#77 ← current_orientation#19 -Coalesced (already) [87] current_piece_gfx#100 ← current_piece_gfx#14 -Coalesced (already) [88] current_xpos#110 ← current_xpos#19 -Coalesced (already) [89] current_ypos#84 ← current_ypos#13 -Coalesced (already) [90] current_piece_char#88 ← current_piece_char#1 -Coalesced (already) [91] keyboard_events_size#80 ← keyboard_events_size#16 -Coalesced (already) [92] current_movedown_counter#49 ← current_movedown_counter#10 -Coalesced (already) [93] score_bcd#69 ← score_bcd#2 -Coalesced [99] render_current::ypos2#11 ← render_current::ypos2#0 -Coalesced [103] render_current::i#14 ← render_current::i#1 -Coalesced [109] render_current::ypos2#12 ← render_current::ypos2#1 -Coalesced [110] render_current::i#12 ← render_current::i#8 -Coalesced [111] render_current::l#11 ← render_current::l#1 -Coalesced [116] render_current::i#15 ← render_current::i#3 -Coalesced [117] render_current::xpos#7 ← render_current::xpos#0 -Coalesced [127] render_current::i#13 ← render_current::i#10 -Coalesced (already) [128] render_current::i#16 ← render_current::i#10 -Coalesced [129] render_current::xpos#8 ← render_current::xpos#1 -Coalesced [130] render_current::c#7 ← render_current::c#1 -Coalesced [136] render_playfield::i#6 ← render_playfield::i#3 -Coalesced [137] render_playfield::screen_line#3 ← render_playfield::screen_line#0 -Coalesced [147] render_playfield::l#5 ← render_playfield::l#1 -Coalesced [148] render_playfield::i#5 ← render_playfield::i#1 -Coalesced (already) [149] render_playfield::i#7 ← render_playfield::i#1 -Coalesced [150] render_playfield::screen_line#4 ← render_playfield::screen_line#1 -Coalesced [151] render_playfield::c#3 ← render_playfield::c#1 -Coalesced [154] current_orientation#80 ← current_orientation#14 -Coalesced [155] current_piece_gfx#105 ← current_piece_gfx#1 -Coalesced [160] play_move_rotate::orientation#7 ← play_move_rotate::orientation#2 -Not coalescing [165] current_piece#78 ← current_piece#10 -Coalesced [166] play_collision::orientation#8 ← play_collision::orientation#3 -Coalesced [167] play_collision::ypos#8 ← play_collision::ypos#3 -Coalesced [168] play_collision::xpos#17 ← play_collision::xpos#3 -Coalesced [175] current_orientation#78 ← current_orientation#4 -Coalesced [176] current_piece_gfx#103 ← current_piece_gfx#3 -Coalesced (already) [177] current_orientation#79 ← current_orientation#14 -Coalesced (already) [178] current_piece_gfx#104 ← current_piece_gfx#1 -Coalesced [181] play_move_rotate::orientation#6 ← play_move_rotate::orientation#1 -Coalesced [185] play_collision::ypos2#11 ← play_collision::ypos2#0 -Coalesced [188] play_collision::i#12 ← play_collision::i#3 -Not coalescing [189] play_collision::col#9 ← play_collision::xpos#5 -Coalesced [206] play_collision::ypos2#12 ← play_collision::ypos2#1 -Not coalescing [207] play_collision::i#11 ← play_collision::i#1 -Coalesced [208] play_collision::l#11 ← play_collision::l#1 -Not coalescing [209] play_collision::i#13 ← play_collision::i#1 -Coalesced [210] play_collision::col#10 ← play_collision::col#1 -Coalesced [211] play_collision::c#9 ← play_collision::c#1 -Not coalescing [217] current_piece#77 ← current_piece#10 -Coalesced [218] play_collision::orientation#7 ← play_collision::orientation#2 -Coalesced [219] play_collision::ypos#7 ← play_collision::ypos#2 -Coalesced [220] play_collision::xpos#16 ← play_collision::xpos#2 -Coalesced [226] current_xpos#115 ← current_xpos#2 -Coalesced [229] current_xpos#114 ← current_xpos#1 -Coalesced (already) [230] current_xpos#117 ← current_xpos#1 -Not coalescing [234] current_piece#76 ← current_piece#10 -Coalesced [235] play_collision::orientation#6 ← play_collision::orientation#1 -Coalesced [236] play_collision::ypos#6 ← play_collision::ypos#1 -Coalesced [237] play_collision::xpos#15 ← play_collision::xpos#1 -Coalesced [243] current_xpos#113 ← current_xpos#4 -Coalesced (already) [244] current_xpos#116 ← current_xpos#1 -Coalesced [255] play_move_down::movedown#13 ← play_move_down::movedown#2 -Coalesced [259] play_move_down::movedown#16 ← play_move_down::movedown#3 -Not coalescing [265] current_piece#75 ← current_piece#16 -Coalesced [266] play_collision::orientation#5 ← play_collision::orientation#0 -Coalesced [267] play_collision::ypos#5 ← play_collision::ypos#0 -Coalesced [268] play_collision::xpos#14 ← play_collision::xpos#0 -Coalesced [283] current_ypos#87 ← current_ypos#18 -Coalesced [284] score_bcd#70 ← score_bcd#11 -Coalesced [286] current_piece_gfx#106 ← current_piece_gfx#16 -Coalesced [287] current_xpos#118 ← current_xpos#23 -Coalesced [288] current_piece_char#91 ← current_piece_char#12 -Coalesced (already) [290] current_ypos#90 ← current_ypos#29 -Coalesced [291] score_bcd#73 ← score_bcd#17 -Coalesced [292] current_piece#82 ← current_piece#20 -Coalesced [293] current_orientation#83 ← current_orientation#29 -Coalesced (already) [294] current_piece_gfx#109 ← current_piece_gfx#26 -Coalesced (already) [295] current_xpos#121 ← current_xpos#33 -Coalesced (already) [296] current_piece_char#94 ← current_piece_char#20 -Coalesced [300] current_ypos#88 ← current_ypos#0 -Coalesced (already) [301] score_bcd#71 ← score_bcd#13 -Coalesced (already) [302] current_piece#80 ← current_piece#16 -Coalesced (already) [303] current_orientation#81 ← current_orientation#10 -Coalesced (already) [304] current_piece_gfx#107 ← current_piece_gfx#20 -Coalesced (already) [305] current_xpos#119 ← current_xpos#10 -Coalesced (already) [306] current_piece_char#92 ← current_piece_char#15 -Coalesced [307] current_movedown_counter#50 ← current_movedown_counter#1 -Coalesced (already) [308] current_ypos#89 ← current_ypos#21 -Coalesced (already) [309] score_bcd#72 ← score_bcd#13 -Coalesced (already) [310] current_piece#81 ← current_piece#16 -Coalesced (already) [311] current_orientation#82 ← current_orientation#10 -Coalesced (already) [312] current_piece_gfx#108 ← current_piece_gfx#20 -Coalesced (already) [313] current_xpos#120 ← current_xpos#10 -Coalesced (already) [314] current_piece_char#93 ← current_piece_char#15 -Coalesced [315] play_move_down::movedown#17 ← play_move_down::movedown#7 -Coalesced [316] play_move_down::movedown#15 ← play_move_down::movedown#10 -Coalesced (already) [317] play_move_down::movedown#14 ← play_move_down::movedown#10 -Coalesced [332] play_spawn_current::piece_idx#4 ← play_spawn_current::piece_idx#1 -Coalesced [341] score_bcd#75 ← score_bcd#3 -Coalesced (already) [344] score_bcd#74 ← score_bcd#13 -Coalesced [347] play_remove_lines::r#10 ← play_remove_lines::r#3 -Coalesced [348] play_remove_lines::w#14 ← play_remove_lines::w#12 -Coalesced [362] play_remove_lines::w#16 ← play_remove_lines::w#2 -Coalesced [363] play_remove_lines::removed#13 ← play_remove_lines::removed#1 -Coalesced [367] play_remove_lines::w#18 ← play_remove_lines::w#11 -Coalesced [373] play_remove_lines::w#19 ← play_remove_lines::w#3 -Coalesced [374] play_remove_lines::r#9 ← play_remove_lines::r#1 -Coalesced [375] play_remove_lines::w#13 ← play_remove_lines::w#11 -Coalesced [376] play_remove_lines::y#9 ← play_remove_lines::y#1 -Coalesced [377] play_remove_lines::removed#12 ← play_remove_lines::removed#7 -Coalesced [378] play_remove_lines::w#17 ← play_remove_lines::w#1 -Coalesced (already) [379] play_remove_lines::removed#14 ← play_remove_lines::removed#11 -Coalesced (already) [380] play_remove_lines::r#11 ← play_remove_lines::r#1 -Coalesced (already) [381] play_remove_lines::w#15 ← play_remove_lines::w#1 -Coalesced [382] play_remove_lines::x#5 ← play_remove_lines::x#1 -Coalesced [383] play_remove_lines::full#5 ← play_remove_lines::full#2 -Coalesced (already) [384] play_remove_lines::full#6 ← play_remove_lines::full#4 -Coalesced [386] play_lock_current::ypos2#7 ← play_lock_current::ypos2#0 -Coalesced [390] play_lock_current::i#8 ← play_lock_current::i#3 -Coalesced [391] play_lock_current::col#5 ← play_lock_current::col#0 -Coalesced [403] play_lock_current::ypos2#8 ← play_lock_current::ypos2#1 -Not coalescing [404] play_lock_current::i#7 ← play_lock_current::i#1 -Coalesced [405] play_lock_current::l#7 ← play_lock_current::l#1 -Not coalescing [406] play_lock_current::i#9 ← play_lock_current::i#1 -Coalesced [407] play_lock_current::col#6 ← play_lock_current::col#1 -Coalesced [408] play_lock_current::c#5 ← play_lock_current::c#1 -Coalesced [418] keyboard_event_get::return#6 ← keyboard_event_get::return#1 -Coalesced [419] keyboard_events_size#82 ← keyboard_events_size#4 -Coalesced [422] keyboard_events_size#81 ← keyboard_events_size#13 -Coalesced [423] keyboard_events_size#83 ← keyboard_events_size#19 -Coalesced [431] keyboard_event_scan::keycode#17 ← keyboard_event_scan::keycode#1 -Coalesced (already) [432] keyboard_events_size#85 ← keyboard_events_size#29 -Coalesced [448] keyboard_modifiers#60 ← keyboard_modifiers#3 -Coalesced [455] keyboard_modifiers#62 ← keyboard_modifiers#4 -Coalesced [463] keyboard_modifiers#63 ← keyboard_modifiers#12 -Coalesced [464] keyboard_modifiers#61 ← keyboard_modifiers#11 -Coalesced [465] keyboard_event_scan::row#15 ← keyboard_event_scan::row#1 -Coalesced [466] keyboard_event_scan::keycode#16 ← keyboard_event_scan::keycode#14 -Coalesced (already) [467] keyboard_events_size#84 ← keyboard_events_size#13 -Coalesced [468] keyboard_event_scan::keycode#19 ← keyboard_event_scan::keycode#11 -Coalesced [469] keyboard_events_size#87 ← keyboard_events_size#29 -Coalesced [479] keyboard_events_size#89 ← keyboard_events_size#2 -Coalesced [485] keyboard_event_scan::keycode#18 ← keyboard_event_scan::keycode#15 -Coalesced [486] keyboard_events_size#86 ← keyboard_events_size#30 -Coalesced [487] keyboard_event_scan::col#9 ← keyboard_event_scan::col#1 -Coalesced (already) [488] keyboard_event_scan::keycode#20 ← keyboard_event_scan::keycode#15 -Coalesced (already) [489] keyboard_events_size#88 ← keyboard_events_size#30 -Coalesced [493] keyboard_events_size#92 ← keyboard_events_size#1 -Coalesced (already) [494] keyboard_events_size#91 ← keyboard_events_size#10 -Coalesced (already) [495] keyboard_events_size#90 ← keyboard_events_size#10 -Coalesced [517] play_init::j#3 ← play_init::j#1 -Coalesced [518] play_init::pli#3 ← play_init::pli#1 -Coalesced [519] play_init::idx#3 ← play_init::idx#1 -Coalesced [544] sprites_init::s#3 ← sprites_init::s#1 -Coalesced [545] sprites_init::xpos#3 ← sprites_init::xpos#1 -Coalesced [569] render_init::i#3 ← render_init::i#1 -Coalesced [570] render_init::li_1#3 ← render_init::li_1#1 -Coalesced [571] render_init::li_2#3 ← render_init::li_2#1 -Coalesced [573] render_screen_original::screen#11 ← render_screen_original::screen#9 -Coalesced [575] render_screen_original::screen#13 ← render_screen_original::screen#8 -Coalesced [576] render_screen_original::cols#10 ← render_screen_original::cols#7 -Coalesced [584] render_screen_original::oscr#8 ← render_screen_original::oscr#4 -Coalesced [585] render_screen_original::screen#15 ← render_screen_original::screen#2 -Coalesced [586] render_screen_original::ocols#8 ← render_screen_original::ocols#4 -Coalesced [587] render_screen_original::cols#12 ← render_screen_original::cols#1 -Coalesced [588] render_screen_original::x#8 ← render_screen_original::x#1 -Coalesced [598] render_screen_original::screen#17 ← render_screen_original::screen#3 -Coalesced [599] render_screen_original::cols#14 ← render_screen_original::cols#2 -Coalesced [600] render_screen_original::x#10 ← render_screen_original::x#2 -Coalesced [611] render_screen_original::screen#12 ← render_screen_original::screen#10 -Coalesced [612] render_screen_original::cols#9 ← render_screen_original::cols#3 -Coalesced [613] render_screen_original::oscr#7 ← render_screen_original::oscr#1 -Coalesced [614] render_screen_original::ocols#7 ← render_screen_original::ocols#1 -Coalesced [615] render_screen_original::y#7 ← render_screen_original::y#1 -Coalesced [616] render_screen_original::screen#18 ← render_screen_original::screen#10 -Coalesced [617] render_screen_original::cols#15 ← render_screen_original::cols#3 -Coalesced [618] render_screen_original::x#11 ← render_screen_original::x#3 -Coalesced (already) [619] render_screen_original::oscr#9 ← render_screen_original::oscr#1 -Coalesced [620] render_screen_original::screen#16 ← render_screen_original::screen#3 -Coalesced (already) [621] render_screen_original::ocols#9 ← render_screen_original::ocols#1 -Coalesced [622] render_screen_original::cols#13 ← render_screen_original::cols#2 -Coalesced [623] render_screen_original::x#9 ← render_screen_original::x#2 -Coalesced (already) [624] render_screen_original::screen#14 ← render_screen_original::screen#2 -Coalesced (already) [625] render_screen_original::cols#11 ← render_screen_original::cols#1 -Coalesced [626] render_screen_original::x#7 ← render_screen_original::x#1 -Coalesced [650] irq_raster_next#24 ← irq_raster_next#2 -Coalesced [656] sprites_irq::raster_next#4 ← sprites_irq::raster_next#1 -Coalesced [661] sprites_irq::raster_next#5 ← sprites_irq::raster_next#0 -Coalesced [667] irq_raster_next#25 ← irq_raster_next#1 -Coalesced down to 78 phi equivalence classes -Culled Empty Block (label) main::@32 +Created 131 initial phi equivalence classes +Not coalescing [28] current_ypos#86 ← current_ypos#18 +Not coalescing [29] current_xpos#112 ← current_xpos#23 +Not coalescing [30] current_piece_gfx#102 ← current_piece_gfx#16 +Not coalescing [31] current_piece_char#90 ← current_piece_char#12 +Coalesced [34] current_piece_gfx#99 ← current_piece_gfx#16 +Coalesced [35] current_xpos#109 ← current_xpos#23 +Coalesced [36] current_ypos#83 ← current_ypos#18 +Coalesced [37] current_piece_char#87 ← current_piece_char#12 +Not coalescing [64] render_screen_render#65 ← render_screen_render#17 +Not coalescing [66] current_ypos#87 ← current_ypos#13 +Not coalescing [67] render_screen_render#64 ← render_screen_render#17 +Not coalescing [68] current_xpos#113 ← current_xpos#19 +Not coalescing [69] current_piece_gfx#103 ← current_piece_gfx#14 +Not coalescing [70] current_piece_char#91 ← current_piece_char#1 +Coalesced [76] render_screen_show#58 ← render_screen_show#13 +Coalesced [77] render_screen_render#63 ← render_screen_render#11 +Coalesced [78] current_piece#74 ← current_piece#10 +Coalesced [79] current_orientation#77 ← current_orientation#19 +Coalesced [80] current_piece_gfx#100 ← current_piece_gfx#14 +Coalesced [81] current_xpos#110 ← current_xpos#19 +Coalesced [82] current_ypos#84 ← current_ypos#13 +Coalesced [83] current_piece_char#88 ← current_piece_char#1 +Coalesced [84] keyboard_events_size#80 ← keyboard_events_size#16 +Coalesced [85] current_movedown_counter#49 ← current_movedown_counter#10 +Coalesced [86] score_bcd#73 ← score_bcd#10 +Coalesced (already) [87] current_piece#75 ← current_piece#10 +Coalesced (already) [88] current_orientation#78 ← current_orientation#19 +Coalesced (already) [89] current_piece_gfx#101 ← current_piece_gfx#14 +Coalesced (already) [90] current_xpos#111 ← current_xpos#19 +Coalesced (already) [91] current_ypos#85 ← current_ypos#13 +Coalesced (already) [92] current_piece_char#89 ← current_piece_char#1 +Coalesced (already) [93] keyboard_events_size#81 ← keyboard_events_size#16 +Coalesced (already) [94] current_movedown_counter#50 ← current_movedown_counter#10 +Coalesced (already) [95] score_bcd#74 ← score_bcd#10 +Coalesced [102] render_score::screen_score_pos#6 ← render_score::screen_score_pos#5 +Coalesced [116] render_score::b#3 ← render_score::b#1 +Coalesced [117] render_score::screen_score_pos#7 ← render_score::screen_score_pos#3 +Coalesced [120] render_current::ypos2#11 ← render_current::ypos2#0 +Coalesced [124] render_current::i#14 ← render_current::i#1 +Coalesced [130] render_current::ypos2#12 ← render_current::ypos2#1 +Coalesced [131] render_current::i#12 ← render_current::i#8 +Coalesced [132] render_current::l#11 ← render_current::l#1 +Coalesced [137] render_current::i#15 ← render_current::i#3 +Coalesced [138] render_current::xpos#7 ← render_current::xpos#0 +Coalesced [148] render_current::i#13 ← render_current::i#10 +Coalesced (already) [149] render_current::i#16 ← render_current::i#10 +Coalesced [150] render_current::xpos#8 ← render_current::xpos#1 +Coalesced [151] render_current::c#7 ← render_current::c#1 +Coalesced [157] render_playfield::i#6 ← render_playfield::i#3 +Coalesced [158] render_playfield::screen_line#3 ← render_playfield::screen_line#0 +Coalesced [168] render_playfield::l#5 ← render_playfield::l#1 +Coalesced [169] render_playfield::i#5 ← render_playfield::i#1 +Coalesced (already) [170] render_playfield::i#7 ← render_playfield::i#1 +Coalesced [171] render_playfield::screen_line#4 ← render_playfield::screen_line#1 +Coalesced [172] render_playfield::c#3 ← render_playfield::c#1 +Coalesced [175] current_orientation#81 ← current_orientation#14 +Coalesced [176] current_piece_gfx#106 ← current_piece_gfx#1 +Coalesced [181] play_move_rotate::orientation#7 ← play_move_rotate::orientation#2 +Not coalescing [186] current_piece#79 ← current_piece#10 +Coalesced [187] play_collision::orientation#8 ← play_collision::orientation#3 +Coalesced [188] play_collision::ypos#8 ← play_collision::ypos#3 +Coalesced [189] play_collision::xpos#17 ← play_collision::xpos#3 +Coalesced [196] current_orientation#79 ← current_orientation#4 +Coalesced [197] current_piece_gfx#104 ← current_piece_gfx#3 +Coalesced (already) [198] current_orientation#80 ← current_orientation#14 +Coalesced (already) [199] current_piece_gfx#105 ← current_piece_gfx#1 +Coalesced [202] play_move_rotate::orientation#6 ← play_move_rotate::orientation#1 +Coalesced [206] play_collision::ypos2#11 ← play_collision::ypos2#0 +Coalesced [209] play_collision::i#12 ← play_collision::i#3 +Not coalescing [210] play_collision::col#9 ← play_collision::xpos#5 +Coalesced [227] play_collision::ypos2#12 ← play_collision::ypos2#1 +Not coalescing [228] play_collision::i#11 ← play_collision::i#1 +Coalesced [229] play_collision::l#11 ← play_collision::l#1 +Not coalescing [230] play_collision::i#13 ← play_collision::i#1 +Coalesced [231] play_collision::col#10 ← play_collision::col#1 +Coalesced [232] play_collision::c#9 ← play_collision::c#1 +Not coalescing [238] current_piece#78 ← current_piece#10 +Coalesced [239] play_collision::orientation#7 ← play_collision::orientation#2 +Coalesced [240] play_collision::ypos#7 ← play_collision::ypos#2 +Coalesced [241] play_collision::xpos#16 ← play_collision::xpos#2 +Coalesced [247] current_xpos#116 ← current_xpos#2 +Coalesced [250] current_xpos#115 ← current_xpos#1 +Coalesced (already) [251] current_xpos#118 ← current_xpos#1 +Not coalescing [255] current_piece#77 ← current_piece#10 +Coalesced [256] play_collision::orientation#6 ← play_collision::orientation#1 +Coalesced [257] play_collision::ypos#6 ← play_collision::ypos#1 +Coalesced [258] play_collision::xpos#15 ← play_collision::xpos#1 +Coalesced [264] current_xpos#114 ← current_xpos#4 +Coalesced (already) [265] current_xpos#117 ← current_xpos#1 +Coalesced [276] play_move_down::movedown#13 ← play_move_down::movedown#2 +Coalesced [280] play_move_down::movedown#16 ← play_move_down::movedown#3 +Not coalescing [286] current_piece#76 ← current_piece#16 +Coalesced [287] play_collision::orientation#5 ← play_collision::orientation#0 +Coalesced [288] play_collision::ypos#5 ← play_collision::ypos#0 +Coalesced [289] play_collision::xpos#14 ← play_collision::xpos#0 +Coalesced [304] current_ypos#88 ← current_ypos#18 +Coalesced [305] score_bcd#75 ← score_bcd#12 +Coalesced [307] current_piece_gfx#107 ← current_piece_gfx#16 +Coalesced [308] current_xpos#119 ← current_xpos#23 +Coalesced [309] current_piece_char#92 ← current_piece_char#12 +Coalesced (already) [311] current_ypos#91 ← current_ypos#29 +Coalesced [312] score_bcd#78 ← score_bcd#20 +Coalesced [313] current_piece#83 ← current_piece#20 +Coalesced [314] current_orientation#84 ← current_orientation#29 +Coalesced (already) [315] current_piece_gfx#110 ← current_piece_gfx#26 +Coalesced (already) [316] current_xpos#122 ← current_xpos#33 +Coalesced (already) [317] current_piece_char#95 ← current_piece_char#20 +Coalesced [321] current_ypos#89 ← current_ypos#0 +Coalesced (already) [322] score_bcd#76 ← score_bcd#14 +Coalesced (already) [323] current_piece#81 ← current_piece#16 +Coalesced (already) [324] current_orientation#82 ← current_orientation#10 +Coalesced (already) [325] current_piece_gfx#108 ← current_piece_gfx#20 +Coalesced (already) [326] current_xpos#120 ← current_xpos#10 +Coalesced (already) [327] current_piece_char#93 ← current_piece_char#15 +Coalesced [328] current_movedown_counter#51 ← current_movedown_counter#1 +Coalesced (already) [329] current_ypos#90 ← current_ypos#21 +Coalesced (already) [330] score_bcd#77 ← score_bcd#14 +Coalesced (already) [331] current_piece#82 ← current_piece#16 +Coalesced (already) [332] current_orientation#83 ← current_orientation#10 +Coalesced (already) [333] current_piece_gfx#109 ← current_piece_gfx#20 +Coalesced (already) [334] current_xpos#121 ← current_xpos#10 +Coalesced (already) [335] current_piece_char#94 ← current_piece_char#15 +Coalesced [336] play_move_down::movedown#17 ← play_move_down::movedown#7 +Coalesced [337] play_move_down::movedown#15 ← play_move_down::movedown#10 +Coalesced (already) [338] play_move_down::movedown#14 ← play_move_down::movedown#10 +Coalesced [353] play_spawn_current::piece_idx#4 ← play_spawn_current::piece_idx#1 +Coalesced [362] score_bcd#80 ← score_bcd#3 +Coalesced (already) [365] score_bcd#79 ← score_bcd#14 +Coalesced [368] play_remove_lines::r#10 ← play_remove_lines::r#3 +Coalesced [369] play_remove_lines::w#14 ← play_remove_lines::w#12 +Coalesced [383] play_remove_lines::w#16 ← play_remove_lines::w#2 +Coalesced [384] play_remove_lines::removed#13 ← play_remove_lines::removed#1 +Coalesced [388] play_remove_lines::w#18 ← play_remove_lines::w#11 +Coalesced [394] play_remove_lines::w#19 ← play_remove_lines::w#3 +Coalesced [395] play_remove_lines::r#9 ← play_remove_lines::r#1 +Coalesced [396] play_remove_lines::w#13 ← play_remove_lines::w#11 +Coalesced [397] play_remove_lines::y#9 ← play_remove_lines::y#1 +Coalesced [398] play_remove_lines::removed#12 ← play_remove_lines::removed#7 +Coalesced [399] play_remove_lines::w#17 ← play_remove_lines::w#1 +Coalesced (already) [400] play_remove_lines::removed#14 ← play_remove_lines::removed#11 +Coalesced (already) [401] play_remove_lines::r#11 ← play_remove_lines::r#1 +Coalesced (already) [402] play_remove_lines::w#15 ← play_remove_lines::w#1 +Coalesced [403] play_remove_lines::x#5 ← play_remove_lines::x#1 +Coalesced [404] play_remove_lines::full#5 ← play_remove_lines::full#2 +Coalesced (already) [405] play_remove_lines::full#6 ← play_remove_lines::full#4 +Coalesced [407] play_lock_current::ypos2#7 ← play_lock_current::ypos2#0 +Coalesced [411] play_lock_current::i#8 ← play_lock_current::i#3 +Coalesced [412] play_lock_current::col#5 ← play_lock_current::col#0 +Coalesced [424] play_lock_current::ypos2#8 ← play_lock_current::ypos2#1 +Not coalescing [425] play_lock_current::i#7 ← play_lock_current::i#1 +Coalesced [426] play_lock_current::l#7 ← play_lock_current::l#1 +Not coalescing [427] play_lock_current::i#9 ← play_lock_current::i#1 +Coalesced [428] play_lock_current::col#6 ← play_lock_current::col#1 +Coalesced [429] play_lock_current::c#5 ← play_lock_current::c#1 +Coalesced [439] keyboard_event_get::return#6 ← keyboard_event_get::return#1 +Coalesced [440] keyboard_events_size#83 ← keyboard_events_size#4 +Coalesced [443] keyboard_events_size#82 ← keyboard_events_size#13 +Coalesced [444] keyboard_events_size#84 ← keyboard_events_size#19 +Coalesced [452] keyboard_event_scan::keycode#17 ← keyboard_event_scan::keycode#1 +Coalesced (already) [453] keyboard_events_size#86 ← keyboard_events_size#29 +Coalesced [469] keyboard_modifiers#61 ← keyboard_modifiers#3 +Coalesced [476] keyboard_modifiers#63 ← keyboard_modifiers#4 +Coalesced [484] keyboard_modifiers#64 ← keyboard_modifiers#12 +Coalesced [485] keyboard_modifiers#62 ← keyboard_modifiers#11 +Coalesced [486] keyboard_event_scan::row#15 ← keyboard_event_scan::row#1 +Coalesced [487] keyboard_event_scan::keycode#16 ← keyboard_event_scan::keycode#14 +Coalesced (already) [488] keyboard_events_size#85 ← keyboard_events_size#13 +Coalesced [489] keyboard_event_scan::keycode#19 ← keyboard_event_scan::keycode#11 +Coalesced [490] keyboard_events_size#88 ← keyboard_events_size#29 +Coalesced [500] keyboard_events_size#90 ← keyboard_events_size#2 +Coalesced [506] keyboard_event_scan::keycode#18 ← keyboard_event_scan::keycode#15 +Coalesced [507] keyboard_events_size#87 ← keyboard_events_size#30 +Coalesced [508] keyboard_event_scan::col#9 ← keyboard_event_scan::col#1 +Coalesced (already) [509] keyboard_event_scan::keycode#20 ← keyboard_event_scan::keycode#15 +Coalesced (already) [510] keyboard_events_size#89 ← keyboard_events_size#30 +Coalesced [514] keyboard_events_size#93 ← keyboard_events_size#1 +Coalesced (already) [515] keyboard_events_size#92 ← keyboard_events_size#10 +Coalesced (already) [516] keyboard_events_size#91 ← keyboard_events_size#10 +Coalesced [538] play_init::j#3 ← play_init::j#1 +Coalesced [539] play_init::pli#3 ← play_init::pli#1 +Coalesced [540] play_init::idx#3 ← play_init::idx#1 +Coalesced [565] sprites_init::s#3 ← sprites_init::s#1 +Coalesced [566] sprites_init::xpos#3 ← sprites_init::xpos#1 +Coalesced [590] render_init::i#3 ← render_init::i#1 +Coalesced [591] render_init::li_1#3 ← render_init::li_1#1 +Coalesced [592] render_init::li_2#3 ← render_init::li_2#1 +Coalesced [594] render_screen_original::screen#11 ← render_screen_original::screen#9 +Coalesced [596] render_screen_original::screen#13 ← render_screen_original::screen#8 +Coalesced [597] render_screen_original::cols#10 ← render_screen_original::cols#7 +Coalesced [605] render_screen_original::oscr#8 ← render_screen_original::oscr#4 +Coalesced [606] render_screen_original::screen#15 ← render_screen_original::screen#2 +Coalesced [607] render_screen_original::ocols#8 ← render_screen_original::ocols#4 +Coalesced [608] render_screen_original::cols#12 ← render_screen_original::cols#1 +Coalesced [609] render_screen_original::x#8 ← render_screen_original::x#1 +Coalesced [619] render_screen_original::screen#17 ← render_screen_original::screen#3 +Coalesced [620] render_screen_original::cols#14 ← render_screen_original::cols#2 +Coalesced [621] render_screen_original::x#10 ← render_screen_original::x#2 +Coalesced [632] render_screen_original::screen#12 ← render_screen_original::screen#10 +Coalesced [633] render_screen_original::cols#9 ← render_screen_original::cols#3 +Coalesced [634] render_screen_original::oscr#7 ← render_screen_original::oscr#1 +Coalesced [635] render_screen_original::ocols#7 ← render_screen_original::ocols#1 +Coalesced [636] render_screen_original::y#7 ← render_screen_original::y#1 +Coalesced [637] render_screen_original::screen#18 ← render_screen_original::screen#10 +Coalesced [638] render_screen_original::cols#15 ← render_screen_original::cols#3 +Coalesced [639] render_screen_original::x#11 ← render_screen_original::x#3 +Coalesced (already) [640] render_screen_original::oscr#9 ← render_screen_original::oscr#1 +Coalesced [641] render_screen_original::screen#16 ← render_screen_original::screen#3 +Coalesced (already) [642] render_screen_original::ocols#9 ← render_screen_original::ocols#1 +Coalesced [643] render_screen_original::cols#13 ← render_screen_original::cols#2 +Coalesced [644] render_screen_original::x#9 ← render_screen_original::x#2 +Coalesced (already) [645] render_screen_original::screen#14 ← render_screen_original::screen#2 +Coalesced (already) [646] render_screen_original::cols#11 ← render_screen_original::cols#1 +Coalesced [647] render_screen_original::x#7 ← render_screen_original::x#1 +Coalesced [671] irq_raster_next#24 ← irq_raster_next#2 +Coalesced [677] sprites_irq::raster_next#4 ← sprites_irq::raster_next#1 +Coalesced [682] sprites_irq::raster_next#5 ← sprites_irq::raster_next#0 +Coalesced [688] irq_raster_next#25 ← irq_raster_next#1 +Coalesced down to 80 phi equivalence classes +Culled Empty Block (label) main::@33 +Culled Empty Block (label) render_score::@7 Culled Empty Block (label) render_current::@14 Culled Empty Block (label) render_current::@15 Culled Empty Block (label) render_current::@16 @@ -7185,7 +7367,7 @@ Culled Empty Block (label) render_screen_original::@10 Culled Empty Block (label) sprites_irq::@14 Adding NOP phi() at start of @begin Adding NOP phi() at start of toSpritePtr1 -Adding NOP phi() at start of @33 +Adding NOP phi() at start of @34 Adding NOP phi() at start of @end Adding NOP phi() at start of main Adding NOP phi() at start of main::@16 @@ -7197,6 +7379,8 @@ Adding NOP phi() at start of main::@6 Adding NOP phi() at start of main::@23 Adding NOP phi() at start of main::@24 Adding NOP phi() at start of main::@30 +Adding NOP phi() at start of main::@31 +Adding NOP phi() at start of render_score::@4 Adding NOP phi() at start of play_move_down::@8 Adding NOP phi() at start of play_move_down::@13 Adding NOP phi() at start of play_move_down::@19 @@ -7236,8 +7420,8 @@ FINAL CONTROL FLOW GRAPH }} kickasm(location (const byte*) PLAYFIELD_COLORS_ORIGINAL#0) {{ .import binary "playfield-screen.col" }} - to:@20 -@20: scope:[] from @14 + to:@21 +@21: scope:[] from @14 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { @@ -7250,25 +7434,25 @@ FINAL CONTROL FLOW GRAPH } } }} - to:@21 -@21: scope:[] from @20 + to:@22 +@22: scope:[] from @21 [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 to:toSpritePtr1 -toSpritePtr1: scope:[] from @21 +toSpritePtr1: scope:[] from @22 [8] phi() - to:@34 -@34: scope:[] from toSpritePtr1 + to:@35 +@35: scope:[] from toSpritePtr1 [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 - to:@33 -@33: scope:[] from @34 + to:@34 +@34: scope:[] from @35 [11] phi() [12] call main to:@end -@end: scope:[] from @33 +@end: scope:[] from @34 [13] phi() -main: scope:[main] from @33 +main: scope:[main] from @34 [14] phi() [15] call sid_rnd_init to:main::@15 @@ -7297,25 +7481,25 @@ main::@20: scope:[main] from main::@19 [27] call render_playfield to:main::@21 main::@21: scope:[main] from main::@20 - [28] (byte~) current_ypos#85 ← (byte) current_ypos#18 - [29] (byte~) current_xpos#111 ← (byte) current_xpos#23 - [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 - [31] (byte~) current_piece_char#89 ← (byte) current_piece_char#12 + [28] (byte~) current_ypos#86 ← (byte) current_ypos#18 + [29] (byte~) current_xpos#112 ← (byte) current_xpos#23 + [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 + [31] (byte~) current_piece_char#90 ← (byte) current_piece_char#12 [32] call render_current - [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) to:main::@1 -main::@1: scope:[main] from main::@21 main::@28 main::@30 - [34] (dword) score_bcd#13 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(dword) score_bcd#2 main::@28/(dword) score_bcd#2 ) - [34] (byte) current_movedown_counter#12 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) current_movedown_counter#10 main::@28/(byte) current_movedown_counter#10 ) - [34] (byte) keyboard_events_size#19 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) keyboard_events_size#16 main::@28/(byte) keyboard_events_size#16 ) - [34] (byte) current_piece_char#15 ← phi( main::@21/(byte) current_piece_char#12 main::@30/(byte) current_piece_char#1 main::@28/(byte) current_piece_char#1 ) - [34] (byte) current_ypos#21 ← phi( main::@21/(byte) current_ypos#18 main::@30/(byte) current_ypos#13 main::@28/(byte) current_ypos#13 ) - [34] (byte) current_xpos#10 ← phi( main::@21/(byte) current_xpos#23 main::@30/(byte) current_xpos#19 main::@28/(byte) current_xpos#19 ) - [34] (byte*) current_piece_gfx#20 ← phi( main::@21/(byte*) current_piece_gfx#16 main::@30/(byte*) current_piece_gfx#14 main::@28/(byte*) current_piece_gfx#14 ) - [34] (byte) current_orientation#10 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) current_orientation#19 main::@28/(byte) current_orientation#19 ) - [34] (byte*) current_piece#16 ← phi( main::@21/(byte*~) current_piece#72 main::@30/(byte*) current_piece#10 main::@28/(byte*) current_piece#10 ) - [34] (byte) render_screen_render#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@30/(byte) render_screen_render#11 ) - [34] (byte) render_screen_show#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@30/(byte) render_screen_show#13 ) +main::@1: scope:[main] from main::@21 main::@28 main::@31 + [34] (dword) score_bcd#14 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(dword) score_bcd#10 main::@28/(dword) score_bcd#10 ) + [34] (byte) current_movedown_counter#12 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) current_movedown_counter#10 main::@28/(byte) current_movedown_counter#10 ) + [34] (byte) keyboard_events_size#19 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) keyboard_events_size#16 main::@28/(byte) keyboard_events_size#16 ) + [34] (byte) current_piece_char#15 ← phi( main::@21/(byte) current_piece_char#12 main::@31/(byte) current_piece_char#1 main::@28/(byte) current_piece_char#1 ) + [34] (byte) current_ypos#21 ← phi( main::@21/(byte) current_ypos#18 main::@31/(byte) current_ypos#13 main::@28/(byte) current_ypos#13 ) + [34] (byte) current_xpos#10 ← phi( main::@21/(byte) current_xpos#23 main::@31/(byte) current_xpos#19 main::@28/(byte) current_xpos#19 ) + [34] (byte*) current_piece_gfx#20 ← phi( main::@21/(byte*) current_piece_gfx#16 main::@31/(byte*) current_piece_gfx#14 main::@28/(byte*) current_piece_gfx#14 ) + [34] (byte) current_orientation#10 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) current_orientation#19 main::@28/(byte) current_orientation#19 ) + [34] (byte*) current_piece#16 ← phi( main::@21/(byte*~) current_piece#73 main::@31/(byte*) current_piece#10 main::@28/(byte*) current_piece#10 ) + [34] (byte) render_screen_render#17 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@31/(byte) render_screen_render#11 ) + [34] (byte) render_screen_show#16 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@31/(byte) render_screen_show#13 ) to:main::@4 main::@4: scope:[main] from main::@1 main::@4 [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 @@ -7359,845 +7543,876 @@ main::@28: scope:[main] from main::@27 [59] if((byte) main::render#3==(byte/signed byte/word/signed word/dword/signed dword) 0) goto main::@1 to:main::@13 main::@13: scope:[main] from main::@28 - [60] (byte~) render_screen_render#63 ← (byte) render_screen_render#16 + [60] (byte~) render_screen_render#65 ← (byte) render_screen_render#17 [61] call render_playfield to:main::@29 main::@29: scope:[main] from main::@13 - [62] (byte~) current_ypos#86 ← (byte) current_ypos#13 - [63] (byte~) render_screen_render#62 ← (byte) render_screen_render#16 - [64] (byte~) current_xpos#112 ← (byte) current_xpos#19 - [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 - [66] (byte~) current_piece_char#90 ← (byte) current_piece_char#1 + [62] (byte~) current_ypos#87 ← (byte) current_ypos#13 + [63] (byte~) render_screen_render#64 ← (byte) render_screen_render#17 + [64] (byte~) current_xpos#113 ← (byte) current_xpos#19 + [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 + [66] (byte~) current_piece_char#91 ← (byte) current_piece_char#1 [67] call render_current to:main::@30 main::@30: scope:[main] from main::@29 [68] phi() - [69] call render_screen_swap + [69] call render_score + to:main::@31 +main::@31: scope:[main] from main::@30 + [70] phi() + [71] call render_screen_swap to:main::@1 -render_screen_swap: scope:[render_screen_swap] from main::@30 - [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 - [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 +render_screen_swap: scope:[render_screen_swap] from main::@31 + [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 + [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 to:render_screen_swap::@return render_screen_swap::@return: scope:[render_screen_swap] from render_screen_swap - [72] return + [74] return + to:@return +render_score: scope:[render_score] from main::@30 + [75] if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@2 + to:render_score::@4 +render_score::@4: scope:[render_score] from render_score + [76] phi() + to:render_score::@2 +render_score::@2: scope:[render_score] from render_score render_score::@4 + [77] (byte*) render_score::screen_score_pos#5 ← phi( render_score/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 render_score::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 ) + to:render_score::@3 +render_score::@3: scope:[render_score] from render_score::@2 render_score::@3 + [78] (byte*) render_score::screen_score_pos#4 ← phi( render_score::@2/(byte*) render_score::screen_score_pos#5 render_score::@3/(byte*) render_score::screen_score_pos#3 ) + [78] (byte) render_score::b#2 ← phi( render_score::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_score::@3/(byte) render_score::b#1 ) + [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) + [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 + [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 + [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 + [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 + [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 + [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 + [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 + [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 + [88] (byte) render_score::b#1 ← ++ (byte) render_score::b#2 + [89] if((byte) render_score::b#1!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto render_score::@3 + to:render_score::@return +render_score::@return: scope:[render_score] from render_score::@3 + [90] return to:@return render_current: scope:[render_current] from main::@21 main::@29 - [73] (byte) current_piece_char#64 ← phi( main::@21/(byte~) current_piece_char#89 main::@29/(byte~) current_piece_char#90 ) - [73] (byte*) current_piece_gfx#53 ← phi( main::@21/(byte*~) current_piece_gfx#101 main::@29/(byte*~) current_piece_gfx#102 ) - [73] (byte) current_xpos#47 ← phi( main::@21/(byte~) current_xpos#111 main::@29/(byte~) current_xpos#112 ) - [73] (byte) render_screen_render#28 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@29/(byte~) render_screen_render#62 ) - [73] (byte) current_ypos#9 ← phi( main::@21/(byte~) current_ypos#85 main::@29/(byte~) current_ypos#86 ) - [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [91] (byte) current_piece_char#64 ← phi( main::@21/(byte~) current_piece_char#90 main::@29/(byte~) current_piece_char#91 ) + [91] (byte*) current_piece_gfx#53 ← phi( main::@21/(byte*~) current_piece_gfx#102 main::@29/(byte*~) current_piece_gfx#103 ) + [91] (byte) current_xpos#47 ← phi( main::@21/(byte~) current_xpos#112 main::@29/(byte~) current_xpos#113 ) + [91] (byte) render_screen_render#30 ← phi( main::@21/(byte/signed byte/word/signed word/dword/signed dword) 64 main::@29/(byte~) render_screen_render#64 ) + [91] (byte) current_ypos#9 ← phi( main::@21/(byte~) current_ypos#86 main::@29/(byte~) current_ypos#87 ) + [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 to:render_current::@1 render_current::@1: scope:[render_current] from render_current render_current::@3 - [75] (byte) render_current::l#4 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::l#1 ) - [75] (byte) render_current::i#3 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::i#8 ) - [75] (byte) render_current::ypos2#2 ← phi( render_current/(byte) render_current::ypos2#0 render_current::@3/(byte) render_current::ypos2#1 ) - [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 + [93] (byte) render_current::l#4 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::l#1 ) + [93] (byte) render_current::i#3 ← phi( render_current/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@3/(byte) render_current::i#8 ) + [93] (byte) render_current::ypos2#2 ← phi( render_current/(byte) render_current::ypos2#0 render_current::@3/(byte) render_current::ypos2#1 ) + [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 to:render_current::@7 render_current::@7: scope:[render_current] from render_current::@1 render_current::@13 - [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 + [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 to:render_current::@3 render_current::@3: scope:[render_current] from render_current::@5 render_current::@7 - [78] (byte) render_current::i#8 ← phi( render_current::@5/(byte) render_current::i#10 render_current::@7/(byte) render_current::i#1 ) - [79] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [80] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 - [81] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 + [96] (byte) render_current::i#8 ← phi( render_current::@5/(byte) render_current::i#10 render_current::@7/(byte) render_current::i#1 ) + [97] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [98] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 + [99] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 to:render_current::@return render_current::@return: scope:[render_current] from render_current::@3 - [82] return + [100] return to:@return render_current::@13: scope:[render_current] from render_current::@1 - [83] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 + [101] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 to:render_current::@7 render_current::@2: scope:[render_current] from render_current::@13 - [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 - [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) - [86] (byte) render_current::xpos#0 ← (byte) current_xpos#47 + [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 + [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) + [104] (byte) render_current::xpos#0 ← (byte) current_xpos#47 to:render_current::@4 render_current::@4: scope:[render_current] from render_current::@2 render_current::@5 - [87] (byte) render_current::c#2 ← phi( render_current::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@5/(byte) render_current::c#1 ) - [87] (byte) render_current::xpos#2 ← phi( render_current::@2/(byte) render_current::xpos#0 render_current::@5/(byte) render_current::xpos#1 ) - [87] (byte) render_current::i#4 ← phi( render_current::@2/(byte) render_current::i#3 render_current::@5/(byte) render_current::i#10 ) - [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) - [89] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 - [90] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 + [105] (byte) render_current::c#2 ← phi( render_current::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 render_current::@5/(byte) render_current::c#1 ) + [105] (byte) render_current::xpos#2 ← phi( render_current::@2/(byte) render_current::xpos#0 render_current::@5/(byte) render_current::xpos#1 ) + [105] (byte) render_current::i#4 ← phi( render_current::@2/(byte) render_current::i#3 render_current::@5/(byte) render_current::i#10 ) + [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) + [107] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 + [108] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 to:render_current::@9 render_current::@9: scope:[render_current] from render_current::@4 - [91] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 + [109] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 to:render_current::@10 render_current::@10: scope:[render_current] from render_current::@9 - [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 + [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 to:render_current::@5 render_current::@5: scope:[render_current] from render_current::@10 render_current::@4 render_current::@9 - [93] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 - [94] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 - [95] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 + [111] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 + [112] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 + [113] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 to:render_current::@3 render_playfield: scope:[render_playfield] from main::@13 main::@20 - [96] (byte) render_screen_render#19 ← phi( main::@13/(byte~) render_screen_render#63 main::@20/(byte/signed byte/word/signed word/dword/signed dword) 64 ) + [114] (byte) render_screen_render#21 ← phi( main::@13/(byte~) render_screen_render#65 main::@20/(byte/signed byte/word/signed word/dword/signed dword) 64 ) to:render_playfield::@1 render_playfield::@1: scope:[render_playfield] from render_playfield render_playfield::@3 - [97] (byte) render_playfield::i#3 ← phi( render_playfield/(const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::i#1 ) - [97] (byte) render_playfield::l#2 ← phi( render_playfield/(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::l#1 ) - [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 - [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) + [115] (byte) render_playfield::i#3 ← phi( render_playfield/(const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::i#1 ) + [115] (byte) render_playfield::l#2 ← phi( render_playfield/(byte/signed byte/word/signed word/dword/signed dword) 2 render_playfield::@3/(byte) render_playfield::l#1 ) + [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 + [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) to:render_playfield::@2 render_playfield::@2: scope:[render_playfield] from render_playfield::@1 render_playfield::@2 - [101] (byte) render_playfield::c#2 ← phi( render_playfield::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_playfield::@2/(byte) render_playfield::c#1 ) - [101] (byte*) render_playfield::screen_line#2 ← phi( render_playfield::@1/(byte*) render_playfield::screen_line#0 render_playfield::@2/(byte*) render_playfield::screen_line#1 ) - [101] (byte) render_playfield::i#2 ← phi( render_playfield::@1/(byte) render_playfield::i#3 render_playfield::@2/(byte) render_playfield::i#1 ) - [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) - [103] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 - [104] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 - [105] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 - [106] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 + [119] (byte) render_playfield::c#2 ← phi( render_playfield::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_playfield::@2/(byte) render_playfield::c#1 ) + [119] (byte*) render_playfield::screen_line#2 ← phi( render_playfield::@1/(byte*) render_playfield::screen_line#0 render_playfield::@2/(byte*) render_playfield::screen_line#1 ) + [119] (byte) render_playfield::i#2 ← phi( render_playfield::@1/(byte) render_playfield::i#3 render_playfield::@2/(byte) render_playfield::i#1 ) + [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) + [121] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 + [122] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 + [123] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 + [124] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 to:render_playfield::@3 render_playfield::@3: scope:[render_playfield] from render_playfield::@2 - [107] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 - [108] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 + [125] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 + [126] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 to:render_playfield::@return render_playfield::@return: scope:[render_playfield] from render_playfield::@3 - [109] return + [127] return to:@return play_move_rotate: scope:[play_move_rotate] from main::@27 - [110] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 + [128] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 to:play_move_rotate::@6 play_move_rotate::@6: scope:[play_move_rotate] from play_move_rotate - [111] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 + [129] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 to:play_move_rotate::@return play_move_rotate::@return: scope:[play_move_rotate] from play_move_rotate::@11 play_move_rotate::@14 play_move_rotate::@6 - [112] (byte*) current_piece_gfx#14 ← phi( play_move_rotate::@11/(byte*) current_piece_gfx#3 play_move_rotate::@14/(byte*) current_piece_gfx#1 play_move_rotate::@6/(byte*) current_piece_gfx#1 ) - [112] (byte) current_orientation#19 ← phi( play_move_rotate::@11/(byte) current_orientation#4 play_move_rotate::@14/(byte) current_orientation#14 play_move_rotate::@6/(byte) current_orientation#14 ) - [112] (byte) play_move_rotate::return#1 ← phi( play_move_rotate::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_rotate::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_rotate::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [113] return + [130] (byte*) current_piece_gfx#14 ← phi( play_move_rotate::@11/(byte*) current_piece_gfx#3 play_move_rotate::@14/(byte*) current_piece_gfx#1 play_move_rotate::@6/(byte*) current_piece_gfx#1 ) + [130] (byte) current_orientation#19 ← phi( play_move_rotate::@11/(byte) current_orientation#4 play_move_rotate::@14/(byte) current_orientation#14 play_move_rotate::@6/(byte) current_orientation#14 ) + [130] (byte) play_move_rotate::return#1 ← phi( play_move_rotate::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_rotate::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_rotate::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [131] return to:@return play_move_rotate::@2: scope:[play_move_rotate] from play_move_rotate::@6 - [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 - [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 + [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 + [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 to:play_move_rotate::@4 play_move_rotate::@4: scope:[play_move_rotate] from play_move_rotate::@1 play_move_rotate::@2 - [116] (byte) play_move_rotate::orientation#3 ← phi( play_move_rotate::@1/(byte) play_move_rotate::orientation#1 play_move_rotate::@2/(byte) play_move_rotate::orientation#2 ) - [117] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 - [118] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 - [119] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 - [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 - [121] call play_collision - [122] (byte) play_collision::return#13 ← (byte) play_collision::return#14 + [134] (byte) play_move_rotate::orientation#3 ← phi( play_move_rotate::@1/(byte) play_move_rotate::orientation#1 play_move_rotate::@2/(byte) play_move_rotate::orientation#2 ) + [135] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 + [136] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 + [137] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 + [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 + [139] call play_collision + [140] (byte) play_collision::return#13 ← (byte) play_collision::return#14 to:play_move_rotate::@14 play_move_rotate::@14: scope:[play_move_rotate] from play_move_rotate::@4 - [123] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 - [124] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return + [141] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 + [142] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return to:play_move_rotate::@11 play_move_rotate::@11: scope:[play_move_rotate] from play_move_rotate::@14 - [125] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 - [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 + [143] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 + [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 to:play_move_rotate::@return play_move_rotate::@1: scope:[play_move_rotate] from play_move_rotate - [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 - [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 + [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 + [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 to:play_move_rotate::@4 play_collision: scope:[play_collision] from play_move_down::@12 play_move_leftright::@1 play_move_leftright::@7 play_move_rotate::@4 - [129] (byte) play_collision::xpos#5 ← phi( play_move_down::@12/(byte) play_collision::xpos#0 play_move_leftright::@1/(byte) play_collision::xpos#1 play_move_leftright::@7/(byte) play_collision::xpos#2 play_move_rotate::@4/(byte) play_collision::xpos#3 ) - [129] (byte) play_collision::ypos#4 ← phi( play_move_down::@12/(byte) play_collision::ypos#0 play_move_leftright::@1/(byte) play_collision::ypos#1 play_move_leftright::@7/(byte) play_collision::ypos#2 play_move_rotate::@4/(byte) play_collision::ypos#3 ) - [129] (byte) play_collision::orientation#4 ← phi( play_move_down::@12/(byte) play_collision::orientation#0 play_move_leftright::@1/(byte) play_collision::orientation#1 play_move_leftright::@7/(byte) play_collision::orientation#2 play_move_rotate::@4/(byte) play_collision::orientation#3 ) - [129] (byte*) current_piece#12 ← phi( play_move_down::@12/(byte*~) current_piece#75 play_move_leftright::@1/(byte*~) current_piece#76 play_move_leftright::@7/(byte*~) current_piece#77 play_move_rotate::@4/(byte*~) current_piece#78 ) - [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 - [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [147] (byte) play_collision::xpos#5 ← phi( play_move_down::@12/(byte) play_collision::xpos#0 play_move_leftright::@1/(byte) play_collision::xpos#1 play_move_leftright::@7/(byte) play_collision::xpos#2 play_move_rotate::@4/(byte) play_collision::xpos#3 ) + [147] (byte) play_collision::ypos#4 ← phi( play_move_down::@12/(byte) play_collision::ypos#0 play_move_leftright::@1/(byte) play_collision::ypos#1 play_move_leftright::@7/(byte) play_collision::ypos#2 play_move_rotate::@4/(byte) play_collision::ypos#3 ) + [147] (byte) play_collision::orientation#4 ← phi( play_move_down::@12/(byte) play_collision::orientation#0 play_move_leftright::@1/(byte) play_collision::orientation#1 play_move_leftright::@7/(byte) play_collision::orientation#2 play_move_rotate::@4/(byte) play_collision::orientation#3 ) + [147] (byte*) current_piece#12 ← phi( play_move_down::@12/(byte*~) current_piece#76 play_move_leftright::@1/(byte*~) current_piece#77 play_move_leftright::@7/(byte*~) current_piece#78 play_move_rotate::@4/(byte*~) current_piece#79 ) + [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 + [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 to:play_collision::@1 play_collision::@1: scope:[play_collision] from play_collision play_collision::@20 - [132] (byte) play_collision::l#6 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte) play_collision::l#1 ) - [132] (byte) play_collision::i#3 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte~) play_collision::i#11 ) - [132] (byte) play_collision::ypos2#2 ← phi( play_collision/(byte) play_collision::ypos2#0 play_collision::@20/(byte) play_collision::ypos2#1 ) - [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) - [134] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 + [150] (byte) play_collision::l#6 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte) play_collision::l#1 ) + [150] (byte) play_collision::i#3 ← phi( play_collision/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@20/(byte~) play_collision::i#11 ) + [150] (byte) play_collision::ypos2#2 ← phi( play_collision/(byte) play_collision::ypos2#0 play_collision::@20/(byte) play_collision::ypos2#1 ) + [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) + [152] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 to:play_collision::@2 play_collision::@2: scope:[play_collision] from play_collision::@1 play_collision::@21 - [135] (byte) play_collision::c#2 ← phi( play_collision::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@21/(byte) play_collision::c#1 ) - [135] (byte) play_collision::col#2 ← phi( play_collision::@1/(byte~) play_collision::col#9 play_collision::@21/(byte) play_collision::col#1 ) - [135] (byte) play_collision::i#2 ← phi( play_collision::@1/(byte) play_collision::i#3 play_collision::@21/(byte~) play_collision::i#13 ) - [136] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 - [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 + [153] (byte) play_collision::c#2 ← phi( play_collision::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_collision::@21/(byte) play_collision::c#1 ) + [153] (byte) play_collision::col#2 ← phi( play_collision::@1/(byte~) play_collision::col#9 play_collision::@21/(byte) play_collision::col#1 ) + [153] (byte) play_collision::i#2 ← phi( play_collision::@1/(byte) play_collision::i#3 play_collision::@21/(byte~) play_collision::i#13 ) + [154] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 + [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 to:play_collision::@8 play_collision::@8: scope:[play_collision] from play_collision::@2 - [138] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 + [156] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 to:play_collision::@return play_collision::@return: scope:[play_collision] from play_collision::@17 play_collision::@4 play_collision::@5 play_collision::@6 play_collision::@8 - [139] (byte) play_collision::return#14 ← phi( play_collision::@4/(const byte) COLLISION_LEFT#0 play_collision::@5/(const byte) COLLISION_RIGHT#0 play_collision::@6/(const byte) COLLISION_PLAYFIELD#0 play_collision::@17/(const byte) COLLISION_NONE#0 play_collision::@8/(const byte) COLLISION_BOTTOM#0 ) - [140] return + [157] (byte) play_collision::return#14 ← phi( play_collision::@4/(const byte) COLLISION_LEFT#0 play_collision::@5/(const byte) COLLISION_RIGHT#0 play_collision::@6/(const byte) COLLISION_PLAYFIELD#0 play_collision::@17/(const byte) COLLISION_NONE#0 play_collision::@8/(const byte) COLLISION_BOTTOM#0 ) + [158] return to:@return play_collision::@4: scope:[play_collision] from play_collision::@8 - [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 - [142] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 + [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 + [160] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 to:play_collision::@return play_collision::@5: scope:[play_collision] from play_collision::@4 - [143] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 + [161] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 to:play_collision::@return play_collision::@6: scope:[play_collision] from play_collision::@5 - [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 + [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 to:play_collision::@return play_collision::@3: scope:[play_collision] from play_collision::@2 play_collision::@6 - [145] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 - [146] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 - [147] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 + [163] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 + [164] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 + [165] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 to:play_collision::@17 play_collision::@17: scope:[play_collision] from play_collision::@3 - [148] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [149] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 - [150] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 + [166] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [167] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 + [168] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 to:play_collision::@return play_collision::@20: scope:[play_collision] from play_collision::@17 - [151] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 + [169] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 to:play_collision::@1 play_collision::@21: scope:[play_collision] from play_collision::@3 - [152] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 + [170] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 to:play_collision::@2 play_move_leftright: scope:[play_move_leftright] from main::@26 - [153] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 + [171] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 to:play_move_leftright::@6 play_move_leftright::@6: scope:[play_move_leftright] from play_move_leftright - [154] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return + [172] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return to:play_move_leftright::@7 play_move_leftright::@7: scope:[play_move_leftright] from play_move_leftright::@6 - [155] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 - [156] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 - [157] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 - [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 - [159] call play_collision - [160] (byte) play_collision::return#12 ← (byte) play_collision::return#14 + [173] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 + [174] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 + [175] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 + [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 + [177] call play_collision + [178] (byte) play_collision::return#12 ← (byte) play_collision::return#14 to:play_move_leftright::@15 play_move_leftright::@15: scope:[play_move_leftright] from play_move_leftright::@7 - [161] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 - [162] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return + [179] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 + [180] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return to:play_move_leftright::@8 play_move_leftright::@8: scope:[play_move_leftright] from play_move_leftright::@15 - [163] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 + [181] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 to:play_move_leftright::@return play_move_leftright::@return: scope:[play_move_leftright] from play_move_leftright::@11 play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 play_move_leftright::@8 - [164] (byte) current_xpos#19 ← phi( play_move_leftright::@11/(byte) current_xpos#4 play_move_leftright::@15/(byte) current_xpos#1 play_move_leftright::@8/(byte) current_xpos#2 play_move_leftright::@14/(byte) current_xpos#1 play_move_leftright::@6/(byte) current_xpos#1 ) - [164] (byte) play_move_leftright::return#1 ← phi( play_move_leftright::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@15/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [165] return + [182] (byte) current_xpos#19 ← phi( play_move_leftright::@11/(byte) current_xpos#4 play_move_leftright::@15/(byte) current_xpos#1 play_move_leftright::@8/(byte) current_xpos#2 play_move_leftright::@14/(byte) current_xpos#1 play_move_leftright::@6/(byte) current_xpos#1 ) + [182] (byte) play_move_leftright::return#1 ← phi( play_move_leftright::@11/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@15/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 play_move_leftright::@14/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_leftright::@6/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [183] return to:@return play_move_leftright::@1: scope:[play_move_leftright] from play_move_leftright - [166] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 - [167] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 - [168] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 - [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 - [170] call play_collision - [171] (byte) play_collision::return#1 ← (byte) play_collision::return#14 + [184] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 + [185] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 + [186] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 + [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 + [188] call play_collision + [189] (byte) play_collision::return#1 ← (byte) play_collision::return#14 to:play_move_leftright::@14 play_move_leftright::@14: scope:[play_move_leftright] from play_move_leftright::@1 - [172] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 - [173] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return + [190] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 + [191] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return to:play_move_leftright::@11 play_move_leftright::@11: scope:[play_move_leftright] from play_move_leftright::@14 - [174] (byte) current_xpos#4 ← -- (byte) current_xpos#1 + [192] (byte) current_xpos#4 ← -- (byte) current_xpos#1 to:play_move_leftright::@return play_move_down: scope:[play_move_down] from main::@25 - [175] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 - [176] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 + [193] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 + [194] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 to:play_move_down::@8 play_move_down::@8: scope:[play_move_down] from play_move_down - [177] phi() + [195] phi() to:play_move_down::@1 play_move_down::@1: scope:[play_move_down] from play_move_down play_move_down::@8 - [178] (byte) play_move_down::movedown#10 ← phi( play_move_down/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 ) - [179] call keyboard_event_pressed - [180] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 + [196] (byte) play_move_down::movedown#10 ← phi( play_move_down/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@8/(byte/signed byte/word/signed word/dword/signed dword) 1 ) + [197] call keyboard_event_pressed + [198] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 to:play_move_down::@17 play_move_down::@17: scope:[play_move_down] from play_move_down::@1 - [181] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 - [182] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 + [199] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 + [200] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 to:play_move_down::@9 play_move_down::@9: scope:[play_move_down] from play_move_down::@17 - [183] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 + [201] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 to:play_move_down::@10 play_move_down::@10: scope:[play_move_down] from play_move_down::@9 - [184] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 + [202] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 to:play_move_down::@2 play_move_down::@2: scope:[play_move_down] from play_move_down::@10 play_move_down::@17 play_move_down::@9 - [185] (byte) play_move_down::movedown#7 ← phi( play_move_down::@10/(byte) play_move_down::movedown#2 play_move_down::@17/(byte) play_move_down::movedown#10 play_move_down::@9/(byte) play_move_down::movedown#10 ) - [186] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 + [203] (byte) play_move_down::movedown#7 ← phi( play_move_down::@10/(byte) play_move_down::movedown#2 play_move_down::@17/(byte) play_move_down::movedown#10 play_move_down::@9/(byte) play_move_down::movedown#10 ) + [204] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 to:play_move_down::@11 play_move_down::@11: scope:[play_move_down] from play_move_down::@2 - [187] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 + [205] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 to:play_move_down::@4 play_move_down::@4: scope:[play_move_down] from play_move_down::@11 play_move_down::@2 - [188] (byte) play_move_down::movedown#6 ← phi( play_move_down::@11/(byte) play_move_down::movedown#3 play_move_down::@2/(byte) play_move_down::movedown#7 ) - [189] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return + [206] (byte) play_move_down::movedown#6 ← phi( play_move_down::@11/(byte) play_move_down::movedown#3 play_move_down::@2/(byte) play_move_down::movedown#7 ) + [207] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return to:play_move_down::@12 play_move_down::@12: scope:[play_move_down] from play_move_down::@4 - [190] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 - [191] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 - [192] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 - [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 - [194] call play_collision - [195] (byte) play_collision::return#0 ← (byte) play_collision::return#14 + [208] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 + [209] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 + [210] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 + [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 + [212] call play_collision + [213] (byte) play_collision::return#0 ← (byte) play_collision::return#14 to:play_move_down::@18 play_move_down::@18: scope:[play_move_down] from play_move_down::@12 - [196] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 - [197] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 + [214] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 + [215] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 to:play_move_down::@13 play_move_down::@13: scope:[play_move_down] from play_move_down::@18 - [198] phi() - [199] call play_lock_current + [216] phi() + [217] call play_lock_current to:play_move_down::@19 play_move_down::@19: scope:[play_move_down] from play_move_down::@13 - [200] phi() - [201] call play_remove_lines - [202] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 + [218] phi() + [219] call play_remove_lines + [220] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 to:play_move_down::@20 play_move_down::@20: scope:[play_move_down] from play_move_down::@19 - [203] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 - [204] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 - [205] call play_update_score + [221] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 + [222] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 + [223] call play_update_score to:play_move_down::@21 play_move_down::@21: scope:[play_move_down] from play_move_down::@20 - [206] phi() - [207] call play_spawn_current - [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + [224] phi() + [225] call play_spawn_current + [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) to:play_move_down::@7 play_move_down::@7: scope:[play_move_down] from play_move_down::@21 play_move_down::@6 - [209] (byte) current_piece_char#20 ← phi( play_move_down::@21/(byte) current_piece_char#12 play_move_down::@6/(byte) current_piece_char#15 ) - [209] (byte) current_xpos#33 ← phi( play_move_down::@21/(byte) current_xpos#23 play_move_down::@6/(byte) current_xpos#10 ) - [209] (byte*) current_piece_gfx#26 ← phi( play_move_down::@21/(byte*) current_piece_gfx#16 play_move_down::@6/(byte*) current_piece_gfx#20 ) - [209] (byte) current_orientation#29 ← phi( play_move_down::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@6/(byte) current_orientation#10 ) - [209] (byte*) current_piece#20 ← phi( play_move_down::@21/(byte*~) current_piece#79 play_move_down::@6/(byte*) current_piece#16 ) - [209] (dword) score_bcd#17 ← phi( play_move_down::@21/(dword) score_bcd#11 play_move_down::@6/(dword) score_bcd#13 ) - [209] (byte) current_ypos#29 ← phi( play_move_down::@21/(byte) current_ypos#18 play_move_down::@6/(byte) current_ypos#0 ) + [227] (byte) current_piece_char#20 ← phi( play_move_down::@21/(byte) current_piece_char#12 play_move_down::@6/(byte) current_piece_char#15 ) + [227] (byte) current_xpos#33 ← phi( play_move_down::@21/(byte) current_xpos#23 play_move_down::@6/(byte) current_xpos#10 ) + [227] (byte*) current_piece_gfx#26 ← phi( play_move_down::@21/(byte*) current_piece_gfx#16 play_move_down::@6/(byte*) current_piece_gfx#20 ) + [227] (byte) current_orientation#29 ← phi( play_move_down::@21/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@6/(byte) current_orientation#10 ) + [227] (byte*) current_piece#20 ← phi( play_move_down::@21/(byte*~) current_piece#80 play_move_down::@6/(byte*) current_piece#16 ) + [227] (dword) score_bcd#20 ← phi( play_move_down::@21/(dword) score_bcd#12 play_move_down::@6/(dword) score_bcd#14 ) + [227] (byte) current_ypos#29 ← phi( play_move_down::@21/(byte) current_ypos#18 play_move_down::@6/(byte) current_ypos#0 ) to:play_move_down::@return play_move_down::@return: scope:[play_move_down] from play_move_down::@4 play_move_down::@7 - [210] (byte) current_piece_char#1 ← phi( play_move_down::@4/(byte) current_piece_char#15 play_move_down::@7/(byte) current_piece_char#20 ) - [210] (byte) current_xpos#1 ← phi( play_move_down::@4/(byte) current_xpos#10 play_move_down::@7/(byte) current_xpos#33 ) - [210] (byte*) current_piece_gfx#1 ← phi( play_move_down::@4/(byte*) current_piece_gfx#20 play_move_down::@7/(byte*) current_piece_gfx#26 ) - [210] (byte) current_orientation#14 ← phi( play_move_down::@4/(byte) current_orientation#10 play_move_down::@7/(byte) current_orientation#29 ) - [210] (byte*) current_piece#10 ← phi( play_move_down::@4/(byte*) current_piece#16 play_move_down::@7/(byte*) current_piece#20 ) - [210] (dword) score_bcd#2 ← phi( play_move_down::@4/(dword) score_bcd#13 play_move_down::@7/(dword) score_bcd#17 ) - [210] (byte) current_ypos#13 ← phi( play_move_down::@4/(byte) current_ypos#21 play_move_down::@7/(byte) current_ypos#29 ) - [210] (byte) current_movedown_counter#10 ← phi( play_move_down::@4/(byte) current_movedown_counter#1 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [210] (byte) play_move_down::return#2 ← phi( play_move_down::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 1 ) - [211] return + [228] (byte) current_piece_char#1 ← phi( play_move_down::@4/(byte) current_piece_char#15 play_move_down::@7/(byte) current_piece_char#20 ) + [228] (byte) current_xpos#1 ← phi( play_move_down::@4/(byte) current_xpos#10 play_move_down::@7/(byte) current_xpos#33 ) + [228] (byte*) current_piece_gfx#1 ← phi( play_move_down::@4/(byte*) current_piece_gfx#20 play_move_down::@7/(byte*) current_piece_gfx#26 ) + [228] (byte) current_orientation#14 ← phi( play_move_down::@4/(byte) current_orientation#10 play_move_down::@7/(byte) current_orientation#29 ) + [228] (byte*) current_piece#10 ← phi( play_move_down::@4/(byte*) current_piece#16 play_move_down::@7/(byte*) current_piece#20 ) + [228] (dword) score_bcd#10 ← phi( play_move_down::@4/(dword) score_bcd#14 play_move_down::@7/(dword) score_bcd#20 ) + [228] (byte) current_ypos#13 ← phi( play_move_down::@4/(byte) current_ypos#21 play_move_down::@7/(byte) current_ypos#29 ) + [228] (byte) current_movedown_counter#10 ← phi( play_move_down::@4/(byte) current_movedown_counter#1 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [228] (byte) play_move_down::return#2 ← phi( play_move_down::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 play_move_down::@7/(byte/signed byte/word/signed word/dword/signed dword) 1 ) + [229] return to:@return play_move_down::@6: scope:[play_move_down] from play_move_down::@18 - [212] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 + [230] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 to:play_move_down::@7 play_spawn_current: scope:[play_spawn_current] from main::@19 play_move_down::@21 - [213] phi() + [231] phi() to:play_spawn_current::@1 play_spawn_current::@1: scope:[play_spawn_current] from play_spawn_current play_spawn_current::@7 - [214] (byte) play_spawn_current::piece_idx#2 ← phi( play_spawn_current/(byte/signed byte/word/signed word/dword/signed dword) 7 play_spawn_current::@7/(byte) play_spawn_current::piece_idx#1 ) - [215] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 + [232] (byte) play_spawn_current::piece_idx#2 ← phi( play_spawn_current/(byte/signed byte/word/signed word/dword/signed dword) 7 play_spawn_current::@7/(byte) play_spawn_current::piece_idx#1 ) + [233] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 to:play_spawn_current::@3 play_spawn_current::@3: scope:[play_spawn_current] from play_spawn_current::@1 - [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 - [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) - [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) - [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) + [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 + [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) + [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) + [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) to:play_spawn_current::@return play_spawn_current::@return: scope:[play_spawn_current] from play_spawn_current::@3 - [221] return + [239] return to:@return play_spawn_current::@2: scope:[play_spawn_current] from play_spawn_current::@1 - [222] phi() - [223] call sid_rnd - [224] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 + [240] phi() + [241] call sid_rnd + [242] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 to:play_spawn_current::@7 play_spawn_current::@7: scope:[play_spawn_current] from play_spawn_current::@2 - [225] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 - [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [243] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 + [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 to:play_spawn_current::@1 sid_rnd: scope:[sid_rnd] from play_spawn_current::@2 - [227] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) + [245] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) to:sid_rnd::@return sid_rnd::@return: scope:[sid_rnd] from sid_rnd - [228] return + [246] return to:@return play_update_score: scope:[play_update_score] from play_move_down::@20 - [229] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return + [247] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return to:play_update_score::@2 play_update_score::@2: scope:[play_update_score] from play_update_score - [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 - [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) + [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 + [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) asm { sed } - [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 + [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 asm { cld } to:play_update_score::@return play_update_score::@return: scope:[play_update_score] from play_update_score play_update_score::@2 - [235] (dword) score_bcd#11 ← phi( play_update_score/(dword) score_bcd#13 play_update_score::@2/(dword) score_bcd#3 ) - [236] return + [253] (dword) score_bcd#12 ← phi( play_update_score/(dword) score_bcd#14 play_update_score::@2/(dword) score_bcd#3 ) + [254] return to:@return play_remove_lines: scope:[play_remove_lines] from play_move_down::@19 - [237] phi() + [255] phi() to:play_remove_lines::@1 play_remove_lines::@1: scope:[play_remove_lines] from play_remove_lines play_remove_lines::@4 - [238] (byte) play_remove_lines::removed#11 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::removed#7 ) - [238] (byte) play_remove_lines::y#8 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::y#1 ) - [238] (byte) play_remove_lines::w#12 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::w#11 ) - [238] (byte) play_remove_lines::r#3 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::r#1 ) + [256] (byte) play_remove_lines::removed#11 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::removed#7 ) + [256] (byte) play_remove_lines::y#8 ← phi( play_remove_lines/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@4/(byte) play_remove_lines::y#1 ) + [256] (byte) play_remove_lines::w#12 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::w#11 ) + [256] (byte) play_remove_lines::r#3 ← phi( play_remove_lines/(const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@4/(byte) play_remove_lines::r#1 ) to:play_remove_lines::@2 play_remove_lines::@2: scope:[play_remove_lines] from play_remove_lines::@1 play_remove_lines::@3 - [239] (byte) play_remove_lines::full#4 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@3/(byte) play_remove_lines::full#2 ) - [239] (byte) play_remove_lines::x#2 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@3/(byte) play_remove_lines::x#1 ) - [239] (byte) play_remove_lines::w#4 ← phi( play_remove_lines::@1/(byte) play_remove_lines::w#12 play_remove_lines::@3/(byte) play_remove_lines::w#1 ) - [239] (byte) play_remove_lines::r#2 ← phi( play_remove_lines::@1/(byte) play_remove_lines::r#3 play_remove_lines::@3/(byte) play_remove_lines::r#1 ) - [240] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) - [241] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 - [242] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 + [257] (byte) play_remove_lines::full#4 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 1 play_remove_lines::@3/(byte) play_remove_lines::full#2 ) + [257] (byte) play_remove_lines::x#2 ← phi( play_remove_lines::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_remove_lines::@3/(byte) play_remove_lines::x#1 ) + [257] (byte) play_remove_lines::w#4 ← phi( play_remove_lines::@1/(byte) play_remove_lines::w#12 play_remove_lines::@3/(byte) play_remove_lines::w#1 ) + [257] (byte) play_remove_lines::r#2 ← phi( play_remove_lines::@1/(byte) play_remove_lines::r#3 play_remove_lines::@3/(byte) play_remove_lines::r#1 ) + [258] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) + [259] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 + [260] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 to:play_remove_lines::@3 play_remove_lines::@3: scope:[play_remove_lines] from play_remove_lines::@18 play_remove_lines::@2 - [243] (byte) play_remove_lines::full#2 ← phi( play_remove_lines::@18/(byte) play_remove_lines::full#4 play_remove_lines::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [244] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 - [245] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 - [246] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 - [247] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 + [261] (byte) play_remove_lines::full#2 ← phi( play_remove_lines::@18/(byte) play_remove_lines::full#4 play_remove_lines::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [262] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 + [263] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 + [264] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 + [265] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 to:play_remove_lines::@9 play_remove_lines::@9: scope:[play_remove_lines] from play_remove_lines::@3 - [248] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 + [266] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 to:play_remove_lines::@10 play_remove_lines::@10: scope:[play_remove_lines] from play_remove_lines::@9 - [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 - [250] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 + [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 + [268] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 to:play_remove_lines::@4 play_remove_lines::@4: scope:[play_remove_lines] from play_remove_lines::@10 play_remove_lines::@9 - [251] (byte) play_remove_lines::removed#7 ← phi( play_remove_lines::@10/(byte) play_remove_lines::removed#1 play_remove_lines::@9/(byte) play_remove_lines::removed#11 ) - [251] (byte) play_remove_lines::w#11 ← phi( play_remove_lines::@10/(byte) play_remove_lines::w#2 play_remove_lines::@9/(byte) play_remove_lines::w#1 ) - [252] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 - [253] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 + [269] (byte) play_remove_lines::removed#7 ← phi( play_remove_lines::@10/(byte) play_remove_lines::removed#1 play_remove_lines::@9/(byte) play_remove_lines::removed#11 ) + [269] (byte) play_remove_lines::w#11 ← phi( play_remove_lines::@10/(byte) play_remove_lines::w#2 play_remove_lines::@9/(byte) play_remove_lines::w#1 ) + [270] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 + [271] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 to:play_remove_lines::@5 play_remove_lines::@5: scope:[play_remove_lines] from play_remove_lines::@4 play_remove_lines::@6 - [254] (byte) play_remove_lines::w#6 ← phi( play_remove_lines::@4/(byte) play_remove_lines::w#11 play_remove_lines::@6/(byte) play_remove_lines::w#3 ) - [255] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 + [272] (byte) play_remove_lines::w#6 ← phi( play_remove_lines::@4/(byte) play_remove_lines::w#11 play_remove_lines::@6/(byte) play_remove_lines::w#3 ) + [273] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 to:play_remove_lines::@return play_remove_lines::@return: scope:[play_remove_lines] from play_remove_lines::@5 - [256] return - to:@return -play_remove_lines::@6: scope:[play_remove_lines] from play_remove_lines::@5 - [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [258] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 - to:play_remove_lines::@5 -play_remove_lines::@18: scope:[play_remove_lines] from play_remove_lines::@2 - [259] phi() - to:play_remove_lines::@3 -play_lock_current: scope:[play_lock_current] from play_move_down::@13 - [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 - to:play_lock_current::@1 -play_lock_current::@1: scope:[play_lock_current] from play_lock_current play_lock_current::@7 - [261] (byte) play_lock_current::l#6 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte) play_lock_current::l#1 ) - [261] (byte) play_lock_current::i#3 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte~) play_lock_current::i#7 ) - [261] (byte) play_lock_current::ypos2#2 ← phi( play_lock_current/(byte) play_lock_current::ypos2#0 play_lock_current::@7/(byte) play_lock_current::ypos2#1 ) - [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) - [263] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 - to:play_lock_current::@2 -play_lock_current::@2: scope:[play_lock_current] from play_lock_current::@1 play_lock_current::@8 - [264] (byte) play_lock_current::c#2 ← phi( play_lock_current::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@8/(byte) play_lock_current::c#1 ) - [264] (byte) play_lock_current::col#2 ← phi( play_lock_current::@1/(byte) play_lock_current::col#0 play_lock_current::@8/(byte) play_lock_current::col#1 ) - [264] (byte) play_lock_current::i#2 ← phi( play_lock_current::@1/(byte) play_lock_current::i#3 play_lock_current::@8/(byte~) play_lock_current::i#9 ) - [265] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 - [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 - to:play_lock_current::@4 -play_lock_current::@4: scope:[play_lock_current] from play_lock_current::@2 - [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 - to:play_lock_current::@3 -play_lock_current::@3: scope:[play_lock_current] from play_lock_current::@2 play_lock_current::@4 - [268] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 - [269] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 - [270] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 - to:play_lock_current::@5 -play_lock_current::@5: scope:[play_lock_current] from play_lock_current::@3 - [271] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 - [272] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 - [273] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 - to:play_lock_current::@return -play_lock_current::@return: scope:[play_lock_current] from play_lock_current::@5 [274] return to:@return +play_remove_lines::@6: scope:[play_remove_lines] from play_remove_lines::@5 + [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [276] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 + to:play_remove_lines::@5 +play_remove_lines::@18: scope:[play_remove_lines] from play_remove_lines::@2 + [277] phi() + to:play_remove_lines::@3 +play_lock_current: scope:[play_lock_current] from play_move_down::@13 + [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 + to:play_lock_current::@1 +play_lock_current::@1: scope:[play_lock_current] from play_lock_current play_lock_current::@7 + [279] (byte) play_lock_current::l#6 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte) play_lock_current::l#1 ) + [279] (byte) play_lock_current::i#3 ← phi( play_lock_current/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@7/(byte~) play_lock_current::i#7 ) + [279] (byte) play_lock_current::ypos2#2 ← phi( play_lock_current/(byte) play_lock_current::ypos2#0 play_lock_current::@7/(byte) play_lock_current::ypos2#1 ) + [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) + [281] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 + to:play_lock_current::@2 +play_lock_current::@2: scope:[play_lock_current] from play_lock_current::@1 play_lock_current::@8 + [282] (byte) play_lock_current::c#2 ← phi( play_lock_current::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 play_lock_current::@8/(byte) play_lock_current::c#1 ) + [282] (byte) play_lock_current::col#2 ← phi( play_lock_current::@1/(byte) play_lock_current::col#0 play_lock_current::@8/(byte) play_lock_current::col#1 ) + [282] (byte) play_lock_current::i#2 ← phi( play_lock_current::@1/(byte) play_lock_current::i#3 play_lock_current::@8/(byte~) play_lock_current::i#9 ) + [283] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 + [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 + to:play_lock_current::@4 +play_lock_current::@4: scope:[play_lock_current] from play_lock_current::@2 + [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 + to:play_lock_current::@3 +play_lock_current::@3: scope:[play_lock_current] from play_lock_current::@2 play_lock_current::@4 + [286] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 + [287] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 + [288] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 + to:play_lock_current::@5 +play_lock_current::@5: scope:[play_lock_current] from play_lock_current::@3 + [289] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 + [290] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 + [291] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 + to:play_lock_current::@return +play_lock_current::@return: scope:[play_lock_current] from play_lock_current::@5 + [292] return + to:@return play_lock_current::@7: scope:[play_lock_current] from play_lock_current::@5 - [275] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 + [293] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 to:play_lock_current::@1 play_lock_current::@8: scope:[play_lock_current] from play_lock_current::@3 - [276] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 + [294] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 to:play_lock_current::@2 keyboard_event_pressed: scope:[keyboard_event_pressed] from keyboard_event_scan::@10 keyboard_event_scan::@11 keyboard_event_scan::@20 keyboard_event_scan::@9 play_move_down::@1 - [277] (byte) keyboard_event_pressed::keycode#5 ← phi( keyboard_event_scan::@10/(const byte) KEY_CTRL#0 keyboard_event_scan::@11/(const byte) KEY_COMMODORE#0 keyboard_event_scan::@20/(const byte) KEY_LSHIFT#0 keyboard_event_scan::@9/(const byte) KEY_RSHIFT#0 play_move_down::@1/(const byte) KEY_SPACE#0 ) - [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 - [279] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) - [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 - [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) + [295] (byte) keyboard_event_pressed::keycode#5 ← phi( keyboard_event_scan::@10/(const byte) KEY_CTRL#0 keyboard_event_scan::@11/(const byte) KEY_COMMODORE#0 keyboard_event_scan::@20/(const byte) KEY_LSHIFT#0 keyboard_event_scan::@9/(const byte) KEY_RSHIFT#0 play_move_down::@1/(const byte) KEY_SPACE#0 ) + [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 + [297] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) + [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) to:keyboard_event_pressed::@return keyboard_event_pressed::@return: scope:[keyboard_event_pressed] from keyboard_event_pressed - [282] return + [300] return to:@return keyboard_event_get: scope:[keyboard_event_get] from main::@24 - [283] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return + [301] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return to:keyboard_event_get::@3 keyboard_event_get::@3: scope:[keyboard_event_get] from keyboard_event_get - [284] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 - [285] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) + [302] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 + [303] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) to:keyboard_event_get::@return keyboard_event_get::@return: scope:[keyboard_event_get] from keyboard_event_get keyboard_event_get::@3 - [286] (byte) keyboard_events_size#16 ← phi( keyboard_event_get/(byte) keyboard_events_size#13 keyboard_event_get::@3/(byte) keyboard_events_size#4 ) - [286] (byte) keyboard_event_get::return#2 ← phi( keyboard_event_get/(byte/word/signed word/dword/signed dword) 255 keyboard_event_get::@3/(byte) keyboard_event_get::return#1 ) - [287] return + [304] (byte) keyboard_events_size#16 ← phi( keyboard_event_get/(byte) keyboard_events_size#13 keyboard_event_get::@3/(byte) keyboard_events_size#4 ) + [304] (byte) keyboard_event_get::return#2 ← phi( keyboard_event_get/(byte/word/signed word/dword/signed dword) 255 keyboard_event_get::@3/(byte) keyboard_event_get::return#1 ) + [305] return to:@return keyboard_event_scan: scope:[keyboard_event_scan] from main::@23 - [288] phi() + [306] phi() to:keyboard_event_scan::@1 keyboard_event_scan::@1: scope:[keyboard_event_scan] from keyboard_event_scan keyboard_event_scan::@3 - [289] (byte) keyboard_events_size#29 ← phi( keyboard_event_scan/(byte) keyboard_events_size#19 keyboard_event_scan::@3/(byte) keyboard_events_size#13 ) - [289] (byte) keyboard_event_scan::keycode#11 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::keycode#14 ) - [289] (byte) keyboard_event_scan::row#2 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::row#1 ) - [290] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 - [291] call keyboard_matrix_read - [292] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 + [307] (byte) keyboard_events_size#29 ← phi( keyboard_event_scan/(byte) keyboard_events_size#19 keyboard_event_scan::@3/(byte) keyboard_events_size#13 ) + [307] (byte) keyboard_event_scan::keycode#11 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::keycode#14 ) + [307] (byte) keyboard_event_scan::row#2 ← phi( keyboard_event_scan/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@3/(byte) keyboard_event_scan::row#1 ) + [308] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 + [309] call keyboard_matrix_read + [310] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 to:keyboard_event_scan::@25 keyboard_event_scan::@25: scope:[keyboard_event_scan] from keyboard_event_scan::@1 - [293] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 - [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 + [311] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 + [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 to:keyboard_event_scan::@13 keyboard_event_scan::@13: scope:[keyboard_event_scan] from keyboard_event_scan::@25 - [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 + [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 to:keyboard_event_scan::@3 keyboard_event_scan::@3: scope:[keyboard_event_scan] from keyboard_event_scan::@13 keyboard_event_scan::@19 - [296] (byte) keyboard_events_size#13 ← phi( keyboard_event_scan::@13/(byte) keyboard_events_size#29 keyboard_event_scan::@19/(byte) keyboard_events_size#30 ) - [296] (byte) keyboard_event_scan::keycode#14 ← phi( keyboard_event_scan::@13/(byte) keyboard_event_scan::keycode#1 keyboard_event_scan::@19/(byte) keyboard_event_scan::keycode#15 ) - [297] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 - [298] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 + [314] (byte) keyboard_events_size#13 ← phi( keyboard_event_scan::@13/(byte) keyboard_events_size#29 keyboard_event_scan::@19/(byte) keyboard_events_size#30 ) + [314] (byte) keyboard_event_scan::keycode#14 ← phi( keyboard_event_scan::@13/(byte) keyboard_event_scan::keycode#1 keyboard_event_scan::@19/(byte) keyboard_event_scan::keycode#15 ) + [315] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 + [316] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 to:keyboard_event_scan::@20 keyboard_event_scan::@20: scope:[keyboard_event_scan] from keyboard_event_scan::@3 - [299] phi() - [300] call keyboard_event_pressed - [301] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 + [317] phi() + [318] call keyboard_event_pressed + [319] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@26 keyboard_event_scan::@26: scope:[keyboard_event_scan] from keyboard_event_scan::@20 - [302] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 - [303] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 + [320] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 + [321] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 to:keyboard_event_scan::@21 keyboard_event_scan::@21: scope:[keyboard_event_scan] from keyboard_event_scan::@26 - [304] phi() + [322] phi() to:keyboard_event_scan::@9 keyboard_event_scan::@9: scope:[keyboard_event_scan] from keyboard_event_scan::@21 keyboard_event_scan::@26 - [305] (byte) keyboard_modifiers#11 ← phi( keyboard_event_scan::@21/(byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 keyboard_event_scan::@26/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [306] call keyboard_event_pressed - [307] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 + [323] (byte) keyboard_modifiers#11 ← phi( keyboard_event_scan::@21/(byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 keyboard_event_scan::@26/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [324] call keyboard_event_pressed + [325] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@27 keyboard_event_scan::@27: scope:[keyboard_event_scan] from keyboard_event_scan::@9 - [308] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 - [309] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 + [326] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 + [327] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 to:keyboard_event_scan::@22 keyboard_event_scan::@22: scope:[keyboard_event_scan] from keyboard_event_scan::@27 - [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 + [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 to:keyboard_event_scan::@10 keyboard_event_scan::@10: scope:[keyboard_event_scan] from keyboard_event_scan::@22 keyboard_event_scan::@27 - [311] (byte) keyboard_modifiers#12 ← phi( keyboard_event_scan::@22/(byte) keyboard_modifiers#3 keyboard_event_scan::@27/(byte) keyboard_modifiers#11 ) - [312] call keyboard_event_pressed - [313] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 + [329] (byte) keyboard_modifiers#12 ← phi( keyboard_event_scan::@22/(byte) keyboard_modifiers#3 keyboard_event_scan::@27/(byte) keyboard_modifiers#11 ) + [330] call keyboard_event_pressed + [331] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@28 keyboard_event_scan::@28: scope:[keyboard_event_scan] from keyboard_event_scan::@10 - [314] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 - [315] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 + [332] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 + [333] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 to:keyboard_event_scan::@23 keyboard_event_scan::@23: scope:[keyboard_event_scan] from keyboard_event_scan::@28 - [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 + [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 to:keyboard_event_scan::@11 keyboard_event_scan::@11: scope:[keyboard_event_scan] from keyboard_event_scan::@23 keyboard_event_scan::@28 - [317] (byte) keyboard_modifiers#13 ← phi( keyboard_event_scan::@23/(byte) keyboard_modifiers#4 keyboard_event_scan::@28/(byte) keyboard_modifiers#12 ) - [318] call keyboard_event_pressed - [319] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 + [335] (byte) keyboard_modifiers#13 ← phi( keyboard_event_scan::@23/(byte) keyboard_modifiers#4 keyboard_event_scan::@28/(byte) keyboard_modifiers#12 ) + [336] call keyboard_event_pressed + [337] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 to:keyboard_event_scan::@29 keyboard_event_scan::@29: scope:[keyboard_event_scan] from keyboard_event_scan::@11 - [320] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 - [321] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return + [338] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 + [339] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return to:keyboard_event_scan::@24 keyboard_event_scan::@24: scope:[keyboard_event_scan] from keyboard_event_scan::@29 - [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 + [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 to:keyboard_event_scan::@return keyboard_event_scan::@return: scope:[keyboard_event_scan] from keyboard_event_scan::@24 keyboard_event_scan::@29 - [323] return + [341] return to:@return keyboard_event_scan::@4: scope:[keyboard_event_scan] from keyboard_event_scan::@25 keyboard_event_scan::@5 - [324] (byte) keyboard_events_size#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_events_size#29 keyboard_event_scan::@5/(byte) keyboard_events_size#30 ) - [324] (byte) keyboard_event_scan::keycode#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_event_scan::keycode#11 keyboard_event_scan::@5/(byte) keyboard_event_scan::keycode#15 ) - [324] (byte) keyboard_event_scan::col#2 ← phi( keyboard_event_scan::@25/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@5/(byte) keyboard_event_scan::col#1 ) - [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) - [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) - [327] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 + [342] (byte) keyboard_events_size#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_events_size#29 keyboard_event_scan::@5/(byte) keyboard_events_size#30 ) + [342] (byte) keyboard_event_scan::keycode#10 ← phi( keyboard_event_scan::@25/(byte) keyboard_event_scan::keycode#11 keyboard_event_scan::@5/(byte) keyboard_event_scan::keycode#15 ) + [342] (byte) keyboard_event_scan::col#2 ← phi( keyboard_event_scan::@25/(byte/signed byte/word/signed word/dword/signed dword) 0 keyboard_event_scan::@5/(byte) keyboard_event_scan::col#1 ) + [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) + [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) + [345] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 to:keyboard_event_scan::@15 keyboard_event_scan::@15: scope:[keyboard_event_scan] from keyboard_event_scan::@4 - [328] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 + [346] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 to:keyboard_event_scan::@16 keyboard_event_scan::@16: scope:[keyboard_event_scan] from keyboard_event_scan::@15 - [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) - [330] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 + [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) + [348] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 to:keyboard_event_scan::@17 keyboard_event_scan::@17: scope:[keyboard_event_scan] from keyboard_event_scan::@16 - [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 - [332] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 + [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 + [350] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 to:keyboard_event_scan::@5 keyboard_event_scan::@5: scope:[keyboard_event_scan] from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 - [333] (byte) keyboard_events_size#30 ← phi( keyboard_event_scan::@17/(byte) keyboard_events_size#2 keyboard_event_scan::@4/(byte) keyboard_events_size#10 keyboard_event_scan::@15/(byte) keyboard_events_size#10 keyboard_event_scan::@7/(byte) keyboard_events_size#1 ) - [334] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 - [335] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 - [336] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 + [351] (byte) keyboard_events_size#30 ← phi( keyboard_event_scan::@17/(byte) keyboard_events_size#2 keyboard_event_scan::@4/(byte) keyboard_events_size#10 keyboard_event_scan::@15/(byte) keyboard_events_size#10 keyboard_event_scan::@7/(byte) keyboard_events_size#1 ) + [352] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 + [353] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 + [354] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 to:keyboard_event_scan::@19 keyboard_event_scan::@19: scope:[keyboard_event_scan] from keyboard_event_scan::@5 - [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 + [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 to:keyboard_event_scan::@3 keyboard_event_scan::@7: scope:[keyboard_event_scan] from keyboard_event_scan::@16 - [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 - [339] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 - [340] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 + [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 + [357] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 + [358] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 to:keyboard_event_scan::@5 keyboard_matrix_read: scope:[keyboard_matrix_read] from keyboard_event_scan::@1 - [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) - [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) + [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) + [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) to:keyboard_matrix_read::@return keyboard_matrix_read::@return: scope:[keyboard_matrix_read] from keyboard_matrix_read - [343] return + [361] return to:@return render_show: scope:[render_show] from main::@6 - [344] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 + [362] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 to:render_show::toD0182 render_show::toD0182: scope:[render_show] from render_show - [345] phi() + [363] phi() to:render_show::@2 render_show::@2: scope:[render_show] from render_show::toD0181 render_show::toD0182 - [346] (byte) render_show::d018val#3 ← phi( render_show::toD0181/(const byte) render_show::toD0181_return#0 render_show::toD0182/(const byte) render_show::toD0182_return#0 ) - [347] *((const byte*) D018#0) ← (byte) render_show::d018val#3 - [348] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 + [364] (byte) render_show::d018val#3 ← phi( render_show::toD0181/(const byte) render_show::toD0181_return#0 render_show::toD0182/(const byte) render_show::toD0182_return#0 ) + [365] *((const byte*) D018#0) ← (byte) render_show::d018val#3 + [366] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 to:render_show::@return render_show::@return: scope:[render_show] from render_show::@2 - [349] return + [367] return to:@return render_show::toD0181: scope:[render_show] from render_show - [350] phi() + [368] phi() to:render_show::@2 play_init: scope:[play_init] from main::@18 - [351] phi() + [369] phi() to:play_init::@1 play_init::@1: scope:[play_init] from play_init play_init::@1 - [352] (byte) play_init::idx#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::idx#1 ) - [352] (byte*) play_init::pli#2 ← phi( play_init/(const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 play_init::@1/(byte*) play_init::pli#1 ) - [352] (byte) play_init::j#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::j#1 ) - [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 - [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 - [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 - [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 - [358] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 - [359] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 + [370] (byte) play_init::idx#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::idx#1 ) + [370] (byte*) play_init::pli#2 ← phi( play_init/(const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 play_init::@1/(byte*) play_init::pli#1 ) + [370] (byte) play_init::j#2 ← phi( play_init/(byte/signed byte/word/signed word/dword/signed dword) 0 play_init::@1/(byte) play_init::j#1 ) + [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 + [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 + [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 + [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 + [376] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 + [377] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 to:play_init::@2 play_init::@2: scope:[play_init] from play_init::@1 - [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 + [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 to:play_init::@return play_init::@return: scope:[play_init] from play_init::@2 - [361] return + [379] return to:@return sprites_irq_init: scope:[sprites_irq_init] from main::@17 asm { sei } - [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 + [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 asm { ldaCIA1_INTERRUPT } - [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 - [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 - [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 - [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 - [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 - [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 - [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() + [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 + [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 + [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 + [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 + [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 + [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 + [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() asm { cli } to:sprites_irq_init::@return sprites_irq_init::@return: scope:[sprites_irq_init] from sprites_irq_init - [373] return + [391] return to:@return sprites_init: scope:[sprites_init] from main::@16 - [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 - [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) - [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) + [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 + [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) + [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) to:sprites_init::@1 sprites_init::@1: scope:[sprites_init] from sprites_init sprites_init::@1 - [378] (byte) sprites_init::xpos#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 sprites_init::@1/(byte) sprites_init::xpos#1 ) - [378] (byte) sprites_init::s#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 0 sprites_init::@1/(byte) sprites_init::s#1 ) - [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 - [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 - [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 - [383] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 - [384] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 + [396] (byte) sprites_init::xpos#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 sprites_init::@1/(byte) sprites_init::xpos#1 ) + [396] (byte) sprites_init::s#2 ← phi( sprites_init/(byte/signed byte/word/signed word/dword/signed dword) 0 sprites_init::@1/(byte) sprites_init::s#1 ) + [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 + [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 + [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 + [401] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 + [402] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 to:sprites_init::@return sprites_init::@return: scope:[sprites_init] from sprites_init::@1 - [385] return + [403] return to:@return render_init: scope:[render_init] from main::@15 - [386] phi() + [404] phi() to:render_init::vicSelectGfxBank1 render_init::vicSelectGfxBank1: scope:[render_init] from render_init - [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 + [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 to:render_init::vicSelectGfxBank1_toDd001 render_init::vicSelectGfxBank1_toDd001: scope:[render_init] from render_init::vicSelectGfxBank1 - [388] phi() + [406] phi() to:render_init::vicSelectGfxBank1_@1 render_init::vicSelectGfxBank1_@1: scope:[render_init] from render_init::vicSelectGfxBank1_toDd001 - [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 + [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 to:render_init::@3 render_init::@3: scope:[render_init] from render_init::vicSelectGfxBank1_@1 - [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 - [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 - [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 - [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 - [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 - [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 - [396] call render_screen_original + [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 + [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 + [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 + [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 + [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 + [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 + [414] call render_screen_original to:render_init::@4 render_init::@4: scope:[render_init] from render_init::@3 - [397] phi() - [398] call render_screen_original + [415] phi() + [416] call render_screen_original to:render_init::@1 render_init::@1: scope:[render_init] from render_init::@1 render_init::@4 - [399] (byte*) render_init::li_2#2 ← phi( render_init::@1/(byte*) render_init::li_2#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) - [399] (byte*) render_init::li_1#2 ← phi( render_init::@1/(byte*) render_init::li_1#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) - [399] (byte) render_init::i#2 ← phi( render_init::@1/(byte) render_init::i#1 render_init::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 ) - [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 - [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 - [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 - [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 - [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 - [406] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 - [407] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 + [417] (byte*) render_init::li_2#2 ← phi( render_init::@1/(byte*) render_init::li_2#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) + [417] (byte*) render_init::li_1#2 ← phi( render_init::@1/(byte*) render_init::li_1#1 render_init::@4/(const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 ) + [417] (byte) render_init::i#2 ← phi( render_init::@1/(byte) render_init::i#1 render_init::@4/(byte/signed byte/word/signed word/dword/signed dword) 0 ) + [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 + [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 + [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 + [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 + [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 + [424] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 + [425] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 to:render_init::@return render_init::@return: scope:[render_init] from render_init::@1 - [408] return + [426] return to:@return render_screen_original: scope:[render_screen_original] from render_init::@3 render_init::@4 - [409] (byte*) render_screen_original::screen#9 ← phi( render_init::@3/(const byte*) PLAYFIELD_SCREEN_1#0 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0 ) + [427] (byte*) render_screen_original::screen#9 ← phi( render_init::@3/(const byte*) PLAYFIELD_SCREEN_1#0 render_init::@4/(const byte*) PLAYFIELD_SCREEN_2#0 ) to:render_screen_original::@1 render_screen_original::@1: scope:[render_screen_original] from render_screen_original render_screen_original::@7 - [410] (byte) render_screen_original::y#6 ← phi( render_screen_original/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@7/(byte) render_screen_original::y#1 ) - [410] (byte*) render_screen_original::ocols#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::ocols#1 ) - [410] (byte*) render_screen_original::oscr#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::oscr#1 ) - [410] (byte*) render_screen_original::cols#7 ← phi( render_screen_original/(const byte*) COLS#0 render_screen_original::@7/(byte*) render_screen_original::cols#3 ) - [410] (byte*) render_screen_original::screen#8 ← phi( render_screen_original/(byte*) render_screen_original::screen#9 render_screen_original::@7/(byte*) render_screen_original::screen#10 ) + [428] (byte) render_screen_original::y#6 ← phi( render_screen_original/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@7/(byte) render_screen_original::y#1 ) + [428] (byte*) render_screen_original::ocols#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::ocols#1 ) + [428] (byte*) render_screen_original::oscr#4 ← phi( render_screen_original/(const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 render_screen_original::@7/(byte*) render_screen_original::oscr#1 ) + [428] (byte*) render_screen_original::cols#7 ← phi( render_screen_original/(const byte*) COLS#0 render_screen_original::@7/(byte*) render_screen_original::cols#3 ) + [428] (byte*) render_screen_original::screen#8 ← phi( render_screen_original/(byte*) render_screen_original::screen#9 render_screen_original::@7/(byte*) render_screen_original::screen#10 ) to:render_screen_original::@2 render_screen_original::@2: scope:[render_screen_original] from render_screen_original::@1 render_screen_original::@2 - [411] (byte) render_screen_original::x#4 ← phi( render_screen_original::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@2/(byte) render_screen_original::x#1 ) - [411] (byte*) render_screen_original::cols#4 ← phi( render_screen_original::@1/(byte*) render_screen_original::cols#7 render_screen_original::@2/(byte*) render_screen_original::cols#1 ) - [411] (byte*) render_screen_original::screen#5 ← phi( render_screen_original::@1/(byte*) render_screen_original::screen#8 render_screen_original::@2/(byte*) render_screen_original::screen#2 ) - [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 - [413] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 - [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 - [415] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 - [416] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 - [417] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 + [429] (byte) render_screen_original::x#4 ← phi( render_screen_original::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 render_screen_original::@2/(byte) render_screen_original::x#1 ) + [429] (byte*) render_screen_original::cols#4 ← phi( render_screen_original::@1/(byte*) render_screen_original::cols#7 render_screen_original::@2/(byte*) render_screen_original::cols#1 ) + [429] (byte*) render_screen_original::screen#5 ← phi( render_screen_original::@1/(byte*) render_screen_original::screen#8 render_screen_original::@2/(byte*) render_screen_original::screen#2 ) + [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 + [431] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 + [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 + [433] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 + [434] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 + [435] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 to:render_screen_original::@3 render_screen_original::@3: scope:[render_screen_original] from render_screen_original::@2 render_screen_original::@3 - [418] (byte) render_screen_original::x#5 ← phi( render_screen_original::@2/(byte) render_screen_original::x#1 render_screen_original::@3/(byte) render_screen_original::x#2 ) - [418] (byte*) render_screen_original::cols#5 ← phi( render_screen_original::@2/(byte*) render_screen_original::cols#1 render_screen_original::@3/(byte*) render_screen_original::cols#2 ) - [418] (byte*) render_screen_original::ocols#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::ocols#4 render_screen_original::@3/(byte*) render_screen_original::ocols#1 ) - [418] (byte*) render_screen_original::screen#6 ← phi( render_screen_original::@2/(byte*) render_screen_original::screen#2 render_screen_original::@3/(byte*) render_screen_original::screen#3 ) - [418] (byte*) render_screen_original::oscr#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::oscr#4 render_screen_original::@3/(byte*) render_screen_original::oscr#1 ) - [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) - [420] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 - [421] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 - [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) - [423] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 - [424] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 - [425] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 - [426] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 + [436] (byte) render_screen_original::x#5 ← phi( render_screen_original::@2/(byte) render_screen_original::x#1 render_screen_original::@3/(byte) render_screen_original::x#2 ) + [436] (byte*) render_screen_original::cols#5 ← phi( render_screen_original::@2/(byte*) render_screen_original::cols#1 render_screen_original::@3/(byte*) render_screen_original::cols#2 ) + [436] (byte*) render_screen_original::ocols#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::ocols#4 render_screen_original::@3/(byte*) render_screen_original::ocols#1 ) + [436] (byte*) render_screen_original::screen#6 ← phi( render_screen_original::@2/(byte*) render_screen_original::screen#2 render_screen_original::@3/(byte*) render_screen_original::screen#3 ) + [436] (byte*) render_screen_original::oscr#2 ← phi( render_screen_original::@2/(byte*) render_screen_original::oscr#4 render_screen_original::@3/(byte*) render_screen_original::oscr#1 ) + [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) + [438] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 + [439] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 + [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) + [441] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 + [442] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 + [443] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 + [444] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 to:render_screen_original::@4 render_screen_original::@4: scope:[render_screen_original] from render_screen_original::@3 render_screen_original::@4 - [427] (byte) render_screen_original::x#6 ← phi( render_screen_original::@3/(byte) render_screen_original::x#2 render_screen_original::@4/(byte) render_screen_original::x#3 ) - [427] (byte*) render_screen_original::cols#6 ← phi( render_screen_original::@3/(byte*) render_screen_original::cols#2 render_screen_original::@4/(byte*) render_screen_original::cols#3 ) - [427] (byte*) render_screen_original::screen#7 ← phi( render_screen_original::@3/(byte*) render_screen_original::screen#3 render_screen_original::@4/(byte*) render_screen_original::screen#10 ) - [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 - [429] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 - [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 - [431] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 - [432] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 - [433] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 + [445] (byte) render_screen_original::x#6 ← phi( render_screen_original::@3/(byte) render_screen_original::x#2 render_screen_original::@4/(byte) render_screen_original::x#3 ) + [445] (byte*) render_screen_original::cols#6 ← phi( render_screen_original::@3/(byte*) render_screen_original::cols#2 render_screen_original::@4/(byte*) render_screen_original::cols#3 ) + [445] (byte*) render_screen_original::screen#7 ← phi( render_screen_original::@3/(byte*) render_screen_original::screen#3 render_screen_original::@4/(byte*) render_screen_original::screen#10 ) + [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 + [447] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 + [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 + [449] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 + [450] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 + [451] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 to:render_screen_original::@7 render_screen_original::@7: scope:[render_screen_original] from render_screen_original::@4 - [434] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 - [435] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 + [452] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 + [453] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 to:render_screen_original::@return render_screen_original::@return: scope:[render_screen_original] from render_screen_original::@7 - [436] return + [454] return to:@return sid_rnd_init: scope:[sid_rnd_init] from main - [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 - [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 + [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 + [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 to:sid_rnd_init::@return sid_rnd_init::@return: scope:[sid_rnd_init] from sid_rnd_init - [439] return + [457] return to:@return sprites_irq: scope:[sprites_irq] from asm { cld } - [441] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 - [442] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 - [443] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 - [444] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 - [445] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 + [459] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 + [460] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 + [461] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 + [462] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 + [463] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 to:sprites_irq::@1 sprites_irq::@1: scope:[sprites_irq] from sprites_irq sprites_irq::@1 - [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 + [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 to:sprites_irq::@7 sprites_irq::@7: scope:[sprites_irq] from sprites_irq::@1 - [447] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 - [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 + [465] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 + [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 to:sprites_irq::@8 sprites_irq::@8: scope:[sprites_irq] from sprites_irq::@7 - [449] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 - [450] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 - [451] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 - [452] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 - [453] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 - [454] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 + [467] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 + [468] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 + [469] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 + [470] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 + [471] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 + [472] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 to:sprites_irq::@3 sprites_irq::@3: scope:[sprites_irq] from sprites_irq::@2 sprites_irq::@8 - [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 - [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 + [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 + [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 to:sprites_irq::@10 sprites_irq::@10: scope:[sprites_irq] from sprites_irq::@3 - [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 - [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 - [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 + [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 + [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 + [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 to:sprites_irq::@5 sprites_irq::@5: scope:[sprites_irq] from sprites_irq::@10 sprites_irq::@13 - [460] (byte) irq_raster_next#13 ← phi( sprites_irq::@10/(byte) irq_raster_next#2 sprites_irq::@13/(byte) irq_raster_next#1 ) - [461] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 - [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 - [463] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 + [478] (byte) irq_raster_next#13 ← phi( sprites_irq::@10/(byte) irq_raster_next#2 sprites_irq::@13/(byte) irq_raster_next#1 ) + [479] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 + [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 + [481] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 to:sprites_irq::@12 sprites_irq::@12: scope:[sprites_irq] from sprites_irq::@5 - [464] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 + [482] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 to:sprites_irq::@6 sprites_irq::@6: scope:[sprites_irq] from sprites_irq::@12 sprites_irq::@5 - [465] (byte) sprites_irq::raster_next#2 ← phi( sprites_irq::@12/(byte) sprites_irq::raster_next#1 sprites_irq::@5/(byte) sprites_irq::raster_next#0 ) - [466] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 - [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 + [483] (byte) sprites_irq::raster_next#2 ← phi( sprites_irq::@12/(byte) sprites_irq::raster_next#1 sprites_irq::@5/(byte) sprites_irq::raster_next#0 ) + [484] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 + [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 to:sprites_irq::@return sprites_irq::@return: scope:[sprites_irq] from sprites_irq::@6 - [468] return + [486] return to:@return sprites_irq::@4: scope:[sprites_irq] from sprites_irq::@3 - [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 - [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 - [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 + [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 + [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 to:sprites_irq::toSpritePtr2 sprites_irq::toSpritePtr2: scope:[sprites_irq] from sprites_irq::@4 - [472] phi() + [490] phi() to:sprites_irq::@13 sprites_irq::@13: scope:[sprites_irq] from sprites_irq::toSpritePtr2 - [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 + [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 to:sprites_irq::@5 sprites_irq::@2: scope:[sprites_irq] from sprites_irq::@7 - [474] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 - [475] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 - [476] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 - [477] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 - [478] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 - [479] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 + [492] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 + [493] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 + [494] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 + [495] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 + [496] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 + [497] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 to:sprites_irq::@3 @@ -8393,40 +8608,40 @@ VARIABLE REGISTER WEIGHTS (byte) YELLOW (byte) current_movedown_counter (byte) current_movedown_counter#1 0.5333333333333333 -(byte) current_movedown_counter#10 4.222222222222222 +(byte) current_movedown_counter#10 3.931034482758621 (byte) current_movedown_counter#12 10.363636363636363 (byte) current_movedown_fast (byte) current_movedown_slow (byte) current_orientation (byte) current_orientation#10 3.371428571428571 (byte) current_orientation#14 0.32653061224489793 -(byte) current_orientation#19 6.941176470588235 +(byte) current_orientation#19 6.210526315789475 (byte) current_orientation#29 4.0 (byte) current_orientation#4 3.0 (byte*) current_piece -(byte*) current_piece#10 1.8235294117647054 +(byte*) current_piece#10 1.771428571428571 (byte*) current_piece#12 10.0 (byte*) current_piece#16 3.428571428571428 (byte*) current_piece#20 6.0 -(byte*~) current_piece#72 4.0 -(byte*~) current_piece#75 4.0 +(byte*~) current_piece#73 4.0 (byte*~) current_piece#76 4.0 (byte*~) current_piece#77 4.0 (byte*~) current_piece#78 4.0 (byte*~) current_piece#79 4.0 +(byte*~) current_piece#80 4.0 (byte) current_piece_char -(byte) current_piece_char#1 4.703703703703704 +(byte) current_piece_char#1 4.379310344827585 (byte) current_piece_char#12 0.6153846153846154 (byte) current_piece_char#15 194.59615384615384 (byte) current_piece_char#20 6.0 (byte) current_piece_char#64 46.09090909090909 -(byte~) current_piece_char#89 4.0 -(byte~) current_piece_char#90 22.0 +(byte~) current_piece_char#90 4.0 +(byte~) current_piece_char#91 22.0 (byte*) current_piece_gfx (byte*) current_piece_gfx#1 0.2962962962962963 -(byte*~) current_piece_gfx#101 2.0 -(byte*~) current_piece_gfx#102 11.0 -(byte*) current_piece_gfx#14 7.588235294117647 +(byte*~) current_piece_gfx#102 2.0 +(byte*~) current_piece_gfx#103 11.0 +(byte*) current_piece_gfx#14 6.789473684210528 (byte*) current_piece_gfx#16 0.5 (byte*) current_piece_gfx#20 194.59615384615384 (byte*) current_piece_gfx#26 6.0 @@ -8435,9 +8650,9 @@ VARIABLE REGISTER WEIGHTS (byte) current_xpos (byte) current_xpos#1 0.72 (byte) current_xpos#10 21.557692307692307 -(byte~) current_xpos#111 1.3333333333333333 -(byte~) current_xpos#112 7.333333333333333 -(byte) current_xpos#19 3.2926829268292686 +(byte~) current_xpos#112 1.3333333333333333 +(byte~) current_xpos#113 7.333333333333333 +(byte) current_xpos#19 3.139534883720931 (byte) current_xpos#2 4.0 (byte) current_xpos#23 0.5333333333333333 (byte) current_xpos#33 6.0 @@ -8445,12 +8660,12 @@ VARIABLE REGISTER WEIGHTS (byte) current_xpos#47 5.181818181818182 (byte) current_ypos (byte) current_ypos#0 4.0 -(byte) current_ypos#13 1.9558823529411762 +(byte) current_ypos#13 1.8999999999999995 (byte) current_ypos#18 0.5714285714285714 (byte) current_ypos#21 3.485714285714285 (byte) current_ypos#29 6.0 -(byte~) current_ypos#85 1.0 -(byte~) current_ypos#86 4.4 +(byte~) current_ypos#86 1.0 +(byte~) current_ypos#87 4.4 (byte) current_ypos#9 15.0 (byte) irq_cnt (byte) irq_cnt#0 0.19047619047619047 @@ -8518,7 +8733,7 @@ VARIABLE REGISTER WEIGHTS (byte) keyboard_events_size#1 20002.0 (byte) keyboard_events_size#10 8100.9000000000015 (byte) keyboard_events_size#13 97.06451612903226 -(byte) keyboard_events_size#16 3.741935483870968 +(byte) keyboard_events_size#16 3.515151515151515 (byte) keyboard_events_size#19 18.999999999999996 (byte) keyboard_events_size#2 20002.0 (byte) keyboard_events_size#29 429.2857142857143 @@ -8780,6 +8995,25 @@ VARIABLE REGISTER WEIGHTS (byte*) render_playfield::screen_line#0 202.0 (byte*) render_playfield::screen_line#1 500.5 (byte*) render_playfield::screen_line#2 1552.0 +(void()) render_score() +(byte~) render_score::$10 202.0 +(byte~) render_score::$11 202.0 +(byte~) render_score::$12 202.0 +(byte~) render_score::$9 202.0 +(byte) render_score::SCREEN_SCORE_COL +(byte) render_score::SCREEN_SCORE_ROW +(byte) render_score::ZERO_CHAR +(byte) render_score::b +(byte) render_score::b#1 151.5 +(byte) render_score::b#2 30.299999999999997 +(byte) render_score::score_byte +(byte) render_score::score_byte#0 60.599999999999994 +(byte*) render_score::score_bytes +(byte*) render_score::screen_score_pos +(byte*) render_score::screen_score_pos#2 75.75 +(byte*) render_score::screen_score_pos#3 67.33333333333333 +(byte*) render_score::screen_score_pos#4 61.0 +(byte*) render_score::screen_score_pos#5 2.0 (void()) render_screen_original((byte*) render_screen_original::screen) (byte) render_screen_original::SPACE (byte*) render_screen_original::cols @@ -8819,14 +9053,14 @@ VARIABLE REGISTER WEIGHTS (byte) render_screen_original::y#6 0.9166666666666666 (byte) render_screen_render (byte) render_screen_render#11 3.25 -(byte) render_screen_render#16 1.0 -(byte) render_screen_render#19 8.615384615384615 -(byte) render_screen_render#28 5.090909090909091 -(byte~) render_screen_render#62 5.5 -(byte~) render_screen_render#63 22.0 +(byte) render_screen_render#17 0.6981132075471699 +(byte) render_screen_render#21 8.615384615384615 +(byte) render_screen_render#30 5.090909090909091 +(byte~) render_screen_render#64 5.5 +(byte~) render_screen_render#65 22.0 (byte) render_screen_show (byte) render_screen_show#13 4.333333333333333 -(byte) render_screen_show#16 0.39534883720930225 +(byte) render_screen_show#16 0.37777777777777777 (byte) render_screen_showing (byte) render_screen_showing#0 0.5 (byte) render_screen_showing#1 20.0 @@ -8860,10 +9094,10 @@ VARIABLE REGISTER WEIGHTS (byte*) render_show::toD0182_screen (dword[]) score_add_bcd (dword) score_bcd -(dword) score_bcd#11 1.0 -(dword) score_bcd#13 2.608695652173914 -(dword) score_bcd#17 6.0 -(dword) score_bcd#2 4.296296296296297 +(dword) score_bcd#10 4.0 +(dword) score_bcd#12 1.0 +(dword) score_bcd#14 2.608695652173914 +(dword) score_bcd#20 6.0 (dword) score_bcd#3 2.0 (byte*[PLAYFIELD_LINES#0]) screen_lines_1 (byte*[PLAYFIELD_LINES#0]) screen_lines_2 @@ -8909,26 +9143,28 @@ interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() Initial phi equivalence classes [ render_screen_show#16 render_screen_show#13 ] -[ render_screen_render#16 render_screen_render#11 ] +[ render_screen_render#17 render_screen_render#11 ] [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -[ current_ypos#9 current_ypos#85 current_ypos#86 ] -[ render_screen_render#28 render_screen_render#62 ] -[ current_xpos#47 current_xpos#111 current_xpos#112 ] -[ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] -[ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] +[ render_score::b#2 render_score::b#1 ] +[ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] +[ current_ypos#9 current_ypos#86 current_ypos#87 ] +[ render_screen_render#30 render_screen_render#64 ] +[ current_xpos#47 current_xpos#112 current_xpos#113 ] +[ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] +[ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] [ render_current::l#4 render_current::l#1 ] [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] [ render_current::c#2 render_current::c#1 ] -[ render_screen_render#19 render_screen_render#63 ] +[ render_screen_render#21 render_screen_render#65 ] [ render_playfield::l#2 render_playfield::l#1 ] [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] [ render_playfield::c#2 render_playfield::c#1 ] [ play_move_rotate::return#1 ] [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -[ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] +[ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] @@ -8941,8 +9177,8 @@ Initial phi equivalence classes [ play_move_leftright::return#1 ] [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -[ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -[ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] +[ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +[ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] @@ -9003,6 +9239,12 @@ Added variable play_move_rotate::key_event#0 to zero page equivalence class [ pl Added variable play_move_rotate::return#4 to zero page equivalence class [ play_move_rotate::return#4 ] Added variable main::$14 to zero page equivalence class [ main::$14 ] Added variable main::render#3 to zero page equivalence class [ main::render#3 ] +Added variable render_score::score_byte#0 to zero page equivalence class [ render_score::score_byte#0 ] +Added variable render_score::$9 to zero page equivalence class [ render_score::$9 ] +Added variable render_score::$10 to zero page equivalence class [ render_score::$10 ] +Added variable render_score::screen_score_pos#2 to zero page equivalence class [ render_score::screen_score_pos#2 ] +Added variable render_score::$11 to zero page equivalence class [ render_score::$11 ] +Added variable render_score::$12 to zero page equivalence class [ render_score::$12 ] Added variable render_current::$5 to zero page equivalence class [ render_current::$5 ] Added variable render_current::screen_line#0 to zero page equivalence class [ render_current::screen_line#0 ] Added variable render_current::current_cell#0 to zero page equivalence class [ render_current::current_cell#0 ] @@ -9077,26 +9319,28 @@ Added variable sprites_irq::ptr#1 to zero page equivalence class [ sprites_irq:: Added variable sprites_irq::ptr#2 to zero page equivalence class [ sprites_irq::ptr#2 ] Complete equivalence classes [ render_screen_show#16 render_screen_show#13 ] -[ render_screen_render#16 render_screen_render#11 ] +[ render_screen_render#17 render_screen_render#11 ] [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -[ current_ypos#9 current_ypos#85 current_ypos#86 ] -[ render_screen_render#28 render_screen_render#62 ] -[ current_xpos#47 current_xpos#111 current_xpos#112 ] -[ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] -[ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] +[ render_score::b#2 render_score::b#1 ] +[ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] +[ current_ypos#9 current_ypos#86 current_ypos#87 ] +[ render_screen_render#30 render_screen_render#64 ] +[ current_xpos#47 current_xpos#112 current_xpos#113 ] +[ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] +[ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] [ render_current::l#4 render_current::l#1 ] [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] [ render_current::c#2 render_current::c#1 ] -[ render_screen_render#19 render_screen_render#63 ] +[ render_screen_render#21 render_screen_render#65 ] [ render_playfield::l#2 render_playfield::l#1 ] [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] [ render_playfield::c#2 render_playfield::c#1 ] [ play_move_rotate::return#1 ] [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -[ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] +[ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] @@ -9109,8 +9353,8 @@ Complete equivalence classes [ play_move_leftright::return#1 ] [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -[ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -[ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] +[ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +[ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] @@ -9171,6 +9415,12 @@ Complete equivalence classes [ play_move_rotate::return#4 ] [ main::$14 ] [ main::render#3 ] +[ render_score::score_byte#0 ] +[ render_score::$9 ] +[ render_score::$10 ] +[ render_score::screen_score_pos#2 ] +[ render_score::$11 ] +[ render_score::$12 ] [ render_current::$5 ] [ render_current::screen_line#0 ] [ render_current::current_cell#0 ] @@ -9244,172 +9494,180 @@ Complete equivalence classes [ sprites_irq::ptr#1 ] [ sprites_irq::ptr#2 ] Allocated zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] -Allocated zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] +Allocated zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] Allocated zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -Allocated zp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] -Allocated zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] -Allocated zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] -Allocated zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] -Allocated zp ZP_BYTE:10 [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] -Allocated zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] -Allocated zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] -Allocated zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] -Allocated zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] -Allocated zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] -Allocated zp ZP_BYTE:16 [ render_screen_render#19 render_screen_render#63 ] -Allocated zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Allocated zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] -Allocated zp ZP_WORD:19 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] -Allocated zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] -Allocated zp ZP_BYTE:22 [ play_move_rotate::return#1 ] -Allocated zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -Allocated zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] -Allocated zp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] -Allocated zp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] -Allocated zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] -Allocated zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] -Allocated zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] -Allocated zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] -Allocated zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] -Allocated zp ZP_BYTE:33 [ play_collision::c#2 play_collision::c#1 ] -Allocated zp ZP_BYTE:34 [ play_collision::return#14 ] -Allocated zp ZP_BYTE:35 [ play_move_leftright::return#1 ] -Allocated zp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] -Allocated zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -Allocated zp ZP_DWORD:38 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -Allocated zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] -Allocated zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Allocated zp ZP_WORD:45 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] -Allocated zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Allocated zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Allocated zp ZP_BYTE:49 [ play_move_down::return#2 ] -Allocated zp ZP_BYTE:50 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] -Allocated zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] -Allocated zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] -Allocated zp ZP_BYTE:53 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] -Allocated zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] -Allocated zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] -Allocated zp ZP_BYTE:56 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] -Allocated zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Allocated zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] -Allocated zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] -Allocated zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] -Allocated zp ZP_BYTE:61 [ play_lock_current::c#2 play_lock_current::c#1 ] -Allocated zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] -Allocated zp ZP_BYTE:63 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] -Allocated zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -Allocated zp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] -Allocated zp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] -Allocated zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] -Allocated zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] -Allocated zp ZP_BYTE:69 [ render_show::d018val#3 ] -Allocated zp ZP_BYTE:70 [ play_init::j#2 play_init::j#1 ] -Allocated zp ZP_WORD:71 [ play_init::pli#2 play_init::pli#1 ] -Allocated zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] -Allocated zp ZP_BYTE:74 [ sprites_init::s#2 sprites_init::s#1 ] -Allocated zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] -Allocated zp ZP_BYTE:76 [ render_init::i#2 render_init::i#1 ] -Allocated zp ZP_WORD:77 [ render_init::li_1#2 render_init::li_1#1 ] -Allocated zp ZP_WORD:79 [ render_init::li_2#2 render_init::li_2#1 ] -Allocated zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Allocated zp ZP_WORD:82 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] -Allocated zp ZP_WORD:84 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] -Allocated zp ZP_WORD:86 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] -Allocated zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] -Allocated zp ZP_BYTE:90 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] -Allocated zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] -Allocated zp ZP_BYTE:92 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] -Allocated zp ZP_BYTE:93 [ render_screen_showing#0 ] -Allocated zp ZP_BYTE:94 [ irq_raster_next#0 ] -Allocated zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] -Allocated zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] -Allocated zp ZP_BYTE:97 [ irq_cnt#0 ] -Allocated zp ZP_BYTE:98 [ keyboard_event_get::return#3 ] -Allocated zp ZP_BYTE:99 [ main::key_event#0 ] -Allocated zp ZP_BYTE:100 [ play_move_down::key_event#0 ] -Allocated zp ZP_BYTE:101 [ play_move_down::return#3 ] -Allocated zp ZP_BYTE:102 [ main::$12 ] -Allocated zp ZP_BYTE:103 [ main::render#1 ] -Allocated zp ZP_BYTE:104 [ play_move_leftright::key_event#0 ] -Allocated zp ZP_BYTE:105 [ play_move_leftright::return#4 ] -Allocated zp ZP_BYTE:106 [ main::$13 ] -Allocated zp ZP_BYTE:107 [ main::render#2 ] -Allocated zp ZP_BYTE:108 [ play_move_rotate::key_event#0 ] -Allocated zp ZP_BYTE:109 [ play_move_rotate::return#4 ] -Allocated zp ZP_BYTE:110 [ main::$14 ] -Allocated zp ZP_BYTE:111 [ main::render#3 ] -Allocated zp ZP_BYTE:112 [ render_current::$5 ] -Allocated zp ZP_WORD:113 [ render_current::screen_line#0 ] -Allocated zp ZP_BYTE:115 [ render_current::current_cell#0 ] -Allocated zp ZP_BYTE:116 [ render_playfield::$2 ] -Allocated zp ZP_BYTE:117 [ render_playfield::$3 ] -Allocated zp ZP_BYTE:118 [ play_move_rotate::$2 ] -Allocated zp ZP_BYTE:119 [ play_collision::return#13 ] -Allocated zp ZP_BYTE:120 [ play_move_rotate::$6 ] -Allocated zp ZP_BYTE:121 [ play_move_rotate::$4 ] -Allocated zp ZP_WORD:122 [ play_collision::piece_gfx#0 ] -Allocated zp ZP_WORD:124 [ play_collision::playfield_line#0 ] -Allocated zp ZP_BYTE:126 [ play_collision::i#1 ] -Allocated zp ZP_BYTE:127 [ play_collision::$7 ] -Allocated zp ZP_BYTE:128 [ play_collision::return#12 ] -Allocated zp ZP_BYTE:129 [ play_move_leftright::$4 ] -Allocated zp ZP_BYTE:130 [ play_collision::return#1 ] -Allocated zp ZP_BYTE:131 [ play_move_leftright::$8 ] -Allocated zp ZP_BYTE:132 [ keyboard_event_pressed::return#12 ] -Allocated zp ZP_BYTE:133 [ play_move_down::$2 ] -Allocated zp ZP_BYTE:134 [ play_collision::return#0 ] -Allocated zp ZP_BYTE:135 [ play_move_down::$12 ] -Allocated zp ZP_BYTE:136 [ play_remove_lines::return#0 ] -Allocated zp ZP_BYTE:137 [ play_move_down::removed#0 ] -Allocated zp ZP_BYTE:138 [ play_update_score::removed#0 ] -Allocated zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Allocated zp ZP_BYTE:140 [ sid_rnd::return#2 ] -Allocated zp ZP_BYTE:141 [ play_spawn_current::$1 ] -Allocated zp ZP_BYTE:142 [ sid_rnd::return#0 ] -Allocated zp ZP_BYTE:143 [ play_update_score::$2 ] -Allocated zp ZP_DWORD:144 [ play_update_score::add_bcd#0 ] -Allocated zp ZP_BYTE:148 [ play_remove_lines::c#0 ] -Allocated zp ZP_WORD:149 [ play_lock_current::playfield_line#0 ] -Allocated zp ZP_BYTE:151 [ play_lock_current::i#1 ] -Allocated zp ZP_BYTE:152 [ keyboard_event_pressed::$0 ] -Allocated zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] -Allocated zp ZP_BYTE:154 [ keyboard_event_pressed::$1 ] -Allocated zp ZP_BYTE:155 [ keyboard_event_pressed::return#11 ] -Allocated zp ZP_BYTE:156 [ keyboard_matrix_read::rowid#0 ] -Allocated zp ZP_BYTE:157 [ keyboard_matrix_read::return#2 ] -Allocated zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] -Allocated zp ZP_BYTE:159 [ keyboard_event_pressed::return#0 ] -Allocated zp ZP_BYTE:160 [ keyboard_event_scan::$14 ] -Allocated zp ZP_BYTE:161 [ keyboard_event_pressed::return#1 ] -Allocated zp ZP_BYTE:162 [ keyboard_event_scan::$18 ] -Allocated zp ZP_BYTE:163 [ keyboard_event_pressed::return#2 ] -Allocated zp ZP_BYTE:164 [ keyboard_event_scan::$22 ] -Allocated zp ZP_BYTE:165 [ keyboard_event_pressed::return#10 ] -Allocated zp ZP_BYTE:166 [ keyboard_event_scan::$26 ] -Allocated zp ZP_BYTE:167 [ keyboard_modifiers#5 ] -Allocated zp ZP_BYTE:168 [ keyboard_event_scan::$3 ] -Allocated zp ZP_BYTE:169 [ keyboard_event_scan::$4 ] -Allocated zp ZP_BYTE:170 [ keyboard_event_scan::event_type#0 ] -Allocated zp ZP_BYTE:171 [ keyboard_event_scan::$11 ] -Allocated zp ZP_BYTE:172 [ keyboard_matrix_read::return#0 ] -Allocated zp ZP_BYTE:173 [ render_screen_showing#1 ] -Allocated zp ZP_BYTE:174 [ play_init::$1 ] -Allocated zp ZP_BYTE:175 [ sprites_init::s2#0 ] -Allocated zp ZP_BYTE:176 [ render_init::$13 ] -Allocated zp ZP_BYTE:177 [ render_init::$14 ] -Allocated zp ZP_BYTE:178 [ sprites_irq::ypos#0 ] -Allocated zp ZP_BYTE:179 [ sprites_irq::ptr#0 ] -Allocated zp ZP_BYTE:180 [ sprites_irq::ptr#3 ] -Allocated zp ZP_BYTE:181 [ sprites_irq::ptr#4 ] -Allocated zp ZP_BYTE:182 [ irq_cnt#1 ] -Allocated zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] -Allocated zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] -Allocated zp ZP_BYTE:185 [ sprites_irq::$4 ] -Allocated zp ZP_BYTE:186 [ irq_cnt#14 ] -Allocated zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] -Allocated zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] -Allocated zp ZP_BYTE:189 [ sprites_irq::ptr#1 ] -Allocated zp ZP_BYTE:190 [ sprites_irq::ptr#2 ] +Allocated zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] +Allocated zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] +Allocated zp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] +Allocated zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] +Allocated zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] +Allocated zp ZP_WORD:11 [ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] +Allocated zp ZP_BYTE:13 [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] +Allocated zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] +Allocated zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] +Allocated zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] +Allocated zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] +Allocated zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] +Allocated zp ZP_BYTE:19 [ render_screen_render#21 render_screen_render#65 ] +Allocated zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Allocated zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] +Allocated zp ZP_WORD:22 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] +Allocated zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] +Allocated zp ZP_BYTE:25 [ play_move_rotate::return#1 ] +Allocated zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] +Allocated zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] +Allocated zp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] +Allocated zp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] +Allocated zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] +Allocated zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] +Allocated zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] +Allocated zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] +Allocated zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] +Allocated zp ZP_BYTE:36 [ play_collision::c#2 play_collision::c#1 ] +Allocated zp ZP_BYTE:37 [ play_collision::return#14 ] +Allocated zp ZP_BYTE:38 [ play_move_leftright::return#1 ] +Allocated zp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] +Allocated zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] +Allocated zp ZP_DWORD:41 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +Allocated zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] +Allocated zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Allocated zp ZP_WORD:48 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] +Allocated zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Allocated zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Allocated zp ZP_BYTE:52 [ play_move_down::return#2 ] +Allocated zp ZP_BYTE:53 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] +Allocated zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] +Allocated zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] +Allocated zp ZP_BYTE:56 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] +Allocated zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] +Allocated zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] +Allocated zp ZP_BYTE:59 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] +Allocated zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Allocated zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] +Allocated zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] +Allocated zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] +Allocated zp ZP_BYTE:64 [ play_lock_current::c#2 play_lock_current::c#1 ] +Allocated zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] +Allocated zp ZP_BYTE:66 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] +Allocated zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] +Allocated zp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] +Allocated zp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] +Allocated zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] +Allocated zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Allocated zp ZP_BYTE:72 [ render_show::d018val#3 ] +Allocated zp ZP_BYTE:73 [ play_init::j#2 play_init::j#1 ] +Allocated zp ZP_WORD:74 [ play_init::pli#2 play_init::pli#1 ] +Allocated zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] +Allocated zp ZP_BYTE:77 [ sprites_init::s#2 sprites_init::s#1 ] +Allocated zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Allocated zp ZP_BYTE:79 [ render_init::i#2 render_init::i#1 ] +Allocated zp ZP_WORD:80 [ render_init::li_1#2 render_init::li_1#1 ] +Allocated zp ZP_WORD:82 [ render_init::li_2#2 render_init::li_2#1 ] +Allocated zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Allocated zp ZP_WORD:85 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] +Allocated zp ZP_WORD:87 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] +Allocated zp ZP_WORD:89 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] +Allocated zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] +Allocated zp ZP_BYTE:93 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] +Allocated zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] +Allocated zp ZP_BYTE:95 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] +Allocated zp ZP_BYTE:96 [ render_screen_showing#0 ] +Allocated zp ZP_BYTE:97 [ irq_raster_next#0 ] +Allocated zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] +Allocated zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] +Allocated zp ZP_BYTE:100 [ irq_cnt#0 ] +Allocated zp ZP_BYTE:101 [ keyboard_event_get::return#3 ] +Allocated zp ZP_BYTE:102 [ main::key_event#0 ] +Allocated zp ZP_BYTE:103 [ play_move_down::key_event#0 ] +Allocated zp ZP_BYTE:104 [ play_move_down::return#3 ] +Allocated zp ZP_BYTE:105 [ main::$12 ] +Allocated zp ZP_BYTE:106 [ main::render#1 ] +Allocated zp ZP_BYTE:107 [ play_move_leftright::key_event#0 ] +Allocated zp ZP_BYTE:108 [ play_move_leftright::return#4 ] +Allocated zp ZP_BYTE:109 [ main::$13 ] +Allocated zp ZP_BYTE:110 [ main::render#2 ] +Allocated zp ZP_BYTE:111 [ play_move_rotate::key_event#0 ] +Allocated zp ZP_BYTE:112 [ play_move_rotate::return#4 ] +Allocated zp ZP_BYTE:113 [ main::$14 ] +Allocated zp ZP_BYTE:114 [ main::render#3 ] +Allocated zp ZP_BYTE:115 [ render_score::score_byte#0 ] +Allocated zp ZP_BYTE:116 [ render_score::$9 ] +Allocated zp ZP_BYTE:117 [ render_score::$10 ] +Allocated zp ZP_WORD:118 [ render_score::screen_score_pos#2 ] +Allocated zp ZP_BYTE:120 [ render_score::$11 ] +Allocated zp ZP_BYTE:121 [ render_score::$12 ] +Allocated zp ZP_BYTE:122 [ render_current::$5 ] +Allocated zp ZP_WORD:123 [ render_current::screen_line#0 ] +Allocated zp ZP_BYTE:125 [ render_current::current_cell#0 ] +Allocated zp ZP_BYTE:126 [ render_playfield::$2 ] +Allocated zp ZP_BYTE:127 [ render_playfield::$3 ] +Allocated zp ZP_BYTE:128 [ play_move_rotate::$2 ] +Allocated zp ZP_BYTE:129 [ play_collision::return#13 ] +Allocated zp ZP_BYTE:130 [ play_move_rotate::$6 ] +Allocated zp ZP_BYTE:131 [ play_move_rotate::$4 ] +Allocated zp ZP_WORD:132 [ play_collision::piece_gfx#0 ] +Allocated zp ZP_WORD:134 [ play_collision::playfield_line#0 ] +Allocated zp ZP_BYTE:136 [ play_collision::i#1 ] +Allocated zp ZP_BYTE:137 [ play_collision::$7 ] +Allocated zp ZP_BYTE:138 [ play_collision::return#12 ] +Allocated zp ZP_BYTE:139 [ play_move_leftright::$4 ] +Allocated zp ZP_BYTE:140 [ play_collision::return#1 ] +Allocated zp ZP_BYTE:141 [ play_move_leftright::$8 ] +Allocated zp ZP_BYTE:142 [ keyboard_event_pressed::return#12 ] +Allocated zp ZP_BYTE:143 [ play_move_down::$2 ] +Allocated zp ZP_BYTE:144 [ play_collision::return#0 ] +Allocated zp ZP_BYTE:145 [ play_move_down::$12 ] +Allocated zp ZP_BYTE:146 [ play_remove_lines::return#0 ] +Allocated zp ZP_BYTE:147 [ play_move_down::removed#0 ] +Allocated zp ZP_BYTE:148 [ play_update_score::removed#0 ] +Allocated zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Allocated zp ZP_BYTE:150 [ sid_rnd::return#2 ] +Allocated zp ZP_BYTE:151 [ play_spawn_current::$1 ] +Allocated zp ZP_BYTE:152 [ sid_rnd::return#0 ] +Allocated zp ZP_BYTE:153 [ play_update_score::$2 ] +Allocated zp ZP_DWORD:154 [ play_update_score::add_bcd#0 ] +Allocated zp ZP_BYTE:158 [ play_remove_lines::c#0 ] +Allocated zp ZP_WORD:159 [ play_lock_current::playfield_line#0 ] +Allocated zp ZP_BYTE:161 [ play_lock_current::i#1 ] +Allocated zp ZP_BYTE:162 [ keyboard_event_pressed::$0 ] +Allocated zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] +Allocated zp ZP_BYTE:164 [ keyboard_event_pressed::$1 ] +Allocated zp ZP_BYTE:165 [ keyboard_event_pressed::return#11 ] +Allocated zp ZP_BYTE:166 [ keyboard_matrix_read::rowid#0 ] +Allocated zp ZP_BYTE:167 [ keyboard_matrix_read::return#2 ] +Allocated zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] +Allocated zp ZP_BYTE:169 [ keyboard_event_pressed::return#0 ] +Allocated zp ZP_BYTE:170 [ keyboard_event_scan::$14 ] +Allocated zp ZP_BYTE:171 [ keyboard_event_pressed::return#1 ] +Allocated zp ZP_BYTE:172 [ keyboard_event_scan::$18 ] +Allocated zp ZP_BYTE:173 [ keyboard_event_pressed::return#2 ] +Allocated zp ZP_BYTE:174 [ keyboard_event_scan::$22 ] +Allocated zp ZP_BYTE:175 [ keyboard_event_pressed::return#10 ] +Allocated zp ZP_BYTE:176 [ keyboard_event_scan::$26 ] +Allocated zp ZP_BYTE:177 [ keyboard_modifiers#5 ] +Allocated zp ZP_BYTE:178 [ keyboard_event_scan::$3 ] +Allocated zp ZP_BYTE:179 [ keyboard_event_scan::$4 ] +Allocated zp ZP_BYTE:180 [ keyboard_event_scan::event_type#0 ] +Allocated zp ZP_BYTE:181 [ keyboard_event_scan::$11 ] +Allocated zp ZP_BYTE:182 [ keyboard_matrix_read::return#0 ] +Allocated zp ZP_BYTE:183 [ render_screen_showing#1 ] +Allocated zp ZP_BYTE:184 [ play_init::$1 ] +Allocated zp ZP_BYTE:185 [ sprites_init::s2#0 ] +Allocated zp ZP_BYTE:186 [ render_init::$13 ] +Allocated zp ZP_BYTE:187 [ render_init::$14 ] +Allocated zp ZP_BYTE:188 [ sprites_irq::ypos#0 ] +Allocated zp ZP_BYTE:189 [ sprites_irq::ptr#0 ] +Allocated zp ZP_BYTE:190 [ sprites_irq::ptr#3 ] +Allocated zp ZP_BYTE:191 [ sprites_irq::ptr#4 ] +Allocated zp ZP_BYTE:192 [ irq_cnt#1 ] +Allocated zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] +Allocated zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] +Allocated zp ZP_BYTE:195 [ sprites_irq::$4 ] +Allocated zp ZP_BYTE:196 [ irq_cnt#14 ] +Allocated zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] +Allocated zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] +Allocated zp ZP_BYTE:199 [ sprites_irq::ptr#1 ] +Allocated zp ZP_BYTE:200 [ sprites_irq::ptr#2 ] INITIAL ASM //SEG0 Basic Upstart @@ -9492,55 +9750,55 @@ INITIAL ASM .label PLAYFIELD_SPRITE_PTRS_1 = PLAYFIELD_SCREEN_1+SPRITE_PTRS .label PLAYFIELD_SPRITE_PTRS_2 = PLAYFIELD_SCREEN_2+SPRITE_PTRS .const toSpritePtr1_return = PLAYFIELD_SPRITES>>6 - .label keyboard_events_size = $44 - .label keyboard_modifiers = $41 - .label keyboard_modifiers_5 = $a7 - .label render_screen_showing = $5d - .label render_screen_showing_1 = $ad - .label irq_raster_next = $5e - .label irq_sprite_ypos = $5f - .label irq_sprite_ptr = $60 - .label irq_cnt = $61 - .label irq_cnt_1 = $b6 - .label irq_raster_next_1 = $5b - .label irq_sprite_ypos_1 = $bb - .label irq_sprite_ptr_1 = $bc - .label irq_raster_next_2 = $5b - .label irq_sprite_ypos_2 = $b7 - .label irq_sprite_ptr_2 = $b8 + .label keyboard_events_size = $47 + .label keyboard_modifiers = $44 + .label keyboard_modifiers_5 = $b1 + .label render_screen_showing = $60 + .label render_screen_showing_1 = $b7 + .label irq_raster_next = $61 + .label irq_sprite_ypos = $62 + .label irq_sprite_ptr = $63 + .label irq_cnt = $64 + .label irq_cnt_1 = $c0 + .label irq_raster_next_1 = $5e + .label irq_sprite_ypos_1 = $c5 + .label irq_sprite_ptr_1 = $c6 + .label irq_raster_next_2 = $5e + .label irq_sprite_ypos_2 = $c1 + .label irq_sprite_ptr_2 = $c2 .label current_movedown_counter = 4 - .label current_ypos = $25 - .label score_bcd = $26 - .label current_piece_gfx = $2d - .label current_xpos = $2f - .label current_piece_char = $30 - .label current_orientation = $2c + .label current_ypos = $28 + .label current_piece_gfx = $30 + .label current_xpos = $32 + .label current_piece_char = $33 + .label current_orientation = $2f + .label score_bcd = $29 .label render_screen_render = 3 .label render_screen_show = 2 - .label current_ypos_9 = 5 - .label current_piece = $2a - .label current_piece_12 = $18 - .label render_screen_render_19 = $10 - .label render_screen_render_28 = 6 - .label current_xpos_47 = 7 - .label irq_raster_next_13 = $5b - .label current_piece_gfx_53 = 8 - .label irq_cnt_14 = $ba - .label current_piece_char_64 = $a - .label current_ypos_85 = 5 - .label current_ypos_86 = 5 - .label render_screen_render_62 = 6 - .label current_xpos_111 = 7 - .label current_xpos_112 = 7 - .label current_piece_gfx_101 = 8 - .label current_piece_gfx_102 = 8 - .label current_piece_char_89 = $a - .label current_piece_char_90 = $a - .label render_screen_render_63 = $10 - .label current_piece_75 = $18 - .label current_piece_76 = $18 - .label current_piece_77 = $18 - .label current_piece_78 = $18 + .label current_ypos_9 = 8 + .label current_piece = $2d + .label current_piece_12 = $1b + .label render_screen_render_21 = $13 + .label render_screen_render_30 = 9 + .label current_xpos_47 = $a + .label irq_raster_next_13 = $5e + .label current_piece_gfx_53 = $b + .label irq_cnt_14 = $c4 + .label current_piece_char_64 = $d + .label current_ypos_86 = 8 + .label current_ypos_87 = 8 + .label render_screen_render_64 = 9 + .label current_xpos_112 = $a + .label current_xpos_113 = $a + .label current_piece_gfx_102 = $b + .label current_piece_gfx_103 = $b + .label current_piece_char_90 = $d + .label current_piece_char_91 = $d + .label render_screen_render_65 = $13 + .label current_piece_76 = $1b + .label current_piece_77 = $1b + .label current_piece_78 = $1b + .label current_piece_79 = $1b //SEG2 @begin bbegin: jmp b14 @@ -9552,56 +9810,56 @@ b14: //SEG5 kickasm(location (const byte*) PLAYFIELD_CHARSET#0) {{ .fill 8,$00 // Place a filled char at the start of the charset .import binary "playfield-screen.imap" }} //SEG6 kickasm(location (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0) {{ // Load chars for the screen .var screen = LoadBinary("playfield-screen.iscr") // Load extended colors for the screen .var extended = LoadBinary("playfield-extended.col") // screen.get(i)+1 because the charset is loaded into PLAYFIELD_CHARSET+8 // extended.get(i)-1 because the extended colors are 1-based (1/2/3/4) // <<6 to move extended colors to the upper 2 bits .fill screen.getSize(), ( (screen.get(i)+1) | (extended.get(i)-1)<<6 ) }} //SEG7 kickasm(location (const byte*) PLAYFIELD_COLORS_ORIGINAL#0) {{ .import binary "playfield-screen.col" }} - jmp b20 -//SEG8 @20 -b20: -//SEG9 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { .for (var y=0;y<21; y++) { .for (var c=0; c<3; c++) { .byte sprites.getSinglecolorByte(sx*3+c,sy*21+y) } } .byte 0 } } }} jmp b21 -//SEG10 @21 +//SEG8 @21 b21: +//SEG9 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { .for (var y=0;y<21; y++) { .for (var c=0; c<3; c++) { .byte sprites.getSinglecolorByte(sx*3+c,sy*21+y) } } .byte 0 } } }} + jmp b22 +//SEG10 @22 +b22: //SEG11 [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next //SEG12 [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos -//SEG13 [8] phi from @21 to toSpritePtr1 [phi:@21->toSpritePtr1] -toSpritePtr1_from_b21: +//SEG13 [8] phi from @22 to toSpritePtr1 [phi:@22->toSpritePtr1] +toSpritePtr1_from_b22: jmp toSpritePtr1 //SEG14 toSpritePtr1 toSpritePtr1: - jmp b34 -//SEG15 @34 -b34: + jmp b35 +//SEG15 @35 +b35: //SEG16 [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 -- vbuz1=vbuc1 lda #toSpritePtr1_return sta irq_sprite_ptr //SEG17 [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt -//SEG18 [11] phi from @34 to @33 [phi:@34->@33] -b33_from_b34: - jmp b33 -//SEG19 @33 -b33: +//SEG18 [11] phi from @35 to @34 [phi:@35->@34] +b34_from_b35: + jmp b34 +//SEG19 @34 +b34: //SEG20 [12] call main -//SEG21 [14] phi from @33 to main [phi:@33->main] -main_from_b33: +//SEG21 [14] phi from @34 to main [phi:@34->main] +main_from_b34: jsr main -//SEG22 [13] phi from @33 to @end [phi:@33->@end] -bend_from_b33: +//SEG22 [13] phi from @34 to @end [phi:@34->@end] +bend_from_b34: jmp bend //SEG23 @end bend: //SEG24 main main: { - .label _12 = $66 - .label _13 = $6a - .label _14 = $6e - .label key_event = $63 - .label render = $67 - .label render_2 = $6b - .label render_3 = $6f + .label _12 = $69 + .label _13 = $6d + .label _14 = $71 + .label key_event = $66 + .label render = $6a + .label render_2 = $6e + .label render_3 = $72 //SEG25 [15] call sid_rnd_init jsr sid_rnd_init jmp b15 @@ -9610,7 +9868,7 @@ main: { //SEG27 asm { sei } sei //SEG28 [17] call render_init - //SEG29 [386] phi from main::@15 to render_init [phi:main::@15->render_init] + //SEG29 [404] phi from main::@15 to render_init [phi:main::@15->render_init] render_init_from_b15: jsr render_init //SEG30 [18] phi from main::@15 to main::@16 [phi:main::@15->main::@16] @@ -9633,7 +9891,7 @@ main: { //SEG37 main::@18 b18: //SEG38 [23] call play_init - //SEG39 [351] phi from main::@18 to play_init [phi:main::@18->play_init] + //SEG39 [369] phi from main::@18 to play_init [phi:main::@18->play_init] play_init_from_b18: jsr play_init //SEG40 [24] phi from main::@18 to main::@19 [phi:main::@18->main::@19] @@ -9642,7 +9900,7 @@ main: { //SEG41 main::@19 b19: //SEG42 [25] call play_spawn_current - //SEG43 [213] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] + //SEG43 [231] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] play_spawn_current_from_b19: jsr play_spawn_current //SEG44 [26] phi from main::@19 to main::@20 [phi:main::@19->main::@20] @@ -9651,41 +9909,41 @@ main: { //SEG45 main::@20 b20: //SEG46 [27] call render_playfield - //SEG47 [96] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] + //SEG47 [114] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] render_playfield_from_b20: - //SEG48 [96] phi (byte) render_screen_render#19 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuz1=vbuc1 + //SEG48 [114] phi (byte) render_screen_render#21 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuz1=vbuc1 lda #$40 - sta render_screen_render_19 + sta render_screen_render_21 jsr render_playfield jmp b21 //SEG49 main::@21 b21: - //SEG50 [28] (byte~) current_ypos#85 ← (byte) current_ypos#18 -- vbuz1=vbuz2 + //SEG50 [28] (byte~) current_ypos#86 ← (byte) current_ypos#18 -- vbuz1=vbuz2 lda current_ypos - sta current_ypos_85 - //SEG51 [29] (byte~) current_xpos#111 ← (byte) current_xpos#23 -- vbuz1=vbuz2 + sta current_ypos_86 + //SEG51 [29] (byte~) current_xpos#112 ← (byte) current_xpos#23 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_111 - //SEG52 [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 + sta current_xpos_112 + //SEG52 [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_101 + sta current_piece_gfx_102 lda current_piece_gfx+1 - sta current_piece_gfx_101+1 - //SEG53 [31] (byte~) current_piece_char#89 ← (byte) current_piece_char#12 -- vbuz1=vbuz2 + sta current_piece_gfx_102+1 + //SEG53 [31] (byte~) current_piece_char#90 ← (byte) current_piece_char#12 -- vbuz1=vbuz2 lda current_piece_char - sta current_piece_char_89 + sta current_piece_char_90 //SEG54 [32] call render_current - //SEG55 [73] phi from main::@21 to render_current [phi:main::@21->render_current] + //SEG55 [91] phi from main::@21 to render_current [phi:main::@21->render_current] render_current_from_b21: - //SEG56 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#89 [phi:main::@21->render_current#0] -- register_copy - //SEG57 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#101 [phi:main::@21->render_current#1] -- register_copy - //SEG58 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#111 [phi:main::@21->render_current#2] -- register_copy - //SEG59 [73] phi (byte) render_screen_render#28 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 + //SEG56 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@21->render_current#0] -- register_copy + //SEG57 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@21->render_current#1] -- register_copy + //SEG58 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@21->render_current#2] -- register_copy + //SEG59 [91] phi (byte) render_screen_render#30 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 lda #$40 - sta render_screen_render_28 - //SEG60 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#85 [phi:main::@21->render_current#4] -- register_copy + sta render_screen_render_30 + //SEG60 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@21->render_current#4] -- register_copy jsr render_current - //SEG61 [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG61 [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece @@ -9693,7 +9951,7 @@ main: { sta current_piece+1 //SEG62 [34] phi from main::@21 to main::@1 [phi:main::@21->main::@1] b1_from_b21: - //SEG63 [34] phi (dword) score_bcd#13 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 + //SEG63 [34] phi (dword) score_bcd#14 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 lda #0 sta score_bcd lda #0 @@ -9713,8 +9971,8 @@ main: { //SEG70 [34] phi (byte) current_orientation#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#7] -- vbuz1=vbuc1 lda #0 sta current_orientation - //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#72 [phi:main::@21->main::@1#8] -- register_copy - //SEG72 [34] phi (byte) render_screen_render#16 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 + //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#73 [phi:main::@21->main::@1#8] -- register_copy + //SEG72 [34] phi (byte) render_screen_render#17 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 lda #$40 sta render_screen_render //SEG73 [34] phi (byte) render_screen_show#16 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#10] -- vbuz1=vbuc1 @@ -9723,7 +9981,7 @@ main: { jmp b1 //SEG74 [34] phi from main::@28 to main::@1 [phi:main::@28->main::@1] b1_from_b28: - //SEG75 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@28->main::@1#0] -- register_copy + //SEG75 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@28->main::@1#0] -- register_copy //SEG76 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@28->main::@1#1] -- register_copy //SEG77 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@28->main::@1#2] -- register_copy //SEG78 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@28->main::@1#3] -- register_copy @@ -9755,7 +10013,7 @@ main: { //SEG91 main::@23 b23: //SEG92 [39] call keyboard_event_scan - //SEG93 [288] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] + //SEG93 [306] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] keyboard_event_scan_from_b23: jsr keyboard_event_scan //SEG94 [40] phi from main::@23 to main::@24 [phi:main::@23->main::@24] @@ -9838,407 +10096,532 @@ main: { jmp b13 //SEG119 main::@13 b13: - //SEG120 [60] (byte~) render_screen_render#63 ← (byte) render_screen_render#16 -- vbuz1=vbuz2 + //SEG120 [60] (byte~) render_screen_render#65 ← (byte) render_screen_render#17 -- vbuz1=vbuz2 lda render_screen_render - sta render_screen_render_63 + sta render_screen_render_65 //SEG121 [61] call render_playfield - //SEG122 [96] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] + //SEG122 [114] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] render_playfield_from_b13: - //SEG123 [96] phi (byte) render_screen_render#19 = (byte~) render_screen_render#63 [phi:main::@13->render_playfield#0] -- register_copy + //SEG123 [114] phi (byte) render_screen_render#21 = (byte~) render_screen_render#65 [phi:main::@13->render_playfield#0] -- register_copy jsr render_playfield jmp b29 //SEG124 main::@29 b29: - //SEG125 [62] (byte~) current_ypos#86 ← (byte) current_ypos#13 -- vbuz1=vbuz2 + //SEG125 [62] (byte~) current_ypos#87 ← (byte) current_ypos#13 -- vbuz1=vbuz2 lda current_ypos - sta current_ypos_86 - //SEG126 [63] (byte~) render_screen_render#62 ← (byte) render_screen_render#16 -- vbuz1=vbuz2 + sta current_ypos_87 + //SEG126 [63] (byte~) render_screen_render#64 ← (byte) render_screen_render#17 -- vbuz1=vbuz2 lda render_screen_render - sta render_screen_render_62 - //SEG127 [64] (byte~) current_xpos#112 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + sta render_screen_render_64 + //SEG127 [64] (byte~) current_xpos#113 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_112 - //SEG128 [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 + sta current_xpos_113 + //SEG128 [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_102 + sta current_piece_gfx_103 lda current_piece_gfx+1 - sta current_piece_gfx_102+1 - //SEG129 [66] (byte~) current_piece_char#90 ← (byte) current_piece_char#1 -- vbuz1=vbuz2 + sta current_piece_gfx_103+1 + //SEG129 [66] (byte~) current_piece_char#91 ← (byte) current_piece_char#1 -- vbuz1=vbuz2 lda current_piece_char - sta current_piece_char_90 + sta current_piece_char_91 //SEG130 [67] call render_current - //SEG131 [73] phi from main::@29 to render_current [phi:main::@29->render_current] + //SEG131 [91] phi from main::@29 to render_current [phi:main::@29->render_current] render_current_from_b29: - //SEG132 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@29->render_current#0] -- register_copy - //SEG133 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@29->render_current#1] -- register_copy - //SEG134 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@29->render_current#2] -- register_copy - //SEG135 [73] phi (byte) render_screen_render#28 = (byte~) render_screen_render#62 [phi:main::@29->render_current#3] -- register_copy - //SEG136 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@29->render_current#4] -- register_copy + //SEG132 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#91 [phi:main::@29->render_current#0] -- register_copy + //SEG133 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#103 [phi:main::@29->render_current#1] -- register_copy + //SEG134 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#113 [phi:main::@29->render_current#2] -- register_copy + //SEG135 [91] phi (byte) render_screen_render#30 = (byte~) render_screen_render#64 [phi:main::@29->render_current#3] -- register_copy + //SEG136 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#87 [phi:main::@29->render_current#4] -- register_copy jsr render_current //SEG137 [68] phi from main::@29 to main::@30 [phi:main::@29->main::@30] b30_from_b29: jmp b30 //SEG138 main::@30 b30: - //SEG139 [69] call render_screen_swap + //SEG139 [69] call render_score + jsr render_score + //SEG140 [70] phi from main::@30 to main::@31 [phi:main::@30->main::@31] + b31_from_b30: + jmp b31 + //SEG141 main::@31 + b31: + //SEG142 [71] call render_screen_swap jsr render_screen_swap - //SEG140 [34] phi from main::@30 to main::@1 [phi:main::@30->main::@1] - b1_from_b30: - //SEG141 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@30->main::@1#0] -- register_copy - //SEG142 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@30->main::@1#1] -- register_copy - //SEG143 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@30->main::@1#2] -- register_copy - //SEG144 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@30->main::@1#3] -- register_copy - //SEG145 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@30->main::@1#4] -- register_copy - //SEG146 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@30->main::@1#5] -- register_copy - //SEG147 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@30->main::@1#6] -- register_copy - //SEG148 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@30->main::@1#7] -- register_copy - //SEG149 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@30->main::@1#8] -- register_copy - //SEG150 [34] phi (byte) render_screen_render#16 = (byte) render_screen_render#11 [phi:main::@30->main::@1#9] -- register_copy - //SEG151 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@30->main::@1#10] -- register_copy + //SEG143 [34] phi from main::@31 to main::@1 [phi:main::@31->main::@1] + b1_from_b31: + //SEG144 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@31->main::@1#0] -- register_copy + //SEG145 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@31->main::@1#1] -- register_copy + //SEG146 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@31->main::@1#2] -- register_copy + //SEG147 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@31->main::@1#3] -- register_copy + //SEG148 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@31->main::@1#4] -- register_copy + //SEG149 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@31->main::@1#5] -- register_copy + //SEG150 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@31->main::@1#6] -- register_copy + //SEG151 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@31->main::@1#7] -- register_copy + //SEG152 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@31->main::@1#8] -- register_copy + //SEG153 [34] phi (byte) render_screen_render#17 = (byte) render_screen_render#11 [phi:main::@31->main::@1#9] -- register_copy + //SEG154 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@31->main::@1#10] -- register_copy jmp b1 } -//SEG152 render_screen_swap +//SEG155 render_screen_swap render_screen_swap: { - //SEG153 [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG156 [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_render eor #$40 sta render_screen_render - //SEG154 [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG157 [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_show eor #$40 sta render_screen_show jmp breturn - //SEG155 render_screen_swap::@return + //SEG158 render_screen_swap::@return breturn: - //SEG156 [72] return + //SEG159 [74] return rts } -//SEG157 render_current +//SEG160 render_score +render_score: { + .const ZERO_CHAR = $33 + .const SCREEN_SCORE_ROW = 5 + .const SCREEN_SCORE_COL = $1d + .label score_bytes = score_bcd + .label _9 = $74 + .label _10 = $75 + .label _11 = $78 + .label _12 = $79 + .label score_byte = $73 + .label screen_score_pos = $76 + .label screen_score_pos_3 = 6 + .label b = 5 + .label screen_score_pos_4 = 6 + .label screen_score_pos_5 = 6 + //SEG161 [75] if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@2 -- vbuz1_eq_0_then_la1 + lda render_screen_render + cmp #0 + beq b2_from_render_score + //SEG162 [76] phi from render_score to render_score::@4 [phi:render_score->render_score::@4] + b4_from_render_score: + jmp b4 + //SEG163 render_score::@4 + b4: + //SEG164 [77] phi from render_score::@4 to render_score::@2 [phi:render_score::@4->render_score::@2] + b2_from_b4: + //SEG165 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score::@4->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_2+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos_5+1 + jmp b2 + //SEG166 [77] phi from render_score to render_score::@2 [phi:render_score->render_score::@2] + b2_from_render_score: + //SEG167 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_1+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos_5+1 + jmp b2 + //SEG168 render_score::@2 + b2: + //SEG169 [78] phi from render_score::@2 to render_score::@3 [phi:render_score::@2->render_score::@3] + b3_from_b2: + //SEG170 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#5 [phi:render_score::@2->render_score::@3#0] -- register_copy + //SEG171 [78] phi (byte) render_score::b#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_score::@2->render_score::@3#1] -- vbuz1=vbuc1 + lda #0 + sta b + jmp b3 + //SEG172 [78] phi from render_score::@3 to render_score::@3 [phi:render_score::@3->render_score::@3] + b3_from_b3: + //SEG173 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#3 [phi:render_score::@3->render_score::@3#0] -- register_copy + //SEG174 [78] phi (byte) render_score::b#2 = (byte) render_score::b#1 [phi:render_score::@3->render_score::@3#1] -- register_copy + jmp b3 + //SEG175 render_score::@3 + b3: + //SEG176 [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) -- vbuz1=pbuc1_derefidx_vbuz2 + ldy b + lda score_bytes,y + sta score_byte + //SEG177 [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 -- vbuz1=vbuz2_band_vbuc1 + lda #$f + and score_byte + sta _9 + //SEG178 [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 -- vbuz1=vbuc1_plus_vbuz2 + lda #ZERO_CHAR + clc + adc _9 + sta _10 + //SEG179 [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 -- _deref_pbuz1=vbuz2 + lda _10 + ldy #0 + sta (screen_score_pos_4),y + //SEG180 [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 -- pbuz1=_dec_pbuz2 + lda screen_score_pos_4 + sec + sbc #1 + sta screen_score_pos + lda screen_score_pos_4+1 + sbc #0 + sta screen_score_pos+1 + //SEG181 [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz2_ror_4 + lda score_byte + lsr + lsr + lsr + lsr + sta _11 + //SEG182 [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 -- vbuz1=vbuc1_plus_vbuz2 + lda #ZERO_CHAR + clc + adc _11 + sta _12 + //SEG183 [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 -- _deref_pbuz1=vbuz2 + lda _12 + ldy #0 + sta (screen_score_pos),y + //SEG184 [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 -- pbuz1=_dec_pbuz2 + lda screen_score_pos + sec + sbc #1 + sta screen_score_pos_3 + lda screen_score_pos+1 + sbc #0 + sta screen_score_pos_3+1 + //SEG185 [88] (byte) render_score::b#1 ← ++ (byte) render_score::b#2 -- vbuz1=_inc_vbuz1 + inc b + //SEG186 [89] if((byte) render_score::b#1!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto render_score::@3 -- vbuz1_neq_vbuc1_then_la1 + lda b + cmp #3 + bne b3_from_b3 + jmp breturn + //SEG187 render_score::@return + breturn: + //SEG188 [90] return + rts +} +//SEG189 render_current render_current: { - .label _5 = $70 - .label ypos2 = $b - .label screen_line = $71 - .label xpos = $e - .label i = $d - .label l = $c - .label current_cell = $73 - .label c = $f - //SEG158 [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + .label _5 = $7a + .label ypos2 = $e + .label screen_line = $7b + .label xpos = $11 + .label i = $10 + .label l = $f + .label current_cell = $7d + .label c = $12 + //SEG190 [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda current_ypos_9 asl sta ypos2 - //SEG159 [75] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] + //SEG191 [93] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] b1_from_render_current: - //SEG160 [75] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 + //SEG192 [93] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG161 [75] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 + //SEG193 [93] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 lda #0 sta i - //SEG162 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy + //SEG194 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy jmp b1 - //SEG163 [75] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] + //SEG195 [93] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] b1_from_b3: - //SEG164 [75] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy - //SEG165 [75] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy - //SEG166 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy + //SEG196 [93] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy + //SEG197 [93] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy + //SEG198 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy jmp b1 - //SEG167 render_current::@1 + //SEG199 render_current::@1 b1: - //SEG168 [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 + //SEG200 [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 lda ypos2 cmp #2 beq !+ bcs b13 !: jmp b7 - //SEG169 render_current::@7 + //SEG201 render_current::@7 b7: - //SEG170 [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 + //SEG202 [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 lda #4 clc adc i sta i - //SEG171 [78] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] + //SEG203 [96] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] b3_from_b5: b3_from_b7: - //SEG172 [78] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy + //SEG204 [96] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy jmp b3 - //SEG173 render_current::@3 + //SEG205 render_current::@3 b3: - //SEG174 [79] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG206 [97] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG175 [80] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 + //SEG207 [98] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 inc l - //SEG176 [81] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG208 [99] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b1_from_b3 jmp breturn - //SEG177 render_current::@return + //SEG209 render_current::@return breturn: - //SEG178 [82] return + //SEG210 [100] return rts - //SEG179 render_current::@13 + //SEG211 render_current::@13 b13: - //SEG180 [83] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 + //SEG212 [101] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b2 jmp b7 - //SEG181 render_current::@2 + //SEG213 render_current::@2 b2: - //SEG182 [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 -- vbuz1=vbuz2_plus_vbuz3 - lda render_screen_render_28 + //SEG214 [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 -- vbuz1=vbuz2_plus_vbuz3 + lda render_screen_render_30 clc adc ypos2 sta _5 - //SEG183 [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG215 [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuz2 ldy _5 lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG184 [86] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 + //SEG216 [104] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 lda current_xpos_47 sta xpos - //SEG185 [87] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] + //SEG217 [105] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] b4_from_b2: - //SEG186 [87] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 + //SEG218 [105] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG187 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy - //SEG188 [87] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy + //SEG219 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy + //SEG220 [105] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy jmp b4 - //SEG189 [87] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] + //SEG221 [105] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] b4_from_b5: - //SEG190 [87] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy - //SEG191 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy - //SEG192 [87] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy + //SEG222 [105] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy + //SEG223 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy + //SEG224 [105] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy jmp b4 - //SEG193 render_current::@4 + //SEG225 render_current::@4 b4: - //SEG194 [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuz1=pbuz2_derefidx_vbuz3 + //SEG226 [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuz1=pbuz2_derefidx_vbuz3 ldy i lda (current_piece_gfx_53),y sta current_cell - //SEG195 [89] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 + //SEG227 [107] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 inc i - //SEG196 [90] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuz1_eq_0_then_la1 + //SEG228 [108] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuz1_eq_0_then_la1 lda current_cell cmp #0 beq b5 jmp b9 - //SEG197 render_current::@9 + //SEG229 render_current::@9 b9: - //SEG198 [91] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 + //SEG230 [109] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 lda xpos cmp #PLAYFIELD_COLS bcs b5 jmp b10 - //SEG199 render_current::@10 + //SEG231 render_current::@10 b10: - //SEG200 [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuz3 + //SEG232 [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuz3 lda current_piece_char_64 ldy xpos sta (screen_line),y jmp b5 - //SEG201 render_current::@5 + //SEG233 render_current::@5 b5: - //SEG202 [93] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 + //SEG234 [111] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 inc xpos - //SEG203 [94] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 + //SEG235 [112] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG204 [95] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG236 [113] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #4 bne b4_from_b5 jmp b3_from_b5 } -//SEG205 render_playfield +//SEG237 render_playfield render_playfield: { - .label _2 = $74 - .label _3 = $75 - .label screen_line = $13 - .label i = $12 - .label c = $15 - .label l = $11 - //SEG206 [97] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] + .label _2 = $7e + .label _3 = $7f + .label screen_line = $16 + .label i = $15 + .label c = $18 + .label l = $14 + //SEG238 [115] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] b1_from_render_playfield: - //SEG207 [97] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 + //SEG239 [115] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 lda #PLAYFIELD_COLS*2 sta i - //SEG208 [97] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 + //SEG240 [115] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 lda #2 sta l jmp b1 - //SEG209 [97] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] + //SEG241 [115] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] b1_from_b3: - //SEG210 [97] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy - //SEG211 [97] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy + //SEG242 [115] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy + //SEG243 [115] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy jmp b1 - //SEG212 render_playfield::@1 + //SEG244 render_playfield::@1 b1: - //SEG213 [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG245 [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda l asl sta _2 - //SEG214 [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 -- vbuz1=vbuz2_plus_vbuz3 - lda render_screen_render_19 + //SEG246 [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 -- vbuz1=vbuz2_plus_vbuz3 + lda render_screen_render_21 clc adc _2 sta _3 - //SEG215 [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG247 [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy _3 lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG216 [101] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] + //SEG248 [119] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] b2_from_b1: - //SEG217 [101] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 + //SEG249 [119] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG218 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy - //SEG219 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy + //SEG250 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy + //SEG251 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy jmp b2 - //SEG220 [101] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] + //SEG252 [119] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] b2_from_b2: - //SEG221 [101] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy - //SEG222 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy - //SEG223 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy + //SEG253 [119] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy + //SEG254 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy + //SEG255 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy jmp b2 - //SEG224 render_playfield::@2 + //SEG256 render_playfield::@2 b2: - //SEG225 [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 + //SEG257 [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 ldy i lda playfield,y ldy #0 sta (screen_line),y - //SEG226 [103] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 + //SEG258 [121] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 inc screen_line bne !+ inc screen_line+1 !: - //SEG227 [104] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 + //SEG259 [122] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 inc i - //SEG228 [105] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 + //SEG260 [123] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG229 [106] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG261 [124] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #PLAYFIELD_COLS-1+1 bne b2_from_b2 jmp b3 - //SEG230 render_playfield::@3 + //SEG262 render_playfield::@3 b3: - //SEG231 [107] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 + //SEG263 [125] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 inc l - //SEG232 [108] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG264 [126] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #PLAYFIELD_LINES-1+1 bne b1_from_b3 jmp breturn - //SEG233 render_playfield::@return + //SEG265 render_playfield::@return breturn: - //SEG234 [109] return + //SEG266 [127] return rts } -//SEG235 play_move_rotate +//SEG267 play_move_rotate play_move_rotate: { - .label _2 = $76 - .label _4 = $79 - .label _6 = $78 - .label orientation = $17 - .label return = $16 - .label key_event = $6c - .label return_4 = $6d - //SEG236 [110] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuz1_eq_vbuc1_then_la1 + .label _2 = $80 + .label _4 = $83 + .label _6 = $82 + .label orientation = $1a + .label return = $19 + .label key_event = $6f + .label return_4 = $70 + //SEG268 [128] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuz1_eq_vbuc1_then_la1 lda key_event cmp #KEY_Z beq b1 jmp b6 - //SEG237 play_move_rotate::@6 + //SEG269 play_move_rotate::@6 b6: - //SEG238 [111] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuz1_eq_vbuc1_then_la1 + //SEG270 [129] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuz1_eq_vbuc1_then_la1 lda key_event cmp #KEY_X beq b2 - //SEG239 [112] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] + //SEG271 [130] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] breturn_from_b14: breturn_from_b6: - //SEG240 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy - //SEG241 [112] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy - //SEG242 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuz1=vbuc1 + //SEG272 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy + //SEG273 [130] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy + //SEG274 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuz1=vbuc1 lda #0 sta return jmp breturn - //SEG243 play_move_rotate::@return + //SEG275 play_move_rotate::@return breturn: - //SEG244 [113] return + //SEG276 [131] return rts - //SEG245 play_move_rotate::@2 + //SEG277 play_move_rotate::@2 b2: - //SEG246 [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuz1=vbuz2_plus_vbuc1 + //SEG278 [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuz1=vbuz2_plus_vbuc1 lda #$10 clc adc current_orientation sta _2 - //SEG247 [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuz2_band_vbuc1 + //SEG279 [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuz2_band_vbuc1 lda #$3f and _2 sta orientation - //SEG248 [116] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] + //SEG280 [134] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] b4_from_b1: b4_from_b2: - //SEG249 [116] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy + //SEG281 [134] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy jmp b4 - //SEG250 play_move_rotate::@4 + //SEG282 play_move_rotate::@4 b4: - //SEG251 [117] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + //SEG283 [135] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos sta play_collision.xpos - //SEG252 [118] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuz1=vbuz2 + //SEG284 [136] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuz1=vbuz2 lda current_ypos sta play_collision.ypos - //SEG253 [119] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 + //SEG285 [137] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 lda orientation sta play_collision.orientation - //SEG254 [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG286 [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece - sta current_piece_78 + sta current_piece_79 lda current_piece+1 - sta current_piece_78+1 - //SEG255 [121] call play_collision - //SEG256 [129] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] + sta current_piece_79+1 + //SEG287 [139] call play_collision + //SEG288 [147] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] play_collision_from_b4: - //SEG257 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy - //SEG258 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy - //SEG259 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy - //SEG260 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_rotate::@4->play_collision#3] -- register_copy + //SEG289 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy + //SEG290 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy + //SEG291 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy + //SEG292 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#79 [phi:play_move_rotate::@4->play_collision#3] -- register_copy jsr play_collision - //SEG261 [122] (byte) play_collision::return#13 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 + //SEG293 [140] (byte) play_collision::return#13 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 lda play_collision.return_14 sta play_collision.return_13 jmp b14 - //SEG262 play_move_rotate::@14 + //SEG294 play_move_rotate::@14 b14: - //SEG263 [123] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 -- vbuz1=vbuz2 + //SEG295 [141] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 -- vbuz1=vbuz2 lda play_collision.return_13 sta _6 - //SEG264 [124] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuz1_neq_vbuc1_then_la1 + //SEG296 [142] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuz1_neq_vbuc1_then_la1 lda _6 cmp #COLLISION_NONE bne breturn_from_b14 jmp b11 - //SEG265 play_move_rotate::@11 + //SEG297 play_move_rotate::@11 b11: - //SEG266 [125] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 + //SEG298 [143] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 lda orientation sta current_orientation - //SEG267 [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 + //SEG299 [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 lda current_orientation clc adc current_piece @@ -10246,50 +10629,50 @@ play_move_rotate: { lda #0 adc current_piece+1 sta current_piece_gfx+1 - //SEG268 [112] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] + //SEG300 [130] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] breturn_from_b11: - //SEG269 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy - //SEG270 [112] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy - //SEG271 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuz1=vbuc1 + //SEG301 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy + //SEG302 [130] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy + //SEG303 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuz1=vbuc1 lda #1 sta return jmp breturn - //SEG272 play_move_rotate::@1 + //SEG304 play_move_rotate::@1 b1: - //SEG273 [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuz1=vbuz2_minus_vbuc1 + //SEG305 [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuz1=vbuz2_minus_vbuc1 lda current_orientation sec sbc #$10 sta _4 - //SEG274 [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuz2_band_vbuc1 + //SEG306 [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuz2_band_vbuc1 lda #$3f and _4 sta orientation jmp b4_from_b1 } -//SEG275 play_collision +//SEG307 play_collision play_collision: { - .label _7 = $7f - .label xpos = $1c - .label ypos = $1b - .label orientation = $1a - .label return = $86 - .label return_1 = $82 - .label piece_gfx = $7a - .label ypos2 = $1d - .label playfield_line = $7c - .label i = $7e - .label col = $20 - .label c = $21 - .label l = $1e - .label return_12 = $80 - .label return_13 = $77 - .label i_2 = $1f - .label return_14 = $22 - .label i_3 = $1f - .label i_11 = $1f - .label i_13 = $1f - //SEG276 [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz2_plus_vbuz3 + .label _7 = $89 + .label xpos = $1f + .label ypos = $1e + .label orientation = $1d + .label return = $90 + .label return_1 = $8c + .label piece_gfx = $84 + .label ypos2 = $20 + .label playfield_line = $86 + .label i = $88 + .label col = $23 + .label c = $24 + .label l = $21 + .label return_12 = $8a + .label return_13 = $81 + .label i_2 = $22 + .label return_14 = $25 + .label i_3 = $22 + .label i_11 = $22 + .label i_13 = $22 + //SEG308 [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz2_plus_vbuz3 lda orientation clc adc current_piece_12 @@ -10297,633 +10680,633 @@ play_collision: { lda #0 adc current_piece_12+1 sta piece_gfx+1 - //SEG277 [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG309 [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda ypos asl sta ypos2 - //SEG278 [132] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] + //SEG310 [150] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] b1_from_play_collision: - //SEG279 [132] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 + //SEG311 [150] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG280 [132] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 + //SEG312 [150] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 lda #0 sta i_3 - //SEG281 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy + //SEG313 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy jmp b1 - //SEG282 play_collision::@1 + //SEG314 play_collision::@1 b1: - //SEG283 [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG315 [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG284 [134] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 + //SEG316 [152] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 lda xpos sta col - //SEG285 [135] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] + //SEG317 [153] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] b2_from_b1: - //SEG286 [135] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuz1=vbuc1 + //SEG318 [153] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG287 [135] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy - //SEG288 [135] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy + //SEG319 [153] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy + //SEG320 [153] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy jmp b2 - //SEG289 play_collision::@2 + //SEG321 play_collision::@2 b2: - //SEG290 [136] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 + //SEG322 [154] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG291 [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG323 [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (piece_gfx),y cmp #0 beq b3 jmp b8 - //SEG292 play_collision::@8 + //SEG324 play_collision::@8 b8: - //SEG293 [138] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 + //SEG325 [156] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b4 - //SEG294 [139] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] + //SEG326 [157] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] breturn_from_b8: - //SEG295 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuz1=vbuc1 + //SEG327 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuz1=vbuc1 lda #COLLISION_BOTTOM sta return_14 jmp breturn - //SEG296 play_collision::@return + //SEG328 play_collision::@return breturn: - //SEG297 [140] return + //SEG329 [158] return rts - //SEG298 play_collision::@4 + //SEG330 play_collision::@4 b4: - //SEG299 [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuz1=vbuz2_band_vbuc1 + //SEG331 [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuz1=vbuz2_band_vbuc1 lda #$80 and col sta _7 - //SEG300 [142] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuz1_eq_0_then_la1 + //SEG332 [160] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuz1_eq_0_then_la1 lda _7 cmp #0 beq b5 - //SEG301 [139] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] + //SEG333 [157] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] breturn_from_b4: - //SEG302 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuz1=vbuc1 + //SEG334 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuz1=vbuc1 lda #COLLISION_LEFT sta return_14 jmp breturn - //SEG303 play_collision::@5 + //SEG335 play_collision::@5 b5: - //SEG304 [143] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 + //SEG336 [161] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 lda col cmp #PLAYFIELD_COLS bcc b6 - //SEG305 [139] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] + //SEG337 [157] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] breturn_from_b5: - //SEG306 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuz1=vbuc1 + //SEG338 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuz1=vbuc1 lda #COLLISION_RIGHT sta return_14 jmp breturn - //SEG307 play_collision::@6 + //SEG339 play_collision::@6 b6: - //SEG308 [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG340 [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy col lda (playfield_line),y cmp #0 beq b3 - //SEG309 [139] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] + //SEG341 [157] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] breturn_from_b6: - //SEG310 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuz1=vbuc1 + //SEG342 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuz1=vbuc1 lda #COLLISION_PLAYFIELD sta return_14 jmp breturn - //SEG311 play_collision::@3 + //SEG343 play_collision::@3 b3: - //SEG312 [145] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 + //SEG344 [163] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG313 [146] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuz1=_inc_vbuz1 + //SEG345 [164] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG314 [147] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuz1_neq_vbuc1_then_la1 + //SEG346 [165] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #4 bne b21 jmp b17 - //SEG315 play_collision::@17 + //SEG347 play_collision::@17 b17: - //SEG316 [148] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG348 [166] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG317 [149] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 + //SEG349 [167] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG318 [150] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 + //SEG350 [168] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b20 - //SEG319 [139] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] + //SEG351 [157] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] breturn_from_b17: - //SEG320 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuz1=vbuc1 + //SEG352 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuz1=vbuc1 lda #COLLISION_NONE sta return_14 jmp breturn - //SEG321 play_collision::@20 + //SEG353 play_collision::@20 b20: - //SEG322 [151] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG354 [169] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_11 - //SEG323 [132] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] + //SEG355 [150] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] b1_from_b20: - //SEG324 [132] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy - //SEG325 [132] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy - //SEG326 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy + //SEG356 [150] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy + //SEG357 [150] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy + //SEG358 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy jmp b1 - //SEG327 play_collision::@21 + //SEG359 play_collision::@21 b21: - //SEG328 [152] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG360 [170] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_13 - //SEG329 [135] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] + //SEG361 [153] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] b2_from_b21: - //SEG330 [135] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy - //SEG331 [135] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy - //SEG332 [135] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy + //SEG362 [153] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy + //SEG363 [153] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy + //SEG364 [153] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy jmp b2 } -//SEG333 play_move_leftright +//SEG365 play_move_leftright play_move_leftright: { - .label _4 = $81 - .label _8 = $83 - .label return = $23 - .label key_event = $68 - .label return_4 = $69 - //SEG334 [153] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuz1_eq_vbuc1_then_la1 + .label _4 = $8b + .label _8 = $8d + .label return = $26 + .label key_event = $6b + .label return_4 = $6c + //SEG366 [171] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuz1_eq_vbuc1_then_la1 lda key_event cmp #KEY_COMMA beq b1 jmp b6 - //SEG335 play_move_leftright::@6 + //SEG367 play_move_leftright::@6 b6: - //SEG336 [154] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 + //SEG368 [172] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 lda key_event cmp #KEY_DOT bne breturn_from_b6 jmp b7 - //SEG337 play_move_leftright::@7 + //SEG369 play_move_leftright::@7 b7: - //SEG338 [155] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 + //SEG370 [173] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 ldy current_xpos iny sty play_collision.xpos - //SEG339 [156] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuz1=vbuz2 + //SEG371 [174] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuz1=vbuz2 lda current_ypos sta play_collision.ypos - //SEG340 [157] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuz1=vbuz2 + //SEG372 [175] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuz1=vbuz2 lda current_orientation sta play_collision.orientation - //SEG341 [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG373 [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece - sta current_piece_77 + sta current_piece_78 lda current_piece+1 - sta current_piece_77+1 - //SEG342 [159] call play_collision - //SEG343 [129] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] + sta current_piece_78+1 + //SEG374 [177] call play_collision + //SEG375 [147] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] play_collision_from_b7: - //SEG344 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy - //SEG345 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy - //SEG346 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy - //SEG347 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@7->play_collision#3] -- register_copy + //SEG376 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy + //SEG377 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy + //SEG378 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy + //SEG379 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_leftright::@7->play_collision#3] -- register_copy jsr play_collision - //SEG348 [160] (byte) play_collision::return#12 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 + //SEG380 [178] (byte) play_collision::return#12 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 lda play_collision.return_14 sta play_collision.return_12 jmp b15 - //SEG349 play_move_leftright::@15 + //SEG381 play_move_leftright::@15 b15: - //SEG350 [161] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 -- vbuz1=vbuz2 + //SEG382 [179] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 -- vbuz1=vbuz2 lda play_collision.return_12 sta _4 - //SEG351 [162] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 + //SEG383 [180] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 lda _4 cmp #COLLISION_NONE bne breturn_from_b15 jmp b8 - //SEG352 play_move_leftright::@8 + //SEG384 play_move_leftright::@8 b8: - //SEG353 [163] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 + //SEG385 [181] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 inc current_xpos - //SEG354 [164] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] + //SEG386 [182] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] breturn_from_b11: breturn_from_b8: - //SEG355 [164] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy - //SEG356 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuz1=vbuc1 + //SEG387 [182] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy + //SEG388 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuz1=vbuc1 lda #1 sta return jmp breturn - //SEG357 [164] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] + //SEG389 [182] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] breturn_from_b14: breturn_from_b15: breturn_from_b6: - //SEG358 [164] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy - //SEG359 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuz1=vbuc1 + //SEG390 [182] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy + //SEG391 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuz1=vbuc1 lda #0 sta return jmp breturn - //SEG360 play_move_leftright::@return + //SEG392 play_move_leftright::@return breturn: - //SEG361 [165] return + //SEG393 [183] return rts - //SEG362 play_move_leftright::@1 + //SEG394 play_move_leftright::@1 b1: - //SEG363 [166] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 + //SEG395 [184] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 ldx current_xpos dex stx play_collision.xpos - //SEG364 [167] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuz1=vbuz2 + //SEG396 [185] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuz1=vbuz2 lda current_ypos sta play_collision.ypos - //SEG365 [168] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuz1=vbuz2 + //SEG397 [186] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuz1=vbuz2 lda current_orientation sta play_collision.orientation - //SEG366 [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG398 [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece - sta current_piece_76 + sta current_piece_77 lda current_piece+1 - sta current_piece_76+1 - //SEG367 [170] call play_collision - //SEG368 [129] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] + sta current_piece_77+1 + //SEG399 [188] call play_collision + //SEG400 [147] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] play_collision_from_b1: - //SEG369 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy - //SEG370 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy - //SEG371 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy - //SEG372 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_leftright::@1->play_collision#3] -- register_copy + //SEG401 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy + //SEG402 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy + //SEG403 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy + //SEG404 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@1->play_collision#3] -- register_copy jsr play_collision - //SEG373 [171] (byte) play_collision::return#1 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 + //SEG405 [189] (byte) play_collision::return#1 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 lda play_collision.return_14 sta play_collision.return_1 jmp b14 - //SEG374 play_move_leftright::@14 + //SEG406 play_move_leftright::@14 b14: - //SEG375 [172] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 -- vbuz1=vbuz2 + //SEG407 [190] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 -- vbuz1=vbuz2 lda play_collision.return_1 sta _8 - //SEG376 [173] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 + //SEG408 [191] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuz1_neq_vbuc1_then_la1 lda _8 cmp #COLLISION_NONE bne breturn_from_b14 jmp b11 - //SEG377 play_move_leftright::@11 + //SEG409 play_move_leftright::@11 b11: - //SEG378 [174] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 + //SEG410 [192] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 dec current_xpos jmp breturn_from_b11 } -//SEG379 play_move_down +//SEG411 play_move_down play_move_down: { - .label _2 = $85 - .label _12 = $87 - .label movedown = $24 - .label removed = $89 - .label return = $31 - .label key_event = $64 - .label return_3 = $65 - //SEG380 [175] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 + .label _2 = $8f + .label _12 = $91 + .label movedown = $27 + .label removed = $93 + .label return = $34 + .label key_event = $67 + .label return_3 = $68 + //SEG412 [193] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 inc current_movedown_counter - //SEG381 [176] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG413 [194] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuz1_neq_vbuc1_then_la1 lda key_event cmp #KEY_SPACE bne b1_from_play_move_down - //SEG382 [177] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] + //SEG414 [195] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] b8_from_play_move_down: jmp b8 - //SEG383 play_move_down::@8 + //SEG415 play_move_down::@8 b8: - //SEG384 [178] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] + //SEG416 [196] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] b1_from_b8: - //SEG385 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuz1=vbuc1 + //SEG417 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuz1=vbuc1 lda #1 sta movedown jmp b1 - //SEG386 [178] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] + //SEG418 [196] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] b1_from_play_move_down: - //SEG387 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuz1=vbuc1 + //SEG419 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuz1=vbuc1 lda #0 sta movedown jmp b1 - //SEG388 play_move_down::@1 + //SEG420 play_move_down::@1 b1: - //SEG389 [179] call keyboard_event_pressed - //SEG390 [277] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] + //SEG421 [197] call keyboard_event_pressed + //SEG422 [295] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] keyboard_event_pressed_from_b1: - //SEG391 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG423 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_SPACE sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG392 [180] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 + //SEG424 [198] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_11 sta keyboard_event_pressed.return_12 jmp b17 - //SEG393 play_move_down::@17 + //SEG425 play_move_down::@17 b17: - //SEG394 [181] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 -- vbuz1=vbuz2 + //SEG426 [199] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_12 sta _2 - //SEG395 [182] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuz1_eq_0_then_la1 + //SEG427 [200] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuz1_eq_0_then_la1 lda _2 cmp #0 beq b2_from_b17 jmp b9 - //SEG396 play_move_down::@9 + //SEG428 play_move_down::@9 b9: - //SEG397 [183] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 + //SEG429 [201] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 lda current_movedown_counter cmp #current_movedown_fast bcc b2_from_b9 jmp b10 - //SEG398 play_move_down::@10 + //SEG430 play_move_down::@10 b10: - //SEG399 [184] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuz1=_inc_vbuz1 + //SEG431 [202] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuz1=_inc_vbuz1 inc movedown - //SEG400 [185] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] + //SEG432 [203] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] b2_from_b10: b2_from_b17: b2_from_b9: - //SEG401 [185] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy + //SEG433 [203] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy jmp b2 - //SEG402 play_move_down::@2 + //SEG434 play_move_down::@2 b2: - //SEG403 [186] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 + //SEG435 [204] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 lda current_movedown_counter cmp #current_movedown_slow bcc b4_from_b2 jmp b11 - //SEG404 play_move_down::@11 + //SEG436 play_move_down::@11 b11: - //SEG405 [187] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuz1=_inc_vbuz1 + //SEG437 [205] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuz1=_inc_vbuz1 inc movedown - //SEG406 [188] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] + //SEG438 [206] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] b4_from_b11: b4_from_b2: - //SEG407 [188] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy + //SEG439 [206] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy jmp b4 - //SEG408 play_move_down::@4 + //SEG440 play_move_down::@4 b4: - //SEG409 [189] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuz1_eq_0_then_la1 + //SEG441 [207] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuz1_eq_0_then_la1 lda movedown cmp #0 beq breturn_from_b4 jmp b12 - //SEG410 play_move_down::@12 + //SEG442 play_move_down::@12 b12: - //SEG411 [190] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 + //SEG443 [208] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 ldy current_ypos iny sty play_collision.ypos - //SEG412 [191] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + //SEG444 [209] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 lda current_xpos sta play_collision.xpos - //SEG413 [192] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuz1=vbuz2 + //SEG445 [210] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuz1=vbuz2 lda current_orientation sta play_collision.orientation - //SEG414 [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 -- pbuz1=pbuz2 + //SEG446 [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 -- pbuz1=pbuz2 lda current_piece - sta current_piece_75 + sta current_piece_76 lda current_piece+1 - sta current_piece_75+1 - //SEG415 [194] call play_collision - //SEG416 [129] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] + sta current_piece_76+1 + //SEG447 [212] call play_collision + //SEG448 [147] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] play_collision_from_b12: - //SEG417 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy - //SEG418 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy - //SEG419 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy - //SEG420 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#75 [phi:play_move_down::@12->play_collision#3] -- register_copy + //SEG449 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy + //SEG450 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy + //SEG451 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy + //SEG452 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_down::@12->play_collision#3] -- register_copy jsr play_collision - //SEG421 [195] (byte) play_collision::return#0 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 + //SEG453 [213] (byte) play_collision::return#0 ← (byte) play_collision::return#14 -- vbuz1=vbuz2 lda play_collision.return_14 sta play_collision.return jmp b18 - //SEG422 play_move_down::@18 + //SEG454 play_move_down::@18 b18: - //SEG423 [196] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 -- vbuz1=vbuz2 + //SEG455 [214] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 -- vbuz1=vbuz2 lda play_collision.return sta _12 - //SEG424 [197] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuz1_eq_vbuc1_then_la1 + //SEG456 [215] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuz1_eq_vbuc1_then_la1 lda _12 cmp #COLLISION_NONE beq b6 - //SEG425 [198] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] + //SEG457 [216] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] b13_from_b18: jmp b13 - //SEG426 play_move_down::@13 + //SEG458 play_move_down::@13 b13: - //SEG427 [199] call play_lock_current + //SEG459 [217] call play_lock_current jsr play_lock_current - //SEG428 [200] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] + //SEG460 [218] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] b19_from_b13: jmp b19 - //SEG429 play_move_down::@19 + //SEG461 play_move_down::@19 b19: - //SEG430 [201] call play_remove_lines - //SEG431 [237] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] + //SEG462 [219] call play_remove_lines + //SEG463 [255] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] play_remove_lines_from_b19: jsr play_remove_lines - //SEG432 [202] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuz1=vbuz2 + //SEG464 [220] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuz1=vbuz2 lda play_remove_lines.removed sta play_remove_lines.return jmp b20 - //SEG433 play_move_down::@20 + //SEG465 play_move_down::@20 b20: - //SEG434 [203] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 -- vbuz1=vbuz2 + //SEG466 [221] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 -- vbuz1=vbuz2 lda play_remove_lines.return sta removed - //SEG435 [204] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 -- vbuz1=vbuz2 + //SEG467 [222] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 -- vbuz1=vbuz2 lda removed sta play_update_score.removed - //SEG436 [205] call play_update_score + //SEG468 [223] call play_update_score jsr play_update_score - //SEG437 [206] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] + //SEG469 [224] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] b21_from_b20: jmp b21 - //SEG438 play_move_down::@21 + //SEG470 play_move_down::@21 b21: - //SEG439 [207] call play_spawn_current - //SEG440 [213] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] + //SEG471 [225] call play_spawn_current + //SEG472 [231] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] play_spawn_current_from_b21: jsr play_spawn_current - //SEG441 [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG473 [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece lda PIECES+1,y sta current_piece+1 - //SEG442 [209] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] + //SEG474 [227] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] b7_from_b21: - //SEG443 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy - //SEG444 [209] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy - //SEG445 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy - //SEG446 [209] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 + //SEG475 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy + //SEG476 [227] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy + //SEG477 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy + //SEG478 [227] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 lda #0 sta current_orientation - //SEG447 [209] phi (byte*) current_piece#20 = (byte*~) current_piece#79 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy - //SEG448 [209] phi (dword) score_bcd#17 = (dword) score_bcd#11 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy - //SEG449 [209] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy + //SEG479 [227] phi (byte*) current_piece#20 = (byte*~) current_piece#80 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy + //SEG480 [227] phi (dword) score_bcd#20 = (dword) score_bcd#12 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy + //SEG481 [227] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy jmp b7 - //SEG450 play_move_down::@7 + //SEG482 play_move_down::@7 b7: - //SEG451 [210] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] + //SEG483 [228] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] breturn_from_b7: - //SEG452 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy - //SEG453 [210] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy - //SEG454 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy - //SEG455 [210] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy - //SEG456 [210] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy - //SEG457 [210] phi (dword) score_bcd#2 = (dword) score_bcd#17 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy - //SEG458 [210] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy - //SEG459 [210] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 + //SEG484 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy + //SEG485 [228] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy + //SEG486 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy + //SEG487 [228] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy + //SEG488 [228] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy + //SEG489 [228] phi (dword) score_bcd#10 = (dword) score_bcd#20 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy + //SEG490 [228] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy + //SEG491 [228] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 lda #0 sta current_movedown_counter - //SEG460 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuz1=vbuc1 + //SEG492 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuz1=vbuc1 lda #1 sta return jmp breturn - //SEG461 [210] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] + //SEG493 [228] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] breturn_from_b4: - //SEG462 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy - //SEG463 [210] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy - //SEG464 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy - //SEG465 [210] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy - //SEG466 [210] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy - //SEG467 [210] phi (dword) score_bcd#2 = (dword) score_bcd#13 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy - //SEG468 [210] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy - //SEG469 [210] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy - //SEG470 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuz1=vbuc1 + //SEG494 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy + //SEG495 [228] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy + //SEG496 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy + //SEG497 [228] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy + //SEG498 [228] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy + //SEG499 [228] phi (dword) score_bcd#10 = (dword) score_bcd#14 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy + //SEG500 [228] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy + //SEG501 [228] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy + //SEG502 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuz1=vbuc1 lda #0 sta return jmp breturn - //SEG471 play_move_down::@return + //SEG503 play_move_down::@return breturn: - //SEG472 [211] return + //SEG504 [229] return rts - //SEG473 play_move_down::@6 + //SEG505 play_move_down::@6 b6: - //SEG474 [212] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 + //SEG506 [230] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 inc current_ypos - //SEG475 [209] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] + //SEG507 [227] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] b7_from_b6: - //SEG476 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy - //SEG477 [209] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy - //SEG478 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy - //SEG479 [209] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy - //SEG480 [209] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy - //SEG481 [209] phi (dword) score_bcd#17 = (dword) score_bcd#13 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy - //SEG482 [209] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy + //SEG508 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy + //SEG509 [227] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy + //SEG510 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy + //SEG511 [227] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy + //SEG512 [227] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy + //SEG513 [227] phi (dword) score_bcd#20 = (dword) score_bcd#14 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy + //SEG514 [227] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy jmp b7 } -//SEG483 play_spawn_current +//SEG515 play_spawn_current play_spawn_current: { - .label _1 = $8d - .label _3 = $8b - .label piece_idx = $32 - //SEG484 [214] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] + .label _1 = $97 + .label _3 = $95 + .label piece_idx = $35 + //SEG516 [232] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] b1_from_play_spawn_current: - //SEG485 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuz1=vbuc1 + //SEG517 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuz1=vbuc1 lda #7 sta piece_idx jmp b1 - //SEG486 play_spawn_current::@1 + //SEG518 play_spawn_current::@1 b1: - //SEG487 [215] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuz1_eq_vbuc1_then_la1 + //SEG519 [233] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuz1_eq_vbuc1_then_la1 lda piece_idx cmp #7 beq b2_from_b1 jmp b3 - //SEG488 play_spawn_current::@3 + //SEG520 play_spawn_current::@3 b3: - //SEG489 [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG521 [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda piece_idx asl sta _3 - //SEG490 [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 + //SEG522 [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 ldy _3 lda PIECES,y sta current_piece_gfx lda PIECES+1,y sta current_piece_gfx+1 - //SEG491 [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG523 [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 ldy piece_idx lda PIECES_START_X,y sta current_xpos - //SEG492 [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG524 [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 ldy piece_idx lda PIECES_START_Y,y sta current_ypos - //SEG493 [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG525 [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuz2 ldy piece_idx lda PIECES_CHARS,y sta current_piece_char jmp breturn - //SEG494 play_spawn_current::@return + //SEG526 play_spawn_current::@return breturn: - //SEG495 [221] return + //SEG527 [239] return rts - //SEG496 [222] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] + //SEG528 [240] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] b2_from_b1: jmp b2 - //SEG497 play_spawn_current::@2 + //SEG529 play_spawn_current::@2 b2: - //SEG498 [223] call sid_rnd + //SEG530 [241] call sid_rnd jsr sid_rnd - //SEG499 [224] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 -- vbuz1=vbuz2 + //SEG531 [242] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 -- vbuz1=vbuz2 lda sid_rnd.return sta sid_rnd.return_2 jmp b7 - //SEG500 play_spawn_current::@7 + //SEG532 play_spawn_current::@7 b7: - //SEG501 [225] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 -- vbuz1=vbuz2 + //SEG533 [243] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 -- vbuz1=vbuz2 lda sid_rnd.return_2 sta _1 - //SEG502 [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 + //SEG534 [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 lda #7 and _1 sta piece_idx - //SEG503 [214] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] + //SEG535 [232] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] b1_from_b7: - //SEG504 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy + //SEG536 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy jmp b1 } -//SEG505 sid_rnd +//SEG537 sid_rnd sid_rnd: { - .label return = $8e - .label return_2 = $8c - //SEG506 [227] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuz1=_deref_pbuc1 + .label return = $98 + .label return_2 = $96 + //SEG538 [245] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuz1=_deref_pbuc1 lda SID_VOICE3_OSC sta return jmp breturn - //SEG507 sid_rnd::@return + //SEG539 sid_rnd::@return breturn: - //SEG508 [228] return + //SEG540 [246] return rts } -//SEG509 play_update_score +//SEG541 play_update_score play_update_score: { - .label _2 = $8f - .label removed = $8a - .label add_bcd = $90 - //SEG510 [229] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuz1_eq_0_then_la1 + .label _2 = $99 + .label removed = $94 + .label add_bcd = $9a + //SEG542 [247] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuz1_eq_0_then_la1 lda removed cmp #0 beq breturn_from_play_update_score jmp b2 - //SEG511 play_update_score::@2 + //SEG543 play_update_score::@2 b2: - //SEG512 [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz2_rol_2 + //SEG544 [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz2_rol_2 lda removed asl asl sta _2 - //SEG513 [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuz2 + //SEG545 [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuz2 ldy _2 lda score_add_bcd,y sta add_bcd @@ -10933,9 +11316,9 @@ play_update_score: { sta add_bcd+2 lda score_add_bcd+3,y sta add_bcd+3 - //SEG514 asm { sed } + //SEG546 asm { sed } sed - //SEG515 [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 + //SEG547 [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 lda score_bcd clc adc add_bcd @@ -10949,776 +11332,776 @@ play_update_score: { lda score_bcd+3 adc add_bcd+3 sta score_bcd+3 - //SEG516 asm { cld } + //SEG548 asm { cld } cld - //SEG517 [235] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] + //SEG549 [253] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] breturn_from_play_update_score: breturn_from_b2: - //SEG518 [235] phi (dword) score_bcd#11 = (dword) score_bcd#13 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy + //SEG550 [253] phi (dword) score_bcd#12 = (dword) score_bcd#14 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy jmp breturn - //SEG519 play_update_score::@return + //SEG551 play_update_score::@return breturn: - //SEG520 [236] return + //SEG552 [254] return rts } -//SEG521 play_remove_lines +//SEG553 play_remove_lines play_remove_lines: { - .label return = $88 - .label c = $94 - .label r = $35 - .label w = $38 - .label x = $36 - .label y = $33 - .label removed = $34 - .label full = $37 - //SEG522 [238] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] + .label return = $92 + .label c = $9e + .label r = $38 + .label w = $3b + .label x = $39 + .label y = $36 + .label removed = $37 + .label full = $3a + //SEG554 [256] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] b1_from_play_remove_lines: - //SEG523 [238] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 + //SEG555 [256] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 lda #0 sta removed - //SEG524 [238] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 + //SEG556 [256] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 lda #0 sta y - //SEG525 [238] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuz1=vbuc1 + //SEG557 [256] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuz1=vbuc1 lda #PLAYFIELD_LINES*PLAYFIELD_COLS-1 sta w - //SEG526 [238] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuz1=vbuc1 + //SEG558 [256] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuz1=vbuc1 lda #PLAYFIELD_LINES*PLAYFIELD_COLS-1 sta r jmp b1 - //SEG527 [238] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] + //SEG559 [256] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] b1_from_b4: - //SEG528 [238] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy - //SEG529 [238] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy - //SEG530 [238] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy - //SEG531 [238] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy + //SEG560 [256] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy + //SEG561 [256] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy + //SEG562 [256] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy + //SEG563 [256] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy jmp b1 - //SEG532 play_remove_lines::@1 + //SEG564 play_remove_lines::@1 b1: - //SEG533 [239] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] + //SEG565 [257] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] b2_from_b1: - //SEG534 [239] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 + //SEG566 [257] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 lda #1 sta full - //SEG535 [239] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 + //SEG567 [257] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 lda #0 sta x - //SEG536 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy - //SEG537 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy + //SEG568 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy + //SEG569 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy jmp b2 - //SEG538 [239] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] + //SEG570 [257] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] b2_from_b3: - //SEG539 [239] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy - //SEG540 [239] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy - //SEG541 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy - //SEG542 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy + //SEG571 [257] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy + //SEG572 [257] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy + //SEG573 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy + //SEG574 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy jmp b2 - //SEG543 play_remove_lines::@2 + //SEG575 play_remove_lines::@2 b2: - //SEG544 [240] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG576 [258] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuz2 ldy r lda playfield,y sta c - //SEG545 [241] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuz1=_dec_vbuz1 + //SEG577 [259] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuz1=_dec_vbuz1 dec r - //SEG546 [242] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 + //SEG578 [260] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 lda c cmp #0 bne b18_from_b2 - //SEG547 [243] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] + //SEG579 [261] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] b3_from_b2: - //SEG548 [243] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 + //SEG580 [261] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 lda #0 sta full jmp b3 - //SEG549 play_remove_lines::@3 + //SEG581 play_remove_lines::@3 b3: - //SEG550 [244] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG582 [262] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuz1=vbuz2 lda c ldy w sta playfield,y - //SEG551 [245] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuz1=_dec_vbuz1 + //SEG583 [263] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuz1=_dec_vbuz1 dec w - //SEG552 [246] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 + //SEG584 [264] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 inc x - //SEG553 [247] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG585 [265] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #PLAYFIELD_COLS-1+1 bne b2_from_b3 jmp b9 - //SEG554 play_remove_lines::@9 + //SEG586 play_remove_lines::@9 b9: - //SEG555 [248] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG587 [266] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 lda full cmp #1 bne b4_from_b9 jmp b10 - //SEG556 play_remove_lines::@10 + //SEG588 play_remove_lines::@10 b10: - //SEG557 [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 + //SEG589 [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 lda #PLAYFIELD_COLS clc adc w sta w - //SEG558 [250] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 + //SEG590 [268] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 inc removed - //SEG559 [251] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] + //SEG591 [269] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] b4_from_b10: b4_from_b9: - //SEG560 [251] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy - //SEG561 [251] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy + //SEG592 [269] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy + //SEG593 [269] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy jmp b4 - //SEG562 play_remove_lines::@4 + //SEG594 play_remove_lines::@4 b4: - //SEG563 [252] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 + //SEG595 [270] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 inc y - //SEG564 [253] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG596 [271] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #PLAYFIELD_LINES-1+1 bne b1_from_b4 - //SEG565 [254] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] + //SEG597 [272] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] b5_from_b4: b5_from_b6: - //SEG566 [254] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy + //SEG598 [272] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy jmp b5 - //SEG567 play_remove_lines::@5 + //SEG599 play_remove_lines::@5 b5: - //SEG568 [255] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuz1_neq_vbuc1_then_la1 + //SEG600 [273] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuz1_neq_vbuc1_then_la1 lda w cmp #$ff bne b6 jmp breturn - //SEG569 play_remove_lines::@return + //SEG601 play_remove_lines::@return breturn: - //SEG570 [256] return + //SEG602 [274] return rts - //SEG571 play_remove_lines::@6 + //SEG603 play_remove_lines::@6 b6: - //SEG572 [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuz1=vbuc2 + //SEG604 [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuz1=vbuc2 ldy w lda #0 sta playfield,y - //SEG573 [258] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuz1=_dec_vbuz1 + //SEG605 [276] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuz1=_dec_vbuz1 dec w jmp b5_from_b6 - //SEG574 [259] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] + //SEG606 [277] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] b18_from_b2: jmp b18 - //SEG575 play_remove_lines::@18 + //SEG607 play_remove_lines::@18 b18: - //SEG576 [243] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] + //SEG608 [261] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] b3_from_b18: - //SEG577 [243] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy + //SEG609 [261] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy jmp b3 } -//SEG578 play_lock_current +//SEG610 play_lock_current play_lock_current: { - .label ypos2 = $39 - .label playfield_line = $95 - .label col = $3c - .label i = $97 - .label c = $3d - .label l = $3a - .label i_2 = $3b - .label i_3 = $3b - .label i_7 = $3b - .label i_9 = $3b - //SEG579 [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + .label ypos2 = $3c + .label playfield_line = $9f + .label col = $3f + .label i = $a1 + .label c = $40 + .label l = $3d + .label i_2 = $3e + .label i_3 = $3e + .label i_7 = $3e + .label i_9 = $3e + //SEG611 [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda current_ypos asl sta ypos2 - //SEG580 [261] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] + //SEG612 [279] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] b1_from_play_lock_current: - //SEG581 [261] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 + //SEG613 [279] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG582 [261] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 + //SEG614 [279] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 lda #0 sta i_3 - //SEG583 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy + //SEG615 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy jmp b1 - //SEG584 play_lock_current::@1 + //SEG616 play_lock_current::@1 b1: - //SEG585 [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG617 [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG586 [263] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + //SEG618 [281] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 lda current_xpos sta col - //SEG587 [264] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] + //SEG619 [282] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] b2_from_b1: - //SEG588 [264] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuz1=vbuc1 + //SEG620 [282] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG589 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy - //SEG590 [264] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy + //SEG621 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy + //SEG622 [282] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy jmp b2 - //SEG591 play_lock_current::@2 + //SEG623 play_lock_current::@2 b2: - //SEG592 [265] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 + //SEG624 [283] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG593 [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG625 [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (current_piece_gfx),y cmp #0 beq b3 jmp b4 - //SEG594 play_lock_current::@4 + //SEG626 play_lock_current::@4 b4: - //SEG595 [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 + //SEG627 [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 lda current_piece_char ldy col sta (playfield_line),y jmp b3 - //SEG596 play_lock_current::@3 + //SEG628 play_lock_current::@3 b3: - //SEG597 [268] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 + //SEG629 [286] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG598 [269] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuz1=_inc_vbuz1 + //SEG630 [287] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG599 [270] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuz1_neq_vbuc1_then_la1 + //SEG631 [288] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #4 bne b8 jmp b5 - //SEG600 play_lock_current::@5 + //SEG632 play_lock_current::@5 b5: - //SEG601 [271] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG633 [289] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG602 [272] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 + //SEG634 [290] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG603 [273] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 + //SEG635 [291] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b7 jmp breturn - //SEG604 play_lock_current::@return + //SEG636 play_lock_current::@return breturn: - //SEG605 [274] return + //SEG637 [292] return rts - //SEG606 play_lock_current::@7 + //SEG638 play_lock_current::@7 b7: - //SEG607 [275] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG639 [293] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_7 - //SEG608 [261] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] + //SEG640 [279] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] b1_from_b7: - //SEG609 [261] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy - //SEG610 [261] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy - //SEG611 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy + //SEG641 [279] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy + //SEG642 [279] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy + //SEG643 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy jmp b1 - //SEG612 play_lock_current::@8 + //SEG644 play_lock_current::@8 b8: - //SEG613 [276] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG645 [294] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_9 - //SEG614 [264] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] + //SEG646 [282] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] b2_from_b8: - //SEG615 [264] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy - //SEG616 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy - //SEG617 [264] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy + //SEG647 [282] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy + //SEG648 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy + //SEG649 [282] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy jmp b2 } -//SEG618 keyboard_event_pressed +//SEG650 keyboard_event_pressed keyboard_event_pressed: { - .label _0 = $98 - .label _1 = $9a - .label return = $9f - .label return_1 = $a1 - .label return_2 = $a3 - .label row_bits = $99 - .label return_10 = $a5 - .label keycode = $3e - .label return_11 = $9b - .label return_12 = $84 - //SEG619 [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz2_ror_3 + .label _0 = $a2 + .label _1 = $a4 + .label return = $a9 + .label return_1 = $ab + .label return_2 = $ad + .label row_bits = $a3 + .label return_10 = $af + .label keycode = $41 + .label return_11 = $a5 + .label return_12 = $8e + //SEG651 [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz2_ror_3 lda keycode lsr lsr lsr sta _0 - //SEG620 [279] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG652 [297] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuz2 ldy _0 lda keyboard_scan_values,y sta row_bits - //SEG621 [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 + //SEG653 [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 lda #7 and keycode sta _1 - //SEG622 [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 + //SEG654 [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 lda row_bits ldy _1 and keyboard_matrix_col_bitmask,y sta return_11 jmp breturn - //SEG623 keyboard_event_pressed::@return + //SEG655 keyboard_event_pressed::@return breturn: - //SEG624 [282] return + //SEG656 [300] return rts } -//SEG625 keyboard_event_get +//SEG657 keyboard_event_get keyboard_event_get: { - .label return = $3f - .label return_3 = $62 - //SEG626 [283] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 + .label return = $42 + .label return_3 = $65 + //SEG658 [301] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 lda keyboard_events_size cmp #0 beq breturn_from_keyboard_event_get jmp b3 - //SEG627 keyboard_event_get::@3 + //SEG659 keyboard_event_get::@3 b3: - //SEG628 [284] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 + //SEG660 [302] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 dec keyboard_events_size - //SEG629 [285] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuz1=pbuc1_derefidx_vbuz2 + //SEG661 [303] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuz1=pbuc1_derefidx_vbuz2 ldy keyboard_events_size lda keyboard_events,y sta return - //SEG630 [286] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] + //SEG662 [304] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] breturn_from_b3: - //SEG631 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy - //SEG632 [286] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy + //SEG663 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy + //SEG664 [304] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy jmp breturn - //SEG633 [286] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] + //SEG665 [304] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] breturn_from_keyboard_event_get: - //SEG634 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy - //SEG635 [286] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuz1=vbuc1 + //SEG666 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy + //SEG667 [304] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuz1=vbuc1 lda #$ff sta return jmp breturn - //SEG636 keyboard_event_get::@return + //SEG668 keyboard_event_get::@return breturn: - //SEG637 [287] return + //SEG669 [305] return rts } -//SEG638 keyboard_event_scan +//SEG670 keyboard_event_scan keyboard_event_scan: { - .label _3 = $a8 - .label _4 = $a9 - .label _11 = $ab - .label _14 = $a0 - .label _18 = $a2 - .label _22 = $a4 - .label _26 = $a6 - .label row_scan = $9e - .label keycode = $43 - .label row = $40 - .label col = $42 - .label event_type = $aa - //SEG639 [289] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] + .label _3 = $b2 + .label _4 = $b3 + .label _11 = $b5 + .label _14 = $aa + .label _18 = $ac + .label _22 = $ae + .label _26 = $b0 + .label row_scan = $a8 + .label keycode = $46 + .label row = $43 + .label col = $45 + .label event_type = $b4 + //SEG671 [307] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] b1_from_keyboard_event_scan: - //SEG640 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy - //SEG641 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 + //SEG672 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy + //SEG673 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 lda #0 sta keycode - //SEG642 [289] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 + //SEG674 [307] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 lda #0 sta row jmp b1 - //SEG643 [289] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] + //SEG675 [307] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] b1_from_b3: - //SEG644 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy - //SEG645 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy - //SEG646 [289] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy + //SEG676 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy + //SEG677 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy + //SEG678 [307] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy jmp b1 - //SEG647 keyboard_event_scan::@1 + //SEG679 keyboard_event_scan::@1 b1: - //SEG648 [290] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuz1=vbuz2 + //SEG680 [308] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuz1=vbuz2 lda row sta keyboard_matrix_read.rowid - //SEG649 [291] call keyboard_matrix_read + //SEG681 [309] call keyboard_matrix_read jsr keyboard_matrix_read - //SEG650 [292] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 -- vbuz1=vbuz2 + //SEG682 [310] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 -- vbuz1=vbuz2 lda keyboard_matrix_read.return sta keyboard_matrix_read.return_2 jmp b25 - //SEG651 keyboard_event_scan::@25 + //SEG683 keyboard_event_scan::@25 b25: - //SEG652 [293] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuz2 + //SEG684 [311] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuz2 lda keyboard_matrix_read.return_2 sta row_scan - //SEG653 [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 + //SEG685 [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 lda row_scan ldy row cmp keyboard_scan_values,y bne b4_from_b25 jmp b13 - //SEG654 keyboard_event_scan::@13 + //SEG686 keyboard_event_scan::@13 b13: - //SEG655 [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 + //SEG687 [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 lda #8 clc adc keycode sta keycode - //SEG656 [296] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] + //SEG688 [314] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] b3_from_b13: b3_from_b19: - //SEG657 [296] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy - //SEG658 [296] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy + //SEG689 [314] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy + //SEG690 [314] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy jmp b3 - //SEG659 keyboard_event_scan::@3 + //SEG691 keyboard_event_scan::@3 b3: - //SEG660 [297] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 + //SEG692 [315] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 inc row - //SEG661 [298] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG693 [316] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 lda row cmp #8 bne b1_from_b3 - //SEG662 [299] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] + //SEG694 [317] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] b20_from_b3: jmp b20 - //SEG663 keyboard_event_scan::@20 + //SEG695 keyboard_event_scan::@20 b20: - //SEG664 [300] call keyboard_event_pressed - //SEG665 [277] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] + //SEG696 [318] call keyboard_event_pressed + //SEG697 [295] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] keyboard_event_pressed_from_b20: - //SEG666 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG698 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_LSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG667 [301] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 + //SEG699 [319] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_11 sta keyboard_event_pressed.return jmp b26 - //SEG668 keyboard_event_scan::@26 + //SEG700 keyboard_event_scan::@26 b26: - //SEG669 [302] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 -- vbuz1=vbuz2 + //SEG701 [320] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 -- vbuz1=vbuz2 lda keyboard_event_pressed.return sta _14 - //SEG670 [303] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuz1_eq_0_then_la1 + //SEG702 [321] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuz1_eq_0_then_la1 lda _14 cmp #0 beq b9_from_b26 - //SEG671 [304] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] + //SEG703 [322] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] b21_from_b26: jmp b21 - //SEG672 keyboard_event_scan::@21 + //SEG704 keyboard_event_scan::@21 b21: - //SEG673 [305] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] + //SEG705 [323] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] b9_from_b21: - //SEG674 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuz1=vbuc1 + //SEG706 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuz1=vbuc1 lda #0|KEY_MODIFIER_LSHIFT sta keyboard_modifiers jmp b9 - //SEG675 [305] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] + //SEG707 [323] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] b9_from_b26: - //SEG676 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuz1=vbuc1 + //SEG708 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuz1=vbuc1 lda #0 sta keyboard_modifiers jmp b9 - //SEG677 keyboard_event_scan::@9 + //SEG709 keyboard_event_scan::@9 b9: - //SEG678 [306] call keyboard_event_pressed - //SEG679 [277] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] + //SEG710 [324] call keyboard_event_pressed + //SEG711 [295] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] keyboard_event_pressed_from_b9: - //SEG680 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG712 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_RSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG681 [307] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 + //SEG713 [325] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_11 sta keyboard_event_pressed.return_1 jmp b27 - //SEG682 keyboard_event_scan::@27 + //SEG714 keyboard_event_scan::@27 b27: - //SEG683 [308] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 -- vbuz1=vbuz2 + //SEG715 [326] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_1 sta _18 - //SEG684 [309] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuz1_eq_0_then_la1 + //SEG716 [327] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuz1_eq_0_then_la1 lda _18 cmp #0 beq b10_from_b27 jmp b22 - //SEG685 keyboard_event_scan::@22 + //SEG717 keyboard_event_scan::@22 b22: - //SEG686 [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuz1=vbuz1_bor_vbuc1 + //SEG718 [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuz1=vbuz1_bor_vbuc1 lda #KEY_MODIFIER_RSHIFT ora keyboard_modifiers sta keyboard_modifiers - //SEG687 [311] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] + //SEG719 [329] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] b10_from_b22: b10_from_b27: - //SEG688 [311] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy + //SEG720 [329] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy jmp b10 - //SEG689 keyboard_event_scan::@10 + //SEG721 keyboard_event_scan::@10 b10: - //SEG690 [312] call keyboard_event_pressed - //SEG691 [277] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] + //SEG722 [330] call keyboard_event_pressed + //SEG723 [295] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] keyboard_event_pressed_from_b10: - //SEG692 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG724 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_CTRL sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG693 [313] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 + //SEG725 [331] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_11 sta keyboard_event_pressed.return_2 jmp b28 - //SEG694 keyboard_event_scan::@28 + //SEG726 keyboard_event_scan::@28 b28: - //SEG695 [314] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 -- vbuz1=vbuz2 + //SEG727 [332] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_2 sta _22 - //SEG696 [315] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuz1_eq_0_then_la1 + //SEG728 [333] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuz1_eq_0_then_la1 lda _22 cmp #0 beq b11_from_b28 jmp b23 - //SEG697 keyboard_event_scan::@23 + //SEG729 keyboard_event_scan::@23 b23: - //SEG698 [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuz1=vbuz1_bor_vbuc1 + //SEG730 [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuz1=vbuz1_bor_vbuc1 lda #KEY_MODIFIER_CTRL ora keyboard_modifiers sta keyboard_modifiers - //SEG699 [317] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] + //SEG731 [335] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] b11_from_b23: b11_from_b28: - //SEG700 [317] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy + //SEG732 [335] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy jmp b11 - //SEG701 keyboard_event_scan::@11 + //SEG733 keyboard_event_scan::@11 b11: - //SEG702 [318] call keyboard_event_pressed - //SEG703 [277] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] + //SEG734 [336] call keyboard_event_pressed + //SEG735 [295] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] keyboard_event_pressed_from_b11: - //SEG704 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG736 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_COMMODORE sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG705 [319] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 + //SEG737 [337] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_11 sta keyboard_event_pressed.return_10 jmp b29 - //SEG706 keyboard_event_scan::@29 + //SEG738 keyboard_event_scan::@29 b29: - //SEG707 [320] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 -- vbuz1=vbuz2 + //SEG739 [338] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 -- vbuz1=vbuz2 lda keyboard_event_pressed.return_10 sta _26 - //SEG708 [321] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuz1_eq_0_then_la1 + //SEG740 [339] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuz1_eq_0_then_la1 lda _26 cmp #0 beq breturn jmp b24 - //SEG709 keyboard_event_scan::@24 + //SEG741 keyboard_event_scan::@24 b24: - //SEG710 [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuz1=vbuz2_bor_vbuc1 + //SEG742 [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuz1=vbuz2_bor_vbuc1 lda #KEY_MODIFIER_COMMODORE ora keyboard_modifiers sta keyboard_modifiers_5 jmp breturn - //SEG711 keyboard_event_scan::@return + //SEG743 keyboard_event_scan::@return breturn: - //SEG712 [323] return + //SEG744 [341] return rts - //SEG713 [324] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] + //SEG745 [342] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] b4_from_b25: - //SEG714 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy - //SEG715 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy - //SEG716 [324] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuz1=vbuc1 + //SEG746 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy + //SEG747 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy + //SEG748 [342] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuz1=vbuc1 lda #0 sta col jmp b4 - //SEG717 [324] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] + //SEG749 [342] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] b4_from_b5: - //SEG718 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy - //SEG719 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy - //SEG720 [324] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy + //SEG750 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy + //SEG751 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy + //SEG752 [342] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy jmp b4 - //SEG721 keyboard_event_scan::@4 + //SEG753 keyboard_event_scan::@4 b4: - //SEG722 [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuz1=vbuz2_bxor_pbuc1_derefidx_vbuz3 + //SEG754 [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuz1=vbuz2_bxor_pbuc1_derefidx_vbuz3 lda row_scan ldy row eor keyboard_scan_values,y sta _3 - //SEG723 [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 + //SEG755 [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 lda _3 ldy col and keyboard_matrix_col_bitmask,y sta _4 - //SEG724 [327] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuz1_eq_0_then_la1 + //SEG756 [345] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuz1_eq_0_then_la1 lda _4 cmp #0 beq b5_from_b4 jmp b15 - //SEG725 keyboard_event_scan::@15 + //SEG757 keyboard_event_scan::@15 b15: - //SEG726 [328] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 + //SEG758 [346] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 lda keyboard_events_size cmp #8 beq b5_from_b15 jmp b16 - //SEG727 keyboard_event_scan::@16 + //SEG759 keyboard_event_scan::@16 b16: - //SEG728 [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 + //SEG760 [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuz1=vbuz2_band_pbuc1_derefidx_vbuz3 lda row_scan ldy col and keyboard_matrix_col_bitmask,y sta event_type - //SEG729 [330] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuz1_eq_0_then_la1 + //SEG761 [348] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuz1_eq_0_then_la1 lda event_type cmp #0 beq b7 jmp b17 - //SEG730 keyboard_event_scan::@17 + //SEG762 keyboard_event_scan::@17 b17: - //SEG731 [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG763 [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 lda keycode ldy keyboard_events_size sta keyboard_events,y - //SEG732 [332] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG764 [350] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size - //SEG733 [333] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] + //SEG765 [351] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] b5_from_b15: b5_from_b17: b5_from_b4: b5_from_b7: - //SEG734 [333] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy + //SEG766 [351] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy jmp b5 - //SEG735 keyboard_event_scan::@5 + //SEG767 keyboard_event_scan::@5 b5: - //SEG736 [334] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 + //SEG768 [352] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 inc keycode - //SEG737 [335] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuz1=_inc_vbuz1 + //SEG769 [353] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG738 [336] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG770 [354] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuz1_neq_vbuc1_then_la1 lda col cmp #8 bne b4_from_b5 jmp b19 - //SEG739 keyboard_event_scan::@19 + //SEG771 keyboard_event_scan::@19 b19: - //SEG740 [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG772 [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 lda row_scan ldy row sta keyboard_scan_values,y jmp b3_from_b19 - //SEG741 keyboard_event_scan::@7 + //SEG773 keyboard_event_scan::@7 b7: - //SEG742 [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz2_bor_vbuc1 + //SEG774 [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz2_bor_vbuc1 lda #$40 ora keycode sta _11 - //SEG743 [339] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG775 [357] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuz2 lda _11 ldy keyboard_events_size sta keyboard_events,y - //SEG744 [340] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG776 [358] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size jmp b5_from_b7 } -//SEG745 keyboard_matrix_read +//SEG777 keyboard_matrix_read keyboard_matrix_read: { - .label return = $ac - .label rowid = $9c - .label return_2 = $9d - //SEG746 [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuz1 + .label return = $b6 + .label rowid = $a6 + .label return_2 = $a7 + //SEG778 [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuz1 ldy rowid lda keyboard_matrix_row_bitmask,y sta CIA1_PORT_A - //SEG747 [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuz1=_bnot__deref_pbuc1 + //SEG779 [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuz1=_bnot__deref_pbuc1 lda CIA1_PORT_B eor #$ff sta return jmp breturn - //SEG748 keyboard_matrix_read::@return + //SEG780 keyboard_matrix_read::@return breturn: - //SEG749 [343] return + //SEG781 [361] return rts } -//SEG750 render_show +//SEG782 render_show render_show: { .const toD0181_return = (>(PLAYFIELD_SCREEN_1&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f .const toD0182_return = (>(PLAYFIELD_SCREEN_2&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f - .label d018val = $45 - //SEG751 [344] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 + .label d018val = $48 + //SEG783 [362] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 lda render_screen_show cmp #0 beq toD0181_from_render_show - //SEG752 [345] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] + //SEG784 [363] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] toD0182_from_render_show: jmp toD0182 - //SEG753 render_show::toD0182 + //SEG785 render_show::toD0182 toD0182: - //SEG754 [346] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] + //SEG786 [364] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] b2_from_toD0182: - //SEG755 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuz1=vbuc1 + //SEG787 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuz1=vbuc1 lda #toD0182_return sta d018val jmp b2 - //SEG756 render_show::@2 + //SEG788 render_show::@2 b2: - //SEG757 [347] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuz1 + //SEG789 [365] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuz1 lda d018val sta D018 - //SEG758 [348] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 + //SEG790 [366] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 lda render_screen_show sta render_screen_showing_1 jmp breturn - //SEG759 render_show::@return + //SEG791 render_show::@return breturn: - //SEG760 [349] return + //SEG792 [367] return rts - //SEG761 [350] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] + //SEG793 [368] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] toD0181_from_render_show: jmp toD0181 - //SEG762 render_show::toD0181 + //SEG794 render_show::toD0181 toD0181: - //SEG763 [346] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] + //SEG795 [364] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] b2_from_toD0181: - //SEG764 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuz1=vbuc1 + //SEG796 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuz1=vbuc1 lda #toD0181_return sta d018val jmp b2 } -//SEG765 play_init +//SEG797 play_init play_init: { - .label _1 = $ae - .label pli = $47 - .label idx = $49 - .label j = $46 - //SEG766 [352] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] + .label _1 = $b8 + .label pli = $4a + .label idx = $4c + .label j = $49 + //SEG798 [370] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] b1_from_play_init: - //SEG767 [352] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 + //SEG799 [370] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 lda #0 sta idx - //SEG768 [352] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 + //SEG800 [370] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 lda #playfield sta pli+1 - //SEG769 [352] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuz1=vbuc1 + //SEG801 [370] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuz1=vbuc1 lda #0 sta j jmp b1 - //SEG770 [352] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] + //SEG802 [370] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] b1_from_b1: - //SEG771 [352] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy - //SEG772 [352] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy - //SEG773 [352] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy + //SEG803 [370] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy + //SEG804 [370] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy + //SEG805 [370] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy jmp b1 - //SEG774 play_init::@1 + //SEG806 play_init::@1 b1: - //SEG775 [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG807 [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda j asl sta _1 - //SEG776 [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuz1=pbuz2 + //SEG808 [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuz1=pbuz2 ldy _1 lda pli sta playfield_lines,y lda pli+1 sta playfield_lines+1,y - //SEG777 [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG809 [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuz1=vbuz2 lda idx ldy j sta playfield_lines_idx,y - //SEG778 [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 + //SEG810 [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 lda pli clc adc #PLAYFIELD_COLS @@ -11726,246 +12109,246 @@ play_init: { bcc !+ inc pli+1 !: - //SEG779 [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 + //SEG811 [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 lda #PLAYFIELD_COLS clc adc idx sta idx - //SEG780 [358] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuz1=_inc_vbuz1 + //SEG812 [376] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuz1=_inc_vbuz1 inc j - //SEG781 [359] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG813 [377] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuz1_neq_vbuc1_then_la1 lda j cmp #PLAYFIELD_LINES-1+1 bne b1_from_b1 jmp b2 - //SEG782 play_init::@2 + //SEG814 play_init::@2 b2: - //SEG783 [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 + //SEG815 [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 lda #PLAYFIELD_COLS*PLAYFIELD_LINES sta playfield_lines_idx+PLAYFIELD_LINES jmp breturn - //SEG784 play_init::@return + //SEG816 play_init::@return breturn: - //SEG785 [361] return + //SEG817 [379] return rts } -//SEG786 sprites_irq_init +//SEG818 sprites_irq_init sprites_irq_init: { - //SEG787 asm { sei } + //SEG819 asm { sei } sei - //SEG788 [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG820 [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS - //SEG789 asm { ldaCIA1_INTERRUPT } + //SEG821 asm { ldaCIA1_INTERRUPT } lda CIA1_INTERRUPT - //SEG790 [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 + //SEG822 [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_DDR_MEMORY_MASK sta PROCPORT_DDR - //SEG791 [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 + //SEG823 [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_RAM_IO sta PROCPORT - //SEG792 [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 + //SEG824 [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 lda #CIA_INTERRUPT_CLEAR sta CIA1_INTERRUPT - //SEG793 [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + //SEG825 [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 lda VIC_CONTROL and #$7f sta VIC_CONTROL - //SEG794 [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 + //SEG826 [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER_FIRST sta RASTER - //SEG795 [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG827 [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_ENABLE - //SEG796 [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 + //SEG828 [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 lda #sprites_irq sta HARDWARE_IRQ+1 - //SEG797 asm { cli } + //SEG829 asm { cli } cli jmp breturn - //SEG798 sprites_irq_init::@return + //SEG830 sprites_irq_init::@return breturn: - //SEG799 [373] return + //SEG831 [391] return rts } -//SEG800 sprites_init +//SEG832 sprites_init sprites_init: { - .label s2 = $af - .label xpos = $4b - .label s = $4a - //SEG801 [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 + .label s2 = $b9 + .label xpos = $4e + .label s = $4d + //SEG833 [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 lda #$f sta SPRITES_ENABLE - //SEG802 [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 + //SEG834 [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 lda #0 sta SPRITES_MC - //SEG803 [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG835 [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 lda SPRITES_MC sta SPRITES_EXPAND_Y - //SEG804 [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG836 [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 lda SPRITES_EXPAND_Y sta SPRITES_EXPAND_X - //SEG805 [378] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] + //SEG837 [396] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] b1_from_sprites_init: - //SEG806 [378] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 + //SEG838 [396] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 lda #$18+$f*8 sta xpos - //SEG807 [378] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuz1=vbuc1 + //SEG839 [396] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuz1=vbuc1 lda #0 sta s jmp b1 - //SEG808 [378] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] + //SEG840 [396] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] b1_from_b1: - //SEG809 [378] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy - //SEG810 [378] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy + //SEG841 [396] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy + //SEG842 [396] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy jmp b1 - //SEG811 sprites_init::@1 + //SEG843 sprites_init::@1 b1: - //SEG812 [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG844 [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda s asl sta s2 - //SEG813 [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG845 [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuz1=vbuz2 lda xpos ldy s2 sta SPRITES_XPOS,y - //SEG814 [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuz1=vbuc2 + //SEG846 [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuz1=vbuc2 ldy s lda #BLACK sta SPRITES_COLS,y - //SEG815 [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 + //SEG847 [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 lda #$18 clc adc xpos sta xpos - //SEG816 [383] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuz1=_inc_vbuz1 + //SEG848 [401] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuz1=_inc_vbuz1 inc s - //SEG817 [384] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG849 [402] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuz1_neq_vbuc1_then_la1 lda s cmp #4 bne b1_from_b1 jmp breturn - //SEG818 sprites_init::@return + //SEG850 sprites_init::@return breturn: - //SEG819 [385] return + //SEG851 [403] return rts } -//SEG820 render_init +//SEG852 render_init render_init: { .const vicSelectGfxBank1_toDd001_return = 3^(>PLAYFIELD_CHARSET)>>6 - .label _13 = $b0 - .label _14 = $b1 - .label li_1 = $4d - .label li_2 = $4f - .label i = $4c + .label _13 = $ba + .label _14 = $bb + .label li_1 = $50 + .label li_2 = $52 + .label i = $4f jmp vicSelectGfxBank1 - //SEG821 render_init::vicSelectGfxBank1 + //SEG853 render_init::vicSelectGfxBank1 vicSelectGfxBank1: - //SEG822 [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG854 [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #3 sta CIA2_PORT_A_DDR - //SEG823 [388] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] + //SEG855 [406] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] vicSelectGfxBank1_toDd001_from_vicSelectGfxBank1: jmp vicSelectGfxBank1_toDd001 - //SEG824 render_init::vicSelectGfxBank1_toDd001 + //SEG856 render_init::vicSelectGfxBank1_toDd001 vicSelectGfxBank1_toDd001: jmp vicSelectGfxBank1_b1 - //SEG825 render_init::vicSelectGfxBank1_@1 + //SEG857 render_init::vicSelectGfxBank1_@1 vicSelectGfxBank1_b1: - //SEG826 [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 + //SEG858 [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 lda #vicSelectGfxBank1_toDd001_return sta CIA2_PORT_A jmp b3 - //SEG827 render_init::@3 + //SEG859 render_init::@3 b3: - //SEG828 [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG860 [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #VIC_ECM|VIC_DEN|VIC_RSEL|3 sta D011 - //SEG829 [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG861 [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 lda #BLACK sta BORDERCOL - //SEG830 [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG862 [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 lda #BLACK sta BGCOL1 - //SEG831 [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 + //SEG863 [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 lda #BLUE sta BGCOL2 - //SEG832 [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 + //SEG864 [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 lda #CYAN sta BGCOL3 - //SEG833 [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 + //SEG865 [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 lda #GREY sta BGCOL4 - //SEG834 [396] call render_screen_original - //SEG835 [409] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] + //SEG866 [414] call render_screen_original + //SEG867 [427] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] render_screen_original_from_b3: - //SEG836 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 + //SEG868 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1 sta render_screen_original.screen+1 jsr render_screen_original - //SEG837 [397] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] + //SEG869 [415] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] b4_from_b3: jmp b4 - //SEG838 render_init::@4 + //SEG870 render_init::@4 b4: - //SEG839 [398] call render_screen_original - //SEG840 [409] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] + //SEG871 [416] call render_screen_original + //SEG872 [427] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] render_screen_original_from_b4: - //SEG841 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 + //SEG873 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2 sta render_screen_original.screen+1 jsr render_screen_original - //SEG842 [399] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] + //SEG874 [417] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] b1_from_b4: - //SEG843 [399] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 + //SEG875 [417] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2+2*$28+$10 sta li_2+1 - //SEG844 [399] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 + //SEG876 [417] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1+2*$28+$10 sta li_1+1 - //SEG845 [399] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuz1=vbuc1 + //SEG877 [417] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuz1=vbuc1 lda #0 sta i jmp b1 - //SEG846 [399] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] + //SEG878 [417] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] b1_from_b1: - //SEG847 [399] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy - //SEG848 [399] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy - //SEG849 [399] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy + //SEG879 [417] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy + //SEG880 [417] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy + //SEG881 [417] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy jmp b1 - //SEG850 render_init::@1 + //SEG882 render_init::@1 b1: - //SEG851 [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG883 [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda i asl sta _13 - //SEG852 [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuz1=pbuz2 + //SEG884 [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuz1=pbuz2 ldy _13 lda li_1 sta screen_lines_1,y lda li_1+1 sta screen_lines_1+1,y - //SEG853 [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 + //SEG885 [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_rol_1 lda i asl sta _14 - //SEG854 [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuz1=pbuz2 + //SEG886 [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuz1=pbuz2 ldy _14 lda li_2 sta screen_lines_2,y lda li_2+1 sta screen_lines_2+1,y - //SEG855 [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG887 [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_1 clc adc #$28 @@ -11973,7 +12356,7 @@ render_init: { bcc !+ inc li_1+1 !: - //SEG856 [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG888 [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_2 clc adc #$28 @@ -11981,351 +12364,351 @@ render_init: { bcc !+ inc li_2+1 !: - //SEG857 [406] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuz1=_inc_vbuz1 + //SEG889 [424] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuz1=_inc_vbuz1 inc i - //SEG858 [407] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG890 [425] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuz1_neq_vbuc1_then_la1 lda i cmp #PLAYFIELD_LINES-1+1 bne b1_from_b1 jmp breturn - //SEG859 render_init::@return + //SEG891 render_init::@return breturn: - //SEG860 [408] return + //SEG892 [426] return rts } -//SEG861 render_screen_original +//SEG893 render_screen_original render_screen_original: { .const SPACE = 0 - .label screen = $56 - .label cols = $58 - .label x = $5a - .label oscr = $52 - .label ocols = $54 - .label y = $51 - //SEG862 [410] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] + .label screen = $59 + .label cols = $5b + .label x = $5d + .label oscr = $55 + .label ocols = $57 + .label y = $54 + //SEG894 [428] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] b1_from_render_screen_original: - //SEG863 [410] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 + //SEG895 [428] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 lda #0 sta y - //SEG864 [410] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 + //SEG896 [428] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_COLORS_ORIGINAL+$20*2 sta ocols+1 - //SEG865 [410] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 + //SEG897 [428] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_ORIGINAL+$20*2 sta oscr+1 - //SEG866 [410] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 + //SEG898 [428] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 lda #COLS sta cols+1 - //SEG867 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy + //SEG899 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy jmp b1 - //SEG868 [410] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] + //SEG900 [428] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] b1_from_b7: - //SEG869 [410] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy - //SEG870 [410] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy - //SEG871 [410] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy - //SEG872 [410] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy - //SEG873 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy + //SEG901 [428] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy + //SEG902 [428] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy + //SEG903 [428] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy + //SEG904 [428] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy + //SEG905 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy jmp b1 - //SEG874 render_screen_original::@1 + //SEG906 render_screen_original::@1 b1: - //SEG875 [411] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] + //SEG907 [429] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] b2_from_b1: - //SEG876 [411] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuz1=vbuc1 + //SEG908 [429] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuz1=vbuc1 lda #0 sta x - //SEG877 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy - //SEG878 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy + //SEG909 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy + //SEG910 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy jmp b2 - //SEG879 [411] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] + //SEG911 [429] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] b2_from_b2: - //SEG880 [411] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy - //SEG881 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy - //SEG882 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy + //SEG912 [429] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy + //SEG913 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy + //SEG914 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy jmp b2 - //SEG883 render_screen_original::@2 + //SEG915 render_screen_original::@2 b2: - //SEG884 [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG916 [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG885 [413] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 + //SEG917 [431] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG886 [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG918 [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG887 [415] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 + //SEG919 [433] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG888 [416] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuz1=_inc_vbuz1 + //SEG920 [434] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuz1=_inc_vbuz1 inc x - //SEG889 [417] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG921 [435] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #4 bne b2_from_b2 - //SEG890 [418] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] + //SEG922 [436] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] b3_from_b2: b3_from_b3: - //SEG891 [418] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy - //SEG892 [418] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy - //SEG893 [418] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy - //SEG894 [418] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy - //SEG895 [418] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy + //SEG923 [436] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy + //SEG924 [436] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy + //SEG925 [436] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy + //SEG926 [436] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy + //SEG927 [436] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy jmp b3 - //SEG896 render_screen_original::@3 + //SEG928 render_screen_original::@3 b3: - //SEG897 [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG929 [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (oscr),y ldy #0 sta (screen),y - //SEG898 [420] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 + //SEG930 [438] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG899 [421] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 + //SEG931 [439] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 inc oscr bne !+ inc oscr+1 !: - //SEG900 [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG932 [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (ocols),y ldy #0 sta (cols),y - //SEG901 [423] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 + //SEG933 [441] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG902 [424] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 + //SEG934 [442] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 inc ocols bne !+ inc ocols+1 !: - //SEG903 [425] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuz1=_inc_vbuz1 + //SEG935 [443] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuz1=_inc_vbuz1 inc x - //SEG904 [426] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuz1_neq_vbuc1_then_la1 + //SEG936 [444] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #$24 bne b3_from_b3 - //SEG905 [427] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] + //SEG937 [445] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] b4_from_b3: b4_from_b4: - //SEG906 [427] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy - //SEG907 [427] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy - //SEG908 [427] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy + //SEG938 [445] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy + //SEG939 [445] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy + //SEG940 [445] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy jmp b4 - //SEG909 render_screen_original::@4 + //SEG941 render_screen_original::@4 b4: - //SEG910 [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG942 [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG911 [429] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 + //SEG943 [447] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG912 [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG944 [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG913 [431] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 + //SEG945 [449] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG914 [432] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuz1=_inc_vbuz1 + //SEG946 [450] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuz1=_inc_vbuz1 inc x - //SEG915 [433] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG947 [451] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #$28 bne b4_from_b4 jmp b7 - //SEG916 render_screen_original::@7 + //SEG948 render_screen_original::@7 b7: - //SEG917 [434] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 + //SEG949 [452] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 inc y - //SEG918 [435] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG950 [453] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #$19 bne b1_from_b7 jmp breturn - //SEG919 render_screen_original::@return + //SEG951 render_screen_original::@return breturn: - //SEG920 [436] return + //SEG952 [454] return rts } -//SEG921 sid_rnd_init +//SEG953 sid_rnd_init sid_rnd_init: { - //SEG922 [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 + //SEG954 [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 lda #<$ffff sta SID_VOICE3_FREQ lda #>$ffff sta SID_VOICE3_FREQ+1 - //SEG923 [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 + //SEG955 [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 lda #SID_CONTROL_NOISE sta SID_VOICE3_CONTROL jmp breturn - //SEG924 sid_rnd_init::@return + //SEG956 sid_rnd_init::@return breturn: - //SEG925 [439] return + //SEG957 [457] return rts } -//SEG926 sprites_irq +//SEG958 sprites_irq sprites_irq: { .const toSpritePtr2_return = PLAYFIELD_SPRITES>>6 - .label _4 = $b9 - .label ypos = $b2 - .label ptr = $b3 - .label ptr_1 = $bd - .label ptr_2 = $be - .label ptr_3 = $b4 - .label ptr_4 = $b5 - .label raster_next = $5c - //SEG927 entry interrupt(HARDWARE_CLOBBER) + .label _4 = $c3 + .label ypos = $bc + .label ptr = $bd + .label ptr_1 = $c7 + .label ptr_2 = $c8 + .label ptr_3 = $be + .label ptr_4 = $bf + .label raster_next = $5f + //SEG959 entry interrupt(HARDWARE_CLOBBER) sta rega+1 stx regx+1 sty regy+1 - //SEG928 asm { cld } + //SEG960 asm { cld } cld - //SEG929 [441] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuz1=vbuz2 + //SEG961 [459] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuz1=vbuz2 lda irq_sprite_ypos sta ypos - //SEG930 [442] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 + //SEG962 [460] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 lda ypos sta SPRITES_YPOS - //SEG931 [443] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 + //SEG963 [461] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 lda ypos sta SPRITES_YPOS+2 - //SEG932 [444] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 + //SEG964 [462] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 lda ypos sta SPRITES_YPOS+4 - //SEG933 [445] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 + //SEG965 [463] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuz1 lda ypos sta SPRITES_YPOS+6 jmp b1 - //SEG934 sprites_irq::@1 + //SEG966 sprites_irq::@1 b1: - //SEG935 [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 + //SEG967 [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 lda RASTER cmp irq_sprite_ypos bcc b1 jmp b7 - //SEG936 sprites_irq::@7 + //SEG968 sprites_irq::@7 b7: - //SEG937 [447] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuz1=vbuz2 + //SEG969 [465] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuz1=vbuz2 lda irq_sprite_ptr sta ptr - //SEG938 [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 + //SEG970 [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 lda render_screen_showing cmp #0 beq b2 jmp b8 - //SEG939 sprites_irq::@8 + //SEG971 sprites_irq::@8 b8: - //SEG940 [449] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuz1 + //SEG972 [467] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuz1 lda ptr sta PLAYFIELD_SPRITE_PTRS_2 - //SEG941 [450] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuz1=_inc_vbuz2 + //SEG973 [468] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuz1=_inc_vbuz2 ldy ptr iny sty ptr_3 - //SEG942 [451] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuz1 + //SEG974 [469] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuz1 lda ptr_3 sta PLAYFIELD_SPRITE_PTRS_2+1 - //SEG943 [452] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuz1 + //SEG975 [470] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuz1 lda ptr_3 sta PLAYFIELD_SPRITE_PTRS_2+2 - //SEG944 [453] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuz1=_inc_vbuz2 + //SEG976 [471] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuz1=_inc_vbuz2 ldy ptr_3 iny sty ptr_4 - //SEG945 [454] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuz1 + //SEG977 [472] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuz1 lda ptr_4 sta PLAYFIELD_SPRITE_PTRS_2+3 jmp b3 - //SEG946 sprites_irq::@3 + //SEG978 sprites_irq::@3 b3: - //SEG947 [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz2 + //SEG979 [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz2 ldy irq_cnt iny sty irq_cnt_1 - //SEG948 [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 + //SEG980 [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 lda irq_cnt_1 cmp #$a beq b4 jmp b10 - //SEG949 sprites_irq::@10 + //SEG981 sprites_irq::@10 b10: - //SEG950 [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz2_plus_vbuc1 + //SEG982 [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz2_plus_vbuc1 lda #$15 clc adc irq_raster_next sta irq_raster_next_2 - //SEG951 [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz2_plus_vbuc1 + //SEG983 [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz2_plus_vbuc1 lda #$15 clc adc irq_sprite_ypos sta irq_sprite_ypos_2 - //SEG952 [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz2_plus_vbuc1 + //SEG984 [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz2_plus_vbuc1 lda #3 clc adc irq_sprite_ptr sta irq_sprite_ptr_2 - //SEG953 [460] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] + //SEG985 [478] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] b5_from_b10: b5_from_b13: - //SEG954 [460] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy + //SEG986 [478] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy jmp b5 - //SEG955 sprites_irq::@5 + //SEG987 sprites_irq::@5 b5: - //SEG956 [461] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuz1=vbuz2 + //SEG988 [479] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuz1=vbuz2 lda irq_raster_next_13 sta raster_next - //SEG957 [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 + //SEG989 [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuz1=vbuz2_band_vbuc1 lda #7 and raster_next sta _4 - //SEG958 [463] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuz1_neq_vbuc1_then_la1 + //SEG990 [481] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuz1_neq_vbuc1_then_la1 lda _4 cmp #3 bne b6_from_b5 jmp b12 - //SEG959 sprites_irq::@12 + //SEG991 sprites_irq::@12 b12: - //SEG960 [464] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_minus_1 + //SEG992 [482] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_minus_1 dec raster_next - //SEG961 [465] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] + //SEG993 [483] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] b6_from_b12: b6_from_b5: - //SEG962 [465] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy + //SEG994 [483] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy jmp b6 - //SEG963 sprites_irq::@6 + //SEG995 sprites_irq::@6 b6: - //SEG964 [466] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuz1 + //SEG996 [484] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuz1 lda raster_next sta RASTER - //SEG965 [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG997 [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS jmp breturn - //SEG966 sprites_irq::@return + //SEG998 sprites_irq::@return breturn: - //SEG967 [468] return - exit interrupt(HARDWARE_CLOBBER) + //SEG999 [486] return - exit interrupt(HARDWARE_CLOBBER) rega: lda #00 regx: @@ -12333,49 +12716,49 @@ sprites_irq: { regy: ldy #00 rti - //SEG968 sprites_irq::@4 + //SEG1000 sprites_irq::@4 b4: - //SEG969 [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 + //SEG1001 [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt_14 - //SEG970 [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 + //SEG1002 [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next_1 - //SEG971 [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 + //SEG1003 [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos_1 - //SEG972 [472] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] + //SEG1004 [490] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] toSpritePtr2_from_b4: jmp toSpritePtr2 - //SEG973 sprites_irq::toSpritePtr2 + //SEG1005 sprites_irq::toSpritePtr2 toSpritePtr2: jmp b13 - //SEG974 sprites_irq::@13 + //SEG1006 sprites_irq::@13 b13: - //SEG975 [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 + //SEG1007 [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 lda #toSpritePtr2_return sta irq_sprite_ptr_1 jmp b5_from_b13 - //SEG976 sprites_irq::@2 + //SEG1008 sprites_irq::@2 b2: - //SEG977 [474] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuz1 + //SEG1009 [492] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuz1 lda ptr sta PLAYFIELD_SPRITE_PTRS_1 - //SEG978 [475] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuz1=_inc_vbuz2 + //SEG1010 [493] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuz1=_inc_vbuz2 ldy ptr iny sty ptr_1 - //SEG979 [476] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuz1 + //SEG1011 [494] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuz1 lda ptr_1 sta PLAYFIELD_SPRITE_PTRS_1+1 - //SEG980 [477] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuz1 + //SEG1012 [495] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuz1 lda ptr_1 sta PLAYFIELD_SPRITE_PTRS_1+2 - //SEG981 [478] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuz1=_inc_vbuz2 + //SEG1013 [496] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuz1=_inc_vbuz2 ldy ptr_1 iny sty ptr_2 - //SEG982 [479] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuz1 + //SEG1014 [497] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuz1 lda ptr_2 sta PLAYFIELD_SPRITE_PTRS_1+3 jmp b3 @@ -12447,839 +12830,878 @@ Statement [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( Statement [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ ] ( ) always clobbers reg byte a Statement [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 [ ] ( ) always clobbers reg byte a Statement [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( ) always clobbers reg byte a -Statement [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 [ current_ypos#85 current_ypos#18 current_xpos#111 current_xpos#23 current_piece_gfx#101 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12 [ current_ypos#85 current_ypos#18 current_xpos#111 current_xpos#23 current_piece_gfx#101 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Statement [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#72 ] ( main:12 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#72 ] ) always clobbers reg byte a -Statement [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#13 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#13 ] ) always clobbers reg byte a +Statement [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 [ current_ypos#86 current_ypos#18 current_xpos#112 current_xpos#23 current_piece_gfx#102 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12 [ current_ypos#86 current_ypos#18 current_xpos#112 current_xpos#23 current_piece_gfx#102 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Statement [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#73 ] ( main:12 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#73 ] ) always clobbers reg byte a +Statement [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#14 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#14 ] ) always clobbers reg byte a Removing always clobbered register reg byte a as potential for zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] Removing always clobbered register reg byte a as potential for zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -Statement [48] (byte) main::render#1 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + (byte~) main::$12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:99 [ main::key_event#0 ] -Statement [53] (byte) main::render#2 ← (byte) main::render#1 + (byte~) main::$13 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ) always clobbers reg byte a -Statement [58] (byte) main::render#3 ← (byte) main::render#2 + (byte~) main::$14 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#3 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#3 ] ) always clobbers reg byte a -Statement [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 current_ypos#86 render_screen_render#62 current_xpos#112 current_piece_gfx#102 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 current_ypos#86 render_screen_render#62 current_xpos#112 current_piece_gfx#102 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] -Statement [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#16 render_screen_render#11 ] ( main:12::render_screen_swap:69 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_show#16 render_screen_render#11 ] ) always clobbers reg byte a -Statement [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#13 render_screen_render#11 ] ( main:12::render_screen_swap:69 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_show#13 render_screen_render#11 ] ) always clobbers reg byte a -Statement [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:10 [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] -Statement [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] -Statement [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] -Statement [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ) always clobbers reg byte a -Statement [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] -Statement [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ) always clobbers reg byte a -Statement [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:16 [ render_screen_render#19 render_screen_render#63 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] -Statement [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ) always clobbers reg byte a -Statement [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ) always clobbers reg byte a -Statement [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) [ render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ) always clobbers reg byte a reg byte y -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:16 [ render_screen_render#19 render_screen_render#63 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] +Statement [48] (byte) main::render#1 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + (byte~) main::$12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:102 [ main::key_event#0 ] +Statement [53] (byte) main::render#2 ← (byte) main::render#1 + (byte~) main::$13 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ) always clobbers reg byte a +Statement [58] (byte) main::render#3 ← (byte) main::render#2 + (byte~) main::$14 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#3 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#3 ] ) always clobbers reg byte a +Statement [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 current_ypos#87 render_screen_render#64 current_xpos#113 current_piece_gfx#103 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 current_ypos#87 render_screen_render#64 current_xpos#113 current_piece_gfx#103 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] +Statement [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#16 render_screen_render#11 ] ( main:12::render_screen_swap:71 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_show#16 render_screen_render#11 ] ) always clobbers reg byte a +Statement [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#13 render_screen_render#11 ] ( main:12::render_screen_swap:71 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_show#13 render_screen_render#11 ] ) always clobbers reg byte a +Statement [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$9 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$9 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:115 [ render_score::score_byte#0 ] +Statement [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$10 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$10 ] ) always clobbers reg byte a +Statement [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ) always clobbers reg byte y Removing always clobbered register reg byte y as potential for zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] Removing always clobbered register reg byte y as potential for zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -Statement [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:107 [ main::render#2 ] -Statement [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ) always clobbers reg byte a -Statement [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#78 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#78 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] -Statement [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ) always clobbers reg byte a -Statement [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ) always clobbers reg byte a -Statement [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ) always clobbers reg byte a -Statement [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 [ play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:103 [ main::render#1 ] -Statement [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ) always clobbers reg byte a -Statement [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] -Statement [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:33 [ play_collision::c#2 play_collision::c#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:126 [ play_collision::i#1 ] -Statement [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ) always clobbers reg byte a -Statement [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a -Statement [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ) always clobbers reg byte a -Statement [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#76 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#76 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ) always clobbers reg byte a -Statement [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 [ current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_piece#75 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_piece#75 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ) always clobbers reg byte a -Statement [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#79 score_bcd#11 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#79 score_bcd#11 ] ) always clobbers reg byte a -Statement [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:50 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] -Statement [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a -Statement [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ play_spawn_current::piece_idx#1 ] ( main:12::play_spawn_current:25 [ play_spawn_current::piece_idx#1 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 play_spawn_current::piece_idx#1 ] ) always clobbers reg byte a -Statement [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 [ score_bcd#13 play_update_score::$2 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_update_score::$2 ] ) always clobbers reg byte a -Statement [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) [ score_bcd#13 play_update_score::add_bcd#0 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_update_score::add_bcd#0 ] ) always clobbers reg byte a -Statement [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 [ score_bcd#3 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#3 ] ) always clobbers reg byte a -Statement [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 [ play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ( main:12::play_move_down:45::play_remove_lines:201 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:53 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] -Statement [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ play_remove_lines::removed#7 play_remove_lines::w#6 ] ( main:12::play_move_down:45::play_remove_lines:201 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_remove_lines::removed#7 play_remove_lines::w#6 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:56 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] -Statement [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ) always clobbers reg byte a -Statement [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] -Statement [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:61 [ play_lock_current::c#2 play_lock_current::c#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:151 [ play_lock_current::i#1 ] -Statement [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a -Statement [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 [ keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] -Statement [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] -Statement [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) [ keyboard_event_pressed::return#11 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::return#11 ] ) always clobbers reg byte a -Statement [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 [ keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -Statement [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 [ keyboard_events_size#13 keyboard_modifiers#3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#3 ] ) always clobbers reg byte a -Statement [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 [ keyboard_events_size#13 keyboard_modifiers#4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#4 ] ) always clobbers reg byte a -Statement [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 [ keyboard_events_size#13 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 ] ) always clobbers reg byte a -Statement [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] -Statement [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ) always clobbers reg byte a -Statement [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ) always clobbers reg byte a -Statement [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ) always clobbers reg byte a -Statement [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ) always clobbers reg byte a -Statement [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ) always clobbers reg byte a -Statement [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) [ ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:291 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 ] ) always clobbers reg byte a -Statement [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) [ keyboard_matrix_read::return#0 ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:291 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_matrix_read::return#0 ] ) always clobbers reg byte a -Statement [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:70 [ play_init::j#2 play_init::j#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] -Statement [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a -Statement [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a -Statement [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ) always clobbers reg byte a -Statement [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ) always clobbers reg byte a -Statement [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 [ ] ( main:12::play_init:23 [ ] ) always clobbers reg byte a -Statement [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:115 [ render_score::score_byte#0 ] +Statement [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 [ render_screen_render#17 render_score::b#2 render_score::score_byte#0 render_score::screen_score_pos#2 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::score_byte#0 render_score::screen_score_pos#2 ] ) always clobbers reg byte a +Statement [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$11 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$11 ] ) always clobbers reg byte a +Statement [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$12 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$12 ] ) always clobbers reg byte a +Statement [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 ] ) always clobbers reg byte y +Statement [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#3 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#3 ] ) always clobbers reg byte a +Statement [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:13 [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] +Statement [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] +Statement [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] +Statement [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ) always clobbers reg byte a +Statement [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] +Statement [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ) always clobbers reg byte a +Statement [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:19 [ render_screen_render#21 render_screen_render#65 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] +Statement [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ) always clobbers reg byte a +Statement [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ) always clobbers reg byte a +Statement [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) [ render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:19 [ render_screen_render#21 render_screen_render#65 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] +Statement [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:110 [ main::render#2 ] +Statement [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ) always clobbers reg byte a +Statement [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#79 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#79 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] +Statement [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ) always clobbers reg byte a +Statement [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ) always clobbers reg byte a +Statement [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ) always clobbers reg byte a +Statement [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 [ play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:106 [ main::render#1 ] +Statement [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ) always clobbers reg byte a +Statement [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] +Statement [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:36 [ play_collision::c#2 play_collision::c#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:136 [ play_collision::i#1 ] +Statement [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ) always clobbers reg byte a +Statement [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a +Statement [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#78 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#78 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ) always clobbers reg byte a +Statement [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ) always clobbers reg byte a +Statement [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 [ current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_piece#76 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_piece#76 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ) always clobbers reg byte a +Statement [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#80 score_bcd#12 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#80 score_bcd#12 ] ) always clobbers reg byte a +Statement [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:53 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] +Statement [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a +Statement [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ play_spawn_current::piece_idx#1 ] ( main:12::play_spawn_current:25 [ play_spawn_current::piece_idx#1 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 play_spawn_current::piece_idx#1 ] ) always clobbers reg byte a +Statement [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 [ score_bcd#14 play_update_score::$2 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_update_score::$2 ] ) always clobbers reg byte a +Statement [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) [ score_bcd#14 play_update_score::add_bcd#0 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_update_score::add_bcd#0 ] ) always clobbers reg byte a +Statement [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 [ score_bcd#3 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#3 ] ) always clobbers reg byte a +Statement [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 [ play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ( main:12::play_move_down:45::play_remove_lines:219 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:56 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] +Statement [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ play_remove_lines::removed#7 play_remove_lines::w#6 ] ( main:12::play_move_down:45::play_remove_lines:219 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_remove_lines::removed#7 play_remove_lines::w#6 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:59 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] +Statement [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ) always clobbers reg byte a +Statement [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] +Statement [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:64 [ play_lock_current::c#2 play_lock_current::c#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:161 [ play_lock_current::i#1 ] +Statement [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a +Statement [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 [ keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] +Statement [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] +Statement [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) [ keyboard_event_pressed::return#11 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::return#11 ] ) always clobbers reg byte a +Statement [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 [ keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] +Statement [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 [ keyboard_events_size#13 keyboard_modifiers#3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#3 ] ) always clobbers reg byte a +Statement [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 [ keyboard_events_size#13 keyboard_modifiers#4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#4 ] ) always clobbers reg byte a +Statement [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 [ keyboard_events_size#13 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 ] ) always clobbers reg byte a +Statement [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] +Statement [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ) always clobbers reg byte a +Statement [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ) always clobbers reg byte a +Statement [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ) always clobbers reg byte a +Statement [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ) always clobbers reg byte a +Statement [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ) always clobbers reg byte a +Statement [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) [ ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:309 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 ] ) always clobbers reg byte a +Statement [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) [ keyboard_matrix_read::return#0 ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:309 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_matrix_read::return#0 ] ) always clobbers reg byte a +Statement [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:73 [ play_init::j#2 play_init::j#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] +Statement [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a +Statement [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a +Statement [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ) always clobbers reg byte a +Statement [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ) always clobbers reg byte a +Statement [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 [ ] ( main:12::play_init:23 [ ] ) always clobbers reg byte a +Statement [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a Statement asm { ldaCIA1_INTERRUPT } always clobbers reg byte a -Statement [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:74 [ sprites_init::s#2 sprites_init::s#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] -Statement [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a -Statement [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a -Statement [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 [ sprites_init::s#2 sprites_init::xpos#1 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#1 ] ) always clobbers reg byte a -Statement [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:76 [ render_init::i#2 render_init::i#1 ] -Statement [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a -Statement [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ) always clobbers reg byte a -Statement [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a -Statement [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ) always clobbers reg byte a -Statement [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ) always clobbers reg byte a -Statement [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ) always clobbers reg byte a reg byte y -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:90 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] -Removing always clobbered register reg byte y as potential for zp ZP_BYTE:90 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] -Statement [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ) always clobbers reg byte a reg byte y -Statement [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ) always clobbers reg byte a reg byte y -Statement [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ) always clobbers reg byte a reg byte y -Statement [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y -Statement [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y -Statement [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a -Statement [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a -Statement [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ( [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ) always clobbers reg byte a -Statement [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:179 [ sprites_irq::ptr#0 ] -Statement [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ) always clobbers reg byte y -Statement [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ) always clobbers reg byte a -Statement [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a -Statement [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a -Statement [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 [ irq_raster_next#2 ] ( [ irq_raster_next#2 ] ) always clobbers reg byte a -Statement [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ sprites_irq::raster_next#0 sprites_irq::$4 ] ( [ sprites_irq::raster_next#0 sprites_irq::$4 ] ) always clobbers reg byte a -Removing always clobbered register reg byte a as potential for zp ZP_BYTE:92 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] -Statement [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( [ ] ) always clobbers reg byte a -Statement [468] return [ ] ( [ ] ) always clobbers reg byte a reg byte x reg byte y -Statement [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( [ ] ) always clobbers reg byte a -Statement [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a -Statement [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a -Statement [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:77 [ sprites_init::s#2 sprites_init::s#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Statement [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a +Statement [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a +Statement [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 [ sprites_init::s#2 sprites_init::xpos#1 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#1 ] ) always clobbers reg byte a +Statement [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:79 [ render_init::i#2 render_init::i#1 ] +Statement [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a +Statement [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ) always clobbers reg byte a +Statement [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a +Statement [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ) always clobbers reg byte a +Statement [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ) always clobbers reg byte a +Statement [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:93 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] +Removing always clobbered register reg byte y as potential for zp ZP_BYTE:93 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] +Statement [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ) always clobbers reg byte a reg byte y +Statement [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ) always clobbers reg byte a reg byte y +Statement [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ) always clobbers reg byte a reg byte y +Statement [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y +Statement [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y +Statement [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a +Statement [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a +Statement [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ( [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ) always clobbers reg byte a +Statement [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:189 [ sprites_irq::ptr#0 ] +Statement [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ) always clobbers reg byte y +Statement [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ) always clobbers reg byte a +Statement [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a +Statement [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a +Statement [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 [ irq_raster_next#2 ] ( [ irq_raster_next#2 ] ) always clobbers reg byte a +Statement [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ sprites_irq::raster_next#0 sprites_irq::$4 ] ( [ sprites_irq::raster_next#0 sprites_irq::$4 ] ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp ZP_BYTE:95 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] +Statement [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( [ ] ) always clobbers reg byte a +Statement [486] return [ ] ( [ ] ) always clobbers reg byte a reg byte x reg byte y +Statement [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( [ ] ) always clobbers reg byte a +Statement [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a Statement [1] (byte) render_screen_showing#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( ) always clobbers reg byte a Statement [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( ) always clobbers reg byte a Statement [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ ] ( ) always clobbers reg byte a Statement [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 [ ] ( ) always clobbers reg byte a Statement [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( ) always clobbers reg byte a -Statement [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 [ current_ypos#85 current_ypos#18 current_xpos#111 current_xpos#23 current_piece_gfx#101 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12 [ current_ypos#85 current_ypos#18 current_xpos#111 current_xpos#23 current_piece_gfx#101 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a -Statement [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#72 ] ( main:12 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#72 ] ) always clobbers reg byte a -Statement [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#13 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#13 ] ) always clobbers reg byte a -Statement [48] (byte) main::render#1 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + (byte~) main::$12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ) always clobbers reg byte a -Statement [53] (byte) main::render#2 ← (byte) main::render#1 + (byte~) main::$13 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ) always clobbers reg byte a -Statement [58] (byte) main::render#3 ← (byte) main::render#2 + (byte~) main::$14 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#3 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#3 ] ) always clobbers reg byte a -Statement [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 current_ypos#86 render_screen_render#62 current_xpos#112 current_piece_gfx#102 ] ( main:12 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 current_ypos#86 render_screen_render#62 current_xpos#112 current_piece_gfx#102 ] ) always clobbers reg byte a -Statement [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#16 render_screen_render#11 ] ( main:12::render_screen_swap:69 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_show#16 render_screen_render#11 ] ) always clobbers reg byte a -Statement [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#13 render_screen_render#11 ] ( main:12::render_screen_swap:69 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_show#13 render_screen_render#11 ] ) always clobbers reg byte a -Statement [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ) always clobbers reg byte a -Statement [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] ) always clobbers reg byte a -Statement [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ) always clobbers reg byte a -Statement [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ) always clobbers reg byte a -Statement [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ) always clobbers reg byte a -Statement [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ) always clobbers reg byte a -Statement [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 [ render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#28 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ) always clobbers reg byte a -Statement [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ) always clobbers reg byte a -Statement [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ) always clobbers reg byte a -Statement [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) [ render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ) always clobbers reg byte a -Statement [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) [ render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 render_screen_render#19 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ) always clobbers reg byte a reg byte y -Statement [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ) always clobbers reg byte a -Statement [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ) always clobbers reg byte a -Statement [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#78 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#78 ] ) always clobbers reg byte a -Statement [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ) always clobbers reg byte a -Statement [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ) always clobbers reg byte a -Statement [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ) always clobbers reg byte a -Statement [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 [ play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ) always clobbers reg byte a -Statement [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ) always clobbers reg byte a -Statement [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ) always clobbers reg byte a -Statement [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a -Statement [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ) always clobbers reg byte a -Statement [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:121 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:159 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:170 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:194 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a -Statement [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ) always clobbers reg byte a -Statement [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#76 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#16 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#2 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#76 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ) always clobbers reg byte a -Statement [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 [ current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_piece#75 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_piece#75 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ) always clobbers reg byte a -Statement [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#79 score_bcd#11 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#79 score_bcd#11 ] ) always clobbers reg byte a -Statement [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a -Statement [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a -Statement [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ play_spawn_current::piece_idx#1 ] ( main:12::play_spawn_current:25 [ play_spawn_current::piece_idx#1 ] main:12::play_move_down:45::play_spawn_current:207 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#11 play_spawn_current::piece_idx#1 ] ) always clobbers reg byte a -Statement [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 [ score_bcd#13 play_update_score::$2 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_update_score::$2 ] ) always clobbers reg byte a -Statement [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) [ score_bcd#13 play_update_score::add_bcd#0 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_update_score::add_bcd#0 ] ) always clobbers reg byte a -Statement [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 [ score_bcd#3 ] ( main:12::play_move_down:45::play_update_score:205 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#3 ] ) always clobbers reg byte a -Statement [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 [ play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ( main:12::play_move_down:45::play_remove_lines:201 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ) always clobbers reg byte a -Statement [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ play_remove_lines::removed#7 play_remove_lines::w#6 ] ( main:12::play_move_down:45::play_remove_lines:201 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 play_remove_lines::removed#7 play_remove_lines::w#6 ] ) always clobbers reg byte a -Statement [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ) always clobbers reg byte a -Statement [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ) always clobbers reg byte a -Statement [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a -Statement [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:199 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 score_bcd#13 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a -Statement [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 [ keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ) always clobbers reg byte a -Statement [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ) always clobbers reg byte a -Statement [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) [ keyboard_event_pressed::return#11 ] ( main:12::play_move_down:45::keyboard_event_pressed:179 [ render_screen_show#16 render_screen_render#16 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#13 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:300 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:306 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:312 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::return#11 ] ) always clobbers reg byte a -Statement [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_event_scan::row_scan#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_event_scan::row_scan#0 ] ) always clobbers reg byte a -Statement [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 [ keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ) always clobbers reg byte a -Statement [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 [ keyboard_events_size#13 keyboard_modifiers#3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#3 ] ) always clobbers reg byte a -Statement [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 [ keyboard_events_size#13 keyboard_modifiers#4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 keyboard_modifiers#4 ] ) always clobbers reg byte a -Statement [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 [ keyboard_events_size#13 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_events_size#13 ] ) always clobbers reg byte a -Statement [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ) always clobbers reg byte a -Statement [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ) always clobbers reg byte a -Statement [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ) always clobbers reg byte a -Statement [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ) always clobbers reg byte a -Statement [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ) always clobbers reg byte a -Statement [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ) always clobbers reg byte a -Statement [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) [ ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:291 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 ] ) always clobbers reg byte a -Statement [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) [ keyboard_matrix_read::return#0 ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:291 [ render_screen_show#16 render_screen_render#16 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#13 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_matrix_read::return#0 ] ) always clobbers reg byte a -Statement [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ) always clobbers reg byte a -Statement [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a -Statement [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a -Statement [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ) always clobbers reg byte a -Statement [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ) always clobbers reg byte a -Statement [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 [ ] ( main:12::play_init:23 [ ] ) always clobbers reg byte a -Statement [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 [ current_ypos#86 current_ypos#18 current_xpos#112 current_xpos#23 current_piece_gfx#102 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12 [ current_ypos#86 current_ypos#18 current_xpos#112 current_xpos#23 current_piece_gfx#102 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a +Statement [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#73 ] ( main:12 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#73 ] ) always clobbers reg byte a +Statement [35] if(*((const byte*) RASTER#0)!=(byte/word/signed word/dword/signed dword) 255) goto main::@4 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#14 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 keyboard_events_size#19 current_movedown_counter#12 score_bcd#14 ] ) always clobbers reg byte a +Statement [48] (byte) main::render#1 ← (byte/signed byte/word/signed word/dword/signed dword) 0 + (byte~) main::$12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_orientation#14 current_piece_gfx#1 current_xpos#1 ] ) always clobbers reg byte a +Statement [53] (byte) main::render#2 ← (byte) main::render#1 + (byte~) main::$13 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#2 current_orientation#14 current_piece_gfx#1 ] ) always clobbers reg byte a +Statement [58] (byte) main::render#3 ← (byte) main::render#2 + (byte~) main::$14 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#3 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#3 ] ) always clobbers reg byte a +Statement [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 current_ypos#87 render_screen_render#64 current_xpos#113 current_piece_gfx#103 ] ( main:12 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 current_ypos#87 render_screen_render#64 current_xpos#113 current_piece_gfx#103 ] ) always clobbers reg byte a +Statement [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#16 render_screen_render#11 ] ( main:12::render_screen_swap:71 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_show#16 render_screen_render#11 ] ) always clobbers reg byte a +Statement [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 [ render_screen_show#13 render_screen_render#11 ] ( main:12::render_screen_swap:71 [ current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_show#13 render_screen_render#11 ] ) always clobbers reg byte a +Statement [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ) always clobbers reg byte a +Statement [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$9 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$9 ] ) always clobbers reg byte a +Statement [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$10 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 render_score::$10 ] ) always clobbers reg byte a +Statement [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#4 render_score::score_byte#0 ] ) always clobbers reg byte y +Statement [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 [ render_screen_render#17 render_score::b#2 render_score::score_byte#0 render_score::screen_score_pos#2 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::score_byte#0 render_score::screen_score_pos#2 ] ) always clobbers reg byte a +Statement [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$11 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$11 ] ) always clobbers reg byte a +Statement [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$12 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 render_score::$12 ] ) always clobbers reg byte a +Statement [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#2 ] ) always clobbers reg byte y +Statement [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 [ render_screen_render#17 render_score::b#2 render_score::screen_score_pos#3 ] ( main:12::render_score:69 [ render_screen_show#16 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#17 render_score::b#2 render_score::screen_score_pos#3 ] ) always clobbers reg byte a +Statement [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#0 ] ) always clobbers reg byte a +Statement [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 ] ) always clobbers reg byte a +Statement [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#1 ] ) always clobbers reg byte a +Statement [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::$5 ] ) always clobbers reg byte a +Statement [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::i#3 render_current::l#4 render_current::screen_line#0 ] ) always clobbers reg byte a +Statement [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::screen_line#0 render_current::i#4 render_current::xpos#2 render_current::c#2 render_current::current_cell#0 ] ) always clobbers reg byte a +Statement [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 [ render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ( main:12::render_current:32 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] main:12::render_current:67 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#30 current_xpos#47 current_piece_gfx#53 current_piece_char#64 render_current::ypos2#2 render_current::l#4 render_current::i#10 render_current::screen_line#0 render_current::xpos#2 render_current::c#2 ] ) always clobbers reg byte a +Statement [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$2 ] ) always clobbers reg byte a +Statement [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::$3 ] ) always clobbers reg byte a +Statement [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) [ render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#3 render_playfield::screen_line#0 ] ) always clobbers reg byte a +Statement [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) [ render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ( main:12::render_playfield:27 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] main:12::render_playfield:61 [ render_screen_show#16 render_screen_render#17 current_piece#10 current_orientation#19 current_piece_gfx#14 current_xpos#19 current_ypos#13 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 render_screen_render#21 render_playfield::l#2 render_playfield::i#2 render_playfield::screen_line#2 render_playfield::c#2 ] ) always clobbers reg byte a reg byte y +Statement [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$2 ] ) always clobbers reg byte a +Statement [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#2 ] ) always clobbers reg byte a +Statement [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#79 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#3 play_collision::ypos#3 play_collision::orientation#3 current_piece#79 ] ) always clobbers reg byte a +Statement [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#4 current_piece_gfx#3 ] ) always clobbers reg byte a +Statement [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::$4 ] ) always clobbers reg byte a +Statement [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 [ current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ( main:12::play_move_rotate:55 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#1 ] ) always clobbers reg byte a +Statement [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 [ play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::ypos#4 play_collision::xpos#5 play_collision::piece_gfx#0 ] ) always clobbers reg byte a +Statement [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#0 ] ) always clobbers reg byte a +Statement [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::i#3 play_collision::l#6 play_collision::playfield_line#0 ] ) always clobbers reg byte a +Statement [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a +Statement [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 play_collision::$7 ] ) always clobbers reg byte a +Statement [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 [ play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ( main:12::play_move_rotate:55::play_collision:139 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::render#2 current_piece#10 current_xpos#19 current_ypos#13 current_orientation#14 current_piece_gfx#1 play_move_rotate::orientation#3 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:177 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_leftright:50::play_collision:188 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_xpos#1 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] main:12::play_move_down:45::play_collision:212 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 play_collision::xpos#5 play_collision::piece_gfx#0 play_collision::ypos2#2 play_collision::l#6 play_collision::playfield_line#0 play_collision::col#2 play_collision::c#2 play_collision::i#1 ] ) always clobbers reg byte a +Statement [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#78 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#78 play_collision::orientation#2 play_collision::ypos#2 play_collision::xpos#2 current_xpos#1 ] ) always clobbers reg byte a +Statement [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 [ current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ( main:12::play_move_leftright:50 [ render_screen_show#16 render_screen_render#17 current_piece_char#1 keyboard_events_size#16 current_movedown_counter#10 score_bcd#10 main::key_event#0 main::render#1 current_piece_gfx#1 current_piece#10 current_ypos#13 current_orientation#14 current_piece#77 play_collision::orientation#1 play_collision::ypos#1 play_collision::xpos#1 current_xpos#1 ] ) always clobbers reg byte a +Statement [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 [ current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_piece#76 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_piece#76 play_collision::orientation#0 play_collision::ypos#0 play_collision::xpos#0 ] ) always clobbers reg byte a +Statement [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#80 score_bcd#12 ] ( main:12::play_move_down:45 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 current_piece#80 score_bcd#12 ] ) always clobbers reg byte a +Statement [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_ypos#18 current_xpos#23 current_piece_gfx#16 play_spawn_current::$3 play_spawn_current::piece_idx#2 ] ) always clobbers reg byte a +Statement [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ( main:12::play_spawn_current:25 [ current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 current_ypos#18 current_xpos#23 current_piece_gfx#16 current_piece_char#12 play_spawn_current::$3 ] ) always clobbers reg byte a +Statement [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ play_spawn_current::piece_idx#1 ] ( main:12::play_spawn_current:25 [ play_spawn_current::piece_idx#1 ] main:12::play_move_down:45::play_spawn_current:225 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#12 play_spawn_current::piece_idx#1 ] ) always clobbers reg byte a +Statement [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 [ score_bcd#14 play_update_score::$2 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_update_score::$2 ] ) always clobbers reg byte a +Statement [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) [ score_bcd#14 play_update_score::add_bcd#0 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_update_score::add_bcd#0 ] ) always clobbers reg byte a +Statement [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 [ score_bcd#3 ] ( main:12::play_move_down:45::play_update_score:223 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#3 ] ) always clobbers reg byte a +Statement [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 [ play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ( main:12::play_move_down:45::play_remove_lines:219 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_remove_lines::y#8 play_remove_lines::removed#11 play_remove_lines::r#1 play_remove_lines::w#2 ] ) always clobbers reg byte a +Statement [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ play_remove_lines::removed#7 play_remove_lines::w#6 ] ( main:12::play_move_down:45::play_remove_lines:219 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 play_remove_lines::removed#7 play_remove_lines::w#6 ] ) always clobbers reg byte a +Statement [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#0 ] ) always clobbers reg byte a +Statement [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::i#3 play_lock_current::l#6 play_lock_current::playfield_line#0 ] ) always clobbers reg byte a +Statement [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a +Statement [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 [ current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ( main:12::play_move_down:45::play_lock_current:217 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 score_bcd#14 current_piece_gfx#20 current_xpos#10 current_piece_char#15 play_lock_current::ypos2#2 play_lock_current::l#6 play_lock_current::playfield_line#0 play_lock_current::col#2 play_lock_current::c#2 play_lock_current::i#1 ] ) always clobbers reg byte a +Statement [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 [ keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::keycode#5 keyboard_event_pressed::$0 ] ) always clobbers reg byte a +Statement [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::row_bits#0 keyboard_event_pressed::$1 ] ) always clobbers reg byte a +Statement [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) [ keyboard_event_pressed::return#11 ] ( main:12::play_move_down:45::keyboard_event_pressed:197 [ render_screen_show#16 render_screen_render#17 keyboard_events_size#16 main::key_event#0 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 score_bcd#14 current_movedown_counter#1 play_move_down::movedown#10 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:318 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:324 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#11 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:330 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#12 keyboard_event_pressed::return#11 ] main:12::keyboard_event_scan:39::keyboard_event_pressed:336 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#13 keyboard_event_pressed::return#11 ] ) always clobbers reg byte a +Statement [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_event_scan::row_scan#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_event_scan::row_scan#0 ] ) always clobbers reg byte a +Statement [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 [ keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_events_size#29 keyboard_event_scan::keycode#1 ] ) always clobbers reg byte a +Statement [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 [ keyboard_events_size#13 keyboard_modifiers#3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#3 ] ) always clobbers reg byte a +Statement [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 [ keyboard_events_size#13 keyboard_modifiers#4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 keyboard_modifiers#4 ] ) always clobbers reg byte a +Statement [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 [ keyboard_events_size#13 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_events_size#13 ] ) always clobbers reg byte a +Statement [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$3 ] ) always clobbers reg byte a +Statement [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$4 ] ) always clobbers reg byte a +Statement [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::event_type#0 ] ) always clobbers reg byte a +Statement [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 ] ) always clobbers reg byte a +Statement [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 [ keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#15 keyboard_events_size#30 ] ) always clobbers reg byte a +Statement [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 [ keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ( main:12::keyboard_event_scan:39 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::row_scan#0 keyboard_event_scan::col#2 keyboard_event_scan::keycode#10 keyboard_events_size#10 keyboard_event_scan::$11 ] ) always clobbers reg byte a +Statement [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) [ ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:309 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 ] ) always clobbers reg byte a +Statement [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) [ keyboard_matrix_read::return#0 ] ( main:12::keyboard_event_scan:39::keyboard_matrix_read:309 [ render_screen_show#16 render_screen_render#17 current_piece#16 current_orientation#10 current_piece_gfx#20 current_xpos#10 current_ypos#21 current_piece_char#15 current_movedown_counter#12 score_bcd#14 keyboard_event_scan::row#2 keyboard_event_scan::keycode#11 keyboard_events_size#29 keyboard_matrix_read::return#0 ] ) always clobbers reg byte a +Statement [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 play_init::$1 ] ) always clobbers reg byte a +Statement [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a +Statement [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#2 play_init::idx#2 ] ) always clobbers reg byte a +Statement [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::idx#2 play_init::pli#1 ] ) always clobbers reg byte a +Statement [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ( main:12::play_init:23 [ play_init::j#2 play_init::pli#1 play_init::idx#1 ] ) always clobbers reg byte a +Statement [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 [ ] ( main:12::play_init:23 [ ] ) always clobbers reg byte a +Statement [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a Statement asm { ldaCIA1_INTERRUPT } always clobbers reg byte a -Statement [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a -Statement [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a -Statement [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ) always clobbers reg byte a -Statement [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a -Statement [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a -Statement [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 [ sprites_init::s#2 sprites_init::xpos#1 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#1 ] ) always clobbers reg byte a -Statement [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a -Statement [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ) always clobbers reg byte a -Statement [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a -Statement [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ) always clobbers reg byte a -Statement [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a -Statement [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ) always clobbers reg byte a -Statement [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ) always clobbers reg byte a -Statement [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ) always clobbers reg byte a reg byte y -Statement [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ) always clobbers reg byte a reg byte y -Statement [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ) always clobbers reg byte a reg byte y -Statement [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ) always clobbers reg byte a reg byte y -Statement [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y -Statement [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:396 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:398 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y -Statement [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a -Statement [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a -Statement [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ( [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ) always clobbers reg byte a -Statement [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ) always clobbers reg byte a -Statement [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ) always clobbers reg byte y -Statement [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ) always clobbers reg byte a -Statement [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a -Statement [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a -Statement [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 [ irq_raster_next#2 ] ( [ irq_raster_next#2 ] ) always clobbers reg byte a -Statement [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ sprites_irq::raster_next#0 sprites_irq::$4 ] ( [ sprites_irq::raster_next#0 sprites_irq::$4 ] ) always clobbers reg byte a -Statement [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( [ ] ) always clobbers reg byte a -Statement [468] return [ ] ( [ ] ) always clobbers reg byte a reg byte x reg byte y -Statement [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( [ ] ) always clobbers reg byte a -Statement [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a -Statement [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a -Statement [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() [ ] ( main:12::sprites_irq_init:21 [ ] ) always clobbers reg byte a +Statement [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) [ ] ( main:12::sprites_init:19 [ ] ) always clobbers reg byte a +Statement [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 sprites_init::s2#0 ] ) always clobbers reg byte a +Statement [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a +Statement [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 [ sprites_init::s#2 sprites_init::xpos#2 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#2 ] ) always clobbers reg byte a +Statement [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 [ sprites_init::s#2 sprites_init::xpos#1 ] ( main:12::sprites_init:19 [ sprites_init::s#2 sprites_init::xpos#1 ] ) always clobbers reg byte a +Statement [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 [ ] ( main:12::render_init:17 [ ] ) always clobbers reg byte a +Statement [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$13 ] ) always clobbers reg byte a +Statement [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a +Statement [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 render_init::$14 ] ) always clobbers reg byte a +Statement [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#2 render_init::li_2#2 ] ) always clobbers reg byte a +Statement [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_2#2 render_init::li_1#1 ] ) always clobbers reg byte a +Statement [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ( main:12::render_init:17 [ render_init::i#2 render_init::li_1#1 render_init::li_2#1 ] ) always clobbers reg byte a +Statement [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::screen#5 render_screen_original::cols#4 render_screen_original::x#4 ] ) always clobbers reg byte a reg byte y +Statement [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::oscr#4 render_screen_original::ocols#4 render_screen_original::y#6 render_screen_original::cols#4 render_screen_original::x#4 render_screen_original::screen#2 ] ) always clobbers reg byte a reg byte y +Statement [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#2 render_screen_original::screen#6 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 ] ) always clobbers reg byte a reg byte y +Statement [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#2 render_screen_original::cols#5 render_screen_original::x#5 render_screen_original::screen#3 ] ) always clobbers reg byte a reg byte y +Statement [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::screen#7 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y +Statement [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ( main:12::render_init:17::render_screen_original:414 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] main:12::render_init:17::render_screen_original:416 [ render_screen_original::y#6 render_screen_original::screen#10 render_screen_original::oscr#1 render_screen_original::ocols#1 render_screen_original::cols#6 render_screen_original::x#6 ] ) always clobbers reg byte a reg byte y +Statement [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a +Statement [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 [ ] ( main:12::sid_rnd_init:15 [ ] ) always clobbers reg byte a +Statement [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ( [ render_screen_showing#0 irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 ] ) always clobbers reg byte a +Statement [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#0 sprites_irq::ptr#0 ] ) always clobbers reg byte a +Statement [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 irq_cnt#1 ] ) always clobbers reg byte y +Statement [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ( [ irq_raster_next#0 irq_sprite_ypos#0 irq_sprite_ptr#0 ] ) always clobbers reg byte a +Statement [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ypos#0 irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a +Statement [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 [ irq_sprite_ptr#0 irq_raster_next#2 ] ( [ irq_sprite_ptr#0 irq_raster_next#2 ] ) always clobbers reg byte a +Statement [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 [ irq_raster_next#2 ] ( [ irq_raster_next#2 ] ) always clobbers reg byte a +Statement [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 [ sprites_irq::raster_next#0 sprites_irq::$4 ] ( [ sprites_irq::raster_next#0 sprites_irq::$4 ] ) always clobbers reg byte a +Statement [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 [ ] ( [ ] ) always clobbers reg byte a +Statement [486] return [ ] ( [ ] ) always clobbers reg byte a reg byte x reg byte y +Statement [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 [ ] ( [ ] ) always clobbers reg byte a +Statement [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a +Statement [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 [ irq_raster_next#1 ] ( [ irq_raster_next#1 ] ) always clobbers reg byte a Potential registers zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] : zp ZP_BYTE:2 , reg byte x , -Potential registers zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] : zp ZP_BYTE:3 , reg byte x , +Potential registers zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] : zp ZP_BYTE:3 , reg byte x , Potential registers zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] : zp ZP_BYTE:4 , reg byte x , -Potential registers zp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] : zp ZP_BYTE:5 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] : zp ZP_BYTE:6 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] : zp ZP_BYTE:7 , reg byte x , reg byte y , -Potential registers zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] : zp ZP_WORD:8 , -Potential registers zp ZP_BYTE:10 [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] : zp ZP_BYTE:10 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] : zp ZP_BYTE:11 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] : zp ZP_BYTE:12 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] : zp ZP_BYTE:13 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] : zp ZP_BYTE:14 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] : zp ZP_BYTE:15 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:16 [ render_screen_render#19 render_screen_render#63 ] : zp ZP_BYTE:16 , reg byte x , -Potential registers zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] : zp ZP_BYTE:17 , reg byte x , -Potential registers zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] : zp ZP_BYTE:18 , reg byte x , -Potential registers zp ZP_WORD:19 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] : zp ZP_WORD:19 , -Potential registers zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] : zp ZP_BYTE:21 , reg byte x , -Potential registers zp ZP_BYTE:22 [ play_move_rotate::return#1 ] : zp ZP_BYTE:22 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] : zp ZP_BYTE:23 , reg byte x , reg byte y , -Potential registers zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] : zp ZP_WORD:24 , -Potential registers zp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] : zp ZP_BYTE:26 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] : zp ZP_BYTE:27 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] : zp ZP_BYTE:28 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] : zp ZP_BYTE:29 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] : zp ZP_BYTE:30 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] : zp ZP_BYTE:31 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] : zp ZP_BYTE:32 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:33 [ play_collision::c#2 play_collision::c#1 ] : zp ZP_BYTE:33 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:34 [ play_collision::return#14 ] : zp ZP_BYTE:34 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:35 [ play_move_leftright::return#1 ] : zp ZP_BYTE:35 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] : zp ZP_BYTE:36 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] : zp ZP_BYTE:37 , reg byte x , -Potential registers zp ZP_DWORD:38 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] : zp ZP_DWORD:38 , -Potential registers zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] : zp ZP_WORD:42 , -Potential registers zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] : zp ZP_BYTE:44 , reg byte x , -Potential registers zp ZP_WORD:45 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] : zp ZP_WORD:45 , -Potential registers zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] : zp ZP_BYTE:47 , reg byte x , -Potential registers zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] : zp ZP_BYTE:48 , reg byte x , -Potential registers zp ZP_BYTE:49 [ play_move_down::return#2 ] : zp ZP_BYTE:49 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:50 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] : zp ZP_BYTE:50 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] : zp ZP_BYTE:51 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] : zp ZP_BYTE:52 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:53 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] : zp ZP_BYTE:53 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] : zp ZP_BYTE:54 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] : zp ZP_BYTE:55 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:56 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] : zp ZP_BYTE:56 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] : zp ZP_BYTE:57 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] : zp ZP_BYTE:58 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] : zp ZP_BYTE:59 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] : zp ZP_BYTE:60 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:61 [ play_lock_current::c#2 play_lock_current::c#1 ] : zp ZP_BYTE:61 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] : zp ZP_BYTE:62 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:63 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] : zp ZP_BYTE:63 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] : zp ZP_BYTE:64 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] : zp ZP_BYTE:65 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] : zp ZP_BYTE:66 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] : zp ZP_BYTE:67 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] : zp ZP_BYTE:68 , reg byte x , -Potential registers zp ZP_BYTE:69 [ render_show::d018val#3 ] : zp ZP_BYTE:69 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:70 [ play_init::j#2 play_init::j#1 ] : zp ZP_BYTE:70 , reg byte x , reg byte y , -Potential registers zp ZP_WORD:71 [ play_init::pli#2 play_init::pli#1 ] : zp ZP_WORD:71 , -Potential registers zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] : zp ZP_BYTE:73 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:74 [ sprites_init::s#2 sprites_init::s#1 ] : zp ZP_BYTE:74 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] : zp ZP_BYTE:75 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:76 [ render_init::i#2 render_init::i#1 ] : zp ZP_BYTE:76 , reg byte x , reg byte y , -Potential registers zp ZP_WORD:77 [ render_init::li_1#2 render_init::li_1#1 ] : zp ZP_WORD:77 , -Potential registers zp ZP_WORD:79 [ render_init::li_2#2 render_init::li_2#1 ] : zp ZP_WORD:79 , -Potential registers zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] : zp ZP_BYTE:81 , reg byte x , -Potential registers zp ZP_WORD:82 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] : zp ZP_WORD:82 , -Potential registers zp ZP_WORD:84 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] : zp ZP_WORD:84 , -Potential registers zp ZP_WORD:86 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] : zp ZP_WORD:86 , -Potential registers zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] : zp ZP_WORD:88 , -Potential registers zp ZP_BYTE:90 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] : zp ZP_BYTE:90 , reg byte x , -Potential registers zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] : zp ZP_BYTE:91 , -Potential registers zp ZP_BYTE:92 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] : zp ZP_BYTE:92 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:93 [ render_screen_showing#0 ] : zp ZP_BYTE:93 , -Potential registers zp ZP_BYTE:94 [ irq_raster_next#0 ] : zp ZP_BYTE:94 , -Potential registers zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] : zp ZP_BYTE:95 , -Potential registers zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] : zp ZP_BYTE:96 , -Potential registers zp ZP_BYTE:97 [ irq_cnt#0 ] : zp ZP_BYTE:97 , -Potential registers zp ZP_BYTE:98 [ keyboard_event_get::return#3 ] : zp ZP_BYTE:98 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:99 [ main::key_event#0 ] : zp ZP_BYTE:99 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:100 [ play_move_down::key_event#0 ] : zp ZP_BYTE:100 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:101 [ play_move_down::return#3 ] : zp ZP_BYTE:101 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:102 [ main::$12 ] : zp ZP_BYTE:102 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:103 [ main::render#1 ] : zp ZP_BYTE:103 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:104 [ play_move_leftright::key_event#0 ] : zp ZP_BYTE:104 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:105 [ play_move_leftright::return#4 ] : zp ZP_BYTE:105 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:106 [ main::$13 ] : zp ZP_BYTE:106 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:107 [ main::render#2 ] : zp ZP_BYTE:107 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:108 [ play_move_rotate::key_event#0 ] : zp ZP_BYTE:108 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:109 [ play_move_rotate::return#4 ] : zp ZP_BYTE:109 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:110 [ main::$14 ] : zp ZP_BYTE:110 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:111 [ main::render#3 ] : zp ZP_BYTE:111 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:112 [ render_current::$5 ] : zp ZP_BYTE:112 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_WORD:113 [ render_current::screen_line#0 ] : zp ZP_WORD:113 , -Potential registers zp ZP_BYTE:115 [ render_current::current_cell#0 ] : zp ZP_BYTE:115 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:116 [ render_playfield::$2 ] : zp ZP_BYTE:116 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:117 [ render_playfield::$3 ] : zp ZP_BYTE:117 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:118 [ play_move_rotate::$2 ] : zp ZP_BYTE:118 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:119 [ play_collision::return#13 ] : zp ZP_BYTE:119 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:120 [ play_move_rotate::$6 ] : zp ZP_BYTE:120 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:121 [ play_move_rotate::$4 ] : zp ZP_BYTE:121 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_WORD:122 [ play_collision::piece_gfx#0 ] : zp ZP_WORD:122 , -Potential registers zp ZP_WORD:124 [ play_collision::playfield_line#0 ] : zp ZP_WORD:124 , -Potential registers zp ZP_BYTE:126 [ play_collision::i#1 ] : zp ZP_BYTE:126 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:127 [ play_collision::$7 ] : zp ZP_BYTE:127 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:128 [ play_collision::return#12 ] : zp ZP_BYTE:128 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:129 [ play_move_leftright::$4 ] : zp ZP_BYTE:129 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:130 [ play_collision::return#1 ] : zp ZP_BYTE:130 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:131 [ play_move_leftright::$8 ] : zp ZP_BYTE:131 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:132 [ keyboard_event_pressed::return#12 ] : zp ZP_BYTE:132 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:133 [ play_move_down::$2 ] : zp ZP_BYTE:133 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:134 [ play_collision::return#0 ] : zp ZP_BYTE:134 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:135 [ play_move_down::$12 ] : zp ZP_BYTE:135 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:136 [ play_remove_lines::return#0 ] : zp ZP_BYTE:136 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:137 [ play_move_down::removed#0 ] : zp ZP_BYTE:137 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:138 [ play_update_score::removed#0 ] : zp ZP_BYTE:138 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:139 [ play_spawn_current::$3 ] : zp ZP_BYTE:139 , reg byte x , -Potential registers zp ZP_BYTE:140 [ sid_rnd::return#2 ] : zp ZP_BYTE:140 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:141 [ play_spawn_current::$1 ] : zp ZP_BYTE:141 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:142 [ sid_rnd::return#0 ] : zp ZP_BYTE:142 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:143 [ play_update_score::$2 ] : zp ZP_BYTE:143 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_DWORD:144 [ play_update_score::add_bcd#0 ] : zp ZP_DWORD:144 , -Potential registers zp ZP_BYTE:148 [ play_remove_lines::c#0 ] : zp ZP_BYTE:148 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_WORD:149 [ play_lock_current::playfield_line#0 ] : zp ZP_WORD:149 , -Potential registers zp ZP_BYTE:151 [ play_lock_current::i#1 ] : zp ZP_BYTE:151 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:152 [ keyboard_event_pressed::$0 ] : zp ZP_BYTE:152 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] : zp ZP_BYTE:153 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:154 [ keyboard_event_pressed::$1 ] : zp ZP_BYTE:154 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:155 [ keyboard_event_pressed::return#11 ] : zp ZP_BYTE:155 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:156 [ keyboard_matrix_read::rowid#0 ] : zp ZP_BYTE:156 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:157 [ keyboard_matrix_read::return#2 ] : zp ZP_BYTE:157 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] : zp ZP_BYTE:158 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:159 [ keyboard_event_pressed::return#0 ] : zp ZP_BYTE:159 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:160 [ keyboard_event_scan::$14 ] : zp ZP_BYTE:160 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:161 [ keyboard_event_pressed::return#1 ] : zp ZP_BYTE:161 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:162 [ keyboard_event_scan::$18 ] : zp ZP_BYTE:162 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:163 [ keyboard_event_pressed::return#2 ] : zp ZP_BYTE:163 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:164 [ keyboard_event_scan::$22 ] : zp ZP_BYTE:164 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:165 [ keyboard_event_pressed::return#10 ] : zp ZP_BYTE:165 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:166 [ keyboard_event_scan::$26 ] : zp ZP_BYTE:166 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:167 [ keyboard_modifiers#5 ] : zp ZP_BYTE:167 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:168 [ keyboard_event_scan::$3 ] : zp ZP_BYTE:168 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:169 [ keyboard_event_scan::$4 ] : zp ZP_BYTE:169 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:170 [ keyboard_event_scan::event_type#0 ] : zp ZP_BYTE:170 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:171 [ keyboard_event_scan::$11 ] : zp ZP_BYTE:171 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:172 [ keyboard_matrix_read::return#0 ] : zp ZP_BYTE:172 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:173 [ render_screen_showing#1 ] : zp ZP_BYTE:173 , -Potential registers zp ZP_BYTE:174 [ play_init::$1 ] : zp ZP_BYTE:174 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:175 [ sprites_init::s2#0 ] : zp ZP_BYTE:175 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:176 [ render_init::$13 ] : zp ZP_BYTE:176 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:177 [ render_init::$14 ] : zp ZP_BYTE:177 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:178 [ sprites_irq::ypos#0 ] : zp ZP_BYTE:178 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:179 [ sprites_irq::ptr#0 ] : zp ZP_BYTE:179 , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:180 [ sprites_irq::ptr#3 ] : zp ZP_BYTE:180 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:181 [ sprites_irq::ptr#4 ] : zp ZP_BYTE:181 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:182 [ irq_cnt#1 ] : zp ZP_BYTE:182 , -Potential registers zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] : zp ZP_BYTE:183 , -Potential registers zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] : zp ZP_BYTE:184 , -Potential registers zp ZP_BYTE:185 [ sprites_irq::$4 ] : zp ZP_BYTE:185 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:186 [ irq_cnt#14 ] : zp ZP_BYTE:186 , -Potential registers zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] : zp ZP_BYTE:187 , -Potential registers zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] : zp ZP_BYTE:188 , -Potential registers zp ZP_BYTE:189 [ sprites_irq::ptr#1 ] : zp ZP_BYTE:189 , reg byte a , reg byte x , reg byte y , -Potential registers zp ZP_BYTE:190 [ sprites_irq::ptr#2 ] : zp ZP_BYTE:190 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] : zp ZP_BYTE:5 , reg byte x , +Potential registers zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] : zp ZP_WORD:6 , +Potential registers zp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] : zp ZP_BYTE:8 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] : zp ZP_BYTE:9 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] : zp ZP_BYTE:10 , reg byte x , reg byte y , +Potential registers zp ZP_WORD:11 [ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] : zp ZP_WORD:11 , +Potential registers zp ZP_BYTE:13 [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] : zp ZP_BYTE:13 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] : zp ZP_BYTE:14 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] : zp ZP_BYTE:15 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] : zp ZP_BYTE:16 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] : zp ZP_BYTE:17 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] : zp ZP_BYTE:18 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:19 [ render_screen_render#21 render_screen_render#65 ] : zp ZP_BYTE:19 , reg byte x , +Potential registers zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] : zp ZP_BYTE:20 , reg byte x , +Potential registers zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] : zp ZP_BYTE:21 , reg byte x , +Potential registers zp ZP_WORD:22 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] : zp ZP_WORD:22 , +Potential registers zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] : zp ZP_BYTE:24 , reg byte x , +Potential registers zp ZP_BYTE:25 [ play_move_rotate::return#1 ] : zp ZP_BYTE:25 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] : zp ZP_BYTE:26 , reg byte x , reg byte y , +Potential registers zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] : zp ZP_WORD:27 , +Potential registers zp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] : zp ZP_BYTE:29 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] : zp ZP_BYTE:30 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] : zp ZP_BYTE:31 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] : zp ZP_BYTE:32 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] : zp ZP_BYTE:33 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] : zp ZP_BYTE:34 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] : zp ZP_BYTE:35 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:36 [ play_collision::c#2 play_collision::c#1 ] : zp ZP_BYTE:36 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:37 [ play_collision::return#14 ] : zp ZP_BYTE:37 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:38 [ play_move_leftright::return#1 ] : zp ZP_BYTE:38 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] : zp ZP_BYTE:39 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] : zp ZP_BYTE:40 , reg byte x , +Potential registers zp ZP_DWORD:41 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] : zp ZP_DWORD:41 , +Potential registers zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] : zp ZP_WORD:45 , +Potential registers zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] : zp ZP_BYTE:47 , reg byte x , +Potential registers zp ZP_WORD:48 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] : zp ZP_WORD:48 , +Potential registers zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] : zp ZP_BYTE:50 , reg byte x , +Potential registers zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] : zp ZP_BYTE:51 , reg byte x , +Potential registers zp ZP_BYTE:52 [ play_move_down::return#2 ] : zp ZP_BYTE:52 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:53 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] : zp ZP_BYTE:53 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] : zp ZP_BYTE:54 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] : zp ZP_BYTE:55 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:56 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] : zp ZP_BYTE:56 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] : zp ZP_BYTE:57 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] : zp ZP_BYTE:58 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:59 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] : zp ZP_BYTE:59 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] : zp ZP_BYTE:60 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] : zp ZP_BYTE:61 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] : zp ZP_BYTE:62 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] : zp ZP_BYTE:63 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:64 [ play_lock_current::c#2 play_lock_current::c#1 ] : zp ZP_BYTE:64 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] : zp ZP_BYTE:65 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:66 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] : zp ZP_BYTE:66 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] : zp ZP_BYTE:67 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] : zp ZP_BYTE:68 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] : zp ZP_BYTE:69 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] : zp ZP_BYTE:70 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] : zp ZP_BYTE:71 , reg byte x , +Potential registers zp ZP_BYTE:72 [ render_show::d018val#3 ] : zp ZP_BYTE:72 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:73 [ play_init::j#2 play_init::j#1 ] : zp ZP_BYTE:73 , reg byte x , reg byte y , +Potential registers zp ZP_WORD:74 [ play_init::pli#2 play_init::pli#1 ] : zp ZP_WORD:74 , +Potential registers zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] : zp ZP_BYTE:76 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:77 [ sprites_init::s#2 sprites_init::s#1 ] : zp ZP_BYTE:77 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] : zp ZP_BYTE:78 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:79 [ render_init::i#2 render_init::i#1 ] : zp ZP_BYTE:79 , reg byte x , reg byte y , +Potential registers zp ZP_WORD:80 [ render_init::li_1#2 render_init::li_1#1 ] : zp ZP_WORD:80 , +Potential registers zp ZP_WORD:82 [ render_init::li_2#2 render_init::li_2#1 ] : zp ZP_WORD:82 , +Potential registers zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] : zp ZP_BYTE:84 , reg byte x , +Potential registers zp ZP_WORD:85 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] : zp ZP_WORD:85 , +Potential registers zp ZP_WORD:87 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] : zp ZP_WORD:87 , +Potential registers zp ZP_WORD:89 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] : zp ZP_WORD:89 , +Potential registers zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] : zp ZP_WORD:91 , +Potential registers zp ZP_BYTE:93 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] : zp ZP_BYTE:93 , reg byte x , +Potential registers zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] : zp ZP_BYTE:94 , +Potential registers zp ZP_BYTE:95 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] : zp ZP_BYTE:95 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:96 [ render_screen_showing#0 ] : zp ZP_BYTE:96 , +Potential registers zp ZP_BYTE:97 [ irq_raster_next#0 ] : zp ZP_BYTE:97 , +Potential registers zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] : zp ZP_BYTE:98 , +Potential registers zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] : zp ZP_BYTE:99 , +Potential registers zp ZP_BYTE:100 [ irq_cnt#0 ] : zp ZP_BYTE:100 , +Potential registers zp ZP_BYTE:101 [ keyboard_event_get::return#3 ] : zp ZP_BYTE:101 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:102 [ main::key_event#0 ] : zp ZP_BYTE:102 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:103 [ play_move_down::key_event#0 ] : zp ZP_BYTE:103 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:104 [ play_move_down::return#3 ] : zp ZP_BYTE:104 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:105 [ main::$12 ] : zp ZP_BYTE:105 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:106 [ main::render#1 ] : zp ZP_BYTE:106 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:107 [ play_move_leftright::key_event#0 ] : zp ZP_BYTE:107 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:108 [ play_move_leftright::return#4 ] : zp ZP_BYTE:108 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:109 [ main::$13 ] : zp ZP_BYTE:109 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:110 [ main::render#2 ] : zp ZP_BYTE:110 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:111 [ play_move_rotate::key_event#0 ] : zp ZP_BYTE:111 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:112 [ play_move_rotate::return#4 ] : zp ZP_BYTE:112 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:113 [ main::$14 ] : zp ZP_BYTE:113 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:114 [ main::render#3 ] : zp ZP_BYTE:114 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:115 [ render_score::score_byte#0 ] : zp ZP_BYTE:115 , reg byte x , +Potential registers zp ZP_BYTE:116 [ render_score::$9 ] : zp ZP_BYTE:116 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:117 [ render_score::$10 ] : zp ZP_BYTE:117 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_WORD:118 [ render_score::screen_score_pos#2 ] : zp ZP_WORD:118 , +Potential registers zp ZP_BYTE:120 [ render_score::$11 ] : zp ZP_BYTE:120 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:121 [ render_score::$12 ] : zp ZP_BYTE:121 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:122 [ render_current::$5 ] : zp ZP_BYTE:122 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_WORD:123 [ render_current::screen_line#0 ] : zp ZP_WORD:123 , +Potential registers zp ZP_BYTE:125 [ render_current::current_cell#0 ] : zp ZP_BYTE:125 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:126 [ render_playfield::$2 ] : zp ZP_BYTE:126 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:127 [ render_playfield::$3 ] : zp ZP_BYTE:127 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:128 [ play_move_rotate::$2 ] : zp ZP_BYTE:128 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:129 [ play_collision::return#13 ] : zp ZP_BYTE:129 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:130 [ play_move_rotate::$6 ] : zp ZP_BYTE:130 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:131 [ play_move_rotate::$4 ] : zp ZP_BYTE:131 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_WORD:132 [ play_collision::piece_gfx#0 ] : zp ZP_WORD:132 , +Potential registers zp ZP_WORD:134 [ play_collision::playfield_line#0 ] : zp ZP_WORD:134 , +Potential registers zp ZP_BYTE:136 [ play_collision::i#1 ] : zp ZP_BYTE:136 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:137 [ play_collision::$7 ] : zp ZP_BYTE:137 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:138 [ play_collision::return#12 ] : zp ZP_BYTE:138 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:139 [ play_move_leftright::$4 ] : zp ZP_BYTE:139 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:140 [ play_collision::return#1 ] : zp ZP_BYTE:140 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:141 [ play_move_leftright::$8 ] : zp ZP_BYTE:141 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:142 [ keyboard_event_pressed::return#12 ] : zp ZP_BYTE:142 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:143 [ play_move_down::$2 ] : zp ZP_BYTE:143 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:144 [ play_collision::return#0 ] : zp ZP_BYTE:144 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:145 [ play_move_down::$12 ] : zp ZP_BYTE:145 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:146 [ play_remove_lines::return#0 ] : zp ZP_BYTE:146 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:147 [ play_move_down::removed#0 ] : zp ZP_BYTE:147 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:148 [ play_update_score::removed#0 ] : zp ZP_BYTE:148 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:149 [ play_spawn_current::$3 ] : zp ZP_BYTE:149 , reg byte x , +Potential registers zp ZP_BYTE:150 [ sid_rnd::return#2 ] : zp ZP_BYTE:150 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:151 [ play_spawn_current::$1 ] : zp ZP_BYTE:151 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:152 [ sid_rnd::return#0 ] : zp ZP_BYTE:152 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:153 [ play_update_score::$2 ] : zp ZP_BYTE:153 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_DWORD:154 [ play_update_score::add_bcd#0 ] : zp ZP_DWORD:154 , +Potential registers zp ZP_BYTE:158 [ play_remove_lines::c#0 ] : zp ZP_BYTE:158 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_WORD:159 [ play_lock_current::playfield_line#0 ] : zp ZP_WORD:159 , +Potential registers zp ZP_BYTE:161 [ play_lock_current::i#1 ] : zp ZP_BYTE:161 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:162 [ keyboard_event_pressed::$0 ] : zp ZP_BYTE:162 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] : zp ZP_BYTE:163 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:164 [ keyboard_event_pressed::$1 ] : zp ZP_BYTE:164 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:165 [ keyboard_event_pressed::return#11 ] : zp ZP_BYTE:165 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:166 [ keyboard_matrix_read::rowid#0 ] : zp ZP_BYTE:166 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:167 [ keyboard_matrix_read::return#2 ] : zp ZP_BYTE:167 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] : zp ZP_BYTE:168 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:169 [ keyboard_event_pressed::return#0 ] : zp ZP_BYTE:169 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:170 [ keyboard_event_scan::$14 ] : zp ZP_BYTE:170 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:171 [ keyboard_event_pressed::return#1 ] : zp ZP_BYTE:171 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:172 [ keyboard_event_scan::$18 ] : zp ZP_BYTE:172 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:173 [ keyboard_event_pressed::return#2 ] : zp ZP_BYTE:173 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:174 [ keyboard_event_scan::$22 ] : zp ZP_BYTE:174 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:175 [ keyboard_event_pressed::return#10 ] : zp ZP_BYTE:175 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:176 [ keyboard_event_scan::$26 ] : zp ZP_BYTE:176 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:177 [ keyboard_modifiers#5 ] : zp ZP_BYTE:177 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:178 [ keyboard_event_scan::$3 ] : zp ZP_BYTE:178 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:179 [ keyboard_event_scan::$4 ] : zp ZP_BYTE:179 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:180 [ keyboard_event_scan::event_type#0 ] : zp ZP_BYTE:180 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:181 [ keyboard_event_scan::$11 ] : zp ZP_BYTE:181 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:182 [ keyboard_matrix_read::return#0 ] : zp ZP_BYTE:182 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:183 [ render_screen_showing#1 ] : zp ZP_BYTE:183 , +Potential registers zp ZP_BYTE:184 [ play_init::$1 ] : zp ZP_BYTE:184 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:185 [ sprites_init::s2#0 ] : zp ZP_BYTE:185 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:186 [ render_init::$13 ] : zp ZP_BYTE:186 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:187 [ render_init::$14 ] : zp ZP_BYTE:187 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:188 [ sprites_irq::ypos#0 ] : zp ZP_BYTE:188 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:189 [ sprites_irq::ptr#0 ] : zp ZP_BYTE:189 , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:190 [ sprites_irq::ptr#3 ] : zp ZP_BYTE:190 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:191 [ sprites_irq::ptr#4 ] : zp ZP_BYTE:191 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:192 [ irq_cnt#1 ] : zp ZP_BYTE:192 , +Potential registers zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] : zp ZP_BYTE:193 , +Potential registers zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] : zp ZP_BYTE:194 , +Potential registers zp ZP_BYTE:195 [ sprites_irq::$4 ] : zp ZP_BYTE:195 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:196 [ irq_cnt#14 ] : zp ZP_BYTE:196 , +Potential registers zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] : zp ZP_BYTE:197 , +Potential registers zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] : zp ZP_BYTE:198 , +Potential registers zp ZP_BYTE:199 [ sprites_irq::ptr#1 ] : zp ZP_BYTE:199 , reg byte a , reg byte x , reg byte y , +Potential registers zp ZP_BYTE:200 [ sprites_irq::ptr#2 ] : zp ZP_BYTE:200 , reg byte a , reg byte x , reg byte y , REGISTER UPLIFT SCOPES -Uplift Scope [keyboard_event_scan] 20,002: zp ZP_BYTE:168 [ keyboard_event_scan::$3 ] 20,002: zp ZP_BYTE:169 [ keyboard_event_scan::$4 ] 20,002: zp ZP_BYTE:170 [ keyboard_event_scan::event_type#0 ] 20,002: zp ZP_BYTE:171 [ keyboard_event_scan::$11 ] 17,858.93: zp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] 11,908.48: zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] 2,101.74: zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] 1,278.06: zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] 4: zp ZP_BYTE:160 [ keyboard_event_scan::$14 ] 4: zp ZP_BYTE:162 [ keyboard_event_scan::$18 ] 4: zp ZP_BYTE:164 [ keyboard_event_scan::$22 ] 4: zp ZP_BYTE:166 [ keyboard_event_scan::$26 ] -Uplift Scope [play_collision] 38,173.33: zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] 20,002: zp ZP_BYTE:127 [ play_collision::$7 ] 13,378.25: zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] 12,223.44: zp ZP_BYTE:33 [ play_collision::c#2 play_collision::c#1 ] 1,615.62: zp ZP_BYTE:126 [ play_collision::i#1 ] 1,371.57: zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] 1,126.12: zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] 785.86: zp ZP_WORD:124 [ play_collision::playfield_line#0 ] 476.33: zp ZP_WORD:122 [ play_collision::piece_gfx#0 ] 50.2: zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] 18: zp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] 10: zp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] 4: zp ZP_BYTE:119 [ play_collision::return#13 ] 4: zp ZP_BYTE:128 [ play_collision::return#12 ] 4: zp ZP_BYTE:130 [ play_collision::return#1 ] 4: zp ZP_BYTE:134 [ play_collision::return#0 ] 1.33: zp ZP_BYTE:34 [ play_collision::return#14 ] -Uplift Scope [play_remove_lines] 19,004.21: zp ZP_BYTE:53 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] 17,938.14: zp ZP_BYTE:56 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] 17,501.75: zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] 8,201: zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] 6,000.6: zp ZP_BYTE:148 [ play_remove_lines::c#0 ] 2,566.89: zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] 1,634.97: zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] 4: zp ZP_BYTE:136 [ play_remove_lines::return#0 ] -Uplift Scope [play_lock_current] 38,173.33: zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] 14,753.5: zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] 14,001.4: zp ZP_BYTE:61 [ play_lock_current::c#2 play_lock_current::c#1 ] 2,333.67: zp ZP_BYTE:151 [ play_lock_current::i#1 ] 1,167.83: zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] 1,100.2: zp ZP_WORD:149 [ play_lock_current::playfield_line#0 ] 777.68: zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Uplift Scope [] 58,858.19: zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] 212.98: zp ZP_WORD:45 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] 205.92: zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] 72.09: zp ZP_BYTE:10 [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] 59.09: zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] 40.1: zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] 30.62: zp ZP_BYTE:16 [ render_screen_render#19 render_screen_render#63 ] 26: zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] 20.4: zp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] 20: zp ZP_BYTE:167 [ keyboard_modifiers#5 ] 20: zp ZP_BYTE:173 [ render_screen_showing#1 ] 20: zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] 20: zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] 20: zp ZP_BYTE:186 [ irq_cnt#14 ] 20: zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] 20: zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] 19.25: zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] 17.64: zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] 16.01: zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] 15.9: zp ZP_DWORD:38 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] 15.12: zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] 13.85: zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] 11.6: zp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] 10.59: zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] 8.33: zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] 4.73: zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] 4.25: zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] 4: zp ZP_BYTE:182 [ irq_cnt#1 ] 0.71: zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] 0.5: zp ZP_BYTE:93 [ render_screen_showing#0 ] 0.24: zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] 0.19: zp ZP_BYTE:97 [ irq_cnt#0 ] 0.17: zp ZP_BYTE:94 [ irq_raster_next#0 ] -Uplift Scope [render_current] 2,534.25: zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] 1,787.5: zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] 1,553.5: zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] 1,001: zp ZP_BYTE:115 [ render_current::current_cell#0 ] 202: zp ZP_BYTE:112 [ render_current::$5 ] 162.72: zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] 101.16: zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] 100.18: zp ZP_WORD:113 [ render_current::screen_line#0 ] -Uplift Scope [render_playfield] 2,254.5: zp ZP_WORD:19 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] 2,002: zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] 1,505.77: zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] 202: zp ZP_BYTE:116 [ render_playfield::$2 ] 202: zp ZP_BYTE:117 [ render_playfield::$3 ] 181.8: zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Uplift Scope [play_spawn_current] 2,337: zp ZP_BYTE:50 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] 2,002: zp ZP_BYTE:141 [ play_spawn_current::$1 ] 0.13: zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Uplift Scope [keyboard_matrix_read] 2,002: zp ZP_BYTE:157 [ keyboard_matrix_read::return#2 ] 1,003: zp ZP_BYTE:156 [ keyboard_matrix_read::rowid#0 ] 334.33: zp ZP_BYTE:172 [ keyboard_matrix_read::return#0 ] -Uplift Scope [sid_rnd] 2,002: zp ZP_BYTE:140 [ sid_rnd::return#2 ] 334.33: zp ZP_BYTE:142 [ sid_rnd::return#0 ] -Uplift Scope [render_screen_original] 721.31: zp ZP_WORD:86 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] 699.79: zp ZP_BYTE:90 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] 501.65: zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] 162.87: zp ZP_WORD:82 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] 99.08: zp ZP_WORD:84 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] 17.42: zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Uplift Scope [main] 202: zp ZP_BYTE:102 [ main::$12 ] 202: zp ZP_BYTE:106 [ main::$13 ] 202: zp ZP_BYTE:110 [ main::$14 ] 202: zp ZP_BYTE:111 [ main::render#3 ] 40.4: zp ZP_BYTE:103 [ main::render#1 ] 40.4: zp ZP_BYTE:107 [ main::render#2 ] 36.73: zp ZP_BYTE:99 [ main::key_event#0 ] -Uplift Scope [play_move_down] 202: zp ZP_BYTE:101 [ play_move_down::return#3 ] 51.5: zp ZP_BYTE:100 [ play_move_down::key_event#0 ] 33.67: zp ZP_BYTE:49 [ play_move_down::return#2 ] 20: zp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] 4: zp ZP_BYTE:133 [ play_move_down::$2 ] 4: zp ZP_BYTE:135 [ play_move_down::$12 ] 4: zp ZP_BYTE:137 [ play_move_down::removed#0 ] -Uplift Scope [play_move_rotate] 202: zp ZP_BYTE:109 [ play_move_rotate::return#4 ] 52.5: zp ZP_BYTE:108 [ play_move_rotate::key_event#0 ] 33.67: zp ZP_BYTE:22 [ play_move_rotate::return#1 ] 8.89: zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] 4: zp ZP_BYTE:118 [ play_move_rotate::$2 ] 4: zp ZP_BYTE:120 [ play_move_rotate::$6 ] 4: zp ZP_BYTE:121 [ play_move_rotate::$4 ] -Uplift Scope [play_move_leftright] 202: zp ZP_BYTE:105 [ play_move_leftright::return#4 ] 52.5: zp ZP_BYTE:104 [ play_move_leftright::key_event#0 ] 33.67: zp ZP_BYTE:35 [ play_move_leftright::return#1 ] 4: zp ZP_BYTE:129 [ play_move_leftright::$4 ] 4: zp ZP_BYTE:131 [ play_move_leftright::$8 ] -Uplift Scope [keyboard_event_get] 202: zp ZP_BYTE:98 [ keyboard_event_get::return#3 ] 38.33: zp ZP_BYTE:63 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] -Uplift Scope [render_init] 22.79: zp ZP_BYTE:76 [ render_init::i#2 render_init::i#1 ] 22: zp ZP_BYTE:176 [ render_init::$13 ] 22: zp ZP_BYTE:177 [ render_init::$14 ] 12.83: zp ZP_WORD:79 [ render_init::li_2#2 render_init::li_2#1 ] 12.1: zp ZP_WORD:77 [ render_init::li_1#2 render_init::li_1#1 ] -Uplift Scope [play_init] 23.83: zp ZP_BYTE:70 [ play_init::j#2 play_init::j#1 ] 22: zp ZP_BYTE:174 [ play_init::$1 ] 13.93: zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] 13.75: zp ZP_WORD:71 [ play_init::pli#2 play_init::pli#1 ] -Uplift Scope [sprites_init] 25.3: zp ZP_BYTE:74 [ sprites_init::s#2 sprites_init::s#1 ] 22: zp ZP_BYTE:175 [ sprites_init::s2#0 ] 15.58: zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] -Uplift Scope [sprites_irq] 12.67: zp ZP_BYTE:92 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] 4: zp ZP_BYTE:181 [ sprites_irq::ptr#4 ] 4: zp ZP_BYTE:185 [ sprites_irq::$4 ] 4: zp ZP_BYTE:190 [ sprites_irq::ptr#2 ] 2.67: zp ZP_BYTE:180 [ sprites_irq::ptr#3 ] 2.67: zp ZP_BYTE:189 [ sprites_irq::ptr#1 ] 2.5: zp ZP_BYTE:178 [ sprites_irq::ypos#0 ] 2.5: zp ZP_BYTE:179 [ sprites_irq::ptr#0 ] -Uplift Scope [keyboard_event_pressed] 4: zp ZP_BYTE:132 [ keyboard_event_pressed::return#12 ] 4: zp ZP_BYTE:152 [ keyboard_event_pressed::$0 ] 4: zp ZP_BYTE:154 [ keyboard_event_pressed::$1 ] 4: zp ZP_BYTE:159 [ keyboard_event_pressed::return#0 ] 4: zp ZP_BYTE:161 [ keyboard_event_pressed::return#1 ] 4: zp ZP_BYTE:163 [ keyboard_event_pressed::return#2 ] 4: zp ZP_BYTE:165 [ keyboard_event_pressed::return#10 ] 2: zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] 1.71: zp ZP_BYTE:155 [ keyboard_event_pressed::return#11 ] 1.33: zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] -Uplift Scope [play_update_score] 4: zp ZP_BYTE:143 [ play_update_score::$2 ] 3: zp ZP_BYTE:138 [ play_update_score::removed#0 ] 2: zp ZP_DWORD:144 [ play_update_score::add_bcd#0 ] -Uplift Scope [render_show] 2: zp ZP_BYTE:69 [ render_show::d018val#3 ] +Uplift Scope [keyboard_event_scan] 20,002: zp ZP_BYTE:178 [ keyboard_event_scan::$3 ] 20,002: zp ZP_BYTE:179 [ keyboard_event_scan::$4 ] 20,002: zp ZP_BYTE:180 [ keyboard_event_scan::event_type#0 ] 20,002: zp ZP_BYTE:181 [ keyboard_event_scan::$11 ] 17,858.93: zp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] 11,908.48: zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] 2,101.74: zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] 1,278.06: zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] 4: zp ZP_BYTE:170 [ keyboard_event_scan::$14 ] 4: zp ZP_BYTE:172 [ keyboard_event_scan::$18 ] 4: zp ZP_BYTE:174 [ keyboard_event_scan::$22 ] 4: zp ZP_BYTE:176 [ keyboard_event_scan::$26 ] +Uplift Scope [play_collision] 38,173.33: zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] 20,002: zp ZP_BYTE:137 [ play_collision::$7 ] 13,378.25: zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] 12,223.44: zp ZP_BYTE:36 [ play_collision::c#2 play_collision::c#1 ] 1,615.62: zp ZP_BYTE:136 [ play_collision::i#1 ] 1,371.57: zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] 1,126.12: zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] 785.86: zp ZP_WORD:134 [ play_collision::playfield_line#0 ] 476.33: zp ZP_WORD:132 [ play_collision::piece_gfx#0 ] 50.2: zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] 18: zp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] 10: zp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] 4: zp ZP_BYTE:129 [ play_collision::return#13 ] 4: zp ZP_BYTE:138 [ play_collision::return#12 ] 4: zp ZP_BYTE:140 [ play_collision::return#1 ] 4: zp ZP_BYTE:144 [ play_collision::return#0 ] 1.33: zp ZP_BYTE:37 [ play_collision::return#14 ] +Uplift Scope [play_remove_lines] 19,004.21: zp ZP_BYTE:56 [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] 17,938.14: zp ZP_BYTE:59 [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] 17,501.75: zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] 8,201: zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] 6,000.6: zp ZP_BYTE:158 [ play_remove_lines::c#0 ] 2,566.89: zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] 1,634.97: zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] 4: zp ZP_BYTE:146 [ play_remove_lines::return#0 ] +Uplift Scope [play_lock_current] 38,173.33: zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] 14,753.5: zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] 14,001.4: zp ZP_BYTE:64 [ play_lock_current::c#2 play_lock_current::c#1 ] 2,333.67: zp ZP_BYTE:161 [ play_lock_current::i#1 ] 1,167.83: zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] 1,100.2: zp ZP_WORD:159 [ play_lock_current::playfield_line#0 ] 777.68: zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Uplift Scope [] 58,857.97: zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] 212.18: zp ZP_WORD:48 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] 205.59: zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] 72.09: zp ZP_BYTE:13 [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] 59.09: zp ZP_WORD:11 [ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] 39.95: zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] 30.62: zp ZP_BYTE:19 [ render_screen_render#21 render_screen_render#65 ] 26: zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] 20.4: zp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] 20: zp ZP_BYTE:177 [ keyboard_modifiers#5 ] 20: zp ZP_BYTE:183 [ render_screen_showing#1 ] 20: zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] 20: zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] 20: zp ZP_BYTE:196 [ irq_cnt#14 ] 20: zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] 20: zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] 19.2: zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] 16.91: zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] 15.96: zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] 15.61: zp ZP_DWORD:41 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] 14.83: zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] 13.85: zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] 11.6: zp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] 10.59: zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] 8.33: zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] 4.71: zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] 4: zp ZP_BYTE:192 [ irq_cnt#1 ] 3.95: zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] 0.71: zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] 0.5: zp ZP_BYTE:96 [ render_screen_showing#0 ] 0.24: zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] 0.19: zp ZP_BYTE:100 [ irq_cnt#0 ] 0.17: zp ZP_BYTE:97 [ irq_raster_next#0 ] +Uplift Scope [render_current] 2,534.25: zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] 1,787.5: zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] 1,553.5: zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] 1,001: zp ZP_BYTE:125 [ render_current::current_cell#0 ] 202: zp ZP_BYTE:122 [ render_current::$5 ] 162.72: zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] 101.16: zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] 100.18: zp ZP_WORD:123 [ render_current::screen_line#0 ] +Uplift Scope [render_playfield] 2,254.5: zp ZP_WORD:22 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] 2,002: zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] 1,505.77: zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] 202: zp ZP_BYTE:126 [ render_playfield::$2 ] 202: zp ZP_BYTE:127 [ render_playfield::$3 ] 181.8: zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Uplift Scope [play_spawn_current] 2,337: zp ZP_BYTE:53 [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] 2,002: zp ZP_BYTE:151 [ play_spawn_current::$1 ] 0.13: zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Uplift Scope [keyboard_matrix_read] 2,002: zp ZP_BYTE:167 [ keyboard_matrix_read::return#2 ] 1,003: zp ZP_BYTE:166 [ keyboard_matrix_read::rowid#0 ] 334.33: zp ZP_BYTE:182 [ keyboard_matrix_read::return#0 ] +Uplift Scope [sid_rnd] 2,002: zp ZP_BYTE:150 [ sid_rnd::return#2 ] 334.33: zp ZP_BYTE:152 [ sid_rnd::return#0 ] +Uplift Scope [render_screen_original] 721.31: zp ZP_WORD:89 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] 699.79: zp ZP_BYTE:93 [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] 501.65: zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] 162.87: zp ZP_WORD:85 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] 99.08: zp ZP_WORD:87 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] 17.42: zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Uplift Scope [render_score] 202: zp ZP_BYTE:116 [ render_score::$9 ] 202: zp ZP_BYTE:117 [ render_score::$10 ] 202: zp ZP_BYTE:120 [ render_score::$11 ] 202: zp ZP_BYTE:121 [ render_score::$12 ] 181.8: zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] 130.33: zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] 75.75: zp ZP_WORD:118 [ render_score::screen_score_pos#2 ] 60.6: zp ZP_BYTE:115 [ render_score::score_byte#0 ] +Uplift Scope [main] 202: zp ZP_BYTE:105 [ main::$12 ] 202: zp ZP_BYTE:109 [ main::$13 ] 202: zp ZP_BYTE:113 [ main::$14 ] 202: zp ZP_BYTE:114 [ main::render#3 ] 40.4: zp ZP_BYTE:106 [ main::render#1 ] 40.4: zp ZP_BYTE:110 [ main::render#2 ] 36.73: zp ZP_BYTE:102 [ main::key_event#0 ] +Uplift Scope [play_move_down] 202: zp ZP_BYTE:104 [ play_move_down::return#3 ] 51.5: zp ZP_BYTE:103 [ play_move_down::key_event#0 ] 33.67: zp ZP_BYTE:52 [ play_move_down::return#2 ] 20: zp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] 4: zp ZP_BYTE:143 [ play_move_down::$2 ] 4: zp ZP_BYTE:145 [ play_move_down::$12 ] 4: zp ZP_BYTE:147 [ play_move_down::removed#0 ] +Uplift Scope [play_move_rotate] 202: zp ZP_BYTE:112 [ play_move_rotate::return#4 ] 52.5: zp ZP_BYTE:111 [ play_move_rotate::key_event#0 ] 33.67: zp ZP_BYTE:25 [ play_move_rotate::return#1 ] 8.89: zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] 4: zp ZP_BYTE:128 [ play_move_rotate::$2 ] 4: zp ZP_BYTE:130 [ play_move_rotate::$6 ] 4: zp ZP_BYTE:131 [ play_move_rotate::$4 ] +Uplift Scope [play_move_leftright] 202: zp ZP_BYTE:108 [ play_move_leftright::return#4 ] 52.5: zp ZP_BYTE:107 [ play_move_leftright::key_event#0 ] 33.67: zp ZP_BYTE:38 [ play_move_leftright::return#1 ] 4: zp ZP_BYTE:139 [ play_move_leftright::$4 ] 4: zp ZP_BYTE:141 [ play_move_leftright::$8 ] +Uplift Scope [keyboard_event_get] 202: zp ZP_BYTE:101 [ keyboard_event_get::return#3 ] 38.33: zp ZP_BYTE:66 [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] +Uplift Scope [render_init] 22.79: zp ZP_BYTE:79 [ render_init::i#2 render_init::i#1 ] 22: zp ZP_BYTE:186 [ render_init::$13 ] 22: zp ZP_BYTE:187 [ render_init::$14 ] 12.83: zp ZP_WORD:82 [ render_init::li_2#2 render_init::li_2#1 ] 12.1: zp ZP_WORD:80 [ render_init::li_1#2 render_init::li_1#1 ] +Uplift Scope [play_init] 23.83: zp ZP_BYTE:73 [ play_init::j#2 play_init::j#1 ] 22: zp ZP_BYTE:184 [ play_init::$1 ] 13.93: zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] 13.75: zp ZP_WORD:74 [ play_init::pli#2 play_init::pli#1 ] +Uplift Scope [sprites_init] 25.3: zp ZP_BYTE:77 [ sprites_init::s#2 sprites_init::s#1 ] 22: zp ZP_BYTE:185 [ sprites_init::s2#0 ] 15.58: zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Uplift Scope [sprites_irq] 12.67: zp ZP_BYTE:95 [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] 4: zp ZP_BYTE:191 [ sprites_irq::ptr#4 ] 4: zp ZP_BYTE:195 [ sprites_irq::$4 ] 4: zp ZP_BYTE:200 [ sprites_irq::ptr#2 ] 2.67: zp ZP_BYTE:190 [ sprites_irq::ptr#3 ] 2.67: zp ZP_BYTE:199 [ sprites_irq::ptr#1 ] 2.5: zp ZP_BYTE:188 [ sprites_irq::ypos#0 ] 2.5: zp ZP_BYTE:189 [ sprites_irq::ptr#0 ] +Uplift Scope [keyboard_event_pressed] 4: zp ZP_BYTE:142 [ keyboard_event_pressed::return#12 ] 4: zp ZP_BYTE:162 [ keyboard_event_pressed::$0 ] 4: zp ZP_BYTE:164 [ keyboard_event_pressed::$1 ] 4: zp ZP_BYTE:169 [ keyboard_event_pressed::return#0 ] 4: zp ZP_BYTE:171 [ keyboard_event_pressed::return#1 ] 4: zp ZP_BYTE:173 [ keyboard_event_pressed::return#2 ] 4: zp ZP_BYTE:175 [ keyboard_event_pressed::return#10 ] 2: zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] 1.71: zp ZP_BYTE:165 [ keyboard_event_pressed::return#11 ] 1.33: zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] +Uplift Scope [play_update_score] 4: zp ZP_BYTE:153 [ play_update_score::$2 ] 3: zp ZP_BYTE:148 [ play_update_score::removed#0 ] 2: zp ZP_DWORD:154 [ play_update_score::add_bcd#0 ] +Uplift Scope [render_show] 2: zp ZP_BYTE:72 [ render_show::d018val#3 ] Uplift Scope [sid_rnd_init] Uplift Scope [render_screen_swap] Uplift Scope [sprites_irq_init] -Uplifting [keyboard_event_scan] best 4527173 combination reg byte a [ keyboard_event_scan::$3 ] reg byte a [ keyboard_event_scan::$4 ] reg byte a [ keyboard_event_scan::event_type#0 ] reg byte a [ keyboard_event_scan::$11 ] zp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] zp ZP_BYTE:160 [ keyboard_event_scan::$14 ] zp ZP_BYTE:162 [ keyboard_event_scan::$18 ] zp ZP_BYTE:164 [ keyboard_event_scan::$22 ] zp ZP_BYTE:166 [ keyboard_event_scan::$26 ] +Uplifting [keyboard_event_scan] best 4541005 combination reg byte a [ keyboard_event_scan::$3 ] reg byte a [ keyboard_event_scan::$4 ] reg byte a [ keyboard_event_scan::event_type#0 ] reg byte a [ keyboard_event_scan::$11 ] zp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] zp ZP_BYTE:170 [ keyboard_event_scan::$14 ] zp ZP_BYTE:172 [ keyboard_event_scan::$18 ] zp ZP_BYTE:174 [ keyboard_event_scan::$22 ] zp ZP_BYTE:176 [ keyboard_event_scan::$26 ] Limited combination testing to 100 combinations of 5308416 possible. -Uplifting [play_collision] best 4377173 combination zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] reg byte a [ play_collision::$7 ] zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] reg byte x [ play_collision::c#2 play_collision::c#1 ] zp ZP_BYTE:126 [ play_collision::i#1 ] zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] zp ZP_WORD:124 [ play_collision::playfield_line#0 ] zp ZP_WORD:122 [ play_collision::piece_gfx#0 ] zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] zp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] zp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] zp ZP_BYTE:119 [ play_collision::return#13 ] zp ZP_BYTE:128 [ play_collision::return#12 ] zp ZP_BYTE:130 [ play_collision::return#1 ] zp ZP_BYTE:134 [ play_collision::return#0 ] zp ZP_BYTE:34 [ play_collision::return#14 ] +Uplifting [play_collision] best 4391005 combination zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] reg byte a [ play_collision::$7 ] zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] reg byte x [ play_collision::c#2 play_collision::c#1 ] zp ZP_BYTE:136 [ play_collision::i#1 ] zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] zp ZP_WORD:134 [ play_collision::playfield_line#0 ] zp ZP_WORD:132 [ play_collision::piece_gfx#0 ] zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] zp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] zp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] zp ZP_BYTE:129 [ play_collision::return#13 ] zp ZP_BYTE:138 [ play_collision::return#12 ] zp ZP_BYTE:140 [ play_collision::return#1 ] zp ZP_BYTE:144 [ play_collision::return#0 ] zp ZP_BYTE:37 [ play_collision::return#14 ] Limited combination testing to 100 combinations of 80621568 possible. -Uplifting [play_remove_lines] best 4240173 combination reg byte y [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] reg byte x [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] zp ZP_BYTE:148 [ play_remove_lines::c#0 ] zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] zp ZP_BYTE:136 [ play_remove_lines::return#0 ] +Uplifting [play_remove_lines] best 4254005 combination reg byte y [ play_remove_lines::r#2 play_remove_lines::r#3 play_remove_lines::r#1 ] reg byte x [ play_remove_lines::w#6 play_remove_lines::w#4 play_remove_lines::w#12 play_remove_lines::w#11 play_remove_lines::w#1 play_remove_lines::w#2 play_remove_lines::w#3 ] zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] zp ZP_BYTE:158 [ play_remove_lines::c#0 ] zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] zp ZP_BYTE:146 [ play_remove_lines::return#0 ] Limited combination testing to 100 combinations of 20736 possible. -Uplifting [play_lock_current] best 4150173 combination zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] reg byte x [ play_lock_current::c#2 play_lock_current::c#1 ] zp ZP_BYTE:151 [ play_lock_current::i#1 ] zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] zp ZP_WORD:149 [ play_lock_current::playfield_line#0 ] zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Uplifting [play_lock_current] best 4164005 combination zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] reg byte x [ play_lock_current::c#2 play_lock_current::c#1 ] zp ZP_BYTE:161 [ play_lock_current::i#1 ] zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] zp ZP_WORD:159 [ play_lock_current::playfield_line#0 ] zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] Limited combination testing to 100 combinations of 729 possible. -Uplifting [] best 4149007 combination zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] zp ZP_WORD:45 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] reg byte x [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] reg byte x [ render_screen_render#19 render_screen_render#63 ] zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] zp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] zp ZP_BYTE:167 [ keyboard_modifiers#5 ] zp ZP_BYTE:173 [ render_screen_showing#1 ] zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] zp ZP_BYTE:186 [ irq_cnt#14 ] zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] zp ZP_DWORD:38 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] zp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] zp ZP_BYTE:182 [ irq_cnt#1 ] zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] zp ZP_BYTE:93 [ render_screen_showing#0 ] zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] zp ZP_BYTE:97 [ irq_cnt#0 ] zp ZP_BYTE:94 [ irq_raster_next#0 ] +Uplifting [] best 4162839 combination zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] zp ZP_WORD:48 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] reg byte x [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] zp ZP_WORD:11 [ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] reg byte x [ render_screen_render#21 render_screen_render#65 ] zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] zp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] zp ZP_BYTE:177 [ keyboard_modifiers#5 ] zp ZP_BYTE:183 [ render_screen_showing#1 ] zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] zp ZP_BYTE:196 [ irq_cnt#14 ] zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] zp ZP_DWORD:41 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] zp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] zp ZP_BYTE:192 [ irq_cnt#1 ] zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] zp ZP_BYTE:96 [ render_screen_showing#0 ] zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] zp ZP_BYTE:100 [ irq_cnt#0 ] zp ZP_BYTE:97 [ irq_raster_next#0 ] Limited combination testing to 100 combinations of 497664 possible. -Uplifting [render_current] best 4143007 combination zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] reg byte a [ render_current::current_cell#0 ] zp ZP_BYTE:112 [ render_current::$5 ] zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] zp ZP_WORD:113 [ render_current::screen_line#0 ] +Uplifting [render_current] best 4156839 combination zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] reg byte a [ render_current::current_cell#0 ] zp ZP_BYTE:122 [ render_current::$5 ] zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] zp ZP_WORD:123 [ render_current::screen_line#0 ] Limited combination testing to 100 combinations of 3888 possible. -Uplifting [render_playfield] best 4142407 combination zp ZP_WORD:19 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] reg byte a [ render_playfield::$2 ] reg byte a [ render_playfield::$3 ] zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] +Uplifting [render_playfield] best 4156239 combination zp ZP_WORD:22 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] reg byte a [ render_playfield::$2 ] reg byte a [ render_playfield::$3 ] zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] Limited combination testing to 100 combinations of 128 possible. -Uplifting [play_spawn_current] best 4129397 combination reg byte x [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] reg byte a [ play_spawn_current::$1 ] zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Uplifting [keyboard_matrix_read] best 4117391 combination reg byte a [ keyboard_matrix_read::return#2 ] reg byte x [ keyboard_matrix_read::rowid#0 ] reg byte a [ keyboard_matrix_read::return#0 ] -Uplifting [sid_rnd] best 4108388 combination reg byte a [ sid_rnd::return#2 ] reg byte a [ sid_rnd::return#0 ] -Uplifting [render_screen_original] best 4106288 combination zp ZP_WORD:86 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] reg byte x [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] zp ZP_WORD:82 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] zp ZP_WORD:84 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Uplifting [main] best 4103888 combination reg byte a [ main::$12 ] reg byte a [ main::$13 ] reg byte a [ main::$14 ] reg byte a [ main::render#3 ] zp ZP_BYTE:103 [ main::render#1 ] zp ZP_BYTE:107 [ main::render#2 ] zp ZP_BYTE:99 [ main::key_event#0 ] -Limited combination testing to 100 combinations of 6912 possible. -Uplifting [play_move_down] best 4102879 combination reg byte a [ play_move_down::return#3 ] reg byte a [ play_move_down::key_event#0 ] reg byte x [ play_move_down::return#2 ] zp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] zp ZP_BYTE:133 [ play_move_down::$2 ] zp ZP_BYTE:135 [ play_move_down::$12 ] zp ZP_BYTE:137 [ play_move_down::removed#0 ] -Limited combination testing to 100 combinations of 12288 possible. -Uplifting [play_move_rotate] best 4101667 combination reg byte a [ play_move_rotate::return#4 ] reg byte a [ play_move_rotate::key_event#0 ] reg byte a [ play_move_rotate::return#1 ] zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] zp ZP_BYTE:118 [ play_move_rotate::$2 ] zp ZP_BYTE:120 [ play_move_rotate::$6 ] zp ZP_BYTE:121 [ play_move_rotate::$4 ] -Limited combination testing to 100 combinations of 12288 possible. -Uplifting [play_move_leftright] best 4100449 combination reg byte a [ play_move_leftright::return#4 ] reg byte a [ play_move_leftright::key_event#0 ] reg byte a [ play_move_leftright::return#1 ] reg byte a [ play_move_leftright::$4 ] zp ZP_BYTE:131 [ play_move_leftright::$8 ] +Uplifting [play_spawn_current] best 4143229 combination reg byte x [ play_spawn_current::piece_idx#2 play_spawn_current::piece_idx#1 ] reg byte a [ play_spawn_current::$1 ] zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Uplifting [keyboard_matrix_read] best 4131223 combination reg byte a [ keyboard_matrix_read::return#2 ] reg byte x [ keyboard_matrix_read::rowid#0 ] reg byte a [ keyboard_matrix_read::return#0 ] +Uplifting [sid_rnd] best 4122220 combination reg byte a [ sid_rnd::return#2 ] reg byte a [ sid_rnd::return#0 ] +Uplifting [render_screen_original] best 4120120 combination zp ZP_WORD:89 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] reg byte x [ render_screen_original::x#6 render_screen_original::x#5 render_screen_original::x#4 render_screen_original::x#1 render_screen_original::x#2 render_screen_original::x#3 ] zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] zp ZP_WORD:85 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] zp ZP_WORD:87 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Uplifting [render_score] best 4117720 combination reg byte a [ render_score::$9 ] reg byte a [ render_score::$10 ] reg byte a [ render_score::$11 ] reg byte a [ render_score::$12 ] zp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] zp ZP_WORD:118 [ render_score::screen_score_pos#2 ] zp ZP_BYTE:115 [ render_score::score_byte#0 ] Limited combination testing to 100 combinations of 1024 possible. -Uplifting [keyboard_event_get] best 4099543 combination reg byte a [ keyboard_event_get::return#3 ] reg byte a [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] -Uplifting [render_init] best 4099353 combination reg byte x [ render_init::i#2 render_init::i#1 ] reg byte a [ render_init::$13 ] reg byte a [ render_init::$14 ] zp ZP_WORD:79 [ render_init::li_2#2 render_init::li_2#1 ] zp ZP_WORD:77 [ render_init::li_1#2 render_init::li_1#1 ] -Uplifting [play_init] best 4099183 combination reg byte x [ play_init::j#2 play_init::j#1 ] reg byte a [ play_init::$1 ] zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] zp ZP_WORD:71 [ play_init::pli#2 play_init::pli#1 ] -Uplifting [sprites_init] best 4099013 combination reg byte x [ sprites_init::s#2 sprites_init::s#1 ] reg byte a [ sprites_init::s2#0 ] zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] -Uplifting [sprites_irq] best 4098987 combination reg byte x [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] reg byte x [ sprites_irq::ptr#4 ] reg byte a [ sprites_irq::$4 ] reg byte a [ sprites_irq::ptr#2 ] zp ZP_BYTE:180 [ sprites_irq::ptr#3 ] zp ZP_BYTE:189 [ sprites_irq::ptr#1 ] zp ZP_BYTE:178 [ sprites_irq::ypos#0 ] zp ZP_BYTE:179 [ sprites_irq::ptr#0 ] +Uplifting [main] best 4115320 combination reg byte a [ main::$12 ] reg byte a [ main::$13 ] reg byte a [ main::$14 ] reg byte a [ main::render#3 ] zp ZP_BYTE:106 [ main::render#1 ] zp ZP_BYTE:110 [ main::render#2 ] zp ZP_BYTE:102 [ main::key_event#0 ] +Limited combination testing to 100 combinations of 6912 possible. +Uplifting [play_move_down] best 4114311 combination reg byte a [ play_move_down::return#3 ] reg byte a [ play_move_down::key_event#0 ] reg byte x [ play_move_down::return#2 ] zp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] zp ZP_BYTE:143 [ play_move_down::$2 ] zp ZP_BYTE:145 [ play_move_down::$12 ] zp ZP_BYTE:147 [ play_move_down::removed#0 ] +Limited combination testing to 100 combinations of 12288 possible. +Uplifting [play_move_rotate] best 4113099 combination reg byte a [ play_move_rotate::return#4 ] reg byte a [ play_move_rotate::key_event#0 ] reg byte a [ play_move_rotate::return#1 ] zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] zp ZP_BYTE:128 [ play_move_rotate::$2 ] zp ZP_BYTE:130 [ play_move_rotate::$6 ] zp ZP_BYTE:131 [ play_move_rotate::$4 ] +Limited combination testing to 100 combinations of 12288 possible. +Uplifting [play_move_leftright] best 4111881 combination reg byte a [ play_move_leftright::return#4 ] reg byte a [ play_move_leftright::key_event#0 ] reg byte a [ play_move_leftright::return#1 ] reg byte a [ play_move_leftright::$4 ] zp ZP_BYTE:141 [ play_move_leftright::$8 ] +Limited combination testing to 100 combinations of 1024 possible. +Uplifting [keyboard_event_get] best 4110975 combination reg byte a [ keyboard_event_get::return#3 ] reg byte a [ keyboard_event_get::return#2 keyboard_event_get::return#1 ] +Uplifting [render_init] best 4110785 combination reg byte x [ render_init::i#2 render_init::i#1 ] reg byte a [ render_init::$13 ] reg byte a [ render_init::$14 ] zp ZP_WORD:82 [ render_init::li_2#2 render_init::li_2#1 ] zp ZP_WORD:80 [ render_init::li_1#2 render_init::li_1#1 ] +Uplifting [play_init] best 4110615 combination reg byte x [ play_init::j#2 play_init::j#1 ] reg byte a [ play_init::$1 ] zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] zp ZP_WORD:74 [ play_init::pli#2 play_init::pli#1 ] +Uplifting [sprites_init] best 4110445 combination reg byte x [ sprites_init::s#2 sprites_init::s#1 ] reg byte a [ sprites_init::s2#0 ] zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Uplifting [sprites_irq] best 4110419 combination reg byte x [ sprites_irq::raster_next#2 sprites_irq::raster_next#1 sprites_irq::raster_next#0 ] reg byte x [ sprites_irq::ptr#4 ] reg byte a [ sprites_irq::$4 ] reg byte a [ sprites_irq::ptr#2 ] zp ZP_BYTE:190 [ sprites_irq::ptr#3 ] zp ZP_BYTE:199 [ sprites_irq::ptr#1 ] zp ZP_BYTE:188 [ sprites_irq::ypos#0 ] zp ZP_BYTE:189 [ sprites_irq::ptr#0 ] Limited combination testing to 100 combinations of 36864 possible. -Uplifting [keyboard_event_pressed] best 4098967 combination reg byte a [ keyboard_event_pressed::return#12 ] reg byte a [ keyboard_event_pressed::$0 ] reg byte a [ keyboard_event_pressed::$1 ] reg byte a [ keyboard_event_pressed::return#0 ] zp ZP_BYTE:161 [ keyboard_event_pressed::return#1 ] zp ZP_BYTE:163 [ keyboard_event_pressed::return#2 ] zp ZP_BYTE:165 [ keyboard_event_pressed::return#10 ] zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] zp ZP_BYTE:155 [ keyboard_event_pressed::return#11 ] zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] +Uplifting [keyboard_event_pressed] best 4110399 combination reg byte a [ keyboard_event_pressed::return#12 ] reg byte a [ keyboard_event_pressed::$0 ] reg byte a [ keyboard_event_pressed::$1 ] reg byte a [ keyboard_event_pressed::return#0 ] zp ZP_BYTE:171 [ keyboard_event_pressed::return#1 ] zp ZP_BYTE:173 [ keyboard_event_pressed::return#2 ] zp ZP_BYTE:175 [ keyboard_event_pressed::return#10 ] zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] zp ZP_BYTE:165 [ keyboard_event_pressed::return#11 ] zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] Limited combination testing to 100 combinations of 589824 possible. -Uplifting [play_update_score] best 4098954 combination reg byte a [ play_update_score::$2 ] reg byte a [ play_update_score::removed#0 ] zp ZP_DWORD:144 [ play_update_score::add_bcd#0 ] -Uplifting [render_show] best 4098945 combination reg byte a [ render_show::d018val#3 ] -Uplifting [sid_rnd_init] best 4098945 combination -Uplifting [render_screen_swap] best 4098945 combination -Uplifting [sprites_irq_init] best 4098945 combination -Attempting to uplift remaining variables inzp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] -Uplifting [] best 4098945 combination zp ZP_BYTE:68 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] -Uplifting [play_collision] best 4098945 combination zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] -Attempting to uplift remaining variables inzp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] -Uplifting [play_lock_current] best 4098945 combination zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] -Attempting to uplift remaining variables inzp ZP_BYTE:66 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] -Uplifting [keyboard_event_scan] best 3948945 combination reg byte x [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] -Uplifting [play_remove_lines] best 3948945 combination zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] -Uplifting [play_lock_current] best 3948945 combination zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] -Uplifting [play_collision] best 3948945 combination zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] -Uplifting [keyboard_event_scan] best 3948945 combination zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] -Attempting to uplift remaining variables inzp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] -Uplifting [play_remove_lines] best 3948945 combination zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:148 [ play_remove_lines::c#0 ] -Uplifting [play_remove_lines] best 3948945 combination zp ZP_BYTE:148 [ play_remove_lines::c#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] -Uplifting [play_remove_lines] best 3948945 combination zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] -Uplifting [render_current] best 3948945 combination zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:151 [ play_lock_current::i#1 ] -Uplifting [play_lock_current] best 3948945 combination zp ZP_BYTE:151 [ play_lock_current::i#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -Uplifting [keyboard_event_scan] best 3948945 combination zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] -Uplifting [render_playfield] best 3948945 combination zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] -Uplifting [render_current] best 3948945 combination zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] -Uplifting [play_remove_lines] best 3948945 combination zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:126 [ play_collision::i#1 ] -Uplifting [play_collision] best 3948945 combination zp ZP_BYTE:126 [ play_collision::i#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] -Uplifting [render_current] best 3948945 combination zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] -Uplifting [render_playfield] best 3948945 combination zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] -Uplifting [play_collision] best 3948945 combination zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] -Uplifting [keyboard_event_scan] best 3948945 combination zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] -Uplifting [play_lock_current] best 3948945 combination zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] -Uplifting [play_collision] best 3948945 combination zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Uplifting [play_lock_current] best 3948945 combination zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Uplifting [] best 3948945 combination zp ZP_BYTE:48 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:112 [ render_current::$5 ] -Uplifting [render_current] best 3948545 combination reg byte a [ render_current::$5 ] -Attempting to uplift remaining variables inzp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Uplifting [render_playfield] best 3948545 combination zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] -Uplifting [render_current] best 3948545 combination zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] -Uplifting [render_current] best 3948545 combination zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] -Uplifting [play_collision] best 3948545 combination zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] -Attempting to uplift remaining variables inzp ZP_BYTE:103 [ main::render#1 ] -Uplifting [main] best 3948545 combination zp ZP_BYTE:103 [ main::render#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:107 [ main::render#2 ] -Uplifting [main] best 3948545 combination zp ZP_BYTE:107 [ main::render#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Uplifting [] best 3948545 combination zp ZP_BYTE:47 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:99 [ main::key_event#0 ] -Uplifting [main] best 3948545 combination zp ZP_BYTE:99 [ main::key_event#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:5 [ current_ypos#9 current_ypos#85 current_ypos#86 ] -Uplifting [] best 3948511 combination reg byte y [ current_ypos#9 current_ypos#85 current_ypos#86 ] -Attempting to uplift remaining variables inzp ZP_BYTE:36 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] -Uplifting [play_move_down] best 3948496 combination reg byte x [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] -Attempting to uplift remaining variables inzp ZP_BYTE:167 [ keyboard_modifiers#5 ] -Uplifting [] best 3948493 combination reg byte a [ keyboard_modifiers#5 ] -Attempting to uplift remaining variables inzp ZP_BYTE:173 [ render_screen_showing#1 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:173 [ render_screen_showing#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:183 [ irq_sprite_ypos#2 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:184 [ irq_sprite_ptr#2 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:186 [ irq_cnt#14 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:186 [ irq_cnt#14 ] -Attempting to uplift remaining variables inzp ZP_BYTE:187 [ irq_sprite_ypos#1 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:188 [ irq_sprite_ptr#1 ] -Uplifting [] best 3948493 combination zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:26 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] -Uplifting [play_collision] best 3948480 combination reg byte x [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] -Attempting to uplift remaining variables inzp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Uplifting [] best 3948480 combination zp ZP_BYTE:44 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Attempting to uplift remaining variables inzp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Uplifting [render_screen_original] best 3948480 combination zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -Uplifting [] best 3948480 combination zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] -Uplifting [sprites_init] best 3948480 combination zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Uplifting [play_update_score] best 4110386 combination reg byte a [ play_update_score::$2 ] reg byte a [ play_update_score::removed#0 ] zp ZP_DWORD:154 [ play_update_score::add_bcd#0 ] +Uplifting [render_show] best 4110377 combination reg byte a [ render_show::d018val#3 ] +Uplifting [sid_rnd_init] best 4110377 combination +Uplifting [render_screen_swap] best 4110377 combination +Uplifting [sprites_irq_init] best 4110377 combination +Attempting to uplift remaining variables inzp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Uplifting [] best 4110377 combination zp ZP_BYTE:71 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] +Uplifting [play_collision] best 4110377 combination zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] +Attempting to uplift remaining variables inzp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] +Uplifting [play_lock_current] best 4110377 combination zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] +Attempting to uplift remaining variables inzp ZP_BYTE:69 [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] +Uplifting [keyboard_event_scan] best 3960377 combination reg byte x [ keyboard_event_scan::col#2 keyboard_event_scan::col#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] +Uplifting [play_remove_lines] best 3960377 combination zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] +Uplifting [play_lock_current] best 3960377 combination zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] +Uplifting [play_collision] best 3960377 combination zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] +Uplifting [keyboard_event_scan] best 3960377 combination zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] +Attempting to uplift remaining variables inzp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] +Uplifting [play_remove_lines] best 3960377 combination zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:158 [ play_remove_lines::c#0 ] +Uplifting [play_remove_lines] best 3960377 combination zp ZP_BYTE:158 [ play_remove_lines::c#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] +Uplifting [play_remove_lines] best 3960377 combination zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] +Uplifting [render_current] best 3960377 combination zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:161 [ play_lock_current::i#1 ] +Uplifting [play_lock_current] best 3960377 combination zp ZP_BYTE:161 [ play_lock_current::i#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] +Uplifting [keyboard_event_scan] best 3960377 combination zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] +Uplifting [render_playfield] best 3960377 combination zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] +Uplifting [render_current] best 3960377 combination zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] +Uplifting [play_remove_lines] best 3960377 combination zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:136 [ play_collision::i#1 ] +Uplifting [play_collision] best 3960377 combination zp ZP_BYTE:136 [ play_collision::i#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] +Uplifting [render_current] best 3960377 combination zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] +Uplifting [render_playfield] best 3960377 combination zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] +Uplifting [play_collision] best 3960377 combination zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] +Uplifting [keyboard_event_scan] best 3960377 combination zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] +Uplifting [play_lock_current] best 3960377 combination zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] +Uplifting [play_collision] best 3960377 combination zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Uplifting [play_lock_current] best 3960377 combination zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Uplifting [] best 3960377 combination zp ZP_BYTE:51 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:122 [ render_current::$5 ] +Uplifting [render_current] best 3959977 combination reg byte a [ render_current::$5 ] +Attempting to uplift remaining variables inzp ZP_BYTE:5 [ render_score::b#2 render_score::b#1 ] +Uplifting [render_score] best 3958777 combination reg byte x [ render_score::b#2 render_score::b#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Uplifting [render_playfield] best 3958777 combination zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] +Uplifting [render_current] best 3958777 combination zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] +Uplifting [render_current] best 3958777 combination zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:115 [ render_score::score_byte#0 ] +Uplifting [render_score] best 3958777 combination zp ZP_BYTE:115 [ render_score::score_byte#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] +Uplifting [play_collision] best 3958777 combination zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] +Attempting to uplift remaining variables inzp ZP_BYTE:106 [ main::render#1 ] +Uplifting [main] best 3958777 combination zp ZP_BYTE:106 [ main::render#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:110 [ main::render#2 ] +Uplifting [main] best 3958777 combination zp ZP_BYTE:110 [ main::render#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Uplifting [] best 3958777 combination zp ZP_BYTE:50 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:102 [ main::key_event#0 ] +Uplifting [main] best 3958777 combination zp ZP_BYTE:102 [ main::key_event#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:8 [ current_ypos#9 current_ypos#86 current_ypos#87 ] +Uplifting [] best 3958743 combination reg byte y [ current_ypos#9 current_ypos#86 current_ypos#87 ] +Attempting to uplift remaining variables inzp ZP_BYTE:39 [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] +Uplifting [play_move_down] best 3958728 combination reg byte x [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] +Attempting to uplift remaining variables inzp ZP_BYTE:177 [ keyboard_modifiers#5 ] +Uplifting [] best 3958725 combination reg byte a [ keyboard_modifiers#5 ] +Attempting to uplift remaining variables inzp ZP_BYTE:183 [ render_screen_showing#1 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:183 [ render_screen_showing#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:193 [ irq_sprite_ypos#2 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:194 [ irq_sprite_ptr#2 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:196 [ irq_cnt#14 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:196 [ irq_cnt#14 ] +Attempting to uplift remaining variables inzp ZP_BYTE:197 [ irq_sprite_ypos#1 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:198 [ irq_sprite_ptr#1 ] +Uplifting [] best 3958725 combination zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:29 [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] +Uplifting [play_collision] best 3958712 combination reg byte x [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] +Attempting to uplift remaining variables inzp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Uplifting [render_screen_original] best 3958712 combination zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Uplifting [] best 3958712 combination zp ZP_BYTE:47 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Attempting to uplift remaining variables inzp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] +Uplifting [] best 3958712 combination zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] +Uplifting [sprites_init] best 3958712 combination zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] Attempting to uplift remaining variables inzp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -Uplifting [] best 3948480 combination zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] -Uplifting [play_init] best 3948480 combination zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] -Uplifting [] best 3948480 combination zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] -Attempting to uplift remaining variables inzp ZP_BYTE:65 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] -Uplifting [] best 3948469 combination reg byte x [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] -Attempting to uplift remaining variables inzp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] -Uplifting [] best 3948469 combination zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] -Attempting to uplift remaining variables inzp ZP_BYTE:27 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] -Uplifting [play_collision] best 3948456 combination reg byte y [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] -Attempting to uplift remaining variables inzp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -Uplifting [play_move_rotate] best 3948456 combination zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] -Uplifting [] best 3948456 combination zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] +Uplifting [] best 3958712 combination zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] +Uplifting [play_init] best 3958712 combination zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] +Uplifting [] best 3958712 combination zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] +Attempting to uplift remaining variables inzp ZP_BYTE:68 [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] +Uplifting [] best 3958701 combination reg byte x [ keyboard_modifiers#13 keyboard_modifiers#4 keyboard_modifiers#12 keyboard_modifiers#3 keyboard_modifiers#11 ] +Attempting to uplift remaining variables inzp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] +Uplifting [] best 3958701 combination zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] +Attempting to uplift remaining variables inzp ZP_BYTE:30 [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] +Uplifting [play_collision] best 3958688 combination reg byte y [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] +Attempting to uplift remaining variables inzp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] +Uplifting [play_move_rotate] best 3958688 combination zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] +Uplifting [] best 3958688 combination zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] Attempting to uplift remaining variables inzp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] -Uplifting [] best 3948456 combination zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] -Attempting to uplift remaining variables inzp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] -Uplifting [] best 3948456 combination zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] -Attempting to uplift remaining variables inzp ZP_BYTE:118 [ play_move_rotate::$2 ] -Uplifting [play_move_rotate] best 3948450 combination reg byte a [ play_move_rotate::$2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:119 [ play_collision::return#13 ] -Uplifting [play_collision] best 3948444 combination reg byte a [ play_collision::return#13 ] -Attempting to uplift remaining variables inzp ZP_BYTE:120 [ play_move_rotate::$6 ] -Uplifting [play_move_rotate] best 3948438 combination reg byte a [ play_move_rotate::$6 ] -Attempting to uplift remaining variables inzp ZP_BYTE:121 [ play_move_rotate::$4 ] -Uplifting [play_move_rotate] best 3948432 combination reg byte a [ play_move_rotate::$4 ] -Attempting to uplift remaining variables inzp ZP_BYTE:128 [ play_collision::return#12 ] -Uplifting [play_collision] best 3948426 combination reg byte a [ play_collision::return#12 ] -Attempting to uplift remaining variables inzp ZP_BYTE:130 [ play_collision::return#1 ] -Uplifting [play_collision] best 3948420 combination reg byte a [ play_collision::return#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:131 [ play_move_leftright::$8 ] -Uplifting [play_move_leftright] best 3948414 combination reg byte a [ play_move_leftright::$8 ] -Attempting to uplift remaining variables inzp ZP_BYTE:133 [ play_move_down::$2 ] -Uplifting [play_move_down] best 3948408 combination reg byte a [ play_move_down::$2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:134 [ play_collision::return#0 ] -Uplifting [play_collision] best 3948402 combination reg byte a [ play_collision::return#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:135 [ play_move_down::$12 ] -Uplifting [play_move_down] best 3948396 combination reg byte a [ play_move_down::$12 ] -Attempting to uplift remaining variables inzp ZP_BYTE:136 [ play_remove_lines::return#0 ] -Uplifting [play_remove_lines] best 3948390 combination reg byte a [ play_remove_lines::return#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:137 [ play_move_down::removed#0 ] -Uplifting [play_move_down] best 3948384 combination reg byte a [ play_move_down::removed#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:160 [ keyboard_event_scan::$14 ] -Uplifting [keyboard_event_scan] best 3948378 combination reg byte a [ keyboard_event_scan::$14 ] -Attempting to uplift remaining variables inzp ZP_BYTE:161 [ keyboard_event_pressed::return#1 ] -Uplifting [keyboard_event_pressed] best 3948372 combination reg byte a [ keyboard_event_pressed::return#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:162 [ keyboard_event_scan::$18 ] -Uplifting [keyboard_event_scan] best 3948366 combination reg byte a [ keyboard_event_scan::$18 ] -Attempting to uplift remaining variables inzp ZP_BYTE:163 [ keyboard_event_pressed::return#2 ] -Uplifting [keyboard_event_pressed] best 3948360 combination reg byte a [ keyboard_event_pressed::return#2 ] -Attempting to uplift remaining variables inzp ZP_BYTE:164 [ keyboard_event_scan::$22 ] -Uplifting [keyboard_event_scan] best 3948354 combination reg byte a [ keyboard_event_scan::$22 ] -Attempting to uplift remaining variables inzp ZP_BYTE:165 [ keyboard_event_pressed::return#10 ] -Uplifting [keyboard_event_pressed] best 3948348 combination reg byte a [ keyboard_event_pressed::return#10 ] -Attempting to uplift remaining variables inzp ZP_BYTE:166 [ keyboard_event_scan::$26 ] -Uplifting [keyboard_event_scan] best 3948342 combination reg byte a [ keyboard_event_scan::$26 ] -Attempting to uplift remaining variables inzp ZP_BYTE:182 [ irq_cnt#1 ] -Uplifting [] best 3948342 combination zp ZP_BYTE:182 [ irq_cnt#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:180 [ sprites_irq::ptr#3 ] -Uplifting [sprites_irq] best 3948330 combination reg byte x [ sprites_irq::ptr#3 ] -Attempting to uplift remaining variables inzp ZP_BYTE:189 [ sprites_irq::ptr#1 ] -Uplifting [sprites_irq] best 3948320 combination reg byte a [ sprites_irq::ptr#1 ] -Attempting to uplift remaining variables inzp ZP_BYTE:178 [ sprites_irq::ypos#0 ] -Uplifting [sprites_irq] best 3948305 combination reg byte a [ sprites_irq::ypos#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:179 [ sprites_irq::ptr#0 ] -Uplifting [sprites_irq] best 3948292 combination reg byte x [ sprites_irq::ptr#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] -Uplifting [keyboard_event_pressed] best 3948292 combination zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:155 [ keyboard_event_pressed::return#11 ] -Uplifting [keyboard_event_pressed] best 3948274 combination reg byte a [ keyboard_event_pressed::return#11 ] -Attempting to uplift remaining variables inzp ZP_BYTE:34 [ play_collision::return#14 ] -Uplifting [play_collision] best 3948247 combination reg byte a [ play_collision::return#14 ] -Attempting to uplift remaining variables inzp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] -Uplifting [keyboard_event_pressed] best 3948247 combination zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] -Attempting to uplift remaining variables inzp ZP_BYTE:95 [ irq_sprite_ypos#0 ] -Uplifting [] best 3948247 combination zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:93 [ render_screen_showing#0 ] -Uplifting [] best 3948247 combination zp ZP_BYTE:93 [ render_screen_showing#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:96 [ irq_sprite_ptr#0 ] -Uplifting [] best 3948247 combination zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:97 [ irq_cnt#0 ] -Uplifting [] best 3948247 combination zp ZP_BYTE:97 [ irq_cnt#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:94 [ irq_raster_next#0 ] -Uplifting [] best 3948247 combination zp ZP_BYTE:94 [ irq_raster_next#0 ] -Attempting to uplift remaining variables inzp ZP_BYTE:139 [ play_spawn_current::$3 ] -Uplifting [play_spawn_current] best 3948247 combination zp ZP_BYTE:139 [ play_spawn_current::$3 ] -Coalescing zero page register with common assignment [ zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 ] ] with [ zp ZP_WORD:122 [ play_collision::piece_gfx#0 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:37 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] ] with [ zp ZP_BYTE:57 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:91 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] ] with [ zp ZP_BYTE:94 [ irq_raster_next#0 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:95 [ irq_sprite_ypos#0 ] ] with [ zp ZP_BYTE:183 [ irq_sprite_ypos#2 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:96 [ irq_sprite_ptr#0 ] ] with [ zp ZP_BYTE:184 [ irq_sprite_ptr#2 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:97 [ irq_cnt#0 ] ] with [ zp ZP_BYTE:182 [ irq_cnt#1 ] ] - score: 1 -Coalescing zero page register with common assignment [ zp ZP_BYTE:103 [ main::render#1 ] ] with [ zp ZP_BYTE:107 [ main::render#2 ] ] - score: 1 -Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] ] with [ zp ZP_BYTE:73 [ play_init::idx#2 play_init::idx#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 ] ] with [ zp ZP_BYTE:75 [ sprites_init::xpos#2 sprites_init::xpos#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 sprites_init::xpos#2 sprites_init::xpos#1 ] ] with [ zp ZP_BYTE:81 [ render_screen_original::y#6 render_screen_original::y#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] ] with [ zp ZP_BYTE:51 [ play_remove_lines::y#8 play_remove_lines::y#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 ] ] with [ zp ZP_BYTE:58 [ play_lock_current::l#6 play_lock_current::l#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 play_lock_current::l#6 play_lock_current::l#1 ] ] with [ zp ZP_BYTE:139 [ play_spawn_current::$3 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 ] ] with [ zp ZP_BYTE:17 [ render_playfield::l#2 render_playfield::l#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 ] ] with [ zp ZP_BYTE:23 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] ] with [ zp ZP_BYTE:52 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] ] with [ zp ZP_BYTE:59 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] ] with [ zp ZP_BYTE:62 [ keyboard_event_pressed::keycode#5 ] ] -Coalescing zero page register [ zp ZP_BYTE:6 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 ] ] with [ zp ZP_BYTE:64 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 ] ] with [ zp ZP_BYTE:18 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] ] with [ zp ZP_BYTE:28 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] ] with [ zp ZP_BYTE:54 [ play_remove_lines::x#2 play_remove_lines::x#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 ] ] with [ zp ZP_BYTE:60 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] ] with [ zp ZP_BYTE:67 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] ] -Coalescing zero page register [ zp ZP_BYTE:7 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] ] with [ zp ZP_BYTE:153 [ keyboard_event_pressed::row_bits#0 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 ] ] with [ zp ZP_WORD:19 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] ] with [ zp ZP_WORD:24 [ current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 ] ] with [ zp ZP_WORD:71 [ play_init::pli#2 play_init::pli#1 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 ] ] with [ zp ZP_WORD:77 [ render_init::li_1#2 render_init::li_1#1 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 ] ] with [ zp ZP_WORD:82 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] ] -Coalescing zero page register [ zp ZP_WORD:8 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] ] with [ zp ZP_WORD:149 [ play_lock_current::playfield_line#0 ] ] -Coalescing zero page register [ zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] ] with [ zp ZP_BYTE:21 [ render_playfield::c#2 render_playfield::c#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 ] ] with [ zp ZP_BYTE:29 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] ] with [ zp ZP_BYTE:55 [ play_remove_lines::full#4 play_remove_lines::full#2 ] ] -Coalescing zero page register [ zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 ] ] with [ zp ZP_BYTE:151 [ play_lock_current::i#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:11 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 ] ] with [ zp ZP_BYTE:158 [ keyboard_event_scan::row_scan#0 ] ] -Coalescing zero page register [ zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 ] ] with [ zp ZP_BYTE:30 [ play_collision::l#6 play_collision::l#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:12 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 ] ] with [ zp ZP_BYTE:148 [ play_remove_lines::c#0 ] ] -Coalescing zero page register [ zp ZP_BYTE:13 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] ] with [ zp ZP_BYTE:31 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] ] -Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] ] with [ zp ZP_BYTE:32 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:15 [ render_current::c#2 render_current::c#1 ] ] with [ zp ZP_BYTE:99 [ main::key_event#0 ] ] -Coalescing zero page register [ zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 ] ] with [ zp ZP_WORD:79 [ render_init::li_2#2 render_init::li_2#1 ] ] -Coalescing zero page register [ zp ZP_WORD:42 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 render_init::li_2#2 render_init::li_2#1 ] ] with [ zp ZP_WORD:84 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] ] -Coalescing zero page register [ zp ZP_WORD:45 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] ] with [ zp ZP_WORD:86 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] ] -Coalescing zero page register [ zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] ] with [ zp ZP_WORD:113 [ render_current::screen_line#0 ] ] -Coalescing zero page register [ zp ZP_WORD:88 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 render_current::screen_line#0 ] ] with [ zp ZP_WORD:124 [ play_collision::playfield_line#0 ] ] -Coalescing zero page register [ zp ZP_BYTE:93 [ render_screen_showing#0 ] ] with [ zp ZP_BYTE:173 [ render_screen_showing#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:95 [ irq_sprite_ypos#0 irq_sprite_ypos#2 ] ] with [ zp ZP_BYTE:187 [ irq_sprite_ypos#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:96 [ irq_sprite_ptr#0 irq_sprite_ptr#2 ] ] with [ zp ZP_BYTE:188 [ irq_sprite_ptr#1 ] ] -Coalescing zero page register [ zp ZP_BYTE:97 [ irq_cnt#0 irq_cnt#1 ] ] with [ zp ZP_BYTE:186 [ irq_cnt#14 ] ] -Allocated (was zp ZP_BYTE:6) zp ZP_BYTE:5 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -Allocated (was zp ZP_BYTE:7) zp ZP_BYTE:6 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] -Allocated (was zp ZP_WORD:8) zp ZP_WORD:7 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] -Allocated (was zp ZP_BYTE:11) zp ZP_BYTE:9 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 keyboard_event_scan::row_scan#0 ] -Allocated (was zp ZP_BYTE:12) zp ZP_BYTE:10 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 play_remove_lines::c#0 ] -Allocated (was zp ZP_BYTE:13) zp ZP_BYTE:11 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] -Allocated (was zp ZP_BYTE:14) zp ZP_BYTE:12 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 play_collision::col#2 play_collision::col#9 play_collision::col#1 ] -Allocated (was zp ZP_BYTE:15) zp ZP_BYTE:13 [ render_current::c#2 render_current::c#1 main::key_event#0 ] -Allocated (was zp ZP_BYTE:37) zp ZP_BYTE:14 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -Allocated (was zp ZP_DWORD:38) zp ZP_DWORD:15 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -Allocated (was zp ZP_WORD:42) zp ZP_WORD:19 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] -Allocated (was zp ZP_BYTE:44) zp ZP_BYTE:21 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] -Allocated (was zp ZP_WORD:45) zp ZP_WORD:22 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] -Allocated (was zp ZP_BYTE:47) zp ZP_BYTE:24 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] -Allocated (was zp ZP_BYTE:48) zp ZP_BYTE:25 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] -Allocated (was zp ZP_BYTE:68) zp ZP_BYTE:26 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] -Allocated (was zp ZP_WORD:88) zp ZP_WORD:27 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 render_current::screen_line#0 play_collision::playfield_line#0 ] -Allocated (was zp ZP_BYTE:91) zp ZP_BYTE:29 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 irq_raster_next#0 ] -Allocated (was zp ZP_BYTE:93) zp ZP_BYTE:30 [ render_screen_showing#0 render_screen_showing#1 ] -Allocated (was zp ZP_BYTE:95) zp ZP_BYTE:31 [ irq_sprite_ypos#0 irq_sprite_ypos#2 irq_sprite_ypos#1 ] -Allocated (was zp ZP_BYTE:96) zp ZP_BYTE:32 [ irq_sprite_ptr#0 irq_sprite_ptr#2 irq_sprite_ptr#1 ] -Allocated (was zp ZP_BYTE:97) zp ZP_BYTE:33 [ irq_cnt#0 irq_cnt#1 irq_cnt#14 ] -Allocated (was zp ZP_BYTE:103) zp ZP_BYTE:34 [ main::render#1 main::render#2 ] -Allocated (was zp ZP_BYTE:126) zp ZP_BYTE:35 [ play_collision::i#1 ] -Allocated (was zp ZP_DWORD:144) zp ZP_DWORD:36 [ play_update_score::add_bcd#0 ] +Uplifting [] best 3958688 combination zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] +Attempting to uplift remaining variables inzp ZP_BYTE:128 [ play_move_rotate::$2 ] +Uplifting [play_move_rotate] best 3958682 combination reg byte a [ play_move_rotate::$2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:129 [ play_collision::return#13 ] +Uplifting [play_collision] best 3958676 combination reg byte a [ play_collision::return#13 ] +Attempting to uplift remaining variables inzp ZP_BYTE:130 [ play_move_rotate::$6 ] +Uplifting [play_move_rotate] best 3958670 combination reg byte a [ play_move_rotate::$6 ] +Attempting to uplift remaining variables inzp ZP_BYTE:131 [ play_move_rotate::$4 ] +Uplifting [play_move_rotate] best 3958664 combination reg byte a [ play_move_rotate::$4 ] +Attempting to uplift remaining variables inzp ZP_BYTE:138 [ play_collision::return#12 ] +Uplifting [play_collision] best 3958658 combination reg byte a [ play_collision::return#12 ] +Attempting to uplift remaining variables inzp ZP_BYTE:140 [ play_collision::return#1 ] +Uplifting [play_collision] best 3958652 combination reg byte a [ play_collision::return#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:141 [ play_move_leftright::$8 ] +Uplifting [play_move_leftright] best 3958646 combination reg byte a [ play_move_leftright::$8 ] +Attempting to uplift remaining variables inzp ZP_BYTE:143 [ play_move_down::$2 ] +Uplifting [play_move_down] best 3958640 combination reg byte a [ play_move_down::$2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:144 [ play_collision::return#0 ] +Uplifting [play_collision] best 3958634 combination reg byte a [ play_collision::return#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:145 [ play_move_down::$12 ] +Uplifting [play_move_down] best 3958628 combination reg byte a [ play_move_down::$12 ] +Attempting to uplift remaining variables inzp ZP_BYTE:146 [ play_remove_lines::return#0 ] +Uplifting [play_remove_lines] best 3958622 combination reg byte a [ play_remove_lines::return#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:147 [ play_move_down::removed#0 ] +Uplifting [play_move_down] best 3958616 combination reg byte a [ play_move_down::removed#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:170 [ keyboard_event_scan::$14 ] +Uplifting [keyboard_event_scan] best 3958610 combination reg byte a [ keyboard_event_scan::$14 ] +Attempting to uplift remaining variables inzp ZP_BYTE:171 [ keyboard_event_pressed::return#1 ] +Uplifting [keyboard_event_pressed] best 3958604 combination reg byte a [ keyboard_event_pressed::return#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:172 [ keyboard_event_scan::$18 ] +Uplifting [keyboard_event_scan] best 3958598 combination reg byte a [ keyboard_event_scan::$18 ] +Attempting to uplift remaining variables inzp ZP_BYTE:173 [ keyboard_event_pressed::return#2 ] +Uplifting [keyboard_event_pressed] best 3958592 combination reg byte a [ keyboard_event_pressed::return#2 ] +Attempting to uplift remaining variables inzp ZP_BYTE:174 [ keyboard_event_scan::$22 ] +Uplifting [keyboard_event_scan] best 3958586 combination reg byte a [ keyboard_event_scan::$22 ] +Attempting to uplift remaining variables inzp ZP_BYTE:175 [ keyboard_event_pressed::return#10 ] +Uplifting [keyboard_event_pressed] best 3958580 combination reg byte a [ keyboard_event_pressed::return#10 ] +Attempting to uplift remaining variables inzp ZP_BYTE:176 [ keyboard_event_scan::$26 ] +Uplifting [keyboard_event_scan] best 3958574 combination reg byte a [ keyboard_event_scan::$26 ] +Attempting to uplift remaining variables inzp ZP_BYTE:192 [ irq_cnt#1 ] +Uplifting [] best 3958574 combination zp ZP_BYTE:192 [ irq_cnt#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] +Uplifting [] best 3958574 combination zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] +Attempting to uplift remaining variables inzp ZP_BYTE:190 [ sprites_irq::ptr#3 ] +Uplifting [sprites_irq] best 3958562 combination reg byte x [ sprites_irq::ptr#3 ] +Attempting to uplift remaining variables inzp ZP_BYTE:199 [ sprites_irq::ptr#1 ] +Uplifting [sprites_irq] best 3958552 combination reg byte a [ sprites_irq::ptr#1 ] +Attempting to uplift remaining variables inzp ZP_BYTE:188 [ sprites_irq::ypos#0 ] +Uplifting [sprites_irq] best 3958537 combination reg byte a [ sprites_irq::ypos#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:189 [ sprites_irq::ptr#0 ] +Uplifting [sprites_irq] best 3958524 combination reg byte x [ sprites_irq::ptr#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] +Uplifting [keyboard_event_pressed] best 3958524 combination zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:165 [ keyboard_event_pressed::return#11 ] +Uplifting [keyboard_event_pressed] best 3958506 combination reg byte a [ keyboard_event_pressed::return#11 ] +Attempting to uplift remaining variables inzp ZP_BYTE:37 [ play_collision::return#14 ] +Uplifting [play_collision] best 3958479 combination reg byte a [ play_collision::return#14 ] +Attempting to uplift remaining variables inzp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] +Uplifting [keyboard_event_pressed] best 3958479 combination zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] +Attempting to uplift remaining variables inzp ZP_BYTE:98 [ irq_sprite_ypos#0 ] +Uplifting [] best 3958479 combination zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:96 [ render_screen_showing#0 ] +Uplifting [] best 3958479 combination zp ZP_BYTE:96 [ render_screen_showing#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:99 [ irq_sprite_ptr#0 ] +Uplifting [] best 3958479 combination zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:100 [ irq_cnt#0 ] +Uplifting [] best 3958479 combination zp ZP_BYTE:100 [ irq_cnt#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:97 [ irq_raster_next#0 ] +Uplifting [] best 3958479 combination zp ZP_BYTE:97 [ irq_raster_next#0 ] +Attempting to uplift remaining variables inzp ZP_BYTE:149 [ play_spawn_current::$3 ] +Uplifting [play_spawn_current] best 3958479 combination zp ZP_BYTE:149 [ play_spawn_current::$3 ] +Coalescing zero page register with common assignment [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 ] ] with [ zp ZP_WORD:118 [ render_score::screen_score_pos#2 ] ] - score: 2 +Coalescing zero page register with common assignment [ zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 ] ] with [ zp ZP_WORD:132 [ play_collision::piece_gfx#0 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:40 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 ] ] with [ zp ZP_BYTE:60 [ play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:94 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 ] ] with [ zp ZP_BYTE:97 [ irq_raster_next#0 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:98 [ irq_sprite_ypos#0 ] ] with [ zp ZP_BYTE:193 [ irq_sprite_ypos#2 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:99 [ irq_sprite_ptr#0 ] ] with [ zp ZP_BYTE:194 [ irq_sprite_ptr#2 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:100 [ irq_cnt#0 ] ] with [ zp ZP_BYTE:192 [ irq_cnt#1 ] ] - score: 1 +Coalescing zero page register with common assignment [ zp ZP_BYTE:106 [ main::render#1 ] ] with [ zp ZP_BYTE:110 [ main::render#2 ] ] - score: 1 +Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 ] ] with [ zp ZP_BYTE:76 [ play_init::idx#2 play_init::idx#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 ] ] with [ zp ZP_BYTE:78 [ sprites_init::xpos#2 sprites_init::xpos#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 sprites_init::xpos#2 sprites_init::xpos#1 ] ] with [ zp ZP_BYTE:84 [ render_screen_original::y#6 render_screen_original::y#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 ] ] with [ zp ZP_BYTE:54 [ play_remove_lines::y#8 play_remove_lines::y#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 ] ] with [ zp ZP_BYTE:61 [ play_lock_current::l#6 play_lock_current::l#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 play_lock_current::l#6 play_lock_current::l#1 ] ] with [ zp ZP_BYTE:149 [ play_spawn_current::$3 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 ] ] with [ zp ZP_WORD:11 [ current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 ] ] with [ zp ZP_WORD:22 [ render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 ] ] with [ zp ZP_WORD:27 [ current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 ] ] with [ zp ZP_WORD:74 [ play_init::pli#2 play_init::pli#1 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 ] ] with [ zp ZP_WORD:80 [ render_init::li_1#2 render_init::li_1#1 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 ] ] with [ zp ZP_WORD:85 [ render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] ] +Coalescing zero page register [ zp ZP_WORD:6 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 ] ] with [ zp ZP_WORD:159 [ play_lock_current::playfield_line#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 ] ] with [ zp ZP_BYTE:20 [ render_playfield::l#2 render_playfield::l#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 ] ] with [ zp ZP_BYTE:26 [ play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 ] ] with [ zp ZP_BYTE:55 [ play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 ] ] with [ zp ZP_BYTE:62 [ play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 ] ] with [ zp ZP_BYTE:65 [ keyboard_event_pressed::keycode#5 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 ] ] with [ zp ZP_BYTE:67 [ keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:9 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] ] with [ zp ZP_BYTE:115 [ render_score::score_byte#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 ] ] with [ zp ZP_BYTE:21 [ render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 ] ] with [ zp ZP_BYTE:31 [ play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 ] ] with [ zp ZP_BYTE:57 [ play_remove_lines::x#2 play_remove_lines::x#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 ] ] with [ zp ZP_BYTE:63 [ play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 ] ] with [ zp ZP_BYTE:70 [ keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] ] +Coalescing zero page register [ zp ZP_BYTE:10 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 ] ] with [ zp ZP_BYTE:163 [ keyboard_event_pressed::row_bits#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 ] ] with [ zp ZP_BYTE:24 [ render_playfield::c#2 render_playfield::c#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 ] ] with [ zp ZP_BYTE:32 [ play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 ] ] with [ zp ZP_BYTE:58 [ play_remove_lines::full#4 play_remove_lines::full#2 ] ] +Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 ] ] with [ zp ZP_BYTE:161 [ play_lock_current::i#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:14 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 ] ] with [ zp ZP_BYTE:168 [ keyboard_event_scan::row_scan#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 ] ] with [ zp ZP_BYTE:33 [ play_collision::l#6 play_collision::l#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:15 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 ] ] with [ zp ZP_BYTE:158 [ play_remove_lines::c#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:16 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 ] ] with [ zp ZP_BYTE:34 [ play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] ] +Coalescing zero page register [ zp ZP_BYTE:17 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 ] ] with [ zp ZP_BYTE:35 [ play_collision::col#2 play_collision::col#9 play_collision::col#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:18 [ render_current::c#2 render_current::c#1 ] ] with [ zp ZP_BYTE:102 [ main::key_event#0 ] ] +Coalescing zero page register [ zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 ] ] with [ zp ZP_WORD:82 [ render_init::li_2#2 render_init::li_2#1 ] ] +Coalescing zero page register [ zp ZP_WORD:45 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 render_init::li_2#2 render_init::li_2#1 ] ] with [ zp ZP_WORD:87 [ render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] ] +Coalescing zero page register [ zp ZP_WORD:48 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 ] ] with [ zp ZP_WORD:89 [ render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] ] +Coalescing zero page register [ zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 ] ] with [ zp ZP_WORD:123 [ render_current::screen_line#0 ] ] +Coalescing zero page register [ zp ZP_WORD:91 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 render_current::screen_line#0 ] ] with [ zp ZP_WORD:134 [ play_collision::playfield_line#0 ] ] +Coalescing zero page register [ zp ZP_BYTE:96 [ render_screen_showing#0 ] ] with [ zp ZP_BYTE:183 [ render_screen_showing#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:98 [ irq_sprite_ypos#0 irq_sprite_ypos#2 ] ] with [ zp ZP_BYTE:197 [ irq_sprite_ypos#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:99 [ irq_sprite_ptr#0 irq_sprite_ptr#2 ] ] with [ zp ZP_BYTE:198 [ irq_sprite_ptr#1 ] ] +Coalescing zero page register [ zp ZP_BYTE:100 [ irq_cnt#0 irq_cnt#1 ] ] with [ zp ZP_BYTE:196 [ irq_cnt#14 ] ] +Allocated (was zp ZP_WORD:6) zp ZP_WORD:5 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] +Allocated (was zp ZP_BYTE:9) zp ZP_BYTE:7 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 render_score::score_byte#0 ] +Allocated (was zp ZP_BYTE:10) zp ZP_BYTE:8 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] +Allocated (was zp ZP_BYTE:14) zp ZP_BYTE:9 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 keyboard_event_scan::row_scan#0 ] +Allocated (was zp ZP_BYTE:15) zp ZP_BYTE:10 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 play_remove_lines::c#0 ] +Allocated (was zp ZP_BYTE:16) zp ZP_BYTE:11 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] +Allocated (was zp ZP_BYTE:17) zp ZP_BYTE:12 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 play_collision::col#2 play_collision::col#9 play_collision::col#1 ] +Allocated (was zp ZP_BYTE:18) zp ZP_BYTE:13 [ render_current::c#2 render_current::c#1 main::key_event#0 ] +Allocated (was zp ZP_BYTE:40) zp ZP_BYTE:14 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] +Allocated (was zp ZP_DWORD:41) zp ZP_DWORD:15 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +Allocated (was zp ZP_WORD:45) zp ZP_WORD:19 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] +Allocated (was zp ZP_BYTE:47) zp ZP_BYTE:21 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] +Allocated (was zp ZP_WORD:48) zp ZP_WORD:22 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] +Allocated (was zp ZP_BYTE:50) zp ZP_BYTE:24 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] +Allocated (was zp ZP_BYTE:51) zp ZP_BYTE:25 [ current_piece_char#20 current_piece_char#15 current_piece_char#12 current_piece_char#1 ] +Allocated (was zp ZP_BYTE:71) zp ZP_BYTE:26 [ keyboard_events_size#10 keyboard_events_size#29 keyboard_events_size#19 keyboard_events_size#16 keyboard_events_size#13 keyboard_events_size#4 keyboard_events_size#30 keyboard_events_size#2 keyboard_events_size#1 ] +Allocated (was zp ZP_WORD:91) zp ZP_WORD:27 [ render_screen_original::cols#6 render_screen_original::cols#5 render_screen_original::cols#4 render_screen_original::cols#7 render_screen_original::cols#3 render_screen_original::cols#1 render_screen_original::cols#2 render_current::screen_line#0 play_collision::playfield_line#0 ] +Allocated (was zp ZP_BYTE:94) zp ZP_BYTE:29 [ irq_raster_next#13 irq_raster_next#2 irq_raster_next#1 irq_raster_next#0 ] +Allocated (was zp ZP_BYTE:96) zp ZP_BYTE:30 [ render_screen_showing#0 render_screen_showing#1 ] +Allocated (was zp ZP_BYTE:98) zp ZP_BYTE:31 [ irq_sprite_ypos#0 irq_sprite_ypos#2 irq_sprite_ypos#1 ] +Allocated (was zp ZP_BYTE:99) zp ZP_BYTE:32 [ irq_sprite_ptr#0 irq_sprite_ptr#2 irq_sprite_ptr#1 ] +Allocated (was zp ZP_BYTE:100) zp ZP_BYTE:33 [ irq_cnt#0 irq_cnt#1 irq_cnt#14 ] +Allocated (was zp ZP_BYTE:106) zp ZP_BYTE:34 [ main::render#1 main::render#2 ] +Allocated (was zp ZP_BYTE:136) zp ZP_BYTE:35 [ play_collision::i#1 ] +Allocated (was zp ZP_DWORD:154) zp ZP_DWORD:36 [ play_update_score::add_bcd#0 ] Interrupt procedure sprites_irq clobbers AXCNZV -Removing interrupt register storage sty regy+1 in SEG927 entry interrupt(HARDWARE_CLOBBER) -Removing interrupt register storage regy: in SEG967 [468] return - exit interrupt(HARDWARE_CLOBBER) -Removing interrupt register storage ldy #00 in SEG967 [468] return - exit interrupt(HARDWARE_CLOBBER) +Removing interrupt register storage sty regy+1 in SEG959 entry interrupt(HARDWARE_CLOBBER) +Removing interrupt register storage regy: in SEG999 [486] return - exit interrupt(HARDWARE_CLOBBER) +Removing interrupt register storage ldy #00 in SEG999 [486] return - exit interrupt(HARDWARE_CLOBBER) ASSEMBLER BEFORE OPTIMIZATION //SEG0 Basic Upstart @@ -13370,27 +13792,27 @@ ASSEMBLER BEFORE OPTIMIZATION .label irq_cnt = $21 .label current_movedown_counter = 4 .label current_ypos = $e - .label score_bcd = $f .label current_piece_gfx = $16 .label current_xpos = $18 .label current_piece_char = $19 .label current_orientation = $15 + .label score_bcd = $f .label render_screen_render = 3 .label render_screen_show = 2 .label current_piece = $13 - .label current_piece_12 = 7 - .label render_screen_render_28 = 5 - .label current_xpos_47 = 6 - .label current_piece_gfx_53 = 7 - .label render_screen_render_62 = 5 - .label current_xpos_111 = 6 - .label current_xpos_112 = 6 - .label current_piece_gfx_101 = 7 - .label current_piece_gfx_102 = 7 - .label current_piece_75 = 7 - .label current_piece_76 = 7 - .label current_piece_77 = 7 - .label current_piece_78 = 7 + .label current_piece_12 = 5 + .label render_screen_render_30 = 7 + .label current_xpos_47 = 8 + .label current_piece_gfx_53 = 5 + .label render_screen_render_64 = 7 + .label current_xpos_112 = 8 + .label current_xpos_113 = 8 + .label current_piece_gfx_102 = 5 + .label current_piece_gfx_103 = 5 + .label current_piece_76 = 5 + .label current_piece_77 = 5 + .label current_piece_78 = 5 + .label current_piece_79 = 5 //SEG2 @begin bbegin: jmp b14 @@ -13402,44 +13824,44 @@ b14: //SEG5 kickasm(location (const byte*) PLAYFIELD_CHARSET#0) {{ .fill 8,$00 // Place a filled char at the start of the charset .import binary "playfield-screen.imap" }} //SEG6 kickasm(location (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0) {{ // Load chars for the screen .var screen = LoadBinary("playfield-screen.iscr") // Load extended colors for the screen .var extended = LoadBinary("playfield-extended.col") // screen.get(i)+1 because the charset is loaded into PLAYFIELD_CHARSET+8 // extended.get(i)-1 because the extended colors are 1-based (1/2/3/4) // <<6 to move extended colors to the upper 2 bits .fill screen.getSize(), ( (screen.get(i)+1) | (extended.get(i)-1)<<6 ) }} //SEG7 kickasm(location (const byte*) PLAYFIELD_COLORS_ORIGINAL#0) {{ .import binary "playfield-screen.col" }} - jmp b20 -//SEG8 @20 -b20: -//SEG9 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { .for (var y=0;y<21; y++) { .for (var c=0; c<3; c++) { .byte sprites.getSinglecolorByte(sx*3+c,sy*21+y) } } .byte 0 } } }} jmp b21 -//SEG10 @21 +//SEG8 @21 b21: +//SEG9 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { .for (var y=0;y<21; y++) { .for (var c=0; c<3; c++) { .byte sprites.getSinglecolorByte(sx*3+c,sy*21+y) } } .byte 0 } } }} + jmp b22 +//SEG10 @22 +b22: //SEG11 [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next //SEG12 [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos -//SEG13 [8] phi from @21 to toSpritePtr1 [phi:@21->toSpritePtr1] -toSpritePtr1_from_b21: +//SEG13 [8] phi from @22 to toSpritePtr1 [phi:@22->toSpritePtr1] +toSpritePtr1_from_b22: jmp toSpritePtr1 //SEG14 toSpritePtr1 toSpritePtr1: - jmp b34 -//SEG15 @34 -b34: + jmp b35 +//SEG15 @35 +b35: //SEG16 [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 -- vbuz1=vbuc1 lda #toSpritePtr1_return sta irq_sprite_ptr //SEG17 [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt -//SEG18 [11] phi from @34 to @33 [phi:@34->@33] -b33_from_b34: - jmp b33 -//SEG19 @33 -b33: +//SEG18 [11] phi from @35 to @34 [phi:@35->@34] +b34_from_b35: + jmp b34 +//SEG19 @34 +b34: //SEG20 [12] call main -//SEG21 [14] phi from @33 to main [phi:@33->main] -main_from_b33: +//SEG21 [14] phi from @34 to main [phi:@34->main] +main_from_b34: jsr main -//SEG22 [13] phi from @33 to @end [phi:@33->@end] -bend_from_b33: +//SEG22 [13] phi from @34 to @end [phi:@34->@end] +bend_from_b34: jmp bend //SEG23 @end bend: @@ -13455,7 +13877,7 @@ main: { //SEG27 asm { sei } sei //SEG28 [17] call render_init - //SEG29 [386] phi from main::@15 to render_init [phi:main::@15->render_init] + //SEG29 [404] phi from main::@15 to render_init [phi:main::@15->render_init] render_init_from_b15: jsr render_init //SEG30 [18] phi from main::@15 to main::@16 [phi:main::@15->main::@16] @@ -13478,7 +13900,7 @@ main: { //SEG37 main::@18 b18: //SEG38 [23] call play_init - //SEG39 [351] phi from main::@18 to play_init [phi:main::@18->play_init] + //SEG39 [369] phi from main::@18 to play_init [phi:main::@18->play_init] play_init_from_b18: jsr play_init //SEG40 [24] phi from main::@18 to main::@19 [phi:main::@18->main::@19] @@ -13487,7 +13909,7 @@ main: { //SEG41 main::@19 b19: //SEG42 [25] call play_spawn_current - //SEG43 [213] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] + //SEG43 [231] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] play_spawn_current_from_b19: jsr play_spawn_current //SEG44 [26] phi from main::@19 to main::@20 [phi:main::@19->main::@20] @@ -13496,38 +13918,38 @@ main: { //SEG45 main::@20 b20: //SEG46 [27] call render_playfield - //SEG47 [96] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] + //SEG47 [114] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] render_playfield_from_b20: - //SEG48 [96] phi (byte) render_screen_render#19 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuxx=vbuc1 + //SEG48 [114] phi (byte) render_screen_render#21 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuxx=vbuc1 ldx #$40 jsr render_playfield jmp b21 //SEG49 main::@21 b21: - //SEG50 [28] (byte~) current_ypos#85 ← (byte) current_ypos#18 -- vbuyy=vbuz1 + //SEG50 [28] (byte~) current_ypos#86 ← (byte) current_ypos#18 -- vbuyy=vbuz1 ldy current_ypos - //SEG51 [29] (byte~) current_xpos#111 ← (byte) current_xpos#23 -- vbuz1=vbuz2 + //SEG51 [29] (byte~) current_xpos#112 ← (byte) current_xpos#23 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_111 - //SEG52 [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 + sta current_xpos_112 + //SEG52 [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_101 + sta current_piece_gfx_102 lda current_piece_gfx+1 - sta current_piece_gfx_101+1 - //SEG53 [31] (byte~) current_piece_char#89 ← (byte) current_piece_char#12 -- vbuxx=vbuz1 + sta current_piece_gfx_102+1 + //SEG53 [31] (byte~) current_piece_char#90 ← (byte) current_piece_char#12 -- vbuxx=vbuz1 ldx current_piece_char //SEG54 [32] call render_current - //SEG55 [73] phi from main::@21 to render_current [phi:main::@21->render_current] + //SEG55 [91] phi from main::@21 to render_current [phi:main::@21->render_current] render_current_from_b21: - //SEG56 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#89 [phi:main::@21->render_current#0] -- register_copy - //SEG57 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#101 [phi:main::@21->render_current#1] -- register_copy - //SEG58 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#111 [phi:main::@21->render_current#2] -- register_copy - //SEG59 [73] phi (byte) render_screen_render#28 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 + //SEG56 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@21->render_current#0] -- register_copy + //SEG57 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@21->render_current#1] -- register_copy + //SEG58 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@21->render_current#2] -- register_copy + //SEG59 [91] phi (byte) render_screen_render#30 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 lda #$40 - sta render_screen_render_28 - //SEG60 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#85 [phi:main::@21->render_current#4] -- register_copy + sta render_screen_render_30 + //SEG60 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@21->render_current#4] -- register_copy jsr render_current - //SEG61 [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG61 [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece @@ -13535,7 +13957,7 @@ main: { sta current_piece+1 //SEG62 [34] phi from main::@21 to main::@1 [phi:main::@21->main::@1] b1_from_b21: - //SEG63 [34] phi (dword) score_bcd#13 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 + //SEG63 [34] phi (dword) score_bcd#14 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 lda #0 sta score_bcd lda #0 @@ -13555,8 +13977,8 @@ main: { //SEG70 [34] phi (byte) current_orientation#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#7] -- vbuz1=vbuc1 lda #0 sta current_orientation - //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#72 [phi:main::@21->main::@1#8] -- register_copy - //SEG72 [34] phi (byte) render_screen_render#16 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 + //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#73 [phi:main::@21->main::@1#8] -- register_copy + //SEG72 [34] phi (byte) render_screen_render#17 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 lda #$40 sta render_screen_render //SEG73 [34] phi (byte) render_screen_show#16 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#10] -- vbuz1=vbuc1 @@ -13565,7 +13987,7 @@ main: { jmp b1 //SEG74 [34] phi from main::@28 to main::@1 [phi:main::@28->main::@1] b1_from_b28: - //SEG75 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@28->main::@1#0] -- register_copy + //SEG75 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@28->main::@1#0] -- register_copy //SEG76 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@28->main::@1#1] -- register_copy //SEG77 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@28->main::@1#2] -- register_copy //SEG78 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@28->main::@1#3] -- register_copy @@ -13597,7 +14019,7 @@ main: { //SEG91 main::@23 b23: //SEG92 [39] call keyboard_event_scan - //SEG93 [288] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] + //SEG93 [306] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] keyboard_event_scan_from_b23: jsr keyboard_event_scan //SEG94 [40] phi from main::@23 to main::@24 [phi:main::@23->main::@24] @@ -13664,79 +14086,181 @@ main: { jmp b13 //SEG119 main::@13 b13: - //SEG120 [60] (byte~) render_screen_render#63 ← (byte) render_screen_render#16 -- vbuxx=vbuz1 + //SEG120 [60] (byte~) render_screen_render#65 ← (byte) render_screen_render#17 -- vbuxx=vbuz1 ldx render_screen_render //SEG121 [61] call render_playfield - //SEG122 [96] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] + //SEG122 [114] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] render_playfield_from_b13: - //SEG123 [96] phi (byte) render_screen_render#19 = (byte~) render_screen_render#63 [phi:main::@13->render_playfield#0] -- register_copy + //SEG123 [114] phi (byte) render_screen_render#21 = (byte~) render_screen_render#65 [phi:main::@13->render_playfield#0] -- register_copy jsr render_playfield jmp b29 //SEG124 main::@29 b29: - //SEG125 [62] (byte~) current_ypos#86 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG125 [62] (byte~) current_ypos#87 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG126 [63] (byte~) render_screen_render#62 ← (byte) render_screen_render#16 -- vbuz1=vbuz2 + //SEG126 [63] (byte~) render_screen_render#64 ← (byte) render_screen_render#17 -- vbuz1=vbuz2 lda render_screen_render - sta render_screen_render_62 - //SEG127 [64] (byte~) current_xpos#112 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + sta render_screen_render_64 + //SEG127 [64] (byte~) current_xpos#113 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_112 - //SEG128 [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 + sta current_xpos_113 + //SEG128 [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_102 + sta current_piece_gfx_103 lda current_piece_gfx+1 - sta current_piece_gfx_102+1 - //SEG129 [66] (byte~) current_piece_char#90 ← (byte) current_piece_char#1 -- vbuxx=vbuz1 + sta current_piece_gfx_103+1 + //SEG129 [66] (byte~) current_piece_char#91 ← (byte) current_piece_char#1 -- vbuxx=vbuz1 ldx current_piece_char //SEG130 [67] call render_current - //SEG131 [73] phi from main::@29 to render_current [phi:main::@29->render_current] + //SEG131 [91] phi from main::@29 to render_current [phi:main::@29->render_current] render_current_from_b29: - //SEG132 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@29->render_current#0] -- register_copy - //SEG133 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@29->render_current#1] -- register_copy - //SEG134 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@29->render_current#2] -- register_copy - //SEG135 [73] phi (byte) render_screen_render#28 = (byte~) render_screen_render#62 [phi:main::@29->render_current#3] -- register_copy - //SEG136 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@29->render_current#4] -- register_copy + //SEG132 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#91 [phi:main::@29->render_current#0] -- register_copy + //SEG133 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#103 [phi:main::@29->render_current#1] -- register_copy + //SEG134 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#113 [phi:main::@29->render_current#2] -- register_copy + //SEG135 [91] phi (byte) render_screen_render#30 = (byte~) render_screen_render#64 [phi:main::@29->render_current#3] -- register_copy + //SEG136 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#87 [phi:main::@29->render_current#4] -- register_copy jsr render_current //SEG137 [68] phi from main::@29 to main::@30 [phi:main::@29->main::@30] b30_from_b29: jmp b30 //SEG138 main::@30 b30: - //SEG139 [69] call render_screen_swap + //SEG139 [69] call render_score + jsr render_score + //SEG140 [70] phi from main::@30 to main::@31 [phi:main::@30->main::@31] + b31_from_b30: + jmp b31 + //SEG141 main::@31 + b31: + //SEG142 [71] call render_screen_swap jsr render_screen_swap - //SEG140 [34] phi from main::@30 to main::@1 [phi:main::@30->main::@1] - b1_from_b30: - //SEG141 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@30->main::@1#0] -- register_copy - //SEG142 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@30->main::@1#1] -- register_copy - //SEG143 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@30->main::@1#2] -- register_copy - //SEG144 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@30->main::@1#3] -- register_copy - //SEG145 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@30->main::@1#4] -- register_copy - //SEG146 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@30->main::@1#5] -- register_copy - //SEG147 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@30->main::@1#6] -- register_copy - //SEG148 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@30->main::@1#7] -- register_copy - //SEG149 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@30->main::@1#8] -- register_copy - //SEG150 [34] phi (byte) render_screen_render#16 = (byte) render_screen_render#11 [phi:main::@30->main::@1#9] -- register_copy - //SEG151 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@30->main::@1#10] -- register_copy + //SEG143 [34] phi from main::@31 to main::@1 [phi:main::@31->main::@1] + b1_from_b31: + //SEG144 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@31->main::@1#0] -- register_copy + //SEG145 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@31->main::@1#1] -- register_copy + //SEG146 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@31->main::@1#2] -- register_copy + //SEG147 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@31->main::@1#3] -- register_copy + //SEG148 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@31->main::@1#4] -- register_copy + //SEG149 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@31->main::@1#5] -- register_copy + //SEG150 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@31->main::@1#6] -- register_copy + //SEG151 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@31->main::@1#7] -- register_copy + //SEG152 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@31->main::@1#8] -- register_copy + //SEG153 [34] phi (byte) render_screen_render#17 = (byte) render_screen_render#11 [phi:main::@31->main::@1#9] -- register_copy + //SEG154 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@31->main::@1#10] -- register_copy jmp b1 } -//SEG152 render_screen_swap +//SEG155 render_screen_swap render_screen_swap: { - //SEG153 [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG156 [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_render eor #$40 sta render_screen_render - //SEG154 [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG157 [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_show eor #$40 sta render_screen_show jmp breturn - //SEG155 render_screen_swap::@return + //SEG158 render_screen_swap::@return breturn: - //SEG156 [72] return + //SEG159 [74] return rts } -//SEG157 render_current +//SEG160 render_score +render_score: { + .const ZERO_CHAR = $33 + .const SCREEN_SCORE_ROW = 5 + .const SCREEN_SCORE_COL = $1d + .label score_bytes = score_bcd + .label score_byte = 7 + .label screen_score_pos = 5 + //SEG161 [75] if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@2 -- vbuz1_eq_0_then_la1 + lda render_screen_render + cmp #0 + beq b2_from_render_score + //SEG162 [76] phi from render_score to render_score::@4 [phi:render_score->render_score::@4] + b4_from_render_score: + jmp b4 + //SEG163 render_score::@4 + b4: + //SEG164 [77] phi from render_score::@4 to render_score::@2 [phi:render_score::@4->render_score::@2] + b2_from_b4: + //SEG165 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score::@4->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_2+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + jmp b2 + //SEG166 [77] phi from render_score to render_score::@2 [phi:render_score->render_score::@2] + b2_from_render_score: + //SEG167 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_1+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + jmp b2 + //SEG168 render_score::@2 + b2: + //SEG169 [78] phi from render_score::@2 to render_score::@3 [phi:render_score::@2->render_score::@3] + b3_from_b2: + //SEG170 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#5 [phi:render_score::@2->render_score::@3#0] -- register_copy + //SEG171 [78] phi (byte) render_score::b#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_score::@2->render_score::@3#1] -- vbuxx=vbuc1 + ldx #0 + jmp b3 + //SEG172 [78] phi from render_score::@3 to render_score::@3 [phi:render_score::@3->render_score::@3] + b3_from_b3: + //SEG173 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#3 [phi:render_score::@3->render_score::@3#0] -- register_copy + //SEG174 [78] phi (byte) render_score::b#2 = (byte) render_score::b#1 [phi:render_score::@3->render_score::@3#1] -- register_copy + jmp b3 + //SEG175 render_score::@3 + b3: + //SEG176 [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) -- vbuz1=pbuc1_derefidx_vbuxx + lda score_bytes,x + sta score_byte + //SEG177 [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 -- vbuaa=vbuz1_band_vbuc1 + lda #$f + and score_byte + //SEG178 [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 -- vbuaa=vbuc1_plus_vbuaa + clc + adc #ZERO_CHAR + //SEG179 [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 -- _deref_pbuz1=vbuaa + ldy #0 + sta (screen_score_pos),y + //SEG180 [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 -- pbuz1=_dec_pbuz1 + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + //SEG181 [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuaa=vbuz1_ror_4 + lda score_byte + lsr + lsr + lsr + lsr + //SEG182 [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 -- vbuaa=vbuc1_plus_vbuaa + clc + adc #ZERO_CHAR + //SEG183 [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 -- _deref_pbuz1=vbuaa + ldy #0 + sta (screen_score_pos),y + //SEG184 [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 -- pbuz1=_dec_pbuz1 + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + //SEG185 [88] (byte) render_score::b#1 ← ++ (byte) render_score::b#2 -- vbuxx=_inc_vbuxx + inx + //SEG186 [89] if((byte) render_score::b#1!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto render_score::@3 -- vbuxx_neq_vbuc1_then_la1 + cpx #3 + bne b3_from_b3 + jmp breturn + //SEG187 render_score::@return + breturn: + //SEG188 [90] return + rts +} +//SEG189 render_current render_current: { .label ypos2 = 9 .label screen_line = $1b @@ -13744,299 +14268,299 @@ render_current: { .label i = $b .label l = $a .label c = $d - //SEG158 [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 + //SEG190 [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 tya asl sta ypos2 - //SEG159 [75] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] + //SEG191 [93] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] b1_from_render_current: - //SEG160 [75] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 + //SEG192 [93] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG161 [75] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 + //SEG193 [93] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 lda #0 sta i - //SEG162 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy + //SEG194 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy jmp b1 - //SEG163 [75] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] + //SEG195 [93] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] b1_from_b3: - //SEG164 [75] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy - //SEG165 [75] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy - //SEG166 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy + //SEG196 [93] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy + //SEG197 [93] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy + //SEG198 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy jmp b1 - //SEG167 render_current::@1 + //SEG199 render_current::@1 b1: - //SEG168 [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 + //SEG200 [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 lda ypos2 cmp #2 beq !+ bcs b13 !: jmp b7 - //SEG169 render_current::@7 + //SEG201 render_current::@7 b7: - //SEG170 [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 + //SEG202 [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 lda #4 clc adc i sta i - //SEG171 [78] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] + //SEG203 [96] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] b3_from_b5: b3_from_b7: - //SEG172 [78] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy + //SEG204 [96] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy jmp b3 - //SEG173 render_current::@3 + //SEG205 render_current::@3 b3: - //SEG174 [79] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG206 [97] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG175 [80] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 + //SEG207 [98] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 inc l - //SEG176 [81] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG208 [99] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b1_from_b3 jmp breturn - //SEG177 render_current::@return + //SEG209 render_current::@return breturn: - //SEG178 [82] return + //SEG210 [100] return rts - //SEG179 render_current::@13 + //SEG211 render_current::@13 b13: - //SEG180 [83] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 + //SEG212 [101] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b2 jmp b7 - //SEG181 render_current::@2 + //SEG213 render_current::@2 b2: - //SEG182 [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 -- vbuaa=vbuz1_plus_vbuz2 - lda render_screen_render_28 + //SEG214 [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 -- vbuaa=vbuz1_plus_vbuz2 + lda render_screen_render_30 clc adc ypos2 - //SEG183 [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuaa + //SEG215 [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuaa tay lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG184 [86] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 + //SEG216 [104] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 lda current_xpos_47 sta xpos - //SEG185 [87] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] + //SEG217 [105] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] b4_from_b2: - //SEG186 [87] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 + //SEG218 [105] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG187 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy - //SEG188 [87] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy + //SEG219 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy + //SEG220 [105] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy jmp b4 - //SEG189 [87] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] + //SEG221 [105] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] b4_from_b5: - //SEG190 [87] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy - //SEG191 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy - //SEG192 [87] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy + //SEG222 [105] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy + //SEG223 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy + //SEG224 [105] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy jmp b4 - //SEG193 render_current::@4 + //SEG225 render_current::@4 b4: - //SEG194 [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuaa=pbuz1_derefidx_vbuz2 + //SEG226 [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuaa=pbuz1_derefidx_vbuz2 ldy i lda (current_piece_gfx_53),y - //SEG195 [89] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 + //SEG227 [107] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 inc i - //SEG196 [90] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuaa_eq_0_then_la1 + //SEG228 [108] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5 jmp b9 - //SEG197 render_current::@9 + //SEG229 render_current::@9 b9: - //SEG198 [91] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 + //SEG230 [109] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 lda xpos cmp #PLAYFIELD_COLS bcs b5 jmp b10 - //SEG199 render_current::@10 + //SEG231 render_current::@10 b10: - //SEG200 [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuxx + //SEG232 [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuxx ldy xpos txa sta (screen_line),y jmp b5 - //SEG201 render_current::@5 + //SEG233 render_current::@5 b5: - //SEG202 [93] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 + //SEG234 [111] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 inc xpos - //SEG203 [94] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 + //SEG235 [112] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG204 [95] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG236 [113] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #4 bne b4_from_b5 jmp b3_from_b5 } -//SEG205 render_playfield +//SEG237 render_playfield render_playfield: { - .label screen_line = 7 - .label i = 6 + .label screen_line = 5 + .label i = 8 .label c = 9 - .label l = 5 - //SEG206 [97] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] + .label l = 7 + //SEG238 [115] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] b1_from_render_playfield: - //SEG207 [97] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 + //SEG239 [115] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 lda #PLAYFIELD_COLS*2 sta i - //SEG208 [97] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 + //SEG240 [115] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 lda #2 sta l jmp b1 - //SEG209 [97] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] + //SEG241 [115] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] b1_from_b3: - //SEG210 [97] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy - //SEG211 [97] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy + //SEG242 [115] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy + //SEG243 [115] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy jmp b1 - //SEG212 render_playfield::@1 + //SEG244 render_playfield::@1 b1: - //SEG213 [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuz1_rol_1 + //SEG245 [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuz1_rol_1 lda l asl - //SEG214 [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 -- vbuaa=vbuxx_plus_vbuaa + //SEG246 [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 -- vbuaa=vbuxx_plus_vbuaa stx $ff clc adc $ff - //SEG215 [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuaa + //SEG247 [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuaa tay lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG216 [101] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] + //SEG248 [119] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] b2_from_b1: - //SEG217 [101] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 + //SEG249 [119] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG218 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy - //SEG219 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy + //SEG250 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy + //SEG251 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy jmp b2 - //SEG220 [101] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] + //SEG252 [119] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] b2_from_b2: - //SEG221 [101] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy - //SEG222 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy - //SEG223 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy + //SEG253 [119] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy + //SEG254 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy + //SEG255 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy jmp b2 - //SEG224 render_playfield::@2 + //SEG256 render_playfield::@2 b2: - //SEG225 [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 + //SEG257 [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 ldy i lda playfield,y ldy #0 sta (screen_line),y - //SEG226 [103] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 + //SEG258 [121] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 inc screen_line bne !+ inc screen_line+1 !: - //SEG227 [104] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 + //SEG259 [122] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 inc i - //SEG228 [105] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 + //SEG260 [123] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG229 [106] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG261 [124] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #PLAYFIELD_COLS-1+1 bne b2_from_b2 jmp b3 - //SEG230 render_playfield::@3 + //SEG262 render_playfield::@3 b3: - //SEG231 [107] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 + //SEG263 [125] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 inc l - //SEG232 [108] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG264 [126] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #PLAYFIELD_LINES-1+1 bne b1_from_b3 jmp breturn - //SEG233 render_playfield::@return + //SEG265 render_playfield::@return breturn: - //SEG234 [109] return + //SEG266 [127] return rts } -//SEG235 play_move_rotate +//SEG267 play_move_rotate play_move_rotate: { - .label orientation = 5 - //SEG236 [110] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuaa_eq_vbuc1_then_la1 + .label orientation = 7 + //SEG268 [128] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_Z beq b1 jmp b6 - //SEG237 play_move_rotate::@6 + //SEG269 play_move_rotate::@6 b6: - //SEG238 [111] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuaa_eq_vbuc1_then_la1 + //SEG270 [129] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_X beq b2 - //SEG239 [112] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] + //SEG271 [130] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] breturn_from_b14: breturn_from_b6: - //SEG240 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy - //SEG241 [112] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy - //SEG242 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuaa=vbuc1 + //SEG272 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy + //SEG273 [130] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy + //SEG274 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuaa=vbuc1 lda #0 jmp breturn - //SEG243 play_move_rotate::@return + //SEG275 play_move_rotate::@return breturn: - //SEG244 [113] return + //SEG276 [131] return rts - //SEG245 play_move_rotate::@2 + //SEG277 play_move_rotate::@2 b2: - //SEG246 [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_plus_vbuc1 + //SEG278 [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_plus_vbuc1 lda #$10 clc adc current_orientation - //SEG247 [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 + //SEG279 [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 and #$3f sta orientation - //SEG248 [116] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] + //SEG280 [134] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] b4_from_b1: b4_from_b2: - //SEG249 [116] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy + //SEG281 [134] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy jmp b4 - //SEG250 play_move_rotate::@4 + //SEG282 play_move_rotate::@4 b4: - //SEG251 [117] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + //SEG283 [135] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos sta play_collision.xpos - //SEG252 [118] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG284 [136] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG253 [119] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuxx=vbuz1 + //SEG285 [137] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuxx=vbuz1 ldx orientation - //SEG254 [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG286 [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece - sta current_piece_78 + sta current_piece_79 lda current_piece+1 - sta current_piece_78+1 - //SEG255 [121] call play_collision - //SEG256 [129] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] + sta current_piece_79+1 + //SEG287 [139] call play_collision + //SEG288 [147] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] play_collision_from_b4: - //SEG257 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy - //SEG258 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy - //SEG259 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy - //SEG260 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_rotate::@4->play_collision#3] -- register_copy + //SEG289 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy + //SEG290 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy + //SEG291 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy + //SEG292 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#79 [phi:play_move_rotate::@4->play_collision#3] -- register_copy jsr play_collision - //SEG261 [122] (byte) play_collision::return#13 ← (byte) play_collision::return#14 + //SEG293 [140] (byte) play_collision::return#13 ← (byte) play_collision::return#14 // (byte) play_collision::return#13 = (byte) play_collision::return#14 // register copy reg byte a jmp b14 - //SEG262 play_move_rotate::@14 + //SEG294 play_move_rotate::@14 b14: - //SEG263 [123] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 + //SEG295 [141] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 // (byte~) play_move_rotate::$6 = (byte) play_collision::return#13 // register copy reg byte a - //SEG264 [124] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG296 [142] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuaa_neq_vbuc1_then_la1 cmp #COLLISION_NONE bne breturn_from_b14 jmp b11 - //SEG265 play_move_rotate::@11 + //SEG297 play_move_rotate::@11 b11: - //SEG266 [125] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 + //SEG298 [143] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 lda orientation sta current_orientation - //SEG267 [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 + //SEG299 [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 lda current_orientation clc adc current_piece @@ -14044,28 +14568,28 @@ play_move_rotate: { lda #0 adc current_piece+1 sta current_piece_gfx+1 - //SEG268 [112] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] + //SEG300 [130] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] breturn_from_b11: - //SEG269 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy - //SEG270 [112] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy - //SEG271 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuaa=vbuc1 + //SEG301 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy + //SEG302 [130] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy + //SEG303 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuaa=vbuc1 lda #1 jmp breturn - //SEG272 play_move_rotate::@1 + //SEG304 play_move_rotate::@1 b1: - //SEG273 [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_minus_vbuc1 + //SEG305 [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_minus_vbuc1 lda current_orientation sec sbc #$10 - //SEG274 [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 + //SEG306 [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 and #$3f sta orientation jmp b4_from_b1 } -//SEG275 play_collision +//SEG307 play_collision play_collision: { - .label xpos = 6 - .label piece_gfx = 7 + .label xpos = 8 + .label piece_gfx = 5 .label ypos2 = 9 .label playfield_line = $1b .label i = $23 @@ -14075,7 +14599,7 @@ play_collision: { .label i_3 = $b .label i_11 = $b .label i_13 = $b - //SEG276 [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz1_plus_vbuxx + //SEG308 [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz1_plus_vbuxx txa clc adc piece_gfx @@ -14083,563 +14607,563 @@ play_collision: { lda #0 adc piece_gfx+1 sta piece_gfx+1 - //SEG277 [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 + //SEG309 [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 tya asl sta ypos2 - //SEG278 [132] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] + //SEG310 [150] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] b1_from_play_collision: - //SEG279 [132] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 + //SEG311 [150] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG280 [132] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 + //SEG312 [150] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 lda #0 sta i_3 - //SEG281 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy + //SEG313 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy jmp b1 - //SEG282 play_collision::@1 + //SEG314 play_collision::@1 b1: - //SEG283 [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG315 [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG284 [134] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 + //SEG316 [152] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 lda xpos sta col - //SEG285 [135] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] + //SEG317 [153] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] b2_from_b1: - //SEG286 [135] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuxx=vbuc1 + //SEG318 [153] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG287 [135] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy - //SEG288 [135] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy + //SEG319 [153] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy + //SEG320 [153] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy jmp b2 - //SEG289 play_collision::@2 + //SEG321 play_collision::@2 b2: - //SEG290 [136] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 + //SEG322 [154] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG291 [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG323 [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (piece_gfx),y cmp #0 beq b3 jmp b8 - //SEG292 play_collision::@8 + //SEG324 play_collision::@8 b8: - //SEG293 [138] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 + //SEG325 [156] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b4 - //SEG294 [139] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] + //SEG326 [157] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] breturn_from_b8: - //SEG295 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG327 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_BOTTOM jmp breturn - //SEG296 play_collision::@return + //SEG328 play_collision::@return breturn: - //SEG297 [140] return + //SEG329 [158] return rts - //SEG298 play_collision::@4 + //SEG330 play_collision::@4 b4: - //SEG299 [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuaa=vbuz1_band_vbuc1 + //SEG331 [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuaa=vbuz1_band_vbuc1 lda #$80 and col - //SEG300 [142] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuaa_eq_0_then_la1 + //SEG332 [160] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5 - //SEG301 [139] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] + //SEG333 [157] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] breturn_from_b4: - //SEG302 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG334 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_LEFT jmp breturn - //SEG303 play_collision::@5 + //SEG335 play_collision::@5 b5: - //SEG304 [143] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 + //SEG336 [161] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 lda col cmp #PLAYFIELD_COLS bcc b6 - //SEG305 [139] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] + //SEG337 [157] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] breturn_from_b5: - //SEG306 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG338 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_RIGHT jmp breturn - //SEG307 play_collision::@6 + //SEG339 play_collision::@6 b6: - //SEG308 [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG340 [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy col lda (playfield_line),y cmp #0 beq b3 - //SEG309 [139] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] + //SEG341 [157] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] breturn_from_b6: - //SEG310 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG342 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_PLAYFIELD jmp breturn - //SEG311 play_collision::@3 + //SEG343 play_collision::@3 b3: - //SEG312 [145] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 + //SEG344 [163] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG313 [146] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuxx=_inc_vbuxx + //SEG345 [164] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuxx=_inc_vbuxx inx - //SEG314 [147] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuxx_neq_vbuc1_then_la1 + //SEG346 [165] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b21 jmp b17 - //SEG315 play_collision::@17 + //SEG347 play_collision::@17 b17: - //SEG316 [148] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG348 [166] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG317 [149] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 + //SEG349 [167] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG318 [150] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 + //SEG350 [168] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b20 - //SEG319 [139] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] + //SEG351 [157] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] breturn_from_b17: - //SEG320 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG352 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_NONE jmp breturn - //SEG321 play_collision::@20 + //SEG353 play_collision::@20 b20: - //SEG322 [151] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG354 [169] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_11 - //SEG323 [132] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] + //SEG355 [150] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] b1_from_b20: - //SEG324 [132] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy - //SEG325 [132] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy - //SEG326 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy + //SEG356 [150] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy + //SEG357 [150] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy + //SEG358 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy jmp b1 - //SEG327 play_collision::@21 + //SEG359 play_collision::@21 b21: - //SEG328 [152] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG360 [170] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_13 - //SEG329 [135] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] + //SEG361 [153] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] b2_from_b21: - //SEG330 [135] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy - //SEG331 [135] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy - //SEG332 [135] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy + //SEG362 [153] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy + //SEG363 [153] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy + //SEG364 [153] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy jmp b2 } -//SEG333 play_move_leftright +//SEG365 play_move_leftright play_move_leftright: { - //SEG334 [153] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuaa_eq_vbuc1_then_la1 + //SEG366 [171] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_COMMA beq b1 jmp b6 - //SEG335 play_move_leftright::@6 + //SEG367 play_move_leftright::@6 b6: - //SEG336 [154] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG368 [172] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 cmp #KEY_DOT bne breturn_from_b6 jmp b7 - //SEG337 play_move_leftright::@7 + //SEG369 play_move_leftright::@7 b7: - //SEG338 [155] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 + //SEG370 [173] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 ldy current_xpos iny sty play_collision.xpos - //SEG339 [156] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG371 [174] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG340 [157] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuxx=vbuz1 + //SEG372 [175] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuxx=vbuz1 ldx current_orientation - //SEG341 [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG373 [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + lda current_piece + sta current_piece_78 + lda current_piece+1 + sta current_piece_78+1 + //SEG374 [177] call play_collision + //SEG375 [147] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] + play_collision_from_b7: + //SEG376 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy + //SEG377 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy + //SEG378 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy + //SEG379 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_leftright::@7->play_collision#3] -- register_copy + jsr play_collision + //SEG380 [178] (byte) play_collision::return#12 ← (byte) play_collision::return#14 + // (byte) play_collision::return#12 = (byte) play_collision::return#14 // register copy reg byte a + jmp b15 + //SEG381 play_move_leftright::@15 + b15: + //SEG382 [179] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 + // (byte~) play_move_leftright::$4 = (byte) play_collision::return#12 // register copy reg byte a + //SEG383 [180] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + cmp #COLLISION_NONE + bne breturn_from_b15 + jmp b8 + //SEG384 play_move_leftright::@8 + b8: + //SEG385 [181] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 + inc current_xpos + //SEG386 [182] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] + breturn_from_b11: + breturn_from_b8: + //SEG387 [182] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy + //SEG388 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuaa=vbuc1 + lda #1 + jmp breturn + //SEG389 [182] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] + breturn_from_b14: + breturn_from_b15: + breturn_from_b6: + //SEG390 [182] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy + //SEG391 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuaa=vbuc1 + lda #0 + jmp breturn + //SEG392 play_move_leftright::@return + breturn: + //SEG393 [183] return + rts + //SEG394 play_move_leftright::@1 + b1: + //SEG395 [184] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 + ldx current_xpos + dex + stx play_collision.xpos + //SEG396 [185] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + ldy current_ypos + //SEG397 [186] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuxx=vbuz1 + ldx current_orientation + //SEG398 [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece sta current_piece_77 lda current_piece+1 sta current_piece_77+1 - //SEG342 [159] call play_collision - //SEG343 [129] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] - play_collision_from_b7: - //SEG344 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy - //SEG345 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy - //SEG346 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy - //SEG347 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@7->play_collision#3] -- register_copy - jsr play_collision - //SEG348 [160] (byte) play_collision::return#12 ← (byte) play_collision::return#14 - // (byte) play_collision::return#12 = (byte) play_collision::return#14 // register copy reg byte a - jmp b15 - //SEG349 play_move_leftright::@15 - b15: - //SEG350 [161] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 - // (byte~) play_move_leftright::$4 = (byte) play_collision::return#12 // register copy reg byte a - //SEG351 [162] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 - cmp #COLLISION_NONE - bne breturn_from_b15 - jmp b8 - //SEG352 play_move_leftright::@8 - b8: - //SEG353 [163] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 - inc current_xpos - //SEG354 [164] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] - breturn_from_b11: - breturn_from_b8: - //SEG355 [164] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy - //SEG356 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuaa=vbuc1 - lda #1 - jmp breturn - //SEG357 [164] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] - breturn_from_b14: - breturn_from_b15: - breturn_from_b6: - //SEG358 [164] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy - //SEG359 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuaa=vbuc1 - lda #0 - jmp breturn - //SEG360 play_move_leftright::@return - breturn: - //SEG361 [165] return - rts - //SEG362 play_move_leftright::@1 - b1: - //SEG363 [166] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 - ldx current_xpos - dex - stx play_collision.xpos - //SEG364 [167] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuyy=vbuz1 - ldy current_ypos - //SEG365 [168] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuxx=vbuz1 - ldx current_orientation - //SEG366 [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 -- pbuz1=pbuz2 - lda current_piece - sta current_piece_76 - lda current_piece+1 - sta current_piece_76+1 - //SEG367 [170] call play_collision - //SEG368 [129] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] + //SEG399 [188] call play_collision + //SEG400 [147] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] play_collision_from_b1: - //SEG369 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy - //SEG370 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy - //SEG371 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy - //SEG372 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_leftright::@1->play_collision#3] -- register_copy + //SEG401 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy + //SEG402 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy + //SEG403 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy + //SEG404 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@1->play_collision#3] -- register_copy jsr play_collision - //SEG373 [171] (byte) play_collision::return#1 ← (byte) play_collision::return#14 + //SEG405 [189] (byte) play_collision::return#1 ← (byte) play_collision::return#14 // (byte) play_collision::return#1 = (byte) play_collision::return#14 // register copy reg byte a jmp b14 - //SEG374 play_move_leftright::@14 + //SEG406 play_move_leftright::@14 b14: - //SEG375 [172] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 + //SEG407 [190] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 // (byte~) play_move_leftright::$8 = (byte) play_collision::return#1 // register copy reg byte a - //SEG376 [173] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG408 [191] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 cmp #COLLISION_NONE bne breturn_from_b14 jmp b11 - //SEG377 play_move_leftright::@11 + //SEG409 play_move_leftright::@11 b11: - //SEG378 [174] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 + //SEG410 [192] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 dec current_xpos jmp breturn_from_b11 } -//SEG379 play_move_down +//SEG411 play_move_down play_move_down: { - //SEG380 [175] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 + //SEG412 [193] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 inc current_movedown_counter - //SEG381 [176] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuaa_neq_vbuc1_then_la1 + //SEG413 [194] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuaa_neq_vbuc1_then_la1 cmp #KEY_SPACE bne b1_from_play_move_down - //SEG382 [177] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] + //SEG414 [195] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] b8_from_play_move_down: jmp b8 - //SEG383 play_move_down::@8 + //SEG415 play_move_down::@8 b8: - //SEG384 [178] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] + //SEG416 [196] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] b1_from_b8: - //SEG385 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuxx=vbuc1 + //SEG417 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuxx=vbuc1 ldx #1 jmp b1 - //SEG386 [178] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] + //SEG418 [196] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] b1_from_play_move_down: - //SEG387 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuxx=vbuc1 + //SEG419 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuxx=vbuc1 ldx #0 jmp b1 - //SEG388 play_move_down::@1 + //SEG420 play_move_down::@1 b1: - //SEG389 [179] call keyboard_event_pressed - //SEG390 [277] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] + //SEG421 [197] call keyboard_event_pressed + //SEG422 [295] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] keyboard_event_pressed_from_b1: - //SEG391 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG423 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_SPACE sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG392 [180] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 + //SEG424 [198] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#12 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a jmp b17 - //SEG393 play_move_down::@17 + //SEG425 play_move_down::@17 b17: - //SEG394 [181] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 + //SEG426 [199] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 // (byte~) play_move_down::$2 = (byte) keyboard_event_pressed::return#12 // register copy reg byte a - //SEG395 [182] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuaa_eq_0_then_la1 + //SEG427 [200] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuaa_eq_0_then_la1 cmp #0 beq b2_from_b17 jmp b9 - //SEG396 play_move_down::@9 + //SEG428 play_move_down::@9 b9: - //SEG397 [183] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 + //SEG429 [201] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 lda current_movedown_counter cmp #current_movedown_fast bcc b2_from_b9 jmp b10 - //SEG398 play_move_down::@10 + //SEG430 play_move_down::@10 b10: - //SEG399 [184] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuxx=_inc_vbuxx + //SEG431 [202] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuxx=_inc_vbuxx inx - //SEG400 [185] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] + //SEG432 [203] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] b2_from_b10: b2_from_b17: b2_from_b9: - //SEG401 [185] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy + //SEG433 [203] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy jmp b2 - //SEG402 play_move_down::@2 + //SEG434 play_move_down::@2 b2: - //SEG403 [186] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 + //SEG435 [204] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 lda current_movedown_counter cmp #current_movedown_slow bcc b4_from_b2 jmp b11 - //SEG404 play_move_down::@11 + //SEG436 play_move_down::@11 b11: - //SEG405 [187] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuxx=_inc_vbuxx + //SEG437 [205] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuxx=_inc_vbuxx inx - //SEG406 [188] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] + //SEG438 [206] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] b4_from_b11: b4_from_b2: - //SEG407 [188] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy + //SEG439 [206] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy jmp b4 - //SEG408 play_move_down::@4 + //SEG440 play_move_down::@4 b4: - //SEG409 [189] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuxx_eq_0_then_la1 + //SEG441 [207] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuxx_eq_0_then_la1 cpx #0 beq breturn_from_b4 jmp b12 - //SEG410 play_move_down::@12 + //SEG442 play_move_down::@12 b12: - //SEG411 [190] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuyy=vbuz1_plus_1 + //SEG443 [208] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuyy=vbuz1_plus_1 ldy current_ypos iny - //SEG412 [191] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + //SEG444 [209] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 lda current_xpos sta play_collision.xpos - //SEG413 [192] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuxx=vbuz1 + //SEG445 [210] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuxx=vbuz1 ldx current_orientation - //SEG414 [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 -- pbuz1=pbuz2 + //SEG446 [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 -- pbuz1=pbuz2 lda current_piece - sta current_piece_75 + sta current_piece_76 lda current_piece+1 - sta current_piece_75+1 - //SEG415 [194] call play_collision - //SEG416 [129] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] + sta current_piece_76+1 + //SEG447 [212] call play_collision + //SEG448 [147] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] play_collision_from_b12: - //SEG417 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy - //SEG418 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy - //SEG419 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy - //SEG420 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#75 [phi:play_move_down::@12->play_collision#3] -- register_copy + //SEG449 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy + //SEG450 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy + //SEG451 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy + //SEG452 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_down::@12->play_collision#3] -- register_copy jsr play_collision - //SEG421 [195] (byte) play_collision::return#0 ← (byte) play_collision::return#14 + //SEG453 [213] (byte) play_collision::return#0 ← (byte) play_collision::return#14 // (byte) play_collision::return#0 = (byte) play_collision::return#14 // register copy reg byte a jmp b18 - //SEG422 play_move_down::@18 + //SEG454 play_move_down::@18 b18: - //SEG423 [196] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 + //SEG455 [214] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 // (byte~) play_move_down::$12 = (byte) play_collision::return#0 // register copy reg byte a - //SEG424 [197] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuaa_eq_vbuc1_then_la1 + //SEG456 [215] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuaa_eq_vbuc1_then_la1 cmp #COLLISION_NONE beq b6 - //SEG425 [198] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] + //SEG457 [216] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] b13_from_b18: jmp b13 - //SEG426 play_move_down::@13 + //SEG458 play_move_down::@13 b13: - //SEG427 [199] call play_lock_current + //SEG459 [217] call play_lock_current jsr play_lock_current - //SEG428 [200] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] + //SEG460 [218] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] b19_from_b13: jmp b19 - //SEG429 play_move_down::@19 + //SEG461 play_move_down::@19 b19: - //SEG430 [201] call play_remove_lines - //SEG431 [237] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] + //SEG462 [219] call play_remove_lines + //SEG463 [255] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] play_remove_lines_from_b19: jsr play_remove_lines - //SEG432 [202] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuaa=vbuz1 + //SEG464 [220] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuaa=vbuz1 lda play_remove_lines.removed jmp b20 - //SEG433 play_move_down::@20 + //SEG465 play_move_down::@20 b20: - //SEG434 [203] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 + //SEG466 [221] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 // (byte) play_move_down::removed#0 = (byte) play_remove_lines::return#0 // register copy reg byte a - //SEG435 [204] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 + //SEG467 [222] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 // (byte) play_update_score::removed#0 = (byte) play_move_down::removed#0 // register copy reg byte a - //SEG436 [205] call play_update_score + //SEG468 [223] call play_update_score jsr play_update_score - //SEG437 [206] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] + //SEG469 [224] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] b21_from_b20: jmp b21 - //SEG438 play_move_down::@21 + //SEG470 play_move_down::@21 b21: - //SEG439 [207] call play_spawn_current - //SEG440 [213] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] + //SEG471 [225] call play_spawn_current + //SEG472 [231] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] play_spawn_current_from_b21: jsr play_spawn_current - //SEG441 [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG473 [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece lda PIECES+1,y sta current_piece+1 - //SEG442 [209] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] + //SEG474 [227] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] b7_from_b21: - //SEG443 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy - //SEG444 [209] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy - //SEG445 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy - //SEG446 [209] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 + //SEG475 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy + //SEG476 [227] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy + //SEG477 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy + //SEG478 [227] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 lda #0 sta current_orientation - //SEG447 [209] phi (byte*) current_piece#20 = (byte*~) current_piece#79 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy - //SEG448 [209] phi (dword) score_bcd#17 = (dword) score_bcd#11 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy - //SEG449 [209] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy + //SEG479 [227] phi (byte*) current_piece#20 = (byte*~) current_piece#80 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy + //SEG480 [227] phi (dword) score_bcd#20 = (dword) score_bcd#12 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy + //SEG481 [227] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy jmp b7 - //SEG450 play_move_down::@7 + //SEG482 play_move_down::@7 b7: - //SEG451 [210] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] + //SEG483 [228] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] breturn_from_b7: - //SEG452 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy - //SEG453 [210] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy - //SEG454 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy - //SEG455 [210] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy - //SEG456 [210] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy - //SEG457 [210] phi (dword) score_bcd#2 = (dword) score_bcd#17 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy - //SEG458 [210] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy - //SEG459 [210] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 + //SEG484 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy + //SEG485 [228] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy + //SEG486 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy + //SEG487 [228] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy + //SEG488 [228] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy + //SEG489 [228] phi (dword) score_bcd#10 = (dword) score_bcd#20 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy + //SEG490 [228] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy + //SEG491 [228] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 lda #0 sta current_movedown_counter - //SEG460 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuxx=vbuc1 + //SEG492 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuxx=vbuc1 ldx #1 jmp breturn - //SEG461 [210] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] + //SEG493 [228] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] breturn_from_b4: - //SEG462 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy - //SEG463 [210] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy - //SEG464 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy - //SEG465 [210] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy - //SEG466 [210] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy - //SEG467 [210] phi (dword) score_bcd#2 = (dword) score_bcd#13 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy - //SEG468 [210] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy - //SEG469 [210] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy - //SEG470 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuxx=vbuc1 + //SEG494 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy + //SEG495 [228] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy + //SEG496 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy + //SEG497 [228] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy + //SEG498 [228] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy + //SEG499 [228] phi (dword) score_bcd#10 = (dword) score_bcd#14 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy + //SEG500 [228] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy + //SEG501 [228] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy + //SEG502 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuxx=vbuc1 ldx #0 jmp breturn - //SEG471 play_move_down::@return + //SEG503 play_move_down::@return breturn: - //SEG472 [211] return + //SEG504 [229] return rts - //SEG473 play_move_down::@6 + //SEG505 play_move_down::@6 b6: - //SEG474 [212] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 + //SEG506 [230] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 inc current_ypos - //SEG475 [209] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] + //SEG507 [227] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] b7_from_b6: - //SEG476 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy - //SEG477 [209] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy - //SEG478 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy - //SEG479 [209] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy - //SEG480 [209] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy - //SEG481 [209] phi (dword) score_bcd#17 = (dword) score_bcd#13 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy - //SEG482 [209] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy + //SEG508 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy + //SEG509 [227] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy + //SEG510 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy + //SEG511 [227] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy + //SEG512 [227] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy + //SEG513 [227] phi (dword) score_bcd#20 = (dword) score_bcd#14 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy + //SEG514 [227] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy jmp b7 } -//SEG483 play_spawn_current +//SEG515 play_spawn_current play_spawn_current: { .label _3 = 4 - //SEG484 [214] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] + //SEG516 [232] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] b1_from_play_spawn_current: - //SEG485 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuxx=vbuc1 + //SEG517 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuxx=vbuc1 ldx #7 jmp b1 - //SEG486 play_spawn_current::@1 + //SEG518 play_spawn_current::@1 b1: - //SEG487 [215] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuxx_eq_vbuc1_then_la1 + //SEG519 [233] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuxx_eq_vbuc1_then_la1 cpx #7 beq b2_from_b1 jmp b3 - //SEG488 play_spawn_current::@3 + //SEG520 play_spawn_current::@3 b3: - //SEG489 [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuxx_rol_1 + //SEG521 [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuxx_rol_1 txa asl sta _3 - //SEG490 [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 + //SEG522 [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 ldy _3 lda PIECES,y sta current_piece_gfx lda PIECES+1,y sta current_piece_gfx+1 - //SEG491 [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG523 [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_START_X,x sta current_xpos - //SEG492 [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG524 [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_START_Y,x sta current_ypos - //SEG493 [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG525 [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_CHARS,x sta current_piece_char jmp breturn - //SEG494 play_spawn_current::@return + //SEG526 play_spawn_current::@return breturn: - //SEG495 [221] return + //SEG527 [239] return rts - //SEG496 [222] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] + //SEG528 [240] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] b2_from_b1: jmp b2 - //SEG497 play_spawn_current::@2 + //SEG529 play_spawn_current::@2 b2: - //SEG498 [223] call sid_rnd + //SEG530 [241] call sid_rnd jsr sid_rnd - //SEG499 [224] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 + //SEG531 [242] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 // (byte) sid_rnd::return#2 = (byte) sid_rnd::return#0 // register copy reg byte a jmp b7 - //SEG500 play_spawn_current::@7 + //SEG532 play_spawn_current::@7 b7: - //SEG501 [225] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 + //SEG533 [243] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 // (byte~) play_spawn_current::$1 = (byte) sid_rnd::return#2 // register copy reg byte a - //SEG502 [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuxx=vbuaa_band_vbuc1 + //SEG534 [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuxx=vbuaa_band_vbuc1 and #7 tax - //SEG503 [214] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] + //SEG535 [232] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] b1_from_b7: - //SEG504 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy + //SEG536 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy jmp b1 } -//SEG505 sid_rnd +//SEG537 sid_rnd sid_rnd: { - //SEG506 [227] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuaa=_deref_pbuc1 + //SEG538 [245] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuaa=_deref_pbuc1 lda SID_VOICE3_OSC jmp breturn - //SEG507 sid_rnd::@return + //SEG539 sid_rnd::@return breturn: - //SEG508 [228] return + //SEG540 [246] return rts } -//SEG509 play_update_score +//SEG541 play_update_score play_update_score: { .label add_bcd = $24 - //SEG510 [229] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuaa_eq_0_then_la1 + //SEG542 [247] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuaa_eq_0_then_la1 cmp #0 beq breturn_from_play_update_score jmp b2 - //SEG511 play_update_score::@2 + //SEG543 play_update_score::@2 b2: - //SEG512 [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuaa=vbuaa_rol_2 + //SEG544 [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuaa=vbuaa_rol_2 asl asl - //SEG513 [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuaa + //SEG545 [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuaa tay lda score_add_bcd,y sta add_bcd @@ -14649,9 +15173,9 @@ play_update_score: { sta add_bcd+2 lda score_add_bcd+3,y sta add_bcd+3 - //SEG514 asm { sed } + //SEG546 asm { sed } sed - //SEG515 [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 + //SEG547 [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 lda score_bcd clc adc add_bcd @@ -14665,694 +15189,694 @@ play_update_score: { lda score_bcd+3 adc add_bcd+3 sta score_bcd+3 - //SEG516 asm { cld } + //SEG548 asm { cld } cld - //SEG517 [235] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] + //SEG549 [253] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] breturn_from_play_update_score: breturn_from_b2: - //SEG518 [235] phi (dword) score_bcd#11 = (dword) score_bcd#13 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy + //SEG550 [253] phi (dword) score_bcd#12 = (dword) score_bcd#14 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy jmp breturn - //SEG519 play_update_score::@return + //SEG551 play_update_score::@return breturn: - //SEG520 [236] return + //SEG552 [254] return rts } -//SEG521 play_remove_lines +//SEG553 play_remove_lines play_remove_lines: { .label c = $a - .label x = 6 + .label x = 8 .label y = 4 - .label removed = 5 + .label removed = 7 .label full = 9 - //SEG522 [238] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] + //SEG554 [256] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] b1_from_play_remove_lines: - //SEG523 [238] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 + //SEG555 [256] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 lda #0 sta removed - //SEG524 [238] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 + //SEG556 [256] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 lda #0 sta y - //SEG525 [238] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuxx=vbuc1 + //SEG557 [256] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuxx=vbuc1 ldx #PLAYFIELD_LINES*PLAYFIELD_COLS-1 - //SEG526 [238] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuyy=vbuc1 + //SEG558 [256] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuyy=vbuc1 ldy #PLAYFIELD_LINES*PLAYFIELD_COLS-1 jmp b1 - //SEG527 [238] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] + //SEG559 [256] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] b1_from_b4: - //SEG528 [238] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy - //SEG529 [238] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy - //SEG530 [238] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy - //SEG531 [238] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy + //SEG560 [256] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy + //SEG561 [256] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy + //SEG562 [256] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy + //SEG563 [256] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy jmp b1 - //SEG532 play_remove_lines::@1 + //SEG564 play_remove_lines::@1 b1: - //SEG533 [239] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] + //SEG565 [257] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] b2_from_b1: - //SEG534 [239] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 + //SEG566 [257] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 lda #1 sta full - //SEG535 [239] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 + //SEG567 [257] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 lda #0 sta x - //SEG536 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy - //SEG537 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy + //SEG568 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy + //SEG569 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy jmp b2 - //SEG538 [239] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] + //SEG570 [257] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] b2_from_b3: - //SEG539 [239] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy - //SEG540 [239] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy - //SEG541 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy - //SEG542 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy + //SEG571 [257] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy + //SEG572 [257] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy + //SEG573 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy + //SEG574 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy jmp b2 - //SEG543 play_remove_lines::@2 + //SEG575 play_remove_lines::@2 b2: - //SEG544 [240] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuyy + //SEG576 [258] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuyy lda playfield,y sta c - //SEG545 [241] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuyy=_dec_vbuyy + //SEG577 [259] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuyy=_dec_vbuyy dey - //SEG546 [242] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 + //SEG578 [260] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 lda c cmp #0 bne b18_from_b2 - //SEG547 [243] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] + //SEG579 [261] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] b3_from_b2: - //SEG548 [243] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 + //SEG580 [261] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 lda #0 sta full jmp b3 - //SEG549 play_remove_lines::@3 + //SEG581 play_remove_lines::@3 b3: - //SEG550 [244] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuxx=vbuz1 + //SEG582 [262] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuxx=vbuz1 lda c sta playfield,x - //SEG551 [245] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuxx=_dec_vbuxx + //SEG583 [263] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuxx=_dec_vbuxx dex - //SEG552 [246] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 + //SEG584 [264] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 inc x - //SEG553 [247] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG585 [265] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #PLAYFIELD_COLS-1+1 bne b2_from_b3 jmp b9 - //SEG554 play_remove_lines::@9 + //SEG586 play_remove_lines::@9 b9: - //SEG555 [248] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG587 [266] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 lda full cmp #1 bne b4_from_b9 jmp b10 - //SEG556 play_remove_lines::@10 + //SEG588 play_remove_lines::@10 b10: - //SEG557 [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuxx=vbuxx_plus_vbuc1 + //SEG589 [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuxx=vbuxx_plus_vbuc1 txa clc adc #PLAYFIELD_COLS tax - //SEG558 [250] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 + //SEG590 [268] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 inc removed - //SEG559 [251] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] + //SEG591 [269] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] b4_from_b10: b4_from_b9: - //SEG560 [251] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy - //SEG561 [251] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy + //SEG592 [269] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy + //SEG593 [269] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy jmp b4 - //SEG562 play_remove_lines::@4 + //SEG594 play_remove_lines::@4 b4: - //SEG563 [252] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 + //SEG595 [270] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 inc y - //SEG564 [253] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG596 [271] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #PLAYFIELD_LINES-1+1 bne b1_from_b4 - //SEG565 [254] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] + //SEG597 [272] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] b5_from_b4: b5_from_b6: - //SEG566 [254] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy + //SEG598 [272] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy jmp b5 - //SEG567 play_remove_lines::@5 + //SEG599 play_remove_lines::@5 b5: - //SEG568 [255] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuxx_neq_vbuc1_then_la1 + //SEG600 [273] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuxx_neq_vbuc1_then_la1 cpx #$ff bne b6 jmp breturn - //SEG569 play_remove_lines::@return + //SEG601 play_remove_lines::@return breturn: - //SEG570 [256] return + //SEG602 [274] return rts - //SEG571 play_remove_lines::@6 + //SEG603 play_remove_lines::@6 b6: - //SEG572 [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuxx=vbuc2 + //SEG604 [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuxx=vbuc2 lda #0 sta playfield,x - //SEG573 [258] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuxx=_dec_vbuxx + //SEG605 [276] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuxx=_dec_vbuxx dex jmp b5_from_b6 - //SEG574 [259] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] + //SEG606 [277] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] b18_from_b2: jmp b18 - //SEG575 play_remove_lines::@18 + //SEG607 play_remove_lines::@18 b18: - //SEG576 [243] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] + //SEG608 [261] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] b3_from_b18: - //SEG577 [243] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy + //SEG609 [261] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy jmp b3 } -//SEG578 play_lock_current +//SEG610 play_lock_current play_lock_current: { .label ypos2 = $e - .label playfield_line = 7 - .label col = 6 + .label playfield_line = 5 + .label col = 8 .label i = 9 .label l = 4 - .label i_2 = 5 - .label i_3 = 5 - .label i_7 = 5 - .label i_9 = 5 - //SEG579 [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_rol_1 + .label i_2 = 7 + .label i_3 = 7 + .label i_7 = 7 + .label i_9 = 7 + //SEG611 [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_rol_1 asl ypos2 - //SEG580 [261] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] + //SEG612 [279] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] b1_from_play_lock_current: - //SEG581 [261] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 + //SEG613 [279] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG582 [261] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 + //SEG614 [279] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 lda #0 sta i_3 - //SEG583 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy + //SEG615 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy jmp b1 - //SEG584 play_lock_current::@1 + //SEG616 play_lock_current::@1 b1: - //SEG585 [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG617 [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG586 [263] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + //SEG618 [281] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 lda current_xpos sta col - //SEG587 [264] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] + //SEG619 [282] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] b2_from_b1: - //SEG588 [264] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuxx=vbuc1 + //SEG620 [282] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG589 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy - //SEG590 [264] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy + //SEG621 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy + //SEG622 [282] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy jmp b2 - //SEG591 play_lock_current::@2 + //SEG623 play_lock_current::@2 b2: - //SEG592 [265] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 + //SEG624 [283] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG593 [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG625 [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (current_piece_gfx),y cmp #0 beq b3 jmp b4 - //SEG594 play_lock_current::@4 + //SEG626 play_lock_current::@4 b4: - //SEG595 [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 + //SEG627 [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 lda current_piece_char ldy col sta (playfield_line),y jmp b3 - //SEG596 play_lock_current::@3 + //SEG628 play_lock_current::@3 b3: - //SEG597 [268] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 + //SEG629 [286] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG598 [269] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuxx=_inc_vbuxx + //SEG630 [287] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuxx=_inc_vbuxx inx - //SEG599 [270] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuxx_neq_vbuc1_then_la1 + //SEG631 [288] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b8 jmp b5 - //SEG600 play_lock_current::@5 + //SEG632 play_lock_current::@5 b5: - //SEG601 [271] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG633 [289] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG602 [272] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 + //SEG634 [290] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG603 [273] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 + //SEG635 [291] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b7 jmp breturn - //SEG604 play_lock_current::@return + //SEG636 play_lock_current::@return breturn: - //SEG605 [274] return + //SEG637 [292] return rts - //SEG606 play_lock_current::@7 + //SEG638 play_lock_current::@7 b7: - //SEG607 [275] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG639 [293] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_7 - //SEG608 [261] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] + //SEG640 [279] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] b1_from_b7: - //SEG609 [261] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy - //SEG610 [261] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy - //SEG611 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy + //SEG641 [279] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy + //SEG642 [279] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy + //SEG643 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy jmp b1 - //SEG612 play_lock_current::@8 + //SEG644 play_lock_current::@8 b8: - //SEG613 [276] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG645 [294] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_9 - //SEG614 [264] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] + //SEG646 [282] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] b2_from_b8: - //SEG615 [264] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy - //SEG616 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy - //SEG617 [264] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy + //SEG647 [282] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy + //SEG648 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy + //SEG649 [282] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy jmp b2 } -//SEG618 keyboard_event_pressed +//SEG650 keyboard_event_pressed keyboard_event_pressed: { - .label row_bits = 6 - .label keycode = 5 - //SEG619 [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuaa=vbuz1_ror_3 + .label row_bits = 8 + .label keycode = 7 + //SEG651 [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuaa=vbuz1_ror_3 lda keycode lsr lsr lsr - //SEG620 [279] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuaa + //SEG652 [297] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuaa tay lda keyboard_scan_values,y sta row_bits - //SEG621 [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuz1_band_vbuc1 + //SEG653 [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuz1_band_vbuc1 lda #7 and keycode - //SEG622 [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuaa + //SEG654 [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuaa tay lda keyboard_matrix_col_bitmask,y and row_bits jmp breturn - //SEG623 keyboard_event_pressed::@return + //SEG655 keyboard_event_pressed::@return breturn: - //SEG624 [282] return + //SEG656 [300] return rts } -//SEG625 keyboard_event_get +//SEG657 keyboard_event_get keyboard_event_get: { - //SEG626 [283] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 + //SEG658 [301] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 lda keyboard_events_size cmp #0 beq breturn_from_keyboard_event_get jmp b3 - //SEG627 keyboard_event_get::@3 + //SEG659 keyboard_event_get::@3 b3: - //SEG628 [284] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 + //SEG660 [302] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 dec keyboard_events_size - //SEG629 [285] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuaa=pbuc1_derefidx_vbuz1 + //SEG661 [303] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuaa=pbuc1_derefidx_vbuz1 ldy keyboard_events_size lda keyboard_events,y - //SEG630 [286] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] + //SEG662 [304] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] breturn_from_b3: - //SEG631 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy - //SEG632 [286] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy + //SEG663 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy + //SEG664 [304] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy jmp breturn - //SEG633 [286] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] + //SEG665 [304] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] breturn_from_keyboard_event_get: - //SEG634 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy - //SEG635 [286] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuaa=vbuc1 + //SEG666 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy + //SEG667 [304] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuaa=vbuc1 lda #$ff jmp breturn - //SEG636 keyboard_event_get::@return + //SEG668 keyboard_event_get::@return breturn: - //SEG637 [287] return + //SEG669 [305] return rts } -//SEG638 keyboard_event_scan +//SEG670 keyboard_event_scan keyboard_event_scan: { .label row_scan = 9 - .label keycode = 6 - .label row = 5 - //SEG639 [289] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] + .label keycode = 8 + .label row = 7 + //SEG671 [307] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] b1_from_keyboard_event_scan: - //SEG640 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy - //SEG641 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 + //SEG672 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy + //SEG673 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 lda #0 sta keycode - //SEG642 [289] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 + //SEG674 [307] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 lda #0 sta row jmp b1 - //SEG643 [289] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] + //SEG675 [307] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] b1_from_b3: - //SEG644 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy - //SEG645 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy - //SEG646 [289] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy + //SEG676 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy + //SEG677 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy + //SEG678 [307] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy jmp b1 - //SEG647 keyboard_event_scan::@1 + //SEG679 keyboard_event_scan::@1 b1: - //SEG648 [290] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuxx=vbuz1 + //SEG680 [308] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuxx=vbuz1 ldx row - //SEG649 [291] call keyboard_matrix_read + //SEG681 [309] call keyboard_matrix_read jsr keyboard_matrix_read - //SEG650 [292] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 + //SEG682 [310] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 // (byte) keyboard_matrix_read::return#2 = (byte) keyboard_matrix_read::return#0 // register copy reg byte a jmp b25 - //SEG651 keyboard_event_scan::@25 + //SEG683 keyboard_event_scan::@25 b25: - //SEG652 [293] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuaa + //SEG684 [311] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuaa sta row_scan - //SEG653 [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 + //SEG685 [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 lda row_scan ldy row cmp keyboard_scan_values,y bne b4_from_b25 jmp b13 - //SEG654 keyboard_event_scan::@13 + //SEG686 keyboard_event_scan::@13 b13: - //SEG655 [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 + //SEG687 [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 lda #8 clc adc keycode sta keycode - //SEG656 [296] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] + //SEG688 [314] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] b3_from_b13: b3_from_b19: - //SEG657 [296] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy - //SEG658 [296] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy + //SEG689 [314] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy + //SEG690 [314] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy jmp b3 - //SEG659 keyboard_event_scan::@3 + //SEG691 keyboard_event_scan::@3 b3: - //SEG660 [297] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 + //SEG692 [315] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 inc row - //SEG661 [298] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG693 [316] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 lda row cmp #8 bne b1_from_b3 - //SEG662 [299] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] + //SEG694 [317] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] b20_from_b3: jmp b20 - //SEG663 keyboard_event_scan::@20 + //SEG695 keyboard_event_scan::@20 b20: - //SEG664 [300] call keyboard_event_pressed - //SEG665 [277] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] + //SEG696 [318] call keyboard_event_pressed + //SEG697 [295] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] keyboard_event_pressed_from_b20: - //SEG666 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG698 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_LSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG667 [301] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 + //SEG699 [319] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#0 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a jmp b26 - //SEG668 keyboard_event_scan::@26 + //SEG700 keyboard_event_scan::@26 b26: - //SEG669 [302] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 + //SEG701 [320] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 // (byte~) keyboard_event_scan::$14 = (byte) keyboard_event_pressed::return#0 // register copy reg byte a - //SEG670 [303] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuaa_eq_0_then_la1 + //SEG702 [321] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuaa_eq_0_then_la1 cmp #0 beq b9_from_b26 - //SEG671 [304] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] + //SEG703 [322] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] b21_from_b26: jmp b21 - //SEG672 keyboard_event_scan::@21 + //SEG704 keyboard_event_scan::@21 b21: - //SEG673 [305] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] + //SEG705 [323] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] b9_from_b21: - //SEG674 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 + //SEG706 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 ldx #0|KEY_MODIFIER_LSHIFT jmp b9 - //SEG675 [305] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] + //SEG707 [323] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] b9_from_b26: - //SEG676 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 + //SEG708 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 ldx #0 jmp b9 - //SEG677 keyboard_event_scan::@9 + //SEG709 keyboard_event_scan::@9 b9: - //SEG678 [306] call keyboard_event_pressed - //SEG679 [277] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] + //SEG710 [324] call keyboard_event_pressed + //SEG711 [295] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] keyboard_event_pressed_from_b9: - //SEG680 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG712 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_RSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG681 [307] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 + //SEG713 [325] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#1 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a jmp b27 - //SEG682 keyboard_event_scan::@27 + //SEG714 keyboard_event_scan::@27 b27: - //SEG683 [308] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 + //SEG715 [326] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 // (byte~) keyboard_event_scan::$18 = (byte) keyboard_event_pressed::return#1 // register copy reg byte a - //SEG684 [309] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuaa_eq_0_then_la1 + //SEG716 [327] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuaa_eq_0_then_la1 cmp #0 beq b10_from_b27 jmp b22 - //SEG685 keyboard_event_scan::@22 + //SEG717 keyboard_event_scan::@22 b22: - //SEG686 [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuxx=vbuxx_bor_vbuc1 + //SEG718 [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuxx=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_RSHIFT tax - //SEG687 [311] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] + //SEG719 [329] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] b10_from_b22: b10_from_b27: - //SEG688 [311] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy + //SEG720 [329] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy jmp b10 - //SEG689 keyboard_event_scan::@10 + //SEG721 keyboard_event_scan::@10 b10: - //SEG690 [312] call keyboard_event_pressed - //SEG691 [277] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] + //SEG722 [330] call keyboard_event_pressed + //SEG723 [295] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] keyboard_event_pressed_from_b10: - //SEG692 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG724 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_CTRL sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG693 [313] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 + //SEG725 [331] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#2 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a jmp b28 - //SEG694 keyboard_event_scan::@28 + //SEG726 keyboard_event_scan::@28 b28: - //SEG695 [314] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 + //SEG727 [332] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 // (byte~) keyboard_event_scan::$22 = (byte) keyboard_event_pressed::return#2 // register copy reg byte a - //SEG696 [315] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuaa_eq_0_then_la1 + //SEG728 [333] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuaa_eq_0_then_la1 cmp #0 beq b11_from_b28 jmp b23 - //SEG697 keyboard_event_scan::@23 + //SEG729 keyboard_event_scan::@23 b23: - //SEG698 [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuxx=vbuxx_bor_vbuc1 + //SEG730 [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuxx=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_CTRL tax - //SEG699 [317] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] + //SEG731 [335] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] b11_from_b23: b11_from_b28: - //SEG700 [317] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy + //SEG732 [335] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy jmp b11 - //SEG701 keyboard_event_scan::@11 + //SEG733 keyboard_event_scan::@11 b11: - //SEG702 [318] call keyboard_event_pressed - //SEG703 [277] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] + //SEG734 [336] call keyboard_event_pressed + //SEG735 [295] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] keyboard_event_pressed_from_b11: - //SEG704 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG736 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_COMMODORE sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG705 [319] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 + //SEG737 [337] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#10 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a jmp b29 - //SEG706 keyboard_event_scan::@29 + //SEG738 keyboard_event_scan::@29 b29: - //SEG707 [320] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 + //SEG739 [338] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 // (byte~) keyboard_event_scan::$26 = (byte) keyboard_event_pressed::return#10 // register copy reg byte a - //SEG708 [321] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuaa_eq_0_then_la1 + //SEG740 [339] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuaa_eq_0_then_la1 cmp #0 beq breturn jmp b24 - //SEG709 keyboard_event_scan::@24 + //SEG741 keyboard_event_scan::@24 b24: - //SEG710 [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuaa=vbuxx_bor_vbuc1 + //SEG742 [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuaa=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_COMMODORE jmp breturn - //SEG711 keyboard_event_scan::@return + //SEG743 keyboard_event_scan::@return breturn: - //SEG712 [323] return + //SEG744 [341] return rts - //SEG713 [324] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] + //SEG745 [342] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] b4_from_b25: - //SEG714 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy - //SEG715 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy - //SEG716 [324] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuxx=vbuc1 + //SEG746 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy + //SEG747 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy + //SEG748 [342] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuxx=vbuc1 ldx #0 jmp b4 - //SEG717 [324] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] + //SEG749 [342] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] b4_from_b5: - //SEG718 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy - //SEG719 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy - //SEG720 [324] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy + //SEG750 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy + //SEG751 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy + //SEG752 [342] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy jmp b4 - //SEG721 keyboard_event_scan::@4 + //SEG753 keyboard_event_scan::@4 b4: - //SEG722 [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuaa=vbuz1_bxor_pbuc1_derefidx_vbuz2 + //SEG754 [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuaa=vbuz1_bxor_pbuc1_derefidx_vbuz2 lda row_scan ldy row eor keyboard_scan_values,y - //SEG723 [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuaa_band_pbuc1_derefidx_vbuxx + //SEG755 [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuaa_band_pbuc1_derefidx_vbuxx and keyboard_matrix_col_bitmask,x - //SEG724 [327] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuaa_eq_0_then_la1 + //SEG756 [345] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5_from_b4 jmp b15 - //SEG725 keyboard_event_scan::@15 + //SEG757 keyboard_event_scan::@15 b15: - //SEG726 [328] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 + //SEG758 [346] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 lda keyboard_events_size cmp #8 beq b5_from_b15 jmp b16 - //SEG727 keyboard_event_scan::@16 + //SEG759 keyboard_event_scan::@16 b16: - //SEG728 [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuxx + //SEG760 [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuxx lda keyboard_matrix_col_bitmask,x and row_scan - //SEG729 [330] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuaa_eq_0_then_la1 + //SEG761 [348] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuaa_eq_0_then_la1 cmp #0 beq b7 jmp b17 - //SEG730 keyboard_event_scan::@17 + //SEG762 keyboard_event_scan::@17 b17: - //SEG731 [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG763 [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 lda keycode ldy keyboard_events_size sta keyboard_events,y - //SEG732 [332] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG764 [350] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size - //SEG733 [333] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] + //SEG765 [351] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] b5_from_b15: b5_from_b17: b5_from_b4: b5_from_b7: - //SEG734 [333] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy + //SEG766 [351] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy jmp b5 - //SEG735 keyboard_event_scan::@5 + //SEG767 keyboard_event_scan::@5 b5: - //SEG736 [334] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 + //SEG768 [352] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 inc keycode - //SEG737 [335] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuxx=_inc_vbuxx + //SEG769 [353] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuxx=_inc_vbuxx inx - //SEG738 [336] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuxx_neq_vbuc1_then_la1 + //SEG770 [354] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuxx_neq_vbuc1_then_la1 cpx #8 bne b4_from_b5 jmp b19 - //SEG739 keyboard_event_scan::@19 + //SEG771 keyboard_event_scan::@19 b19: - //SEG740 [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG772 [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 lda row_scan ldy row sta keyboard_scan_values,y jmp b3_from_b19 - //SEG741 keyboard_event_scan::@7 + //SEG773 keyboard_event_scan::@7 b7: - //SEG742 [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuaa=vbuz1_bor_vbuc1 + //SEG774 [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuaa=vbuz1_bor_vbuc1 lda #$40 ora keycode - //SEG743 [339] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuaa + //SEG775 [357] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuaa ldy keyboard_events_size sta keyboard_events,y - //SEG744 [340] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG776 [358] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size jmp b5_from_b7 } -//SEG745 keyboard_matrix_read +//SEG777 keyboard_matrix_read keyboard_matrix_read: { - //SEG746 [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuxx + //SEG778 [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuxx lda keyboard_matrix_row_bitmask,x sta CIA1_PORT_A - //SEG747 [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuaa=_bnot__deref_pbuc1 + //SEG779 [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuaa=_bnot__deref_pbuc1 lda CIA1_PORT_B eor #$ff jmp breturn - //SEG748 keyboard_matrix_read::@return + //SEG780 keyboard_matrix_read::@return breturn: - //SEG749 [343] return + //SEG781 [361] return rts } -//SEG750 render_show +//SEG782 render_show render_show: { .const toD0181_return = (>(PLAYFIELD_SCREEN_1&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f .const toD0182_return = (>(PLAYFIELD_SCREEN_2&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f - //SEG751 [344] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 + //SEG783 [362] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 lda render_screen_show cmp #0 beq toD0181_from_render_show - //SEG752 [345] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] + //SEG784 [363] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] toD0182_from_render_show: jmp toD0182 - //SEG753 render_show::toD0182 + //SEG785 render_show::toD0182 toD0182: - //SEG754 [346] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] + //SEG786 [364] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] b2_from_toD0182: - //SEG755 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuaa=vbuc1 + //SEG787 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuaa=vbuc1 lda #toD0182_return jmp b2 - //SEG756 render_show::@2 + //SEG788 render_show::@2 b2: - //SEG757 [347] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuaa + //SEG789 [365] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuaa sta D018 - //SEG758 [348] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 + //SEG790 [366] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 lda render_screen_show sta render_screen_showing jmp breturn - //SEG759 render_show::@return + //SEG791 render_show::@return breturn: - //SEG760 [349] return + //SEG792 [367] return rts - //SEG761 [350] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] + //SEG793 [368] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] toD0181_from_render_show: jmp toD0181 - //SEG762 render_show::toD0181 + //SEG794 render_show::toD0181 toD0181: - //SEG763 [346] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] + //SEG795 [364] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] b2_from_toD0181: - //SEG764 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuaa=vbuc1 + //SEG796 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuaa=vbuc1 lda #toD0181_return jmp b2 } -//SEG765 play_init +//SEG797 play_init play_init: { - .label pli = 7 + .label pli = 5 .label idx = 2 - //SEG766 [352] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] + //SEG798 [370] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] b1_from_play_init: - //SEG767 [352] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 + //SEG799 [370] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 lda #0 sta idx - //SEG768 [352] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 + //SEG800 [370] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 lda #playfield sta pli+1 - //SEG769 [352] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuxx=vbuc1 + //SEG801 [370] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuxx=vbuc1 ldx #0 jmp b1 - //SEG770 [352] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] + //SEG802 [370] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] b1_from_b1: - //SEG771 [352] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy - //SEG772 [352] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy - //SEG773 [352] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy + //SEG803 [370] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy + //SEG804 [370] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy + //SEG805 [370] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy jmp b1 - //SEG774 play_init::@1 + //SEG806 play_init::@1 b1: - //SEG775 [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG807 [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG776 [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG808 [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda pli sta playfield_lines,y lda pli+1 sta playfield_lines+1,y - //SEG777 [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuxx=vbuz1 + //SEG809 [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuxx=vbuz1 lda idx sta playfield_lines_idx,x - //SEG778 [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 + //SEG810 [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 lda pli clc adc #PLAYFIELD_COLS @@ -15360,233 +15884,233 @@ play_init: { bcc !+ inc pli+1 !: - //SEG779 [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 + //SEG811 [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 lda #PLAYFIELD_COLS clc adc idx sta idx - //SEG780 [358] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuxx=_inc_vbuxx + //SEG812 [376] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuxx=_inc_vbuxx inx - //SEG781 [359] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG813 [377] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #PLAYFIELD_LINES-1+1 bne b1_from_b1 jmp b2 - //SEG782 play_init::@2 + //SEG814 play_init::@2 b2: - //SEG783 [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 + //SEG815 [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 lda #PLAYFIELD_COLS*PLAYFIELD_LINES sta playfield_lines_idx+PLAYFIELD_LINES jmp breturn - //SEG784 play_init::@return + //SEG816 play_init::@return breturn: - //SEG785 [361] return + //SEG817 [379] return rts } -//SEG786 sprites_irq_init +//SEG818 sprites_irq_init sprites_irq_init: { - //SEG787 asm { sei } + //SEG819 asm { sei } sei - //SEG788 [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG820 [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS - //SEG789 asm { ldaCIA1_INTERRUPT } + //SEG821 asm { ldaCIA1_INTERRUPT } lda CIA1_INTERRUPT - //SEG790 [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 + //SEG822 [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_DDR_MEMORY_MASK sta PROCPORT_DDR - //SEG791 [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 + //SEG823 [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_RAM_IO sta PROCPORT - //SEG792 [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 + //SEG824 [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 lda #CIA_INTERRUPT_CLEAR sta CIA1_INTERRUPT - //SEG793 [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + //SEG825 [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 lda VIC_CONTROL and #$7f sta VIC_CONTROL - //SEG794 [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 + //SEG826 [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER_FIRST sta RASTER - //SEG795 [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG827 [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_ENABLE - //SEG796 [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 + //SEG828 [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 lda #sprites_irq sta HARDWARE_IRQ+1 - //SEG797 asm { cli } + //SEG829 asm { cli } cli jmp breturn - //SEG798 sprites_irq_init::@return + //SEG830 sprites_irq_init::@return breturn: - //SEG799 [373] return + //SEG831 [391] return rts } -//SEG800 sprites_init +//SEG832 sprites_init sprites_init: { .label xpos = 2 - //SEG801 [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 + //SEG833 [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 lda #$f sta SPRITES_ENABLE - //SEG802 [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 + //SEG834 [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 lda #0 sta SPRITES_MC - //SEG803 [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG835 [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 lda SPRITES_MC sta SPRITES_EXPAND_Y - //SEG804 [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG836 [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 lda SPRITES_EXPAND_Y sta SPRITES_EXPAND_X - //SEG805 [378] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] + //SEG837 [396] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] b1_from_sprites_init: - //SEG806 [378] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 + //SEG838 [396] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 lda #$18+$f*8 sta xpos - //SEG807 [378] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuxx=vbuc1 + //SEG839 [396] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuxx=vbuc1 ldx #0 jmp b1 - //SEG808 [378] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] + //SEG840 [396] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] b1_from_b1: - //SEG809 [378] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy - //SEG810 [378] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy + //SEG841 [396] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy + //SEG842 [396] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy jmp b1 - //SEG811 sprites_init::@1 + //SEG843 sprites_init::@1 b1: - //SEG812 [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG844 [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG813 [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuaa=vbuz1 + //SEG845 [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuaa=vbuz1 tay lda xpos sta SPRITES_XPOS,y - //SEG814 [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuxx=vbuc2 + //SEG846 [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuxx=vbuc2 lda #BLACK sta SPRITES_COLS,x - //SEG815 [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 + //SEG847 [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 lda #$18 clc adc xpos sta xpos - //SEG816 [383] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuxx=_inc_vbuxx + //SEG848 [401] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuxx=_inc_vbuxx inx - //SEG817 [384] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG849 [402] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b1_from_b1 jmp breturn - //SEG818 sprites_init::@return + //SEG850 sprites_init::@return breturn: - //SEG819 [385] return + //SEG851 [403] return rts } -//SEG820 render_init +//SEG852 render_init render_init: { .const vicSelectGfxBank1_toDd001_return = 3^(>PLAYFIELD_CHARSET)>>6 - .label li_1 = 7 + .label li_1 = 5 .label li_2 = $13 jmp vicSelectGfxBank1 - //SEG821 render_init::vicSelectGfxBank1 + //SEG853 render_init::vicSelectGfxBank1 vicSelectGfxBank1: - //SEG822 [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG854 [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #3 sta CIA2_PORT_A_DDR - //SEG823 [388] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] + //SEG855 [406] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] vicSelectGfxBank1_toDd001_from_vicSelectGfxBank1: jmp vicSelectGfxBank1_toDd001 - //SEG824 render_init::vicSelectGfxBank1_toDd001 + //SEG856 render_init::vicSelectGfxBank1_toDd001 vicSelectGfxBank1_toDd001: jmp vicSelectGfxBank1_b1 - //SEG825 render_init::vicSelectGfxBank1_@1 + //SEG857 render_init::vicSelectGfxBank1_@1 vicSelectGfxBank1_b1: - //SEG826 [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 + //SEG858 [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 lda #vicSelectGfxBank1_toDd001_return sta CIA2_PORT_A jmp b3 - //SEG827 render_init::@3 + //SEG859 render_init::@3 b3: - //SEG828 [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG860 [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #VIC_ECM|VIC_DEN|VIC_RSEL|3 sta D011 - //SEG829 [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG861 [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 lda #BLACK sta BORDERCOL - //SEG830 [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG862 [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 lda #BLACK sta BGCOL1 - //SEG831 [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 + //SEG863 [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 lda #BLUE sta BGCOL2 - //SEG832 [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 + //SEG864 [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 lda #CYAN sta BGCOL3 - //SEG833 [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 + //SEG865 [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 lda #GREY sta BGCOL4 - //SEG834 [396] call render_screen_original - //SEG835 [409] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] + //SEG866 [414] call render_screen_original + //SEG867 [427] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] render_screen_original_from_b3: - //SEG836 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 + //SEG868 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1 sta render_screen_original.screen+1 jsr render_screen_original - //SEG837 [397] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] + //SEG869 [415] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] b4_from_b3: jmp b4 - //SEG838 render_init::@4 + //SEG870 render_init::@4 b4: - //SEG839 [398] call render_screen_original - //SEG840 [409] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] + //SEG871 [416] call render_screen_original + //SEG872 [427] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] render_screen_original_from_b4: - //SEG841 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 + //SEG873 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2 sta render_screen_original.screen+1 jsr render_screen_original - //SEG842 [399] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] + //SEG874 [417] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] b1_from_b4: - //SEG843 [399] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 + //SEG875 [417] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2+2*$28+$10 sta li_2+1 - //SEG844 [399] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 + //SEG876 [417] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1+2*$28+$10 sta li_1+1 - //SEG845 [399] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuxx=vbuc1 + //SEG877 [417] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuxx=vbuc1 ldx #0 jmp b1 - //SEG846 [399] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] + //SEG878 [417] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] b1_from_b1: - //SEG847 [399] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy - //SEG848 [399] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy - //SEG849 [399] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy + //SEG879 [417] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy + //SEG880 [417] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy + //SEG881 [417] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy jmp b1 - //SEG850 render_init::@1 + //SEG882 render_init::@1 b1: - //SEG851 [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG883 [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG852 [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG884 [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda li_1 sta screen_lines_1,y lda li_1+1 sta screen_lines_1+1,y - //SEG853 [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG885 [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG854 [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG886 [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda li_2 sta screen_lines_2,y lda li_2+1 sta screen_lines_2+1,y - //SEG855 [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG887 [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_1 clc adc #$28 @@ -15594,7 +16118,7 @@ render_init: { bcc !+ inc li_1+1 !: - //SEG856 [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG888 [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_2 clc adc #$28 @@ -15602,360 +16126,360 @@ render_init: { bcc !+ inc li_2+1 !: - //SEG857 [406] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuxx=_inc_vbuxx + //SEG889 [424] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuxx=_inc_vbuxx inx - //SEG858 [407] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG890 [425] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #PLAYFIELD_LINES-1+1 bne b1_from_b1 jmp breturn - //SEG859 render_init::@return + //SEG891 render_init::@return breturn: - //SEG860 [408] return + //SEG892 [426] return rts } -//SEG861 render_screen_original +//SEG893 render_screen_original render_screen_original: { .const SPACE = 0 .label screen = $16 .label cols = $1b - .label oscr = 7 + .label oscr = 5 .label ocols = $13 .label y = 2 - //SEG862 [410] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] + //SEG894 [428] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] b1_from_render_screen_original: - //SEG863 [410] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 + //SEG895 [428] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 lda #0 sta y - //SEG864 [410] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 + //SEG896 [428] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_COLORS_ORIGINAL+$20*2 sta ocols+1 - //SEG865 [410] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 + //SEG897 [428] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_ORIGINAL+$20*2 sta oscr+1 - //SEG866 [410] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 + //SEG898 [428] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 lda #COLS sta cols+1 - //SEG867 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy + //SEG899 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy jmp b1 - //SEG868 [410] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] + //SEG900 [428] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] b1_from_b7: - //SEG869 [410] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy - //SEG870 [410] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy - //SEG871 [410] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy - //SEG872 [410] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy - //SEG873 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy + //SEG901 [428] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy + //SEG902 [428] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy + //SEG903 [428] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy + //SEG904 [428] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy + //SEG905 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy jmp b1 - //SEG874 render_screen_original::@1 + //SEG906 render_screen_original::@1 b1: - //SEG875 [411] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] + //SEG907 [429] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] b2_from_b1: - //SEG876 [411] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuxx=vbuc1 + //SEG908 [429] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG877 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy - //SEG878 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy + //SEG909 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy + //SEG910 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy jmp b2 - //SEG879 [411] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] + //SEG911 [429] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] b2_from_b2: - //SEG880 [411] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy - //SEG881 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy - //SEG882 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy + //SEG912 [429] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy + //SEG913 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy + //SEG914 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy jmp b2 - //SEG883 render_screen_original::@2 + //SEG915 render_screen_original::@2 b2: - //SEG884 [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG916 [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG885 [413] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 + //SEG917 [431] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG886 [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG918 [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG887 [415] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 + //SEG919 [433] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG888 [416] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuxx=_inc_vbuxx + //SEG920 [434] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuxx=_inc_vbuxx inx - //SEG889 [417] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuxx_neq_vbuc1_then_la1 + //SEG921 [435] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b2_from_b2 - //SEG890 [418] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] + //SEG922 [436] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] b3_from_b2: b3_from_b3: - //SEG891 [418] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy - //SEG892 [418] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy - //SEG893 [418] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy - //SEG894 [418] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy - //SEG895 [418] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy + //SEG923 [436] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy + //SEG924 [436] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy + //SEG925 [436] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy + //SEG926 [436] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy + //SEG927 [436] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy jmp b3 - //SEG896 render_screen_original::@3 + //SEG928 render_screen_original::@3 b3: - //SEG897 [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG929 [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (oscr),y ldy #0 sta (screen),y - //SEG898 [420] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 + //SEG930 [438] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG899 [421] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 + //SEG931 [439] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 inc oscr bne !+ inc oscr+1 !: - //SEG900 [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG932 [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (ocols),y ldy #0 sta (cols),y - //SEG901 [423] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 + //SEG933 [441] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG902 [424] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 + //SEG934 [442] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 inc ocols bne !+ inc ocols+1 !: - //SEG903 [425] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuxx=_inc_vbuxx + //SEG935 [443] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuxx=_inc_vbuxx inx - //SEG904 [426] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuxx_neq_vbuc1_then_la1 + //SEG936 [444] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuxx_neq_vbuc1_then_la1 cpx #$24 bne b3_from_b3 - //SEG905 [427] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] + //SEG937 [445] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] b4_from_b3: b4_from_b4: - //SEG906 [427] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy - //SEG907 [427] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy - //SEG908 [427] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy + //SEG938 [445] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy + //SEG939 [445] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy + //SEG940 [445] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy jmp b4 - //SEG909 render_screen_original::@4 + //SEG941 render_screen_original::@4 b4: - //SEG910 [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG942 [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG911 [429] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 + //SEG943 [447] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG912 [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG944 [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG913 [431] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 + //SEG945 [449] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG914 [432] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuxx=_inc_vbuxx + //SEG946 [450] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuxx=_inc_vbuxx inx - //SEG915 [433] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuxx_neq_vbuc1_then_la1 + //SEG947 [451] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuxx_neq_vbuc1_then_la1 cpx #$28 bne b4_from_b4 jmp b7 - //SEG916 render_screen_original::@7 + //SEG948 render_screen_original::@7 b7: - //SEG917 [434] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 + //SEG949 [452] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 inc y - //SEG918 [435] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG950 [453] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #$19 bne b1_from_b7 jmp breturn - //SEG919 render_screen_original::@return + //SEG951 render_screen_original::@return breturn: - //SEG920 [436] return + //SEG952 [454] return rts } -//SEG921 sid_rnd_init +//SEG953 sid_rnd_init sid_rnd_init: { - //SEG922 [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 + //SEG954 [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 lda #<$ffff sta SID_VOICE3_FREQ lda #>$ffff sta SID_VOICE3_FREQ+1 - //SEG923 [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 + //SEG955 [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 lda #SID_CONTROL_NOISE sta SID_VOICE3_CONTROL jmp breturn - //SEG924 sid_rnd_init::@return + //SEG956 sid_rnd_init::@return breturn: - //SEG925 [439] return + //SEG957 [457] return rts } -//SEG926 sprites_irq +//SEG958 sprites_irq sprites_irq: { .const toSpritePtr2_return = PLAYFIELD_SPRITES>>6 - //SEG927 entry interrupt(HARDWARE_CLOBBER) + //SEG959 entry interrupt(HARDWARE_CLOBBER) sta rega+1 stx regx+1 - //SEG928 asm { cld } + //SEG960 asm { cld } cld - //SEG929 [441] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuaa=vbuz1 + //SEG961 [459] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuaa=vbuz1 lda irq_sprite_ypos - //SEG930 [442] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG962 [460] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS - //SEG931 [443] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG963 [461] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+2 - //SEG932 [444] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG964 [462] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+4 - //SEG933 [445] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG965 [463] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+6 jmp b1 - //SEG934 sprites_irq::@1 + //SEG966 sprites_irq::@1 b1: - //SEG935 [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 + //SEG967 [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 lda RASTER cmp irq_sprite_ypos bcc b1 jmp b7 - //SEG936 sprites_irq::@7 + //SEG968 sprites_irq::@7 b7: - //SEG937 [447] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuxx=vbuz1 + //SEG969 [465] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuxx=vbuz1 ldx irq_sprite_ptr - //SEG938 [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 + //SEG970 [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 lda render_screen_showing cmp #0 beq b2 jmp b8 - //SEG939 sprites_irq::@8 + //SEG971 sprites_irq::@8 b8: - //SEG940 [449] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx + //SEG972 [467] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2 - //SEG941 [450] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuxx=_inc_vbuxx + //SEG973 [468] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuxx=_inc_vbuxx inx - //SEG942 [451] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx + //SEG974 [469] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+1 - //SEG943 [452] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx + //SEG975 [470] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+2 - //SEG944 [453] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuxx=_inc_vbuxx + //SEG976 [471] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuxx=_inc_vbuxx inx - //SEG945 [454] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuxx + //SEG977 [472] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+3 jmp b3 - //SEG946 sprites_irq::@3 + //SEG978 sprites_irq::@3 b3: - //SEG947 [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz1 + //SEG979 [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz1 inc irq_cnt - //SEG948 [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 + //SEG980 [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 lda irq_cnt cmp #$a beq b4 jmp b10 - //SEG949 sprites_irq::@10 + //SEG981 sprites_irq::@10 b10: - //SEG950 [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 + //SEG982 [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 lda #$15 clc adc irq_raster_next sta irq_raster_next - //SEG951 [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 + //SEG983 [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 lda #$15 clc adc irq_sprite_ypos sta irq_sprite_ypos - //SEG952 [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz1_plus_vbuc1 + //SEG984 [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz1_plus_vbuc1 lda #3 clc adc irq_sprite_ptr sta irq_sprite_ptr - //SEG953 [460] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] + //SEG985 [478] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] b5_from_b10: b5_from_b13: - //SEG954 [460] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy + //SEG986 [478] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy jmp b5 - //SEG955 sprites_irq::@5 + //SEG987 sprites_irq::@5 b5: - //SEG956 [461] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuxx=vbuz1 + //SEG988 [479] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuxx=vbuz1 ldx irq_raster_next - //SEG957 [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuxx_band_vbuc1 + //SEG989 [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuxx_band_vbuc1 txa and #7 - //SEG958 [463] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuaa_neq_vbuc1_then_la1 + //SEG990 [481] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuaa_neq_vbuc1_then_la1 cmp #3 bne b6_from_b5 jmp b12 - //SEG959 sprites_irq::@12 + //SEG991 sprites_irq::@12 b12: - //SEG960 [464] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuxx=vbuxx_minus_1 + //SEG992 [482] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuxx=vbuxx_minus_1 dex - //SEG961 [465] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] + //SEG993 [483] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] b6_from_b12: b6_from_b5: - //SEG962 [465] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy + //SEG994 [483] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy jmp b6 - //SEG963 sprites_irq::@6 + //SEG995 sprites_irq::@6 b6: - //SEG964 [466] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuxx + //SEG996 [484] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuxx stx RASTER - //SEG965 [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG997 [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS jmp breturn - //SEG966 sprites_irq::@return + //SEG998 sprites_irq::@return breturn: - //SEG967 [468] return - exit interrupt(HARDWARE_CLOBBER) + //SEG999 [486] return - exit interrupt(HARDWARE_CLOBBER) rega: lda #00 regx: ldx #00 rti - //SEG968 sprites_irq::@4 + //SEG1000 sprites_irq::@4 b4: - //SEG969 [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 + //SEG1001 [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt - //SEG970 [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 + //SEG1002 [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next - //SEG971 [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 + //SEG1003 [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos - //SEG972 [472] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] + //SEG1004 [490] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] toSpritePtr2_from_b4: jmp toSpritePtr2 - //SEG973 sprites_irq::toSpritePtr2 + //SEG1005 sprites_irq::toSpritePtr2 toSpritePtr2: jmp b13 - //SEG974 sprites_irq::@13 + //SEG1006 sprites_irq::@13 b13: - //SEG975 [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 + //SEG1007 [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 lda #toSpritePtr2_return sta irq_sprite_ptr jmp b5_from_b13 - //SEG976 sprites_irq::@2 + //SEG1008 sprites_irq::@2 b2: - //SEG977 [474] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx + //SEG1009 [492] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_1 - //SEG978 [475] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuaa=_inc_vbuxx + //SEG1010 [493] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuaa=_inc_vbuxx txa clc adc #1 - //SEG979 [476] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa + //SEG1011 [494] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+1 - //SEG980 [477] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa + //SEG1012 [495] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+2 - //SEG981 [478] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuaa=_inc_vbuaa + //SEG1013 [496] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuaa=_inc_vbuaa clc adc #1 - //SEG982 [479] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuaa + //SEG1014 [497] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+3 jmp b3 } @@ -16022,11 +16546,11 @@ sprites_irq: { ASSEMBLER OPTIMIZATIONS Removing instruction jmp b14 -Removing instruction jmp b20 Removing instruction jmp b21 +Removing instruction jmp b22 Removing instruction jmp toSpritePtr1 +Removing instruction jmp b35 Removing instruction jmp b34 -Removing instruction jmp b33 Removing instruction jmp bend Removing instruction jmp b15 Removing instruction jmp b16 @@ -16047,6 +16571,11 @@ Removing instruction jmp b28 Removing instruction jmp b13 Removing instruction jmp b29 Removing instruction jmp b30 +Removing instruction jmp b31 +Removing instruction jmp breturn +Removing instruction jmp b4 +Removing instruction jmp b2 +Removing instruction jmp b3 Removing instruction jmp breturn Removing instruction jmp b1 Removing instruction jmp b7 @@ -16202,6 +16731,7 @@ Succesful ASM optimization Pass5UnnecesaryLoadElimination Replacing label b1 with b4 Replacing label b1_from_b28 with b4 Replacing label b1 with b4 +Replacing label b3_from_b3 with b3 Replacing label b1_from_b3 with b1 Replacing label b4_from_b5 with b4 Replacing label b3_from_b5 with b3 @@ -16241,12 +16771,12 @@ Replacing label b1_from_b7 with b1 Replacing label b6_from_b5 with b6 Replacing label b5_from_b13 with b5 Removing instruction b14: -Removing instruction b20: -Removing instruction toSpritePtr1_from_b21: +Removing instruction b21: +Removing instruction toSpritePtr1_from_b22: Removing instruction toSpritePtr1: -Removing instruction b33_from_b34: -Removing instruction main_from_b33: -Removing instruction bend_from_b33: +Removing instruction b34_from_b35: +Removing instruction main_from_b34: +Removing instruction bend_from_b34: Removing instruction b16_from_b15: Removing instruction b17_from_b16: Removing instruction b18_from_b17: @@ -16262,6 +16792,11 @@ Removing instruction b23_from_b6: Removing instruction keyboard_event_scan_from_b23: Removing instruction b24_from_b23: Removing instruction b30_from_b29: +Removing instruction b31_from_b30: +Removing instruction b4_from_render_score: +Removing instruction b2_from_b4: +Removing instruction b3_from_b2: +Removing instruction b3_from_b3: Removing instruction b1_from_b3: Removing instruction b3_from_b5: Removing instruction b3_from_b7: @@ -16345,9 +16880,9 @@ Removing instruction breturn: Removing instruction toSpritePtr2_from_b4: Removing instruction toSpritePtr2: Succesful ASM optimization Pass5RedundantLabelElimination -Removing instruction b21: +Removing instruction b22: +Removing instruction b35: Removing instruction b34: -Removing instruction b33: Removing instruction bend: Removing instruction b15: Removing instruction render_init_from_b15: @@ -16371,7 +16906,10 @@ Removing instruction render_playfield_from_b13: Removing instruction b29: Removing instruction render_current_from_b29: Removing instruction b30: -Removing instruction b1_from_b30: +Removing instruction b31: +Removing instruction b1_from_b31: +Removing instruction breturn: +Removing instruction b4: Removing instruction breturn: Removing instruction b1_from_render_current: Removing instruction breturn: @@ -16486,6 +17024,7 @@ Removing instruction b13: Succesful ASM optimization Pass5UnusedLabelElimination Skipping double jump to b3 in bne b18 Succesful ASM optimization Pass5DoubleJumpElimination +Relabelling long label b2_from_render_score to b1 Relabelling long label breturn_from_b6 to b3 Relabelling long label breturn_from_b8 to b2 Relabelling long label breturn_from_b6 to b3 @@ -16496,6 +17035,7 @@ Relabelling long label b9_from_b26 to b2 Relabelling long label b4_from_b25 to b6 Succesful ASM optimization Pass5RelabelLongLabels Removing instruction jmp b4 +Removing instruction jmp b3 Removing instruction jmp b1 Removing instruction jmp b4 Removing instruction jmp b1 @@ -16518,10 +17058,10 @@ Succesful ASM optimization Pass5UnreachableCodeElimination FINAL SYMBOL TABLE (label) @14 -(label) @20 (label) @21 -(label) @33 +(label) @22 (label) @34 +(label) @35 (label) @begin (label) @end (byte*) BGCOL @@ -16798,7 +17338,7 @@ FINAL SYMBOL TABLE (byte) YELLOW (byte) current_movedown_counter (byte) current_movedown_counter#1 current_movedown_counter zp ZP_BYTE:4 0.5333333333333333 -(byte) current_movedown_counter#10 current_movedown_counter zp ZP_BYTE:4 4.222222222222222 +(byte) current_movedown_counter#10 current_movedown_counter zp ZP_BYTE:4 3.931034482758621 (byte) current_movedown_counter#12 current_movedown_counter zp ZP_BYTE:4 10.363636363636363 (byte) current_movedown_fast (const byte) current_movedown_fast#0 current_movedown_fast = (byte/signed byte/word/signed word/dword/signed dword) 5 @@ -16807,57 +17347,57 @@ FINAL SYMBOL TABLE (byte) current_orientation (byte) current_orientation#10 current_orientation zp ZP_BYTE:21 3.371428571428571 (byte) current_orientation#14 current_orientation zp ZP_BYTE:21 0.32653061224489793 -(byte) current_orientation#19 current_orientation zp ZP_BYTE:21 6.941176470588235 +(byte) current_orientation#19 current_orientation zp ZP_BYTE:21 6.210526315789475 (byte) current_orientation#29 current_orientation zp ZP_BYTE:21 4.0 (byte) current_orientation#4 current_orientation zp ZP_BYTE:21 3.0 (byte*) current_piece -(byte*) current_piece#10 current_piece zp ZP_WORD:19 1.8235294117647054 -(byte*) current_piece#12 current_piece#12 zp ZP_WORD:7 10.0 +(byte*) current_piece#10 current_piece zp ZP_WORD:19 1.771428571428571 +(byte*) current_piece#12 current_piece#12 zp ZP_WORD:5 10.0 (byte*) current_piece#16 current_piece zp ZP_WORD:19 3.428571428571428 (byte*) current_piece#20 current_piece zp ZP_WORD:19 6.0 -(byte*~) current_piece#72 current_piece zp ZP_WORD:19 4.0 -(byte*~) current_piece#75 current_piece#75 zp ZP_WORD:7 4.0 -(byte*~) current_piece#76 current_piece#76 zp ZP_WORD:7 4.0 -(byte*~) current_piece#77 current_piece#77 zp ZP_WORD:7 4.0 -(byte*~) current_piece#78 current_piece#78 zp ZP_WORD:7 4.0 -(byte*~) current_piece#79 current_piece zp ZP_WORD:19 4.0 +(byte*~) current_piece#73 current_piece zp ZP_WORD:19 4.0 +(byte*~) current_piece#76 current_piece#76 zp ZP_WORD:5 4.0 +(byte*~) current_piece#77 current_piece#77 zp ZP_WORD:5 4.0 +(byte*~) current_piece#78 current_piece#78 zp ZP_WORD:5 4.0 +(byte*~) current_piece#79 current_piece#79 zp ZP_WORD:5 4.0 +(byte*~) current_piece#80 current_piece zp ZP_WORD:19 4.0 (byte) current_piece_char -(byte) current_piece_char#1 current_piece_char zp ZP_BYTE:25 4.703703703703704 +(byte) current_piece_char#1 current_piece_char zp ZP_BYTE:25 4.379310344827585 (byte) current_piece_char#12 current_piece_char zp ZP_BYTE:25 0.6153846153846154 (byte) current_piece_char#15 current_piece_char zp ZP_BYTE:25 194.59615384615384 (byte) current_piece_char#20 current_piece_char zp ZP_BYTE:25 6.0 (byte) current_piece_char#64 reg byte x 46.09090909090909 -(byte~) current_piece_char#89 reg byte x 4.0 -(byte~) current_piece_char#90 reg byte x 22.0 +(byte~) current_piece_char#90 reg byte x 4.0 +(byte~) current_piece_char#91 reg byte x 22.0 (byte*) current_piece_gfx (byte*) current_piece_gfx#1 current_piece_gfx zp ZP_WORD:22 0.2962962962962963 -(byte*~) current_piece_gfx#101 current_piece_gfx#101 zp ZP_WORD:7 2.0 -(byte*~) current_piece_gfx#102 current_piece_gfx#102 zp ZP_WORD:7 11.0 -(byte*) current_piece_gfx#14 current_piece_gfx zp ZP_WORD:22 7.588235294117647 +(byte*~) current_piece_gfx#102 current_piece_gfx#102 zp ZP_WORD:5 2.0 +(byte*~) current_piece_gfx#103 current_piece_gfx#103 zp ZP_WORD:5 11.0 +(byte*) current_piece_gfx#14 current_piece_gfx zp ZP_WORD:22 6.789473684210528 (byte*) current_piece_gfx#16 current_piece_gfx zp ZP_WORD:22 0.5 (byte*) current_piece_gfx#20 current_piece_gfx zp ZP_WORD:22 194.59615384615384 (byte*) current_piece_gfx#26 current_piece_gfx zp ZP_WORD:22 6.0 (byte*) current_piece_gfx#3 current_piece_gfx zp ZP_WORD:22 4.0 -(byte*) current_piece_gfx#53 current_piece_gfx#53 zp ZP_WORD:7 46.09090909090909 +(byte*) current_piece_gfx#53 current_piece_gfx#53 zp ZP_WORD:5 46.09090909090909 (byte) current_xpos (byte) current_xpos#1 current_xpos zp ZP_BYTE:24 0.72 (byte) current_xpos#10 current_xpos zp ZP_BYTE:24 21.557692307692307 -(byte~) current_xpos#111 current_xpos#111 zp ZP_BYTE:6 1.3333333333333333 -(byte~) current_xpos#112 current_xpos#112 zp ZP_BYTE:6 7.333333333333333 -(byte) current_xpos#19 current_xpos zp ZP_BYTE:24 3.2926829268292686 +(byte~) current_xpos#112 current_xpos#112 zp ZP_BYTE:8 1.3333333333333333 +(byte~) current_xpos#113 current_xpos#113 zp ZP_BYTE:8 7.333333333333333 +(byte) current_xpos#19 current_xpos zp ZP_BYTE:24 3.139534883720931 (byte) current_xpos#2 current_xpos zp ZP_BYTE:24 4.0 (byte) current_xpos#23 current_xpos zp ZP_BYTE:24 0.5333333333333333 (byte) current_xpos#33 current_xpos zp ZP_BYTE:24 6.0 (byte) current_xpos#4 current_xpos zp ZP_BYTE:24 4.0 -(byte) current_xpos#47 current_xpos#47 zp ZP_BYTE:6 5.181818181818182 +(byte) current_xpos#47 current_xpos#47 zp ZP_BYTE:8 5.181818181818182 (byte) current_ypos (byte) current_ypos#0 current_ypos zp ZP_BYTE:14 4.0 -(byte) current_ypos#13 current_ypos zp ZP_BYTE:14 1.9558823529411762 +(byte) current_ypos#13 current_ypos zp ZP_BYTE:14 1.8999999999999995 (byte) current_ypos#18 current_ypos zp ZP_BYTE:14 0.5714285714285714 (byte) current_ypos#21 current_ypos zp ZP_BYTE:14 3.485714285714285 (byte) current_ypos#29 current_ypos zp ZP_BYTE:14 6.0 -(byte~) current_ypos#85 reg byte y 1.0 -(byte~) current_ypos#86 reg byte y 4.4 +(byte~) current_ypos#86 reg byte y 1.0 +(byte~) current_ypos#87 reg byte y 4.4 (byte) current_ypos#9 reg byte y 15.0 (byte) irq_cnt (byte) irq_cnt#0 irq_cnt zp ZP_BYTE:33 0.19047619047619047 @@ -16889,7 +17429,7 @@ FINAL SYMBOL TABLE (byte~) keyboard_event_pressed::$1 reg byte a 4.0 (label) keyboard_event_pressed::@return (byte) keyboard_event_pressed::keycode -(byte) keyboard_event_pressed::keycode#5 keycode zp ZP_BYTE:5 1.3333333333333333 +(byte) keyboard_event_pressed::keycode#5 keycode zp ZP_BYTE:7 1.3333333333333333 (byte) keyboard_event_pressed::return (byte) keyboard_event_pressed::return#0 reg byte a 4.0 (byte) keyboard_event_pressed::return#1 reg byte a 4.0 @@ -16898,7 +17438,7 @@ FINAL SYMBOL TABLE (byte) keyboard_event_pressed::return#12 reg byte a 4.0 (byte) keyboard_event_pressed::return#2 reg byte a 4.0 (byte) keyboard_event_pressed::row_bits -(byte) keyboard_event_pressed::row_bits#0 row_bits zp ZP_BYTE:6 2.0 +(byte) keyboard_event_pressed::row_bits#0 row_bits zp ZP_BYTE:8 2.0 (void()) keyboard_event_scan() (byte/word/dword~) keyboard_event_scan::$11 reg byte a 20002.0 (byte~) keyboard_event_scan::$14 reg byte a 4.0 @@ -16937,14 +17477,14 @@ FINAL SYMBOL TABLE (byte) keyboard_event_scan::event_type (byte) keyboard_event_scan::event_type#0 reg byte a 20002.0 (byte) keyboard_event_scan::keycode -(byte) keyboard_event_scan::keycode#1 keycode zp ZP_BYTE:6 2002.0 -(byte) keyboard_event_scan::keycode#10 keycode zp ZP_BYTE:6 3154.230769230769 -(byte) keyboard_event_scan::keycode#11 keycode zp ZP_BYTE:6 500.5 -(byte) keyboard_event_scan::keycode#14 keycode zp ZP_BYTE:6 1001.0 -(byte) keyboard_event_scan::keycode#15 keycode zp ZP_BYTE:6 5250.75 +(byte) keyboard_event_scan::keycode#1 keycode zp ZP_BYTE:8 2002.0 +(byte) keyboard_event_scan::keycode#10 keycode zp ZP_BYTE:8 3154.230769230769 +(byte) keyboard_event_scan::keycode#11 keycode zp ZP_BYTE:8 500.5 +(byte) keyboard_event_scan::keycode#14 keycode zp ZP_BYTE:8 1001.0 +(byte) keyboard_event_scan::keycode#15 keycode zp ZP_BYTE:8 5250.75 (byte) keyboard_event_scan::row -(byte) keyboard_event_scan::row#1 row zp ZP_BYTE:5 1501.5 -(byte) keyboard_event_scan::row#2 row zp ZP_BYTE:5 600.24 +(byte) keyboard_event_scan::row#1 row zp ZP_BYTE:7 1501.5 +(byte) keyboard_event_scan::row#2 row zp ZP_BYTE:7 600.24 (byte) keyboard_event_scan::row_scan (byte) keyboard_event_scan::row_scan#0 row_scan zp ZP_BYTE:9 1278.0555555555554 (byte[8]) keyboard_events @@ -16953,7 +17493,7 @@ FINAL SYMBOL TABLE (byte) keyboard_events_size#1 keyboard_events_size zp ZP_BYTE:26 20002.0 (byte) keyboard_events_size#10 keyboard_events_size zp ZP_BYTE:26 8100.9000000000015 (byte) keyboard_events_size#13 keyboard_events_size zp ZP_BYTE:26 97.06451612903226 -(byte) keyboard_events_size#16 keyboard_events_size zp ZP_BYTE:26 3.741935483870968 +(byte) keyboard_events_size#16 keyboard_events_size zp ZP_BYTE:26 3.515151515151515 (byte) keyboard_events_size#19 keyboard_events_size zp ZP_BYTE:26 18.999999999999996 (byte) keyboard_events_size#2 keyboard_events_size zp ZP_BYTE:26 20002.0 (byte) keyboard_events_size#29 keyboard_events_size zp ZP_BYTE:26 429.2857142857143 @@ -17001,6 +17541,7 @@ FINAL SYMBOL TABLE (label) main::@28 (label) main::@29 (label) main::@30 +(label) main::@31 (label) main::@4 (label) main::@6 (byte) main::key_event @@ -17045,7 +17586,7 @@ FINAL SYMBOL TABLE (byte) play_collision::orientation#3 reg byte x 2.0 (byte) play_collision::orientation#4 reg byte x 10.0 (byte*) play_collision::piece_gfx -(byte*) play_collision::piece_gfx#0 piece_gfx zp ZP_WORD:7 476.3333333333333 +(byte*) play_collision::piece_gfx#0 piece_gfx zp ZP_WORD:5 476.3333333333333 (byte*) play_collision::playfield_line (byte*) play_collision::playfield_line#0 playfield_line zp ZP_WORD:27 785.8571428571429 (byte) play_collision::return @@ -17055,11 +17596,11 @@ FINAL SYMBOL TABLE (byte) play_collision::return#13 reg byte a 4.0 (byte) play_collision::return#14 reg byte a 1.3333333333333333 (byte) play_collision::xpos -(byte) play_collision::xpos#0 xpos zp ZP_BYTE:6 1.3333333333333333 -(byte) play_collision::xpos#1 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#2 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#3 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#5 xpos zp ZP_BYTE:6 45.86363636363637 +(byte) play_collision::xpos#0 xpos zp ZP_BYTE:8 1.3333333333333333 +(byte) play_collision::xpos#1 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#2 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#3 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#5 xpos zp ZP_BYTE:8 45.86363636363637 (byte) play_collision::ypos (byte) play_collision::ypos#0 reg byte y 1.0 (byte) play_collision::ypos#1 reg byte y 1.3333333333333333 @@ -17082,8 +17623,8 @@ FINAL SYMBOL TABLE (byte) play_init::j#1 reg byte x 16.5 (byte) play_init::j#2 reg byte x 7.333333333333333 (byte*) play_init::pli -(byte*) play_init::pli#1 pli zp ZP_WORD:7 5.5 -(byte*) play_init::pli#2 pli zp ZP_WORD:7 8.25 +(byte*) play_init::pli#1 pli zp ZP_WORD:5 5.5 +(byte*) play_init::pli#2 pli zp ZP_WORD:5 8.25 (void()) play_lock_current() (label) play_lock_current::@1 (label) play_lock_current::@2 @@ -17097,20 +17638,20 @@ FINAL SYMBOL TABLE (byte) play_lock_current::c#1 reg byte x 10001.0 (byte) play_lock_current::c#2 reg byte x 4000.4 (byte) play_lock_current::col -(byte) play_lock_current::col#0 col zp ZP_BYTE:6 2002.0 -(byte) play_lock_current::col#1 col zp ZP_BYTE:6 5000.5 -(byte) play_lock_current::col#2 col zp ZP_BYTE:6 7751.0 +(byte) play_lock_current::col#0 col zp ZP_BYTE:8 2002.0 +(byte) play_lock_current::col#1 col zp ZP_BYTE:8 5000.5 +(byte) play_lock_current::col#2 col zp ZP_BYTE:8 7751.0 (byte) play_lock_current::i (byte) play_lock_current::i#1 i zp ZP_BYTE:9 2333.6666666666665 -(byte) play_lock_current::i#2 i#2 zp ZP_BYTE:5 15502.0 -(byte) play_lock_current::i#3 i#3 zp ZP_BYTE:5 667.3333333333334 -(byte~) play_lock_current::i#7 i#7 zp ZP_BYTE:5 2002.0 -(byte~) play_lock_current::i#9 i#9 zp ZP_BYTE:5 20002.0 +(byte) play_lock_current::i#2 i#2 zp ZP_BYTE:7 15502.0 +(byte) play_lock_current::i#3 i#3 zp ZP_BYTE:7 667.3333333333334 +(byte~) play_lock_current::i#7 i#7 zp ZP_BYTE:7 2002.0 +(byte~) play_lock_current::i#9 i#9 zp ZP_BYTE:7 20002.0 (byte) play_lock_current::l (byte) play_lock_current::l#1 l zp ZP_BYTE:4 1001.0 (byte) play_lock_current::l#6 l zp ZP_BYTE:4 166.83333333333334 (byte*) play_lock_current::playfield_line -(byte*) play_lock_current::playfield_line#0 playfield_line zp ZP_WORD:7 1100.2 +(byte*) play_lock_current::playfield_line#0 playfield_line zp ZP_WORD:5 1100.2 (byte) play_lock_current::ypos2 (byte) play_lock_current::ypos2#0 ypos2 zp ZP_BYTE:14 4.0 (byte) play_lock_current::ypos2#1 ypos2 zp ZP_BYTE:14 500.5 @@ -17178,9 +17719,9 @@ FINAL SYMBOL TABLE (byte) play_move_rotate::key_event (byte) play_move_rotate::key_event#0 reg byte a 52.5 (byte) play_move_rotate::orientation -(byte) play_move_rotate::orientation#1 orientation zp ZP_BYTE:5 4.0 -(byte) play_move_rotate::orientation#2 orientation zp ZP_BYTE:5 4.0 -(byte) play_move_rotate::orientation#3 orientation zp ZP_BYTE:5 0.8888888888888888 +(byte) play_move_rotate::orientation#1 orientation zp ZP_BYTE:7 4.0 +(byte) play_move_rotate::orientation#2 orientation zp ZP_BYTE:7 4.0 +(byte) play_move_rotate::orientation#3 orientation zp ZP_BYTE:7 0.8888888888888888 (byte) play_move_rotate::return (byte) play_move_rotate::return#1 reg byte a 33.666666666666664 (byte) play_move_rotate::return#4 reg byte a 202.0 @@ -17205,9 +17746,9 @@ FINAL SYMBOL TABLE (byte) play_remove_lines::r#2 reg byte y 15502.0 (byte) play_remove_lines::r#3 reg byte y 2002.0 (byte) play_remove_lines::removed -(byte) play_remove_lines::removed#1 removed zp ZP_BYTE:5 2002.0 -(byte) play_remove_lines::removed#11 removed zp ZP_BYTE:5 231.0 -(byte) play_remove_lines::removed#7 removed zp ZP_BYTE:5 333.8888888888889 +(byte) play_remove_lines::removed#1 removed zp ZP_BYTE:7 2002.0 +(byte) play_remove_lines::removed#11 removed zp ZP_BYTE:7 231.0 +(byte) play_remove_lines::removed#7 removed zp ZP_BYTE:7 333.8888888888889 (byte) play_remove_lines::return (byte) play_remove_lines::return#0 reg byte a 4.0 (byte) play_remove_lines::w @@ -17219,8 +17760,8 @@ FINAL SYMBOL TABLE (byte) play_remove_lines::w#4 reg byte x 4429.142857142857 (byte) play_remove_lines::w#6 reg byte x 1668.3333333333335 (byte) play_remove_lines::x -(byte) play_remove_lines::x#1 x zp ZP_BYTE:6 15001.5 -(byte) play_remove_lines::x#2 x zp ZP_BYTE:6 2500.25 +(byte) play_remove_lines::x#1 x zp ZP_BYTE:8 15001.5 +(byte) play_remove_lines::x#2 x zp ZP_BYTE:8 2500.25 (byte) play_remove_lines::y (byte) play_remove_lines::y#1 y zp ZP_BYTE:4 1501.5 (byte) play_remove_lines::y#8 y zp ZP_BYTE:4 133.46666666666667 @@ -17296,8 +17837,8 @@ FINAL SYMBOL TABLE (byte) render_init::i#1 reg byte x 16.5 (byte) render_init::i#2 reg byte x 6.285714285714286 (byte*) render_init::li_1 -(byte*) render_init::li_1#1 li_1 zp ZP_WORD:7 5.5 -(byte*) render_init::li_1#2 li_1 zp ZP_WORD:7 6.6000000000000005 +(byte*) render_init::li_1#1 li_1 zp ZP_WORD:5 5.5 +(byte*) render_init::li_1#2 li_1 zp ZP_WORD:5 6.6000000000000005 (byte*) render_init::li_2 (byte*) render_init::li_2#1 li_2 zp ZP_WORD:19 7.333333333333333 (byte*) render_init::li_2#2 li_2 zp ZP_WORD:19 5.5 @@ -17324,16 +17865,43 @@ FINAL SYMBOL TABLE (byte) render_playfield::c#1 c zp ZP_BYTE:9 1501.5 (byte) render_playfield::c#2 c zp ZP_BYTE:9 500.5 (byte) render_playfield::i -(byte) render_playfield::i#1 i zp ZP_BYTE:6 420.59999999999997 -(byte) render_playfield::i#2 i zp ZP_BYTE:6 1034.6666666666667 -(byte) render_playfield::i#3 i zp ZP_BYTE:6 50.5 +(byte) render_playfield::i#1 i zp ZP_BYTE:8 420.59999999999997 +(byte) render_playfield::i#2 i zp ZP_BYTE:8 1034.6666666666667 +(byte) render_playfield::i#3 i zp ZP_BYTE:8 50.5 (byte) render_playfield::l -(byte) render_playfield::l#1 l zp ZP_BYTE:5 151.5 -(byte) render_playfield::l#2 l zp ZP_BYTE:5 30.299999999999997 +(byte) render_playfield::l#1 l zp ZP_BYTE:7 151.5 +(byte) render_playfield::l#2 l zp ZP_BYTE:7 30.299999999999997 (byte*) render_playfield::screen_line -(byte*) render_playfield::screen_line#0 screen_line zp ZP_WORD:7 202.0 -(byte*) render_playfield::screen_line#1 screen_line zp ZP_WORD:7 500.5 -(byte*) render_playfield::screen_line#2 screen_line zp ZP_WORD:7 1552.0 +(byte*) render_playfield::screen_line#0 screen_line zp ZP_WORD:5 202.0 +(byte*) render_playfield::screen_line#1 screen_line zp ZP_WORD:5 500.5 +(byte*) render_playfield::screen_line#2 screen_line zp ZP_WORD:5 1552.0 +(void()) render_score() +(byte~) render_score::$10 reg byte a 202.0 +(byte~) render_score::$11 reg byte a 202.0 +(byte~) render_score::$12 reg byte a 202.0 +(byte~) render_score::$9 reg byte a 202.0 +(label) render_score::@2 +(label) render_score::@3 +(label) render_score::@4 +(label) render_score::@return +(byte) render_score::SCREEN_SCORE_COL +(const byte) render_score::SCREEN_SCORE_COL#0 SCREEN_SCORE_COL = (byte/signed byte/word/signed word/dword/signed dword) 29 +(byte) render_score::SCREEN_SCORE_ROW +(const byte) render_score::SCREEN_SCORE_ROW#0 SCREEN_SCORE_ROW = (byte/signed byte/word/signed word/dword/signed dword) 5 +(byte) render_score::ZERO_CHAR +(const byte) render_score::ZERO_CHAR#0 ZERO_CHAR = (byte/signed byte/word/signed word/dword/signed dword) 51 +(byte) render_score::b +(byte) render_score::b#1 reg byte x 151.5 +(byte) render_score::b#2 reg byte x 30.299999999999997 +(byte) render_score::score_byte +(byte) render_score::score_byte#0 score_byte zp ZP_BYTE:7 60.599999999999994 +(byte*) render_score::score_bytes +(const byte*) render_score::score_bytes#0 score_bytes = ((byte*))&(dword) score_bcd#10 +(byte*) render_score::screen_score_pos +(byte*) render_score::screen_score_pos#2 screen_score_pos zp ZP_WORD:5 75.75 +(byte*) render_score::screen_score_pos#3 screen_score_pos zp ZP_WORD:5 67.33333333333333 +(byte*) render_score::screen_score_pos#4 screen_score_pos zp ZP_WORD:5 61.0 +(byte*) render_score::screen_score_pos#5 screen_score_pos zp ZP_WORD:5 2.0 (void()) render_screen_original((byte*) render_screen_original::screen) (label) render_screen_original::@1 (label) render_screen_original::@2 @@ -17356,9 +17924,9 @@ FINAL SYMBOL TABLE (byte*) render_screen_original::ocols#2 ocols zp ZP_WORD:19 67.33333333333333 (byte*) render_screen_original::ocols#4 ocols zp ZP_WORD:19 14.0 (byte*) render_screen_original::oscr -(byte*) render_screen_original::oscr#1 oscr zp ZP_WORD:7 14.2 -(byte*) render_screen_original::oscr#2 oscr zp ZP_WORD:7 134.66666666666666 -(byte*) render_screen_original::oscr#4 oscr zp ZP_WORD:7 14.0 +(byte*) render_screen_original::oscr#1 oscr zp ZP_WORD:5 14.2 +(byte*) render_screen_original::oscr#2 oscr zp ZP_WORD:5 134.66666666666666 +(byte*) render_screen_original::oscr#4 oscr zp ZP_WORD:5 14.0 (byte*) render_screen_original::screen (byte*) render_screen_original::screen#10 screen zp ZP_WORD:22 30.42857142857143 (byte*) render_screen_original::screen#2 screen zp ZP_WORD:22 60.599999999999994 @@ -17380,14 +17948,14 @@ FINAL SYMBOL TABLE (byte) render_screen_original::y#6 y zp ZP_BYTE:2 0.9166666666666666 (byte) render_screen_render (byte) render_screen_render#11 render_screen_render zp ZP_BYTE:3 3.25 -(byte) render_screen_render#16 render_screen_render zp ZP_BYTE:3 1.0 -(byte) render_screen_render#19 reg byte x 8.615384615384615 -(byte) render_screen_render#28 render_screen_render#28 zp ZP_BYTE:5 5.090909090909091 -(byte~) render_screen_render#62 render_screen_render#62 zp ZP_BYTE:5 5.5 -(byte~) render_screen_render#63 reg byte x 22.0 +(byte) render_screen_render#17 render_screen_render zp ZP_BYTE:3 0.6981132075471699 +(byte) render_screen_render#21 reg byte x 8.615384615384615 +(byte) render_screen_render#30 render_screen_render#30 zp ZP_BYTE:7 5.090909090909091 +(byte~) render_screen_render#64 render_screen_render#64 zp ZP_BYTE:7 5.5 +(byte~) render_screen_render#65 reg byte x 22.0 (byte) render_screen_show (byte) render_screen_show#13 render_screen_show zp ZP_BYTE:2 4.333333333333333 -(byte) render_screen_show#16 render_screen_show zp ZP_BYTE:2 0.39534883720930225 +(byte) render_screen_show#16 render_screen_show zp ZP_BYTE:2 0.37777777777777777 (byte) render_screen_showing (byte) render_screen_showing#0 render_screen_showing zp ZP_BYTE:30 0.5 (byte) render_screen_showing#1 render_screen_showing zp ZP_BYTE:30 20.0 @@ -17429,10 +17997,10 @@ FINAL SYMBOL TABLE (dword[]) score_add_bcd (const dword[]) score_add_bcd#0 score_add_bcd = { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 64, (word/signed word/dword/signed dword) 256, (word/signed word/dword/signed dword) 768, (word/signed word/dword/signed dword) 4608 } (dword) score_bcd -(dword) score_bcd#11 score_bcd zp ZP_DWORD:15 1.0 -(dword) score_bcd#13 score_bcd zp ZP_DWORD:15 2.608695652173914 -(dword) score_bcd#17 score_bcd zp ZP_DWORD:15 6.0 -(dword) score_bcd#2 score_bcd zp ZP_DWORD:15 4.296296296296297 +(dword) score_bcd#10 score_bcd zp ZP_DWORD:15 4.0 +(dword) score_bcd#12 score_bcd zp ZP_DWORD:15 1.0 +(dword) score_bcd#14 score_bcd zp ZP_DWORD:15 2.608695652173914 +(dword) score_bcd#20 score_bcd zp ZP_DWORD:15 6.0 (dword) score_bcd#3 score_bcd zp ZP_DWORD:15 2.0 (byte*[PLAYFIELD_LINES#0]) screen_lines_1 (const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 screen_lines_1 = { fill( PLAYFIELD_LINES#0, 0) } @@ -17500,19 +18068,20 @@ interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() (byte*) toSpritePtr1_sprite zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 sprites_init::xpos#2 sprites_init::xpos#1 render_screen_original::y#6 render_screen_original::y#1 ] -zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] +zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 play_lock_current::l#6 play_lock_current::l#1 play_spawn_current::$3 ] -reg byte y [ current_ypos#9 current_ypos#85 current_ypos#86 ] -zp ZP_BYTE:5 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -zp ZP_BYTE:6 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] -zp ZP_WORD:7 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] -reg byte x [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] +reg byte x [ render_score::b#2 render_score::b#1 ] +zp ZP_WORD:5 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] +reg byte y [ current_ypos#9 current_ypos#86 current_ypos#87 ] +zp ZP_BYTE:7 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 render_score::score_byte#0 ] +zp ZP_BYTE:8 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] +reg byte x [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] zp ZP_BYTE:9 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 keyboard_event_scan::row_scan#0 ] zp ZP_BYTE:10 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 play_remove_lines::c#0 ] zp ZP_BYTE:11 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] zp ZP_BYTE:12 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 play_collision::col#2 play_collision::col#9 play_collision::col#1 ] zp ZP_BYTE:13 [ render_current::c#2 render_current::c#1 main::key_event#0 ] -reg byte x [ render_screen_render#19 render_screen_render#63 ] +reg byte x [ render_screen_render#21 render_screen_render#65 ] reg byte a [ play_move_rotate::return#1 ] reg byte x [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] reg byte y [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] @@ -17521,8 +18090,8 @@ reg byte a [ play_collision::return#14 ] reg byte a [ play_move_leftright::return#1 ] reg byte x [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] zp ZP_BYTE:14 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -zp ZP_DWORD:15 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -zp ZP_WORD:19 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] +zp ZP_DWORD:15 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +zp ZP_WORD:19 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] zp ZP_BYTE:21 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] zp ZP_WORD:22 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] zp ZP_BYTE:24 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] @@ -17560,6 +18129,10 @@ reg byte a [ play_move_rotate::key_event#0 ] reg byte a [ play_move_rotate::return#4 ] reg byte a [ main::$14 ] reg byte a [ main::render#3 ] +reg byte a [ render_score::$9 ] +reg byte a [ render_score::$10 ] +reg byte a [ render_score::$11 ] +reg byte a [ render_score::$12 ] reg byte a [ render_current::$5 ] reg byte a [ render_current::current_cell#0 ] reg byte a [ render_playfield::$2 ] @@ -17619,7 +18192,7 @@ reg byte a [ sprites_irq::ptr#2 ] FINAL ASSEMBLER -Score: 3218736 +Score: 3227532 //SEG0 Basic Upstart .pc = $801 "Basic" @@ -17709,27 +18282,27 @@ Score: 3218736 .label irq_cnt = $21 .label current_movedown_counter = 4 .label current_ypos = $e - .label score_bcd = $f .label current_piece_gfx = $16 .label current_xpos = $18 .label current_piece_char = $19 .label current_orientation = $15 + .label score_bcd = $f .label render_screen_render = 3 .label render_screen_show = 2 .label current_piece = $13 - .label current_piece_12 = 7 - .label render_screen_render_28 = 5 - .label current_xpos_47 = 6 - .label current_piece_gfx_53 = 7 - .label render_screen_render_62 = 5 - .label current_xpos_111 = 6 - .label current_xpos_112 = 6 - .label current_piece_gfx_101 = 7 - .label current_piece_gfx_102 = 7 - .label current_piece_75 = 7 - .label current_piece_76 = 7 - .label current_piece_77 = 7 - .label current_piece_78 = 7 + .label current_piece_12 = 5 + .label render_screen_render_30 = 7 + .label current_xpos_47 = 8 + .label current_piece_gfx_53 = 5 + .label render_screen_render_64 = 7 + .label current_xpos_112 = 8 + .label current_xpos_113 = 8 + .label current_piece_gfx_102 = 5 + .label current_piece_gfx_103 = 5 + .label current_piece_76 = 5 + .label current_piece_77 = 5 + .label current_piece_78 = 5 + .label current_piece_79 = 5 //SEG2 @begin bbegin: //SEG3 @14 @@ -17739,30 +18312,30 @@ bbegin: //SEG5 kickasm(location (const byte*) PLAYFIELD_CHARSET#0) {{ .fill 8,$00 // Place a filled char at the start of the charset .import binary "playfield-screen.imap" }} //SEG6 kickasm(location (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0) {{ // Load chars for the screen .var screen = LoadBinary("playfield-screen.iscr") // Load extended colors for the screen .var extended = LoadBinary("playfield-extended.col") // screen.get(i)+1 because the charset is loaded into PLAYFIELD_CHARSET+8 // extended.get(i)-1 because the extended colors are 1-based (1/2/3/4) // <<6 to move extended colors to the upper 2 bits .fill screen.getSize(), ( (screen.get(i)+1) | (extended.get(i)-1)<<6 ) }} //SEG7 kickasm(location (const byte*) PLAYFIELD_COLORS_ORIGINAL#0) {{ .import binary "playfield-screen.col" }} -//SEG8 @20 +//SEG8 @21 //SEG9 kickasm(location (const byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000)) .for(var sy=0;sy<10;sy++) { .for(var sx=0;sx<3;sx++) { .for (var y=0;y<21; y++) { .for (var c=0; c<3; c++) { .byte sprites.getSinglecolorByte(sx*3+c,sy*21+y) } } .byte 0 } } }} -//SEG10 @21 +//SEG10 @22 //SEG11 [6] (byte) irq_raster_next#0 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next //SEG12 [7] (byte) irq_sprite_ypos#0 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos -//SEG13 [8] phi from @21 to toSpritePtr1 [phi:@21->toSpritePtr1] +//SEG13 [8] phi from @22 to toSpritePtr1 [phi:@22->toSpritePtr1] //SEG14 toSpritePtr1 -//SEG15 @34 +//SEG15 @35 //SEG16 [9] (byte) irq_sprite_ptr#0 ← (const byte) toSpritePtr1_return#0 -- vbuz1=vbuc1 lda #toSpritePtr1_return sta irq_sprite_ptr //SEG17 [10] (byte) irq_cnt#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt -//SEG18 [11] phi from @34 to @33 [phi:@34->@33] -//SEG19 @33 +//SEG18 [11] phi from @35 to @34 [phi:@35->@34] +//SEG19 @34 //SEG20 [12] call main -//SEG21 [14] phi from @33 to main [phi:@33->main] +//SEG21 [14] phi from @34 to main [phi:@34->main] jsr main -//SEG22 [13] phi from @33 to @end [phi:@33->@end] +//SEG22 [13] phi from @34 to @end [phi:@34->@end] //SEG23 @end //SEG24 main main: { @@ -17774,7 +18347,7 @@ main: { //SEG27 asm { sei } sei //SEG28 [17] call render_init - //SEG29 [386] phi from main::@15 to render_init [phi:main::@15->render_init] + //SEG29 [404] phi from main::@15 to render_init [phi:main::@15->render_init] jsr render_init //SEG30 [18] phi from main::@15 to main::@16 [phi:main::@15->main::@16] //SEG31 main::@16 @@ -17787,51 +18360,51 @@ main: { //SEG36 [22] phi from main::@17 to main::@18 [phi:main::@17->main::@18] //SEG37 main::@18 //SEG38 [23] call play_init - //SEG39 [351] phi from main::@18 to play_init [phi:main::@18->play_init] + //SEG39 [369] phi from main::@18 to play_init [phi:main::@18->play_init] jsr play_init //SEG40 [24] phi from main::@18 to main::@19 [phi:main::@18->main::@19] //SEG41 main::@19 //SEG42 [25] call play_spawn_current - //SEG43 [213] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] + //SEG43 [231] phi from main::@19 to play_spawn_current [phi:main::@19->play_spawn_current] jsr play_spawn_current //SEG44 [26] phi from main::@19 to main::@20 [phi:main::@19->main::@20] //SEG45 main::@20 //SEG46 [27] call render_playfield - //SEG47 [96] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] - //SEG48 [96] phi (byte) render_screen_render#19 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuxx=vbuc1 + //SEG47 [114] phi from main::@20 to render_playfield [phi:main::@20->render_playfield] + //SEG48 [114] phi (byte) render_screen_render#21 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@20->render_playfield#0] -- vbuxx=vbuc1 ldx #$40 jsr render_playfield //SEG49 main::@21 - //SEG50 [28] (byte~) current_ypos#85 ← (byte) current_ypos#18 -- vbuyy=vbuz1 + //SEG50 [28] (byte~) current_ypos#86 ← (byte) current_ypos#18 -- vbuyy=vbuz1 ldy current_ypos - //SEG51 [29] (byte~) current_xpos#111 ← (byte) current_xpos#23 -- vbuz1=vbuz2 + //SEG51 [29] (byte~) current_xpos#112 ← (byte) current_xpos#23 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_111 - //SEG52 [30] (byte*~) current_piece_gfx#101 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 + sta current_xpos_112 + //SEG52 [30] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#16 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_101 + sta current_piece_gfx_102 lda current_piece_gfx+1 - sta current_piece_gfx_101+1 - //SEG53 [31] (byte~) current_piece_char#89 ← (byte) current_piece_char#12 -- vbuxx=vbuz1 + sta current_piece_gfx_102+1 + //SEG53 [31] (byte~) current_piece_char#90 ← (byte) current_piece_char#12 -- vbuxx=vbuz1 ldx current_piece_char //SEG54 [32] call render_current - //SEG55 [73] phi from main::@21 to render_current [phi:main::@21->render_current] - //SEG56 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#89 [phi:main::@21->render_current#0] -- register_copy - //SEG57 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#101 [phi:main::@21->render_current#1] -- register_copy - //SEG58 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#111 [phi:main::@21->render_current#2] -- register_copy - //SEG59 [73] phi (byte) render_screen_render#28 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 + //SEG55 [91] phi from main::@21 to render_current [phi:main::@21->render_current] + //SEG56 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@21->render_current#0] -- register_copy + //SEG57 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@21->render_current#1] -- register_copy + //SEG58 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@21->render_current#2] -- register_copy + //SEG59 [91] phi (byte) render_screen_render#30 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->render_current#3] -- vbuz1=vbuc1 lda #$40 - sta render_screen_render_28 - //SEG60 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#85 [phi:main::@21->render_current#4] -- register_copy + sta render_screen_render_30 + //SEG60 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@21->render_current#4] -- register_copy jsr render_current - //SEG61 [33] (byte*~) current_piece#72 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG61 [33] (byte*~) current_piece#73 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece lda PIECES+1,y sta current_piece+1 //SEG62 [34] phi from main::@21 to main::@1 [phi:main::@21->main::@1] - //SEG63 [34] phi (dword) score_bcd#13 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 + //SEG63 [34] phi (dword) score_bcd#14 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#0] -- vduz1=vbuc1 lda #0 sta score_bcd sta score_bcd+1 @@ -17847,15 +18420,15 @@ main: { //SEG69 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#16 [phi:main::@21->main::@1#6] -- register_copy //SEG70 [34] phi (byte) current_orientation#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#7] -- vbuz1=vbuc1 sta current_orientation - //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#72 [phi:main::@21->main::@1#8] -- register_copy - //SEG72 [34] phi (byte) render_screen_render#16 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 + //SEG71 [34] phi (byte*) current_piece#16 = (byte*~) current_piece#73 [phi:main::@21->main::@1#8] -- register_copy + //SEG72 [34] phi (byte) render_screen_render#17 = (byte/signed byte/word/signed word/dword/signed dword) 64 [phi:main::@21->main::@1#9] -- vbuz1=vbuc1 lda #$40 sta render_screen_render //SEG73 [34] phi (byte) render_screen_show#16 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@21->main::@1#10] -- vbuz1=vbuc1 lda #0 sta render_screen_show //SEG74 [34] phi from main::@28 to main::@1 [phi:main::@28->main::@1] - //SEG75 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@28->main::@1#0] -- register_copy + //SEG75 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@28->main::@1#0] -- register_copy //SEG76 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@28->main::@1#1] -- register_copy //SEG77 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@28->main::@1#2] -- register_copy //SEG78 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@28->main::@1#3] -- register_copy @@ -17878,7 +18451,7 @@ main: { //SEG90 [38] phi from main::@6 to main::@23 [phi:main::@6->main::@23] //SEG91 main::@23 //SEG92 [39] call keyboard_event_scan - //SEG93 [288] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] + //SEG93 [306] phi from main::@23 to keyboard_event_scan [phi:main::@23->keyboard_event_scan] jsr keyboard_event_scan //SEG94 [40] phi from main::@23 to main::@24 [phi:main::@23->main::@24] //SEG95 main::@24 @@ -17930,69 +18503,157 @@ main: { cmp #0 beq b4 //SEG119 main::@13 - //SEG120 [60] (byte~) render_screen_render#63 ← (byte) render_screen_render#16 -- vbuxx=vbuz1 + //SEG120 [60] (byte~) render_screen_render#65 ← (byte) render_screen_render#17 -- vbuxx=vbuz1 ldx render_screen_render //SEG121 [61] call render_playfield - //SEG122 [96] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] - //SEG123 [96] phi (byte) render_screen_render#19 = (byte~) render_screen_render#63 [phi:main::@13->render_playfield#0] -- register_copy + //SEG122 [114] phi from main::@13 to render_playfield [phi:main::@13->render_playfield] + //SEG123 [114] phi (byte) render_screen_render#21 = (byte~) render_screen_render#65 [phi:main::@13->render_playfield#0] -- register_copy jsr render_playfield //SEG124 main::@29 - //SEG125 [62] (byte~) current_ypos#86 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG125 [62] (byte~) current_ypos#87 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG126 [63] (byte~) render_screen_render#62 ← (byte) render_screen_render#16 -- vbuz1=vbuz2 + //SEG126 [63] (byte~) render_screen_render#64 ← (byte) render_screen_render#17 -- vbuz1=vbuz2 lda render_screen_render - sta render_screen_render_62 - //SEG127 [64] (byte~) current_xpos#112 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + sta render_screen_render_64 + //SEG127 [64] (byte~) current_xpos#113 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos - sta current_xpos_112 - //SEG128 [65] (byte*~) current_piece_gfx#102 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 + sta current_xpos_113 + //SEG128 [65] (byte*~) current_piece_gfx#103 ← (byte*) current_piece_gfx#14 -- pbuz1=pbuz2 lda current_piece_gfx - sta current_piece_gfx_102 + sta current_piece_gfx_103 lda current_piece_gfx+1 - sta current_piece_gfx_102+1 - //SEG129 [66] (byte~) current_piece_char#90 ← (byte) current_piece_char#1 -- vbuxx=vbuz1 + sta current_piece_gfx_103+1 + //SEG129 [66] (byte~) current_piece_char#91 ← (byte) current_piece_char#1 -- vbuxx=vbuz1 ldx current_piece_char //SEG130 [67] call render_current - //SEG131 [73] phi from main::@29 to render_current [phi:main::@29->render_current] - //SEG132 [73] phi (byte) current_piece_char#64 = (byte~) current_piece_char#90 [phi:main::@29->render_current#0] -- register_copy - //SEG133 [73] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#102 [phi:main::@29->render_current#1] -- register_copy - //SEG134 [73] phi (byte) current_xpos#47 = (byte~) current_xpos#112 [phi:main::@29->render_current#2] -- register_copy - //SEG135 [73] phi (byte) render_screen_render#28 = (byte~) render_screen_render#62 [phi:main::@29->render_current#3] -- register_copy - //SEG136 [73] phi (byte) current_ypos#9 = (byte~) current_ypos#86 [phi:main::@29->render_current#4] -- register_copy + //SEG131 [91] phi from main::@29 to render_current [phi:main::@29->render_current] + //SEG132 [91] phi (byte) current_piece_char#64 = (byte~) current_piece_char#91 [phi:main::@29->render_current#0] -- register_copy + //SEG133 [91] phi (byte*) current_piece_gfx#53 = (byte*~) current_piece_gfx#103 [phi:main::@29->render_current#1] -- register_copy + //SEG134 [91] phi (byte) current_xpos#47 = (byte~) current_xpos#113 [phi:main::@29->render_current#2] -- register_copy + //SEG135 [91] phi (byte) render_screen_render#30 = (byte~) render_screen_render#64 [phi:main::@29->render_current#3] -- register_copy + //SEG136 [91] phi (byte) current_ypos#9 = (byte~) current_ypos#87 [phi:main::@29->render_current#4] -- register_copy jsr render_current //SEG137 [68] phi from main::@29 to main::@30 [phi:main::@29->main::@30] //SEG138 main::@30 - //SEG139 [69] call render_screen_swap + //SEG139 [69] call render_score + jsr render_score + //SEG140 [70] phi from main::@30 to main::@31 [phi:main::@30->main::@31] + //SEG141 main::@31 + //SEG142 [71] call render_screen_swap jsr render_screen_swap - //SEG140 [34] phi from main::@30 to main::@1 [phi:main::@30->main::@1] - //SEG141 [34] phi (dword) score_bcd#13 = (dword) score_bcd#2 [phi:main::@30->main::@1#0] -- register_copy - //SEG142 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@30->main::@1#1] -- register_copy - //SEG143 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@30->main::@1#2] -- register_copy - //SEG144 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@30->main::@1#3] -- register_copy - //SEG145 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@30->main::@1#4] -- register_copy - //SEG146 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@30->main::@1#5] -- register_copy - //SEG147 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@30->main::@1#6] -- register_copy - //SEG148 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@30->main::@1#7] -- register_copy - //SEG149 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@30->main::@1#8] -- register_copy - //SEG150 [34] phi (byte) render_screen_render#16 = (byte) render_screen_render#11 [phi:main::@30->main::@1#9] -- register_copy - //SEG151 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@30->main::@1#10] -- register_copy + //SEG143 [34] phi from main::@31 to main::@1 [phi:main::@31->main::@1] + //SEG144 [34] phi (dword) score_bcd#14 = (dword) score_bcd#10 [phi:main::@31->main::@1#0] -- register_copy + //SEG145 [34] phi (byte) current_movedown_counter#12 = (byte) current_movedown_counter#10 [phi:main::@31->main::@1#1] -- register_copy + //SEG146 [34] phi (byte) keyboard_events_size#19 = (byte) keyboard_events_size#16 [phi:main::@31->main::@1#2] -- register_copy + //SEG147 [34] phi (byte) current_piece_char#15 = (byte) current_piece_char#1 [phi:main::@31->main::@1#3] -- register_copy + //SEG148 [34] phi (byte) current_ypos#21 = (byte) current_ypos#13 [phi:main::@31->main::@1#4] -- register_copy + //SEG149 [34] phi (byte) current_xpos#10 = (byte) current_xpos#19 [phi:main::@31->main::@1#5] -- register_copy + //SEG150 [34] phi (byte*) current_piece_gfx#20 = (byte*) current_piece_gfx#14 [phi:main::@31->main::@1#6] -- register_copy + //SEG151 [34] phi (byte) current_orientation#10 = (byte) current_orientation#19 [phi:main::@31->main::@1#7] -- register_copy + //SEG152 [34] phi (byte*) current_piece#16 = (byte*) current_piece#10 [phi:main::@31->main::@1#8] -- register_copy + //SEG153 [34] phi (byte) render_screen_render#17 = (byte) render_screen_render#11 [phi:main::@31->main::@1#9] -- register_copy + //SEG154 [34] phi (byte) render_screen_show#16 = (byte) render_screen_show#13 [phi:main::@31->main::@1#10] -- register_copy jmp b4 } -//SEG152 render_screen_swap +//SEG155 render_screen_swap render_screen_swap: { - //SEG153 [70] (byte) render_screen_render#11 ← (byte) render_screen_render#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG156 [72] (byte) render_screen_render#11 ← (byte) render_screen_render#17 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_render eor #$40 sta render_screen_render - //SEG154 [71] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 + //SEG157 [73] (byte) render_screen_show#13 ← (byte) render_screen_show#16 ^ (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuz1=vbuz1_bxor_vbuc1 lda render_screen_show eor #$40 sta render_screen_show - //SEG155 render_screen_swap::@return - //SEG156 [72] return + //SEG158 render_screen_swap::@return + //SEG159 [74] return rts } -//SEG157 render_current +//SEG160 render_score +render_score: { + .const ZERO_CHAR = $33 + .const SCREEN_SCORE_ROW = 5 + .const SCREEN_SCORE_COL = $1d + .label score_bytes = score_bcd + .label score_byte = 7 + .label screen_score_pos = 5 + //SEG161 [75] if((byte) render_screen_render#17==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_score::@2 -- vbuz1_eq_0_then_la1 + lda render_screen_render + cmp #0 + beq b1 + //SEG162 [76] phi from render_score to render_score::@4 [phi:render_score->render_score::@4] + //SEG163 render_score::@4 + //SEG164 [77] phi from render_score::@4 to render_score::@2 [phi:render_score::@4->render_score::@2] + //SEG165 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score::@4->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_2+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + jmp b2 + //SEG166 [77] phi from render_score to render_score::@2 [phi:render_score->render_score::@2] + b1: + //SEG167 [77] phi (byte*) render_score::screen_score_pos#5 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 40*(const byte) render_score::SCREEN_SCORE_ROW#0+(const byte) render_score::SCREEN_SCORE_COL#0 [phi:render_score->render_score::@2#0] -- pbuz1=pbuc1 + lda #PLAYFIELD_SCREEN_1+$28*SCREEN_SCORE_ROW+SCREEN_SCORE_COL + sta screen_score_pos+1 + //SEG168 render_score::@2 + b2: + //SEG169 [78] phi from render_score::@2 to render_score::@3 [phi:render_score::@2->render_score::@3] + //SEG170 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#5 [phi:render_score::@2->render_score::@3#0] -- register_copy + //SEG171 [78] phi (byte) render_score::b#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_score::@2->render_score::@3#1] -- vbuxx=vbuc1 + ldx #0 + //SEG172 [78] phi from render_score::@3 to render_score::@3 [phi:render_score::@3->render_score::@3] + //SEG173 [78] phi (byte*) render_score::screen_score_pos#4 = (byte*) render_score::screen_score_pos#3 [phi:render_score::@3->render_score::@3#0] -- register_copy + //SEG174 [78] phi (byte) render_score::b#2 = (byte) render_score::b#1 [phi:render_score::@3->render_score::@3#1] -- register_copy + //SEG175 render_score::@3 + b3: + //SEG176 [79] (byte) render_score::score_byte#0 ← *((const byte*) render_score::score_bytes#0 + (byte) render_score::b#2) -- vbuz1=pbuc1_derefidx_vbuxx + lda score_bytes,x + sta score_byte + //SEG177 [80] (byte~) render_score::$9 ← (byte) render_score::score_byte#0 & (byte/signed byte/word/signed word/dword/signed dword) 15 -- vbuaa=vbuz1_band_vbuc1 + lda #$f + and score_byte + //SEG178 [81] (byte~) render_score::$10 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$9 -- vbuaa=vbuc1_plus_vbuaa + clc + adc #ZERO_CHAR + //SEG179 [82] *((byte*) render_score::screen_score_pos#4) ← (byte~) render_score::$10 -- _deref_pbuz1=vbuaa + ldy #0 + sta (screen_score_pos),y + //SEG180 [83] (byte*) render_score::screen_score_pos#2 ← -- (byte*) render_score::screen_score_pos#4 -- pbuz1=_dec_pbuz1 + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + //SEG181 [84] (byte~) render_score::$11 ← (byte) render_score::score_byte#0 >> (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuaa=vbuz1_ror_4 + lda score_byte + lsr + lsr + lsr + lsr + //SEG182 [85] (byte~) render_score::$12 ← (const byte) render_score::ZERO_CHAR#0 + (byte~) render_score::$11 -- vbuaa=vbuc1_plus_vbuaa + clc + adc #ZERO_CHAR + //SEG183 [86] *((byte*) render_score::screen_score_pos#2) ← (byte~) render_score::$12 -- _deref_pbuz1=vbuaa + ldy #0 + sta (screen_score_pos),y + //SEG184 [87] (byte*) render_score::screen_score_pos#3 ← -- (byte*) render_score::screen_score_pos#2 -- pbuz1=_dec_pbuz1 + lda screen_score_pos + bne !+ + dec screen_score_pos+1 + !: + dec screen_score_pos + //SEG185 [88] (byte) render_score::b#1 ← ++ (byte) render_score::b#2 -- vbuxx=_inc_vbuxx + inx + //SEG186 [89] if((byte) render_score::b#1!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto render_score::@3 -- vbuxx_neq_vbuc1_then_la1 + cpx #3 + bne b3 + //SEG187 render_score::@return + //SEG188 [90] return + rts +} +//SEG189 render_current render_current: { .label ypos2 = 9 .label screen_line = $1b @@ -18000,282 +18661,282 @@ render_current: { .label i = $b .label l = $a .label c = $d - //SEG158 [74] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 + //SEG190 [92] (byte) render_current::ypos2#0 ← (byte) current_ypos#9 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 tya asl sta ypos2 - //SEG159 [75] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] - //SEG160 [75] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 + //SEG191 [93] phi from render_current to render_current::@1 [phi:render_current->render_current::@1] + //SEG192 [93] phi (byte) render_current::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG161 [75] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 + //SEG193 [93] phi (byte) render_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current->render_current::@1#1] -- vbuz1=vbuc1 sta i - //SEG162 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy - //SEG163 [75] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] - //SEG164 [75] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy - //SEG165 [75] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy - //SEG166 [75] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy - //SEG167 render_current::@1 + //SEG194 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#0 [phi:render_current->render_current::@1#2] -- register_copy + //SEG195 [93] phi from render_current::@3 to render_current::@1 [phi:render_current::@3->render_current::@1] + //SEG196 [93] phi (byte) render_current::l#4 = (byte) render_current::l#1 [phi:render_current::@3->render_current::@1#0] -- register_copy + //SEG197 [93] phi (byte) render_current::i#3 = (byte) render_current::i#8 [phi:render_current::@3->render_current::@1#1] -- register_copy + //SEG198 [93] phi (byte) render_current::ypos2#2 = (byte) render_current::ypos2#1 [phi:render_current::@3->render_current::@1#2] -- register_copy + //SEG199 render_current::@1 b1: - //SEG168 [76] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 + //SEG200 [94] if((byte) render_current::ypos2#2>(byte/signed byte/word/signed word/dword/signed dword) 2) goto render_current::@13 -- vbuz1_gt_vbuc1_then_la1 lda ypos2 cmp #2 beq !+ bcs b13 !: - //SEG169 render_current::@7 + //SEG201 render_current::@7 b7: - //SEG170 [77] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 + //SEG202 [95] (byte) render_current::i#1 ← (byte) render_current::i#3 + (byte/signed byte/word/signed word/dword/signed dword) 4 -- vbuz1=vbuz1_plus_vbuc1 lda #4 clc adc i sta i - //SEG171 [78] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] - //SEG172 [78] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy - //SEG173 render_current::@3 + //SEG203 [96] phi from render_current::@5 render_current::@7 to render_current::@3 [phi:render_current::@5/render_current::@7->render_current::@3] + //SEG204 [96] phi (byte) render_current::i#8 = (byte) render_current::i#10 [phi:render_current::@5/render_current::@7->render_current::@3#0] -- register_copy + //SEG205 render_current::@3 b3: - //SEG174 [79] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG206 [97] (byte) render_current::ypos2#1 ← (byte) render_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG175 [80] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 + //SEG207 [98] (byte) render_current::l#1 ← ++ (byte) render_current::l#4 -- vbuz1=_inc_vbuz1 inc l - //SEG176 [81] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG208 [99] if((byte) render_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b1 - //SEG177 render_current::@return - //SEG178 [82] return + //SEG209 render_current::@return + //SEG210 [100] return rts - //SEG179 render_current::@13 + //SEG211 render_current::@13 b13: - //SEG180 [83] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 + //SEG212 [101] if((byte) render_current::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto render_current::@2 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b2 jmp b7 - //SEG181 render_current::@2 + //SEG213 render_current::@2 b2: - //SEG182 [84] (byte~) render_current::$5 ← (byte) render_screen_render#28 + (byte) render_current::ypos2#2 -- vbuaa=vbuz1_plus_vbuz2 - lda render_screen_render_28 + //SEG214 [102] (byte~) render_current::$5 ← (byte) render_screen_render#30 + (byte) render_current::ypos2#2 -- vbuaa=vbuz1_plus_vbuz2 + lda render_screen_render_30 clc adc ypos2 - //SEG183 [85] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuaa + //SEG215 [103] (byte*) render_current::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_current::$5) -- pbuz1=pptc1_derefidx_vbuaa tay lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG184 [86] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 + //SEG216 [104] (byte) render_current::xpos#0 ← (byte) current_xpos#47 -- vbuz1=vbuz2 lda current_xpos_47 sta xpos - //SEG185 [87] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] - //SEG186 [87] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 + //SEG217 [105] phi from render_current::@2 to render_current::@4 [phi:render_current::@2->render_current::@4] + //SEG218 [105] phi (byte) render_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_current::@2->render_current::@4#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG187 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy - //SEG188 [87] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy - //SEG189 [87] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] - //SEG190 [87] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy - //SEG191 [87] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy - //SEG192 [87] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy - //SEG193 render_current::@4 + //SEG219 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#0 [phi:render_current::@2->render_current::@4#1] -- register_copy + //SEG220 [105] phi (byte) render_current::i#4 = (byte) render_current::i#3 [phi:render_current::@2->render_current::@4#2] -- register_copy + //SEG221 [105] phi from render_current::@5 to render_current::@4 [phi:render_current::@5->render_current::@4] + //SEG222 [105] phi (byte) render_current::c#2 = (byte) render_current::c#1 [phi:render_current::@5->render_current::@4#0] -- register_copy + //SEG223 [105] phi (byte) render_current::xpos#2 = (byte) render_current::xpos#1 [phi:render_current::@5->render_current::@4#1] -- register_copy + //SEG224 [105] phi (byte) render_current::i#4 = (byte) render_current::i#10 [phi:render_current::@5->render_current::@4#2] -- register_copy + //SEG225 render_current::@4 b4: - //SEG194 [88] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuaa=pbuz1_derefidx_vbuz2 + //SEG226 [106] (byte) render_current::current_cell#0 ← *((byte*) current_piece_gfx#53 + (byte) render_current::i#4) -- vbuaa=pbuz1_derefidx_vbuz2 ldy i lda (current_piece_gfx_53),y - //SEG195 [89] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 + //SEG227 [107] (byte) render_current::i#10 ← ++ (byte) render_current::i#4 -- vbuz1=_inc_vbuz1 inc i - //SEG196 [90] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuaa_eq_0_then_la1 + //SEG228 [108] if((byte) render_current::current_cell#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_current::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5 - //SEG197 render_current::@9 - //SEG198 [91] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 + //SEG229 render_current::@9 + //SEG230 [109] if((byte) render_current::xpos#2>=(const byte) PLAYFIELD_COLS#0) goto render_current::@5 -- vbuz1_ge_vbuc1_then_la1 lda xpos cmp #PLAYFIELD_COLS bcs b5 - //SEG199 render_current::@10 - //SEG200 [92] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuxx + //SEG231 render_current::@10 + //SEG232 [110] *((byte*) render_current::screen_line#0 + (byte) render_current::xpos#2) ← (byte) current_piece_char#64 -- pbuz1_derefidx_vbuz2=vbuxx tay txa sta (screen_line),y - //SEG201 render_current::@5 + //SEG233 render_current::@5 b5: - //SEG202 [93] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 + //SEG234 [111] (byte) render_current::xpos#1 ← ++ (byte) render_current::xpos#2 -- vbuz1=_inc_vbuz1 inc xpos - //SEG203 [94] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 + //SEG235 [112] (byte) render_current::c#1 ← ++ (byte) render_current::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG204 [95] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG236 [113] if((byte) render_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_current::@4 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #4 bne b4 jmp b3 } -//SEG205 render_playfield +//SEG237 render_playfield render_playfield: { - .label screen_line = 7 - .label i = 6 + .label screen_line = 5 + .label i = 8 .label c = 9 - .label l = 5 - //SEG206 [97] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] - //SEG207 [97] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 + .label l = 7 + //SEG238 [115] phi from render_playfield to render_playfield::@1 [phi:render_playfield->render_playfield::@1] + //SEG239 [115] phi (byte) render_playfield::i#3 = (const byte) PLAYFIELD_COLS#0*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#0] -- vbuz1=vbuc1 lda #PLAYFIELD_COLS*2 sta i - //SEG208 [97] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 + //SEG240 [115] phi (byte) render_playfield::l#2 = (byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_playfield->render_playfield::@1#1] -- vbuz1=vbuc1 lda #2 sta l - //SEG209 [97] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] - //SEG210 [97] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy - //SEG211 [97] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy - //SEG212 render_playfield::@1 + //SEG241 [115] phi from render_playfield::@3 to render_playfield::@1 [phi:render_playfield::@3->render_playfield::@1] + //SEG242 [115] phi (byte) render_playfield::i#3 = (byte) render_playfield::i#1 [phi:render_playfield::@3->render_playfield::@1#0] -- register_copy + //SEG243 [115] phi (byte) render_playfield::l#2 = (byte) render_playfield::l#1 [phi:render_playfield::@3->render_playfield::@1#1] -- register_copy + //SEG244 render_playfield::@1 b1: - //SEG213 [98] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuz1_rol_1 + //SEG245 [116] (byte~) render_playfield::$2 ← (byte) render_playfield::l#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuz1_rol_1 lda l asl - //SEG214 [99] (byte~) render_playfield::$3 ← (byte) render_screen_render#19 + (byte~) render_playfield::$2 -- vbuaa=vbuxx_plus_vbuaa + //SEG246 [117] (byte~) render_playfield::$3 ← (byte) render_screen_render#21 + (byte~) render_playfield::$2 -- vbuaa=vbuxx_plus_vbuaa stx $ff clc adc $ff - //SEG215 [100] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuaa + //SEG247 [118] (byte*) render_playfield::screen_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_playfield::$3) -- pbuz1=pptc1_derefidx_vbuaa tay lda screen_lines_1,y sta screen_line lda screen_lines_1+1,y sta screen_line+1 - //SEG216 [101] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] - //SEG217 [101] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 + //SEG248 [119] phi from render_playfield::@1 to render_playfield::@2 [phi:render_playfield::@1->render_playfield::@2] + //SEG249 [119] phi (byte) render_playfield::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_playfield::@1->render_playfield::@2#0] -- vbuz1=vbuc1 lda #0 sta c - //SEG218 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy - //SEG219 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy - //SEG220 [101] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] - //SEG221 [101] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy - //SEG222 [101] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy - //SEG223 [101] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy - //SEG224 render_playfield::@2 + //SEG250 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#0 [phi:render_playfield::@1->render_playfield::@2#1] -- register_copy + //SEG251 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#3 [phi:render_playfield::@1->render_playfield::@2#2] -- register_copy + //SEG252 [119] phi from render_playfield::@2 to render_playfield::@2 [phi:render_playfield::@2->render_playfield::@2] + //SEG253 [119] phi (byte) render_playfield::c#2 = (byte) render_playfield::c#1 [phi:render_playfield::@2->render_playfield::@2#0] -- register_copy + //SEG254 [119] phi (byte*) render_playfield::screen_line#2 = (byte*) render_playfield::screen_line#1 [phi:render_playfield::@2->render_playfield::@2#1] -- register_copy + //SEG255 [119] phi (byte) render_playfield::i#2 = (byte) render_playfield::i#1 [phi:render_playfield::@2->render_playfield::@2#2] -- register_copy + //SEG256 render_playfield::@2 b2: - //SEG225 [102] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 + //SEG257 [120] *((byte*) render_playfield::screen_line#2) ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) render_playfield::i#2) -- _deref_pbuz1=pbuc1_derefidx_vbuz2 ldy i lda playfield,y ldy #0 sta (screen_line),y - //SEG226 [103] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 + //SEG258 [121] (byte*) render_playfield::screen_line#1 ← ++ (byte*) render_playfield::screen_line#2 -- pbuz1=_inc_pbuz1 inc screen_line bne !+ inc screen_line+1 !: - //SEG227 [104] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 + //SEG259 [122] (byte) render_playfield::i#1 ← ++ (byte) render_playfield::i#2 -- vbuz1=_inc_vbuz1 inc i - //SEG228 [105] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 + //SEG260 [123] (byte) render_playfield::c#1 ← ++ (byte) render_playfield::c#2 -- vbuz1=_inc_vbuz1 inc c - //SEG229 [106] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG261 [124] if((byte) render_playfield::c#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@2 -- vbuz1_neq_vbuc1_then_la1 lda c cmp #PLAYFIELD_COLS-1+1 bne b2 - //SEG230 render_playfield::@3 - //SEG231 [107] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 + //SEG262 render_playfield::@3 + //SEG263 [125] (byte) render_playfield::l#1 ← ++ (byte) render_playfield::l#2 -- vbuz1=_inc_vbuz1 inc l - //SEG232 [108] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG264 [126] if((byte) render_playfield::l#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_playfield::@1 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #PLAYFIELD_LINES-1+1 bne b1 - //SEG233 render_playfield::@return - //SEG234 [109] return + //SEG265 render_playfield::@return + //SEG266 [127] return rts } -//SEG235 play_move_rotate +//SEG267 play_move_rotate play_move_rotate: { - .label orientation = 5 - //SEG236 [110] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuaa_eq_vbuc1_then_la1 + .label orientation = 7 + //SEG268 [128] if((byte) play_move_rotate::key_event#0==(const byte) KEY_Z#0) goto play_move_rotate::@1 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_Z beq b1 - //SEG237 play_move_rotate::@6 - //SEG238 [111] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuaa_eq_vbuc1_then_la1 + //SEG269 play_move_rotate::@6 + //SEG270 [129] if((byte) play_move_rotate::key_event#0==(const byte) KEY_X#0) goto play_move_rotate::@2 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_X beq b2 - //SEG239 [112] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] + //SEG271 [130] phi from play_move_rotate::@14 play_move_rotate::@6 to play_move_rotate::@return [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return] b3: - //SEG240 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy - //SEG241 [112] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy - //SEG242 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuaa=vbuc1 + //SEG272 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#1 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#0] -- register_copy + //SEG273 [130] phi (byte) current_orientation#19 = (byte) current_orientation#14 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#1] -- register_copy + //SEG274 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_rotate::@14/play_move_rotate::@6->play_move_rotate::@return#2] -- vbuaa=vbuc1 lda #0 - //SEG243 play_move_rotate::@return + //SEG275 play_move_rotate::@return breturn: - //SEG244 [113] return + //SEG276 [131] return rts - //SEG245 play_move_rotate::@2 + //SEG277 play_move_rotate::@2 b2: - //SEG246 [114] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_plus_vbuc1 + //SEG278 [132] (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 ← (byte) current_orientation#14 + (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_plus_vbuc1 lda #$10 clc adc current_orientation - //SEG247 [115] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 + //SEG279 [133] (byte) play_move_rotate::orientation#2 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$2 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 and #$3f sta orientation - //SEG248 [116] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] - //SEG249 [116] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy - //SEG250 play_move_rotate::@4 + //SEG280 [134] phi from play_move_rotate::@1 play_move_rotate::@2 to play_move_rotate::@4 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4] + //SEG281 [134] phi (byte) play_move_rotate::orientation#3 = (byte) play_move_rotate::orientation#1 [phi:play_move_rotate::@1/play_move_rotate::@2->play_move_rotate::@4#0] -- register_copy + //SEG282 play_move_rotate::@4 b4: - //SEG251 [117] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 + //SEG283 [135] (byte) play_collision::xpos#3 ← (byte) current_xpos#19 -- vbuz1=vbuz2 lda current_xpos sta play_collision.xpos - //SEG252 [118] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG284 [136] (byte) play_collision::ypos#3 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG253 [119] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuxx=vbuz1 + //SEG285 [137] (byte) play_collision::orientation#3 ← (byte) play_move_rotate::orientation#3 -- vbuxx=vbuz1 ldx orientation - //SEG254 [120] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG286 [138] (byte*~) current_piece#79 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece - sta current_piece_78 + sta current_piece_79 lda current_piece+1 - sta current_piece_78+1 - //SEG255 [121] call play_collision - //SEG256 [129] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] - //SEG257 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy - //SEG258 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy - //SEG259 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy - //SEG260 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_rotate::@4->play_collision#3] -- register_copy + sta current_piece_79+1 + //SEG287 [139] call play_collision + //SEG288 [147] phi from play_move_rotate::@4 to play_collision [phi:play_move_rotate::@4->play_collision] + //SEG289 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#3 [phi:play_move_rotate::@4->play_collision#0] -- register_copy + //SEG290 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#3 [phi:play_move_rotate::@4->play_collision#1] -- register_copy + //SEG291 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#3 [phi:play_move_rotate::@4->play_collision#2] -- register_copy + //SEG292 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#79 [phi:play_move_rotate::@4->play_collision#3] -- register_copy jsr play_collision - //SEG261 [122] (byte) play_collision::return#13 ← (byte) play_collision::return#14 + //SEG293 [140] (byte) play_collision::return#13 ← (byte) play_collision::return#14 // (byte) play_collision::return#13 = (byte) play_collision::return#14 // register copy reg byte a - //SEG262 play_move_rotate::@14 - //SEG263 [123] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 + //SEG294 play_move_rotate::@14 + //SEG295 [141] (byte~) play_move_rotate::$6 ← (byte) play_collision::return#13 // (byte~) play_move_rotate::$6 = (byte) play_collision::return#13 // register copy reg byte a - //SEG264 [124] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG296 [142] if((byte~) play_move_rotate::$6!=(const byte) COLLISION_NONE#0) goto play_move_rotate::@return -- vbuaa_neq_vbuc1_then_la1 cmp #COLLISION_NONE bne b3 - //SEG265 play_move_rotate::@11 - //SEG266 [125] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 + //SEG297 play_move_rotate::@11 + //SEG298 [143] (byte) current_orientation#4 ← (byte) play_move_rotate::orientation#3 -- vbuz1=vbuz2 lda orientation sta current_orientation - //SEG267 [126] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 + //SEG299 [144] (byte*) current_piece_gfx#3 ← (byte*) current_piece#10 + (byte) current_orientation#4 -- pbuz1=pbuz2_plus_vbuz3 clc adc current_piece sta current_piece_gfx lda #0 adc current_piece+1 sta current_piece_gfx+1 - //SEG268 [112] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] - //SEG269 [112] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy - //SEG270 [112] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy - //SEG271 [112] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuaa=vbuc1 + //SEG300 [130] phi from play_move_rotate::@11 to play_move_rotate::@return [phi:play_move_rotate::@11->play_move_rotate::@return] + //SEG301 [130] phi (byte*) current_piece_gfx#14 = (byte*) current_piece_gfx#3 [phi:play_move_rotate::@11->play_move_rotate::@return#0] -- register_copy + //SEG302 [130] phi (byte) current_orientation#19 = (byte) current_orientation#4 [phi:play_move_rotate::@11->play_move_rotate::@return#1] -- register_copy + //SEG303 [130] phi (byte) play_move_rotate::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_rotate::@11->play_move_rotate::@return#2] -- vbuaa=vbuc1 lda #1 jmp breturn - //SEG272 play_move_rotate::@1 + //SEG304 play_move_rotate::@1 b1: - //SEG273 [127] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_minus_vbuc1 + //SEG305 [145] (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 ← (byte) current_orientation#14 - (byte/signed byte/word/signed word/dword/signed dword) 16 -- vbuaa=vbuz1_minus_vbuc1 lda current_orientation sec sbc #$10 - //SEG274 [128] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 + //SEG306 [146] (byte) play_move_rotate::orientation#1 ← (byte/signed word/word/dword/signed dword~) play_move_rotate::$4 & (byte/signed byte/word/signed word/dword/signed dword) 63 -- vbuz1=vbuaa_band_vbuc1 and #$3f sta orientation jmp b4 } -//SEG275 play_collision +//SEG307 play_collision play_collision: { - .label xpos = 6 - .label piece_gfx = 7 + .label xpos = 8 + .label piece_gfx = 5 .label ypos2 = 9 .label playfield_line = $1b .label i = $23 @@ -18285,7 +18946,7 @@ play_collision: { .label i_3 = $b .label i_11 = $b .label i_13 = $b - //SEG276 [130] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz1_plus_vbuxx + //SEG308 [148] (byte*) play_collision::piece_gfx#0 ← (byte*) current_piece#12 + (byte) play_collision::orientation#4 -- pbuz1=pbuz1_plus_vbuxx txa clc adc piece_gfx @@ -18293,469 +18954,469 @@ play_collision: { lda #0 adc piece_gfx+1 sta piece_gfx+1 - //SEG277 [131] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 + //SEG309 [149] (byte) play_collision::ypos2#0 ← (byte) play_collision::ypos#4 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuyy_rol_1 tya asl sta ypos2 - //SEG278 [132] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] - //SEG279 [132] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 + //SEG310 [150] phi from play_collision to play_collision::@1 [phi:play_collision->play_collision::@1] + //SEG311 [150] phi (byte) play_collision::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG280 [132] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 + //SEG312 [150] phi (byte) play_collision::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision->play_collision::@1#1] -- vbuz1=vbuc1 sta i_3 - //SEG281 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy - //SEG282 play_collision::@1 + //SEG313 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#0 [phi:play_collision->play_collision::@1#2] -- register_copy + //SEG314 play_collision::@1 b1: - //SEG283 [133] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG315 [151] (byte*) play_collision::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_collision::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG284 [134] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 + //SEG316 [152] (byte~) play_collision::col#9 ← (byte) play_collision::xpos#5 -- vbuz1=vbuz2 lda xpos sta col - //SEG285 [135] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] - //SEG286 [135] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuxx=vbuc1 + //SEG317 [153] phi from play_collision::@1 to play_collision::@2 [phi:play_collision::@1->play_collision::@2] + //SEG318 [153] phi (byte) play_collision::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_collision::@1->play_collision::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG287 [135] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy - //SEG288 [135] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy - //SEG289 play_collision::@2 + //SEG319 [153] phi (byte) play_collision::col#2 = (byte~) play_collision::col#9 [phi:play_collision::@1->play_collision::@2#1] -- register_copy + //SEG320 [153] phi (byte) play_collision::i#2 = (byte) play_collision::i#3 [phi:play_collision::@1->play_collision::@2#2] -- register_copy + //SEG321 play_collision::@2 b2: - //SEG290 [136] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 + //SEG322 [154] (byte) play_collision::i#1 ← ++ (byte) play_collision::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG291 [137] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG323 [155] if(*((byte*) play_collision::piece_gfx#0 + (byte) play_collision::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (piece_gfx),y cmp #0 beq b3 - //SEG292 play_collision::@8 - //SEG293 [138] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 + //SEG324 play_collision::@8 + //SEG325 [156] if((byte) play_collision::ypos2#2<(byte/signed byte/word/signed word/dword/signed dword) 2*(const byte) PLAYFIELD_LINES#0) goto play_collision::@4 -- vbuz1_lt_vbuc1_then_la1 lda ypos2 cmp #2*PLAYFIELD_LINES bcc b4 - //SEG294 [139] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] - //SEG295 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG326 [157] phi from play_collision::@8 to play_collision::@return [phi:play_collision::@8->play_collision::@return] + //SEG327 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_BOTTOM#0 [phi:play_collision::@8->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_BOTTOM - //SEG296 play_collision::@return + //SEG328 play_collision::@return breturn: - //SEG297 [140] return + //SEG329 [158] return rts - //SEG298 play_collision::@4 + //SEG330 play_collision::@4 b4: - //SEG299 [141] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuaa=vbuz1_band_vbuc1 + //SEG331 [159] (byte~) play_collision::$7 ← (byte) play_collision::col#2 & (byte/word/signed word/dword/signed dword) 128 -- vbuaa=vbuz1_band_vbuc1 lda #$80 and col - //SEG300 [142] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuaa_eq_0_then_la1 + //SEG332 [160] if((byte~) play_collision::$7==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5 - //SEG301 [139] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] - //SEG302 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG333 [157] phi from play_collision::@4 to play_collision::@return [phi:play_collision::@4->play_collision::@return] + //SEG334 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_LEFT#0 [phi:play_collision::@4->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_LEFT jmp breturn - //SEG303 play_collision::@5 + //SEG335 play_collision::@5 b5: - //SEG304 [143] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 + //SEG336 [161] if((byte) play_collision::col#2<(const byte) PLAYFIELD_COLS#0) goto play_collision::@6 -- vbuz1_lt_vbuc1_then_la1 lda col cmp #PLAYFIELD_COLS bcc b6 - //SEG305 [139] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] - //SEG306 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG337 [157] phi from play_collision::@5 to play_collision::@return [phi:play_collision::@5->play_collision::@return] + //SEG338 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_RIGHT#0 [phi:play_collision::@5->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_RIGHT jmp breturn - //SEG307 play_collision::@6 + //SEG339 play_collision::@6 b6: - //SEG308 [144] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG340 [162] if(*((byte*) play_collision::playfield_line#0 + (byte) play_collision::col#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_collision::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy col lda (playfield_line),y cmp #0 beq b3 - //SEG309 [139] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] - //SEG310 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG341 [157] phi from play_collision::@6 to play_collision::@return [phi:play_collision::@6->play_collision::@return] + //SEG342 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_PLAYFIELD#0 [phi:play_collision::@6->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_PLAYFIELD jmp breturn - //SEG311 play_collision::@3 + //SEG343 play_collision::@3 b3: - //SEG312 [145] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 + //SEG344 [163] (byte) play_collision::col#1 ← ++ (byte) play_collision::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG313 [146] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuxx=_inc_vbuxx + //SEG345 [164] (byte) play_collision::c#1 ← ++ (byte) play_collision::c#2 -- vbuxx=_inc_vbuxx inx - //SEG314 [147] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuxx_neq_vbuc1_then_la1 + //SEG346 [165] if((byte) play_collision::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@21 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b21 - //SEG315 play_collision::@17 - //SEG316 [148] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG347 play_collision::@17 + //SEG348 [166] (byte) play_collision::ypos2#1 ← (byte) play_collision::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG317 [149] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 + //SEG349 [167] (byte) play_collision::l#1 ← ++ (byte) play_collision::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG318 [150] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 + //SEG350 [168] if((byte) play_collision::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_collision::@20 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b20 - //SEG319 [139] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] - //SEG320 [139] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuaa=vbuc1 + //SEG351 [157] phi from play_collision::@17 to play_collision::@return [phi:play_collision::@17->play_collision::@return] + //SEG352 [157] phi (byte) play_collision::return#14 = (const byte) COLLISION_NONE#0 [phi:play_collision::@17->play_collision::@return#0] -- vbuaa=vbuc1 lda #COLLISION_NONE jmp breturn - //SEG321 play_collision::@20 + //SEG353 play_collision::@20 b20: - //SEG322 [151] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG354 [169] (byte~) play_collision::i#11 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_11 - //SEG323 [132] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] - //SEG324 [132] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy - //SEG325 [132] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy - //SEG326 [132] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy + //SEG355 [150] phi from play_collision::@20 to play_collision::@1 [phi:play_collision::@20->play_collision::@1] + //SEG356 [150] phi (byte) play_collision::l#6 = (byte) play_collision::l#1 [phi:play_collision::@20->play_collision::@1#0] -- register_copy + //SEG357 [150] phi (byte) play_collision::i#3 = (byte~) play_collision::i#11 [phi:play_collision::@20->play_collision::@1#1] -- register_copy + //SEG358 [150] phi (byte) play_collision::ypos2#2 = (byte) play_collision::ypos2#1 [phi:play_collision::@20->play_collision::@1#2] -- register_copy jmp b1 - //SEG327 play_collision::@21 + //SEG359 play_collision::@21 b21: - //SEG328 [152] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 + //SEG360 [170] (byte~) play_collision::i#13 ← (byte) play_collision::i#1 -- vbuz1=vbuz2 lda i sta i_13 - //SEG329 [135] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] - //SEG330 [135] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy - //SEG331 [135] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy - //SEG332 [135] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy + //SEG361 [153] phi from play_collision::@21 to play_collision::@2 [phi:play_collision::@21->play_collision::@2] + //SEG362 [153] phi (byte) play_collision::c#2 = (byte) play_collision::c#1 [phi:play_collision::@21->play_collision::@2#0] -- register_copy + //SEG363 [153] phi (byte) play_collision::col#2 = (byte) play_collision::col#1 [phi:play_collision::@21->play_collision::@2#1] -- register_copy + //SEG364 [153] phi (byte) play_collision::i#2 = (byte~) play_collision::i#13 [phi:play_collision::@21->play_collision::@2#2] -- register_copy jmp b2 } -//SEG333 play_move_leftright +//SEG365 play_move_leftright play_move_leftright: { - //SEG334 [153] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuaa_eq_vbuc1_then_la1 + //SEG366 [171] if((byte) play_move_leftright::key_event#0==(const byte) KEY_COMMA#0) goto play_move_leftright::@1 -- vbuaa_eq_vbuc1_then_la1 cmp #KEY_COMMA beq b1 - //SEG335 play_move_leftright::@6 - //SEG336 [154] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG367 play_move_leftright::@6 + //SEG368 [172] if((byte) play_move_leftright::key_event#0!=(const byte) KEY_DOT#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 cmp #KEY_DOT bne b3 - //SEG337 play_move_leftright::@7 - //SEG338 [155] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 + //SEG369 play_move_leftright::@7 + //SEG370 [173] (byte) play_collision::xpos#2 ← (byte) current_xpos#1 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_plus_1 ldy current_xpos iny sty play_collision.xpos - //SEG339 [156] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG371 [174] (byte) play_collision::ypos#2 ← (byte) current_ypos#13 -- vbuyy=vbuz1 ldy current_ypos - //SEG340 [157] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuxx=vbuz1 + //SEG372 [175] (byte) play_collision::orientation#2 ← (byte) current_orientation#14 -- vbuxx=vbuz1 ldx current_orientation - //SEG341 [158] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG373 [176] (byte*~) current_piece#78 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + lda current_piece + sta current_piece_78 + lda current_piece+1 + sta current_piece_78+1 + //SEG374 [177] call play_collision + //SEG375 [147] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] + //SEG376 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy + //SEG377 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy + //SEG378 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy + //SEG379 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#78 [phi:play_move_leftright::@7->play_collision#3] -- register_copy + jsr play_collision + //SEG380 [178] (byte) play_collision::return#12 ← (byte) play_collision::return#14 + // (byte) play_collision::return#12 = (byte) play_collision::return#14 // register copy reg byte a + //SEG381 play_move_leftright::@15 + //SEG382 [179] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 + // (byte~) play_move_leftright::$4 = (byte) play_collision::return#12 // register copy reg byte a + //SEG383 [180] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + cmp #COLLISION_NONE + bne b3 + //SEG384 play_move_leftright::@8 + //SEG385 [181] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 + inc current_xpos + //SEG386 [182] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] + b2: + //SEG387 [182] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy + //SEG388 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuaa=vbuc1 + lda #1 + jmp breturn + //SEG389 [182] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] + b3: + //SEG390 [182] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy + //SEG391 [182] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuaa=vbuc1 + lda #0 + //SEG392 play_move_leftright::@return + breturn: + //SEG393 [183] return + rts + //SEG394 play_move_leftright::@1 + b1: + //SEG395 [184] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 + ldx current_xpos + dex + stx play_collision.xpos + //SEG396 [185] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + ldy current_ypos + //SEG397 [186] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuxx=vbuz1 + ldx current_orientation + //SEG398 [187] (byte*~) current_piece#77 ← (byte*) current_piece#10 -- pbuz1=pbuz2 lda current_piece sta current_piece_77 lda current_piece+1 sta current_piece_77+1 - //SEG342 [159] call play_collision - //SEG343 [129] phi from play_move_leftright::@7 to play_collision [phi:play_move_leftright::@7->play_collision] - //SEG344 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#2 [phi:play_move_leftright::@7->play_collision#0] -- register_copy - //SEG345 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#2 [phi:play_move_leftright::@7->play_collision#1] -- register_copy - //SEG346 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#2 [phi:play_move_leftright::@7->play_collision#2] -- register_copy - //SEG347 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@7->play_collision#3] -- register_copy + //SEG399 [188] call play_collision + //SEG400 [147] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] + //SEG401 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy + //SEG402 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy + //SEG403 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy + //SEG404 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#77 [phi:play_move_leftright::@1->play_collision#3] -- register_copy jsr play_collision - //SEG348 [160] (byte) play_collision::return#12 ← (byte) play_collision::return#14 - // (byte) play_collision::return#12 = (byte) play_collision::return#14 // register copy reg byte a - //SEG349 play_move_leftright::@15 - //SEG350 [161] (byte~) play_move_leftright::$4 ← (byte) play_collision::return#12 - // (byte~) play_move_leftright::$4 = (byte) play_collision::return#12 // register copy reg byte a - //SEG351 [162] if((byte~) play_move_leftright::$4!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 + //SEG405 [189] (byte) play_collision::return#1 ← (byte) play_collision::return#14 + // (byte) play_collision::return#1 = (byte) play_collision::return#14 // register copy reg byte a + //SEG406 play_move_leftright::@14 + //SEG407 [190] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 + // (byte~) play_move_leftright::$8 = (byte) play_collision::return#1 // register copy reg byte a + //SEG408 [191] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 cmp #COLLISION_NONE bne b3 - //SEG352 play_move_leftright::@8 - //SEG353 [163] (byte) current_xpos#2 ← ++ (byte) current_xpos#1 -- vbuz1=_inc_vbuz1 - inc current_xpos - //SEG354 [164] phi from play_move_leftright::@11 play_move_leftright::@8 to play_move_leftright::@return [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return] - b2: - //SEG355 [164] phi (byte) current_xpos#19 = (byte) current_xpos#4 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#0] -- register_copy - //SEG356 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_leftright::@11/play_move_leftright::@8->play_move_leftright::@return#1] -- vbuaa=vbuc1 - lda #1 - jmp breturn - //SEG357 [164] phi from play_move_leftright::@14 play_move_leftright::@15 play_move_leftright::@6 to play_move_leftright::@return [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return] + //SEG409 play_move_leftright::@11 + //SEG410 [192] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 + dec current_xpos + jmp b2 +} +//SEG411 play_move_down +play_move_down: { + //SEG412 [193] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 + inc current_movedown_counter + //SEG413 [194] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuaa_neq_vbuc1_then_la1 + cmp #KEY_SPACE + bne b3 + //SEG414 [195] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] + //SEG415 play_move_down::@8 + //SEG416 [196] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] + //SEG417 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuxx=vbuc1 + ldx #1 + jmp b1 + //SEG418 [196] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] b3: - //SEG358 [164] phi (byte) current_xpos#19 = (byte) current_xpos#1 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#0] -- register_copy - //SEG359 [164] phi (byte) play_move_leftright::return#1 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_leftright::@14/play_move_leftright::@15/play_move_leftright::@6->play_move_leftright::@return#1] -- vbuaa=vbuc1 - lda #0 - //SEG360 play_move_leftright::@return - breturn: - //SEG361 [165] return - rts - //SEG362 play_move_leftright::@1 + //SEG419 [196] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuxx=vbuc1 + ldx #0 + //SEG420 play_move_down::@1 b1: - //SEG363 [166] (byte) play_collision::xpos#1 ← (byte) current_xpos#1 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz2_minus_1 - ldx current_xpos - dex - stx play_collision.xpos - //SEG364 [167] (byte) play_collision::ypos#1 ← (byte) current_ypos#13 -- vbuyy=vbuz1 + //SEG421 [197] call keyboard_event_pressed + //SEG422 [295] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] + //SEG423 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 + lda #KEY_SPACE + sta keyboard_event_pressed.keycode + jsr keyboard_event_pressed + //SEG424 [198] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 + // (byte) keyboard_event_pressed::return#12 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a + //SEG425 play_move_down::@17 + //SEG426 [199] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 + // (byte~) play_move_down::$2 = (byte) keyboard_event_pressed::return#12 // register copy reg byte a + //SEG427 [200] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuaa_eq_0_then_la1 + cmp #0 + beq b2 + //SEG428 play_move_down::@9 + //SEG429 [201] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 + lda current_movedown_counter + cmp #current_movedown_fast + bcc b2 + //SEG430 play_move_down::@10 + //SEG431 [202] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuxx=_inc_vbuxx + inx + //SEG432 [203] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] + //SEG433 [203] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy + //SEG434 play_move_down::@2 + b2: + //SEG435 [204] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 + lda current_movedown_counter + cmp #current_movedown_slow + bcc b4 + //SEG436 play_move_down::@11 + //SEG437 [205] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuxx=_inc_vbuxx + inx + //SEG438 [206] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] + //SEG439 [206] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy + //SEG440 play_move_down::@4 + b4: + //SEG441 [207] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuxx_eq_0_then_la1 + cpx #0 + beq b5 + //SEG442 play_move_down::@12 + //SEG443 [208] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuyy=vbuz1_plus_1 ldy current_ypos - //SEG365 [168] (byte) play_collision::orientation#1 ← (byte) current_orientation#14 -- vbuxx=vbuz1 + iny + //SEG444 [209] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + lda current_xpos + sta play_collision.xpos + //SEG445 [210] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuxx=vbuz1 ldx current_orientation - //SEG366 [169] (byte*~) current_piece#76 ← (byte*) current_piece#10 -- pbuz1=pbuz2 + //SEG446 [211] (byte*~) current_piece#76 ← (byte*) current_piece#16 -- pbuz1=pbuz2 lda current_piece sta current_piece_76 lda current_piece+1 sta current_piece_76+1 - //SEG367 [170] call play_collision - //SEG368 [129] phi from play_move_leftright::@1 to play_collision [phi:play_move_leftright::@1->play_collision] - //SEG369 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#1 [phi:play_move_leftright::@1->play_collision#0] -- register_copy - //SEG370 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#1 [phi:play_move_leftright::@1->play_collision#1] -- register_copy - //SEG371 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#1 [phi:play_move_leftright::@1->play_collision#2] -- register_copy - //SEG372 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_leftright::@1->play_collision#3] -- register_copy + //SEG447 [212] call play_collision + //SEG448 [147] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] + //SEG449 [147] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy + //SEG450 [147] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy + //SEG451 [147] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy + //SEG452 [147] phi (byte*) current_piece#12 = (byte*~) current_piece#76 [phi:play_move_down::@12->play_collision#3] -- register_copy jsr play_collision - //SEG373 [171] (byte) play_collision::return#1 ← (byte) play_collision::return#14 - // (byte) play_collision::return#1 = (byte) play_collision::return#14 // register copy reg byte a - //SEG374 play_move_leftright::@14 - //SEG375 [172] (byte~) play_move_leftright::$8 ← (byte) play_collision::return#1 - // (byte~) play_move_leftright::$8 = (byte) play_collision::return#1 // register copy reg byte a - //SEG376 [173] if((byte~) play_move_leftright::$8!=(const byte) COLLISION_NONE#0) goto play_move_leftright::@return -- vbuaa_neq_vbuc1_then_la1 - cmp #COLLISION_NONE - bne b3 - //SEG377 play_move_leftright::@11 - //SEG378 [174] (byte) current_xpos#4 ← -- (byte) current_xpos#1 -- vbuz1=_dec_vbuz1 - dec current_xpos - jmp b2 -} -//SEG379 play_move_down -play_move_down: { - //SEG380 [175] (byte) current_movedown_counter#1 ← ++ (byte) current_movedown_counter#12 -- vbuz1=_inc_vbuz1 - inc current_movedown_counter - //SEG381 [176] if((byte) play_move_down::key_event#0!=(const byte) KEY_SPACE#0) goto play_move_down::@1 -- vbuaa_neq_vbuc1_then_la1 - cmp #KEY_SPACE - bne b3 - //SEG382 [177] phi from play_move_down to play_move_down::@8 [phi:play_move_down->play_move_down::@8] - //SEG383 play_move_down::@8 - //SEG384 [178] phi from play_move_down::@8 to play_move_down::@1 [phi:play_move_down::@8->play_move_down::@1] - //SEG385 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@8->play_move_down::@1#0] -- vbuxx=vbuc1 - ldx #1 - jmp b1 - //SEG386 [178] phi from play_move_down to play_move_down::@1 [phi:play_move_down->play_move_down::@1] - b3: - //SEG387 [178] phi (byte) play_move_down::movedown#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down->play_move_down::@1#0] -- vbuxx=vbuc1 - ldx #0 - //SEG388 play_move_down::@1 - b1: - //SEG389 [179] call keyboard_event_pressed - //SEG390 [277] phi from play_move_down::@1 to keyboard_event_pressed [phi:play_move_down::@1->keyboard_event_pressed] - //SEG391 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_SPACE#0 [phi:play_move_down::@1->keyboard_event_pressed#0] -- vbuz1=vbuc1 - lda #KEY_SPACE - sta keyboard_event_pressed.keycode - jsr keyboard_event_pressed - //SEG392 [180] (byte) keyboard_event_pressed::return#12 ← (byte) keyboard_event_pressed::return#11 - // (byte) keyboard_event_pressed::return#12 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a - //SEG393 play_move_down::@17 - //SEG394 [181] (byte~) play_move_down::$2 ← (byte) keyboard_event_pressed::return#12 - // (byte~) play_move_down::$2 = (byte) keyboard_event_pressed::return#12 // register copy reg byte a - //SEG395 [182] if((byte~) play_move_down::$2==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@2 -- vbuaa_eq_0_then_la1 - cmp #0 - beq b2 - //SEG396 play_move_down::@9 - //SEG397 [183] if((byte) current_movedown_counter#1<(const byte) current_movedown_fast#0) goto play_move_down::@2 -- vbuz1_lt_vbuc1_then_la1 - lda current_movedown_counter - cmp #current_movedown_fast - bcc b2 - //SEG398 play_move_down::@10 - //SEG399 [184] (byte) play_move_down::movedown#2 ← ++ (byte) play_move_down::movedown#10 -- vbuxx=_inc_vbuxx - inx - //SEG400 [185] phi from play_move_down::@10 play_move_down::@17 play_move_down::@9 to play_move_down::@2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2] - //SEG401 [185] phi (byte) play_move_down::movedown#7 = (byte) play_move_down::movedown#2 [phi:play_move_down::@10/play_move_down::@17/play_move_down::@9->play_move_down::@2#0] -- register_copy - //SEG402 play_move_down::@2 - b2: - //SEG403 [186] if((byte) current_movedown_counter#1<(const byte) current_movedown_slow#0) goto play_move_down::@4 -- vbuz1_lt_vbuc1_then_la1 - lda current_movedown_counter - cmp #current_movedown_slow - bcc b4 - //SEG404 play_move_down::@11 - //SEG405 [187] (byte) play_move_down::movedown#3 ← ++ (byte) play_move_down::movedown#7 -- vbuxx=_inc_vbuxx - inx - //SEG406 [188] phi from play_move_down::@11 play_move_down::@2 to play_move_down::@4 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4] - //SEG407 [188] phi (byte) play_move_down::movedown#6 = (byte) play_move_down::movedown#3 [phi:play_move_down::@11/play_move_down::@2->play_move_down::@4#0] -- register_copy - //SEG408 play_move_down::@4 - b4: - //SEG409 [189] if((byte) play_move_down::movedown#6==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_move_down::@return -- vbuxx_eq_0_then_la1 - cpx #0 - beq b5 - //SEG410 play_move_down::@12 - //SEG411 [190] (byte) play_collision::ypos#0 ← (byte) current_ypos#21 + (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuyy=vbuz1_plus_1 - ldy current_ypos - iny - //SEG412 [191] (byte) play_collision::xpos#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 - lda current_xpos - sta play_collision.xpos - //SEG413 [192] (byte) play_collision::orientation#0 ← (byte) current_orientation#10 -- vbuxx=vbuz1 - ldx current_orientation - //SEG414 [193] (byte*~) current_piece#75 ← (byte*) current_piece#16 -- pbuz1=pbuz2 - lda current_piece - sta current_piece_75 - lda current_piece+1 - sta current_piece_75+1 - //SEG415 [194] call play_collision - //SEG416 [129] phi from play_move_down::@12 to play_collision [phi:play_move_down::@12->play_collision] - //SEG417 [129] phi (byte) play_collision::xpos#5 = (byte) play_collision::xpos#0 [phi:play_move_down::@12->play_collision#0] -- register_copy - //SEG418 [129] phi (byte) play_collision::ypos#4 = (byte) play_collision::ypos#0 [phi:play_move_down::@12->play_collision#1] -- register_copy - //SEG419 [129] phi (byte) play_collision::orientation#4 = (byte) play_collision::orientation#0 [phi:play_move_down::@12->play_collision#2] -- register_copy - //SEG420 [129] phi (byte*) current_piece#12 = (byte*~) current_piece#75 [phi:play_move_down::@12->play_collision#3] -- register_copy - jsr play_collision - //SEG421 [195] (byte) play_collision::return#0 ← (byte) play_collision::return#14 + //SEG453 [213] (byte) play_collision::return#0 ← (byte) play_collision::return#14 // (byte) play_collision::return#0 = (byte) play_collision::return#14 // register copy reg byte a - //SEG422 play_move_down::@18 - //SEG423 [196] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 + //SEG454 play_move_down::@18 + //SEG455 [214] (byte~) play_move_down::$12 ← (byte) play_collision::return#0 // (byte~) play_move_down::$12 = (byte) play_collision::return#0 // register copy reg byte a - //SEG424 [197] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuaa_eq_vbuc1_then_la1 + //SEG456 [215] if((byte~) play_move_down::$12==(const byte) COLLISION_NONE#0) goto play_move_down::@6 -- vbuaa_eq_vbuc1_then_la1 cmp #COLLISION_NONE beq b6 - //SEG425 [198] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] - //SEG426 play_move_down::@13 - //SEG427 [199] call play_lock_current + //SEG457 [216] phi from play_move_down::@18 to play_move_down::@13 [phi:play_move_down::@18->play_move_down::@13] + //SEG458 play_move_down::@13 + //SEG459 [217] call play_lock_current jsr play_lock_current - //SEG428 [200] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] - //SEG429 play_move_down::@19 - //SEG430 [201] call play_remove_lines - //SEG431 [237] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] + //SEG460 [218] phi from play_move_down::@13 to play_move_down::@19 [phi:play_move_down::@13->play_move_down::@19] + //SEG461 play_move_down::@19 + //SEG462 [219] call play_remove_lines + //SEG463 [255] phi from play_move_down::@19 to play_remove_lines [phi:play_move_down::@19->play_remove_lines] jsr play_remove_lines - //SEG432 [202] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuaa=vbuz1 + //SEG464 [220] (byte) play_remove_lines::return#0 ← (byte) play_remove_lines::removed#7 -- vbuaa=vbuz1 lda play_remove_lines.removed - //SEG433 play_move_down::@20 - //SEG434 [203] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 + //SEG465 play_move_down::@20 + //SEG466 [221] (byte) play_move_down::removed#0 ← (byte) play_remove_lines::return#0 // (byte) play_move_down::removed#0 = (byte) play_remove_lines::return#0 // register copy reg byte a - //SEG435 [204] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 + //SEG467 [222] (byte) play_update_score::removed#0 ← (byte) play_move_down::removed#0 // (byte) play_update_score::removed#0 = (byte) play_move_down::removed#0 // register copy reg byte a - //SEG436 [205] call play_update_score + //SEG468 [223] call play_update_score jsr play_update_score - //SEG437 [206] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] - //SEG438 play_move_down::@21 - //SEG439 [207] call play_spawn_current - //SEG440 [213] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] + //SEG469 [224] phi from play_move_down::@20 to play_move_down::@21 [phi:play_move_down::@20->play_move_down::@21] + //SEG470 play_move_down::@21 + //SEG471 [225] call play_spawn_current + //SEG472 [231] phi from play_move_down::@21 to play_spawn_current [phi:play_move_down::@21->play_spawn_current] jsr play_spawn_current - //SEG441 [208] (byte*~) current_piece#79 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG473 [226] (byte*~) current_piece#80 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) -- pbuz1=pptc1_derefidx_vbuz2 ldy play_spawn_current._3 lda PIECES,y sta current_piece lda PIECES+1,y sta current_piece+1 - //SEG442 [209] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] - //SEG443 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy - //SEG444 [209] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy - //SEG445 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy - //SEG446 [209] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 + //SEG474 [227] phi from play_move_down::@21 to play_move_down::@7 [phi:play_move_down::@21->play_move_down::@7] + //SEG475 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#12 [phi:play_move_down::@21->play_move_down::@7#0] -- register_copy + //SEG476 [227] phi (byte) current_xpos#33 = (byte) current_xpos#23 [phi:play_move_down::@21->play_move_down::@7#1] -- register_copy + //SEG477 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#16 [phi:play_move_down::@21->play_move_down::@7#2] -- register_copy + //SEG478 [227] phi (byte) current_orientation#29 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@21->play_move_down::@7#3] -- vbuz1=vbuc1 lda #0 sta current_orientation - //SEG447 [209] phi (byte*) current_piece#20 = (byte*~) current_piece#79 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy - //SEG448 [209] phi (dword) score_bcd#17 = (dword) score_bcd#11 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy - //SEG449 [209] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy - //SEG450 play_move_down::@7 + //SEG479 [227] phi (byte*) current_piece#20 = (byte*~) current_piece#80 [phi:play_move_down::@21->play_move_down::@7#4] -- register_copy + //SEG480 [227] phi (dword) score_bcd#20 = (dword) score_bcd#12 [phi:play_move_down::@21->play_move_down::@7#5] -- register_copy + //SEG481 [227] phi (byte) current_ypos#29 = (byte) current_ypos#18 [phi:play_move_down::@21->play_move_down::@7#6] -- register_copy + //SEG482 play_move_down::@7 b7: - //SEG451 [210] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] - //SEG452 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy - //SEG453 [210] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy - //SEG454 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy - //SEG455 [210] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy - //SEG456 [210] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy - //SEG457 [210] phi (dword) score_bcd#2 = (dword) score_bcd#17 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy - //SEG458 [210] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy - //SEG459 [210] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 + //SEG483 [228] phi from play_move_down::@7 to play_move_down::@return [phi:play_move_down::@7->play_move_down::@return] + //SEG484 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#20 [phi:play_move_down::@7->play_move_down::@return#0] -- register_copy + //SEG485 [228] phi (byte) current_xpos#1 = (byte) current_xpos#33 [phi:play_move_down::@7->play_move_down::@return#1] -- register_copy + //SEG486 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#26 [phi:play_move_down::@7->play_move_down::@return#2] -- register_copy + //SEG487 [228] phi (byte) current_orientation#14 = (byte) current_orientation#29 [phi:play_move_down::@7->play_move_down::@return#3] -- register_copy + //SEG488 [228] phi (byte*) current_piece#10 = (byte*) current_piece#20 [phi:play_move_down::@7->play_move_down::@return#4] -- register_copy + //SEG489 [228] phi (dword) score_bcd#10 = (dword) score_bcd#20 [phi:play_move_down::@7->play_move_down::@return#5] -- register_copy + //SEG490 [228] phi (byte) current_ypos#13 = (byte) current_ypos#29 [phi:play_move_down::@7->play_move_down::@return#6] -- register_copy + //SEG491 [228] phi (byte) current_movedown_counter#10 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@7->play_move_down::@return#7] -- vbuz1=vbuc1 lda #0 sta current_movedown_counter - //SEG460 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuxx=vbuc1 + //SEG492 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_move_down::@7->play_move_down::@return#8] -- vbuxx=vbuc1 ldx #1 jmp breturn - //SEG461 [210] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] + //SEG493 [228] phi from play_move_down::@4 to play_move_down::@return [phi:play_move_down::@4->play_move_down::@return] b5: - //SEG462 [210] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy - //SEG463 [210] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy - //SEG464 [210] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy - //SEG465 [210] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy - //SEG466 [210] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy - //SEG467 [210] phi (dword) score_bcd#2 = (dword) score_bcd#13 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy - //SEG468 [210] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy - //SEG469 [210] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy - //SEG470 [210] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuxx=vbuc1 + //SEG494 [228] phi (byte) current_piece_char#1 = (byte) current_piece_char#15 [phi:play_move_down::@4->play_move_down::@return#0] -- register_copy + //SEG495 [228] phi (byte) current_xpos#1 = (byte) current_xpos#10 [phi:play_move_down::@4->play_move_down::@return#1] -- register_copy + //SEG496 [228] phi (byte*) current_piece_gfx#1 = (byte*) current_piece_gfx#20 [phi:play_move_down::@4->play_move_down::@return#2] -- register_copy + //SEG497 [228] phi (byte) current_orientation#14 = (byte) current_orientation#10 [phi:play_move_down::@4->play_move_down::@return#3] -- register_copy + //SEG498 [228] phi (byte*) current_piece#10 = (byte*) current_piece#16 [phi:play_move_down::@4->play_move_down::@return#4] -- register_copy + //SEG499 [228] phi (dword) score_bcd#10 = (dword) score_bcd#14 [phi:play_move_down::@4->play_move_down::@return#5] -- register_copy + //SEG500 [228] phi (byte) current_ypos#13 = (byte) current_ypos#21 [phi:play_move_down::@4->play_move_down::@return#6] -- register_copy + //SEG501 [228] phi (byte) current_movedown_counter#10 = (byte) current_movedown_counter#1 [phi:play_move_down::@4->play_move_down::@return#7] -- register_copy + //SEG502 [228] phi (byte) play_move_down::return#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_move_down::@4->play_move_down::@return#8] -- vbuxx=vbuc1 ldx #0 - //SEG471 play_move_down::@return + //SEG503 play_move_down::@return breturn: - //SEG472 [211] return + //SEG504 [229] return rts - //SEG473 play_move_down::@6 + //SEG505 play_move_down::@6 b6: - //SEG474 [212] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 + //SEG506 [230] (byte) current_ypos#0 ← ++ (byte) current_ypos#21 -- vbuz1=_inc_vbuz1 inc current_ypos - //SEG475 [209] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] - //SEG476 [209] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy - //SEG477 [209] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy - //SEG478 [209] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy - //SEG479 [209] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy - //SEG480 [209] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy - //SEG481 [209] phi (dword) score_bcd#17 = (dword) score_bcd#13 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy - //SEG482 [209] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy + //SEG507 [227] phi from play_move_down::@6 to play_move_down::@7 [phi:play_move_down::@6->play_move_down::@7] + //SEG508 [227] phi (byte) current_piece_char#20 = (byte) current_piece_char#15 [phi:play_move_down::@6->play_move_down::@7#0] -- register_copy + //SEG509 [227] phi (byte) current_xpos#33 = (byte) current_xpos#10 [phi:play_move_down::@6->play_move_down::@7#1] -- register_copy + //SEG510 [227] phi (byte*) current_piece_gfx#26 = (byte*) current_piece_gfx#20 [phi:play_move_down::@6->play_move_down::@7#2] -- register_copy + //SEG511 [227] phi (byte) current_orientation#29 = (byte) current_orientation#10 [phi:play_move_down::@6->play_move_down::@7#3] -- register_copy + //SEG512 [227] phi (byte*) current_piece#20 = (byte*) current_piece#16 [phi:play_move_down::@6->play_move_down::@7#4] -- register_copy + //SEG513 [227] phi (dword) score_bcd#20 = (dword) score_bcd#14 [phi:play_move_down::@6->play_move_down::@7#5] -- register_copy + //SEG514 [227] phi (byte) current_ypos#29 = (byte) current_ypos#0 [phi:play_move_down::@6->play_move_down::@7#6] -- register_copy jmp b7 } -//SEG483 play_spawn_current +//SEG515 play_spawn_current play_spawn_current: { .label _3 = 4 - //SEG484 [214] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] - //SEG485 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuxx=vbuc1 + //SEG516 [232] phi from play_spawn_current to play_spawn_current::@1 [phi:play_spawn_current->play_spawn_current::@1] + //SEG517 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 7 [phi:play_spawn_current->play_spawn_current::@1#0] -- vbuxx=vbuc1 ldx #7 - //SEG486 play_spawn_current::@1 + //SEG518 play_spawn_current::@1 b1: - //SEG487 [215] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuxx_eq_vbuc1_then_la1 + //SEG519 [233] if((byte) play_spawn_current::piece_idx#2==(byte/signed byte/word/signed word/dword/signed dword) 7) goto play_spawn_current::@2 -- vbuxx_eq_vbuc1_then_la1 cpx #7 beq b2 - //SEG488 play_spawn_current::@3 - //SEG489 [216] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuxx_rol_1 + //SEG520 play_spawn_current::@3 + //SEG521 [234] (byte~) play_spawn_current::$3 ← (byte) play_spawn_current::piece_idx#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuxx_rol_1 txa asl sta _3 - //SEG490 [217] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 + //SEG522 [235] (byte*) current_piece_gfx#16 ← (byte*)*((const word[]) PIECES#0 + (byte~) play_spawn_current::$3) + (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuz1=pptc1_derefidx_vbuz2_plus_0 tay lda PIECES,y sta current_piece_gfx lda PIECES+1,y sta current_piece_gfx+1 - //SEG491 [218] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG523 [236] (byte) current_xpos#23 ← *((const byte[]) PIECES_START_X#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_START_X,x sta current_xpos - //SEG492 [219] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG524 [237] (byte) current_ypos#18 ← *((const byte[]) PIECES_START_Y#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_START_Y,x sta current_ypos - //SEG493 [220] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx + //SEG525 [238] (byte) current_piece_char#12 ← *((const byte[]) PIECES_CHARS#0 + (byte) play_spawn_current::piece_idx#2) -- vbuz1=pbuc1_derefidx_vbuxx lda PIECES_CHARS,x sta current_piece_char - //SEG494 play_spawn_current::@return - //SEG495 [221] return + //SEG526 play_spawn_current::@return + //SEG527 [239] return rts - //SEG496 [222] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] - //SEG497 play_spawn_current::@2 + //SEG528 [240] phi from play_spawn_current::@1 to play_spawn_current::@2 [phi:play_spawn_current::@1->play_spawn_current::@2] + //SEG529 play_spawn_current::@2 b2: - //SEG498 [223] call sid_rnd + //SEG530 [241] call sid_rnd jsr sid_rnd - //SEG499 [224] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 + //SEG531 [242] (byte) sid_rnd::return#2 ← (byte) sid_rnd::return#0 // (byte) sid_rnd::return#2 = (byte) sid_rnd::return#0 // register copy reg byte a - //SEG500 play_spawn_current::@7 - //SEG501 [225] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 + //SEG532 play_spawn_current::@7 + //SEG533 [243] (byte~) play_spawn_current::$1 ← (byte) sid_rnd::return#2 // (byte~) play_spawn_current::$1 = (byte) sid_rnd::return#2 // register copy reg byte a - //SEG502 [226] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuxx=vbuaa_band_vbuc1 + //SEG534 [244] (byte) play_spawn_current::piece_idx#1 ← (byte~) play_spawn_current::$1 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuxx=vbuaa_band_vbuc1 and #7 tax - //SEG503 [214] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] - //SEG504 [214] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy + //SEG535 [232] phi from play_spawn_current::@7 to play_spawn_current::@1 [phi:play_spawn_current::@7->play_spawn_current::@1] + //SEG536 [232] phi (byte) play_spawn_current::piece_idx#2 = (byte) play_spawn_current::piece_idx#1 [phi:play_spawn_current::@7->play_spawn_current::@1#0] -- register_copy jmp b1 } -//SEG505 sid_rnd +//SEG537 sid_rnd sid_rnd: { - //SEG506 [227] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuaa=_deref_pbuc1 + //SEG538 [245] (byte) sid_rnd::return#0 ← *((const byte*) SID_VOICE3_OSC#0) -- vbuaa=_deref_pbuc1 lda SID_VOICE3_OSC - //SEG507 sid_rnd::@return - //SEG508 [228] return + //SEG539 sid_rnd::@return + //SEG540 [246] return rts } -//SEG509 play_update_score +//SEG541 play_update_score play_update_score: { .label add_bcd = $24 - //SEG510 [229] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuaa_eq_0_then_la1 + //SEG542 [247] if((byte) play_update_score::removed#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_update_score::@return -- vbuaa_eq_0_then_la1 cmp #0 beq breturn - //SEG511 play_update_score::@2 - //SEG512 [230] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuaa=vbuaa_rol_2 + //SEG543 play_update_score::@2 + //SEG544 [248] (byte~) play_update_score::$2 ← (byte) play_update_score::removed#0 << (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuaa=vbuaa_rol_2 asl asl - //SEG513 [231] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuaa + //SEG545 [249] (dword) play_update_score::add_bcd#0 ← *((const dword[]) score_add_bcd#0 + (byte~) play_update_score::$2) -- vduz1=pduc1_derefidx_vbuaa tay lda score_add_bcd,y sta add_bcd @@ -18765,9 +19426,9 @@ play_update_score: { sta add_bcd+2 lda score_add_bcd+3,y sta add_bcd+3 - //SEG514 asm { sed } + //SEG546 asm { sed } sed - //SEG515 [233] (dword) score_bcd#3 ← (dword) score_bcd#13 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 + //SEG547 [251] (dword) score_bcd#3 ← (dword) score_bcd#14 + (dword) play_update_score::add_bcd#0 -- vduz1=vduz1_plus_vduz2 lda score_bcd clc adc add_bcd @@ -18781,564 +19442,564 @@ play_update_score: { lda score_bcd+3 adc add_bcd+3 sta score_bcd+3 - //SEG516 asm { cld } + //SEG548 asm { cld } cld - //SEG517 [235] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] - //SEG518 [235] phi (dword) score_bcd#11 = (dword) score_bcd#13 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy - //SEG519 play_update_score::@return + //SEG549 [253] phi from play_update_score play_update_score::@2 to play_update_score::@return [phi:play_update_score/play_update_score::@2->play_update_score::@return] + //SEG550 [253] phi (dword) score_bcd#12 = (dword) score_bcd#14 [phi:play_update_score/play_update_score::@2->play_update_score::@return#0] -- register_copy + //SEG551 play_update_score::@return breturn: - //SEG520 [236] return + //SEG552 [254] return rts } -//SEG521 play_remove_lines +//SEG553 play_remove_lines play_remove_lines: { .label c = $a - .label x = 6 + .label x = 8 .label y = 4 - .label removed = 5 + .label removed = 7 .label full = 9 - //SEG522 [238] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] - //SEG523 [238] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 + //SEG554 [256] phi from play_remove_lines to play_remove_lines::@1 [phi:play_remove_lines->play_remove_lines::@1] + //SEG555 [256] phi (byte) play_remove_lines::removed#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#0] -- vbuz1=vbuc1 lda #0 sta removed - //SEG524 [238] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 + //SEG556 [256] phi (byte) play_remove_lines::y#8 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines->play_remove_lines::@1#1] -- vbuz1=vbuc1 sta y - //SEG525 [238] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuxx=vbuc1 + //SEG557 [256] phi (byte) play_remove_lines::w#12 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#2] -- vbuxx=vbuc1 ldx #PLAYFIELD_LINES*PLAYFIELD_COLS-1 - //SEG526 [238] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuyy=vbuc1 + //SEG558 [256] phi (byte) play_remove_lines::r#3 = (const byte) PLAYFIELD_LINES#0*(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines->play_remove_lines::@1#3] -- vbuyy=vbuc1 ldy #PLAYFIELD_LINES*PLAYFIELD_COLS-1 - //SEG527 [238] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] - //SEG528 [238] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy - //SEG529 [238] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy - //SEG530 [238] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy - //SEG531 [238] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy - //SEG532 play_remove_lines::@1 + //SEG559 [256] phi from play_remove_lines::@4 to play_remove_lines::@1 [phi:play_remove_lines::@4->play_remove_lines::@1] + //SEG560 [256] phi (byte) play_remove_lines::removed#11 = (byte) play_remove_lines::removed#7 [phi:play_remove_lines::@4->play_remove_lines::@1#0] -- register_copy + //SEG561 [256] phi (byte) play_remove_lines::y#8 = (byte) play_remove_lines::y#1 [phi:play_remove_lines::@4->play_remove_lines::@1#1] -- register_copy + //SEG562 [256] phi (byte) play_remove_lines::w#12 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4->play_remove_lines::@1#2] -- register_copy + //SEG563 [256] phi (byte) play_remove_lines::r#3 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@4->play_remove_lines::@1#3] -- register_copy + //SEG564 play_remove_lines::@1 b1: - //SEG533 [239] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] - //SEG534 [239] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 + //SEG565 [257] phi from play_remove_lines::@1 to play_remove_lines::@2 [phi:play_remove_lines::@1->play_remove_lines::@2] + //SEG566 [257] phi (byte) play_remove_lines::full#4 = (byte/signed byte/word/signed word/dword/signed dword) 1 [phi:play_remove_lines::@1->play_remove_lines::@2#0] -- vbuz1=vbuc1 lda #1 sta full - //SEG535 [239] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 + //SEG567 [257] phi (byte) play_remove_lines::x#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@1->play_remove_lines::@2#1] -- vbuz1=vbuc1 lda #0 sta x - //SEG536 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy - //SEG537 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy - //SEG538 [239] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] - //SEG539 [239] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy - //SEG540 [239] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy - //SEG541 [239] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy - //SEG542 [239] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy - //SEG543 play_remove_lines::@2 + //SEG568 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#12 [phi:play_remove_lines::@1->play_remove_lines::@2#2] -- register_copy + //SEG569 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#3 [phi:play_remove_lines::@1->play_remove_lines::@2#3] -- register_copy + //SEG570 [257] phi from play_remove_lines::@3 to play_remove_lines::@2 [phi:play_remove_lines::@3->play_remove_lines::@2] + //SEG571 [257] phi (byte) play_remove_lines::full#4 = (byte) play_remove_lines::full#2 [phi:play_remove_lines::@3->play_remove_lines::@2#0] -- register_copy + //SEG572 [257] phi (byte) play_remove_lines::x#2 = (byte) play_remove_lines::x#1 [phi:play_remove_lines::@3->play_remove_lines::@2#1] -- register_copy + //SEG573 [257] phi (byte) play_remove_lines::w#4 = (byte) play_remove_lines::w#1 [phi:play_remove_lines::@3->play_remove_lines::@2#2] -- register_copy + //SEG574 [257] phi (byte) play_remove_lines::r#2 = (byte) play_remove_lines::r#1 [phi:play_remove_lines::@3->play_remove_lines::@2#3] -- register_copy + //SEG575 play_remove_lines::@2 b2: - //SEG544 [240] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuyy + //SEG576 [258] (byte) play_remove_lines::c#0 ← *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::r#2) -- vbuz1=pbuc1_derefidx_vbuyy lda playfield,y sta c - //SEG545 [241] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuyy=_dec_vbuyy + //SEG577 [259] (byte) play_remove_lines::r#1 ← -- (byte) play_remove_lines::r#2 -- vbuyy=_dec_vbuyy dey - //SEG546 [242] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 + //SEG578 [260] if((byte) play_remove_lines::c#0!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_remove_lines::@18 -- vbuz1_neq_0_then_la1 cmp #0 bne b3 - //SEG547 [243] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] - //SEG548 [243] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 + //SEG579 [261] phi from play_remove_lines::@2 to play_remove_lines::@3 [phi:play_remove_lines::@2->play_remove_lines::@3] + //SEG580 [261] phi (byte) play_remove_lines::full#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_remove_lines::@2->play_remove_lines::@3#0] -- vbuz1=vbuc1 lda #0 sta full - //SEG549 play_remove_lines::@3 + //SEG581 play_remove_lines::@3 b3: - //SEG550 [244] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuxx=vbuz1 + //SEG582 [262] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#4) ← (byte) play_remove_lines::c#0 -- pbuc1_derefidx_vbuxx=vbuz1 lda c sta playfield,x - //SEG551 [245] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuxx=_dec_vbuxx + //SEG583 [263] (byte) play_remove_lines::w#1 ← -- (byte) play_remove_lines::w#4 -- vbuxx=_dec_vbuxx dex - //SEG552 [246] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 + //SEG584 [264] (byte) play_remove_lines::x#1 ← ++ (byte) play_remove_lines::x#2 -- vbuz1=_inc_vbuz1 inc x - //SEG553 [247] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 + //SEG585 [265] if((byte) play_remove_lines::x#1!=(const byte) PLAYFIELD_COLS#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@2 -- vbuz1_neq_vbuc1_then_la1 lda x cmp #PLAYFIELD_COLS-1+1 bne b2 - //SEG554 play_remove_lines::@9 - //SEG555 [248] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 + //SEG586 play_remove_lines::@9 + //SEG587 [266] if((byte) play_remove_lines::full#2!=(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@4 -- vbuz1_neq_vbuc1_then_la1 lda full cmp #1 bne b4 - //SEG556 play_remove_lines::@10 - //SEG557 [249] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuxx=vbuxx_plus_vbuc1 + //SEG588 play_remove_lines::@10 + //SEG589 [267] (byte) play_remove_lines::w#2 ← (byte) play_remove_lines::w#1 + (const byte) PLAYFIELD_COLS#0 -- vbuxx=vbuxx_plus_vbuc1 txa clc adc #PLAYFIELD_COLS tax - //SEG558 [250] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 + //SEG590 [268] (byte) play_remove_lines::removed#1 ← ++ (byte) play_remove_lines::removed#11 -- vbuz1=_inc_vbuz1 inc removed - //SEG559 [251] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] - //SEG560 [251] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy - //SEG561 [251] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy - //SEG562 play_remove_lines::@4 + //SEG591 [269] phi from play_remove_lines::@10 play_remove_lines::@9 to play_remove_lines::@4 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4] + //SEG592 [269] phi (byte) play_remove_lines::removed#7 = (byte) play_remove_lines::removed#1 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#0] -- register_copy + //SEG593 [269] phi (byte) play_remove_lines::w#11 = (byte) play_remove_lines::w#2 [phi:play_remove_lines::@10/play_remove_lines::@9->play_remove_lines::@4#1] -- register_copy + //SEG594 play_remove_lines::@4 b4: - //SEG563 [252] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 + //SEG595 [270] (byte) play_remove_lines::y#1 ← ++ (byte) play_remove_lines::y#8 -- vbuz1=_inc_vbuz1 inc y - //SEG564 [253] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG596 [271] if((byte) play_remove_lines::y#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_remove_lines::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #PLAYFIELD_LINES-1+1 bne b1 - //SEG565 [254] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] - //SEG566 [254] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy - //SEG567 play_remove_lines::@5 + //SEG597 [272] phi from play_remove_lines::@4 play_remove_lines::@6 to play_remove_lines::@5 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5] + //SEG598 [272] phi (byte) play_remove_lines::w#6 = (byte) play_remove_lines::w#11 [phi:play_remove_lines::@4/play_remove_lines::@6->play_remove_lines::@5#0] -- register_copy + //SEG599 play_remove_lines::@5 b5: - //SEG568 [255] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuxx_neq_vbuc1_then_la1 + //SEG600 [273] if((byte) play_remove_lines::w#6!=(byte/word/signed word/dword/signed dword) 255) goto play_remove_lines::@6 -- vbuxx_neq_vbuc1_then_la1 cpx #$ff bne b6 - //SEG569 play_remove_lines::@return - //SEG570 [256] return + //SEG601 play_remove_lines::@return + //SEG602 [274] return rts - //SEG571 play_remove_lines::@6 + //SEG603 play_remove_lines::@6 b6: - //SEG572 [257] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuxx=vbuc2 + //SEG604 [275] *((const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 + (byte) play_remove_lines::w#6) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- pbuc1_derefidx_vbuxx=vbuc2 lda #0 sta playfield,x - //SEG573 [258] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuxx=_dec_vbuxx + //SEG605 [276] (byte) play_remove_lines::w#3 ← -- (byte) play_remove_lines::w#6 -- vbuxx=_dec_vbuxx dex jmp b5 - //SEG574 [259] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] - //SEG575 play_remove_lines::@18 - //SEG576 [243] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] - //SEG577 [243] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy + //SEG606 [277] phi from play_remove_lines::@2 to play_remove_lines::@18 [phi:play_remove_lines::@2->play_remove_lines::@18] + //SEG607 play_remove_lines::@18 + //SEG608 [261] phi from play_remove_lines::@18 to play_remove_lines::@3 [phi:play_remove_lines::@18->play_remove_lines::@3] + //SEG609 [261] phi (byte) play_remove_lines::full#2 = (byte) play_remove_lines::full#4 [phi:play_remove_lines::@18->play_remove_lines::@3#0] -- register_copy } -//SEG578 play_lock_current +//SEG610 play_lock_current play_lock_current: { .label ypos2 = $e - .label playfield_line = 7 - .label col = 6 + .label playfield_line = 5 + .label col = 8 .label i = 9 .label l = 4 - .label i_2 = 5 - .label i_3 = 5 - .label i_7 = 5 - .label i_9 = 5 - //SEG579 [260] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_rol_1 + .label i_2 = 7 + .label i_3 = 7 + .label i_7 = 7 + .label i_9 = 7 + //SEG611 [278] (byte) play_lock_current::ypos2#0 ← (byte) current_ypos#21 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuz1=vbuz1_rol_1 asl ypos2 - //SEG580 [261] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] - //SEG581 [261] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 + //SEG612 [279] phi from play_lock_current to play_lock_current::@1 [phi:play_lock_current->play_lock_current::@1] + //SEG613 [279] phi (byte) play_lock_current::l#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#0] -- vbuz1=vbuc1 lda #0 sta l - //SEG582 [261] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 + //SEG614 [279] phi (byte) play_lock_current::i#3 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current->play_lock_current::@1#1] -- vbuz1=vbuc1 sta i_3 - //SEG583 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy - //SEG584 play_lock_current::@1 + //SEG615 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#0 [phi:play_lock_current->play_lock_current::@1#2] -- register_copy + //SEG616 play_lock_current::@1 b1: - //SEG585 [262] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 + //SEG617 [280] (byte*) play_lock_current::playfield_line#0 ← *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte) play_lock_current::ypos2#2) -- pbuz1=pptc1_derefidx_vbuz2 ldy ypos2 lda playfield_lines,y sta playfield_line lda playfield_lines+1,y sta playfield_line+1 - //SEG586 [263] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 + //SEG618 [281] (byte) play_lock_current::col#0 ← (byte) current_xpos#10 -- vbuz1=vbuz2 lda current_xpos sta col - //SEG587 [264] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] - //SEG588 [264] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuxx=vbuc1 + //SEG619 [282] phi from play_lock_current::@1 to play_lock_current::@2 [phi:play_lock_current::@1->play_lock_current::@2] + //SEG620 [282] phi (byte) play_lock_current::c#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_lock_current::@1->play_lock_current::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG589 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy - //SEG590 [264] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy - //SEG591 play_lock_current::@2 + //SEG621 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#0 [phi:play_lock_current::@1->play_lock_current::@2#1] -- register_copy + //SEG622 [282] phi (byte) play_lock_current::i#2 = (byte) play_lock_current::i#3 [phi:play_lock_current::@1->play_lock_current::@2#2] -- register_copy + //SEG623 play_lock_current::@2 b2: - //SEG592 [265] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 + //SEG624 [283] (byte) play_lock_current::i#1 ← ++ (byte) play_lock_current::i#2 -- vbuz1=_inc_vbuz2 ldy i_2 iny sty i - //SEG593 [266] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 + //SEG625 [284] if(*((byte*) current_piece_gfx#20 + (byte) play_lock_current::i#2)==(byte/signed byte/word/signed word/dword/signed dword) 0) goto play_lock_current::@3 -- pbuz1_derefidx_vbuz2_eq_0_then_la1 ldy i_2 lda (current_piece_gfx),y cmp #0 beq b3 - //SEG594 play_lock_current::@4 - //SEG595 [267] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 + //SEG626 play_lock_current::@4 + //SEG627 [285] *((byte*) play_lock_current::playfield_line#0 + (byte) play_lock_current::col#2) ← (byte) current_piece_char#15 -- pbuz1_derefidx_vbuz2=vbuz3 lda current_piece_char ldy col sta (playfield_line),y - //SEG596 play_lock_current::@3 + //SEG628 play_lock_current::@3 b3: - //SEG597 [268] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 + //SEG629 [286] (byte) play_lock_current::col#1 ← ++ (byte) play_lock_current::col#2 -- vbuz1=_inc_vbuz1 inc col - //SEG598 [269] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuxx=_inc_vbuxx + //SEG630 [287] (byte) play_lock_current::c#1 ← ++ (byte) play_lock_current::c#2 -- vbuxx=_inc_vbuxx inx - //SEG599 [270] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuxx_neq_vbuc1_then_la1 + //SEG631 [288] if((byte) play_lock_current::c#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@8 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b8 - //SEG600 play_lock_current::@5 - //SEG601 [271] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 + //SEG632 play_lock_current::@5 + //SEG633 [289] (byte) play_lock_current::ypos2#1 ← (byte) play_lock_current::ypos2#2 + (byte/signed byte/word/signed word/dword/signed dword) 2 -- vbuz1=vbuz1_plus_2 lda ypos2 clc adc #2 sta ypos2 - //SEG602 [272] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 + //SEG634 [290] (byte) play_lock_current::l#1 ← ++ (byte) play_lock_current::l#6 -- vbuz1=_inc_vbuz1 inc l - //SEG603 [273] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 + //SEG635 [291] if((byte) play_lock_current::l#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto play_lock_current::@7 -- vbuz1_neq_vbuc1_then_la1 lda l cmp #4 bne b7 - //SEG604 play_lock_current::@return - //SEG605 [274] return + //SEG636 play_lock_current::@return + //SEG637 [292] return rts - //SEG606 play_lock_current::@7 + //SEG638 play_lock_current::@7 b7: - //SEG607 [275] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG639 [293] (byte~) play_lock_current::i#7 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_7 - //SEG608 [261] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] - //SEG609 [261] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy - //SEG610 [261] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy - //SEG611 [261] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy + //SEG640 [279] phi from play_lock_current::@7 to play_lock_current::@1 [phi:play_lock_current::@7->play_lock_current::@1] + //SEG641 [279] phi (byte) play_lock_current::l#6 = (byte) play_lock_current::l#1 [phi:play_lock_current::@7->play_lock_current::@1#0] -- register_copy + //SEG642 [279] phi (byte) play_lock_current::i#3 = (byte~) play_lock_current::i#7 [phi:play_lock_current::@7->play_lock_current::@1#1] -- register_copy + //SEG643 [279] phi (byte) play_lock_current::ypos2#2 = (byte) play_lock_current::ypos2#1 [phi:play_lock_current::@7->play_lock_current::@1#2] -- register_copy jmp b1 - //SEG612 play_lock_current::@8 + //SEG644 play_lock_current::@8 b8: - //SEG613 [276] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 + //SEG645 [294] (byte~) play_lock_current::i#9 ← (byte) play_lock_current::i#1 -- vbuz1=vbuz2 lda i sta i_9 - //SEG614 [264] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] - //SEG615 [264] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy - //SEG616 [264] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy - //SEG617 [264] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy + //SEG646 [282] phi from play_lock_current::@8 to play_lock_current::@2 [phi:play_lock_current::@8->play_lock_current::@2] + //SEG647 [282] phi (byte) play_lock_current::c#2 = (byte) play_lock_current::c#1 [phi:play_lock_current::@8->play_lock_current::@2#0] -- register_copy + //SEG648 [282] phi (byte) play_lock_current::col#2 = (byte) play_lock_current::col#1 [phi:play_lock_current::@8->play_lock_current::@2#1] -- register_copy + //SEG649 [282] phi (byte) play_lock_current::i#2 = (byte~) play_lock_current::i#9 [phi:play_lock_current::@8->play_lock_current::@2#2] -- register_copy jmp b2 } -//SEG618 keyboard_event_pressed +//SEG650 keyboard_event_pressed keyboard_event_pressed: { - .label row_bits = 6 - .label keycode = 5 - //SEG619 [278] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuaa=vbuz1_ror_3 + .label row_bits = 8 + .label keycode = 7 + //SEG651 [296] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#5 >> (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuaa=vbuz1_ror_3 lda keycode lsr lsr lsr - //SEG620 [279] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuaa + //SEG652 [297] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte[8]) keyboard_scan_values#0 + (byte~) keyboard_event_pressed::$0) -- vbuz1=pbuc1_derefidx_vbuaa tay lda keyboard_scan_values,y sta row_bits - //SEG621 [280] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuz1_band_vbuc1 + //SEG653 [298] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#5 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuz1_band_vbuc1 lda #7 and keycode - //SEG622 [281] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuaa + //SEG654 [299] (byte) keyboard_event_pressed::return#11 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte~) keyboard_event_pressed::$1) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuaa tay lda keyboard_matrix_col_bitmask,y and row_bits - //SEG623 keyboard_event_pressed::@return - //SEG624 [282] return + //SEG655 keyboard_event_pressed::@return + //SEG656 [300] return rts } -//SEG625 keyboard_event_get +//SEG657 keyboard_event_get keyboard_event_get: { - //SEG626 [283] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 + //SEG658 [301] if((byte) keyboard_events_size#13==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_get::@return -- vbuz1_eq_0_then_la1 lda keyboard_events_size cmp #0 beq b1 - //SEG627 keyboard_event_get::@3 - //SEG628 [284] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 + //SEG659 keyboard_event_get::@3 + //SEG660 [302] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#13 -- vbuz1=_dec_vbuz1 dec keyboard_events_size - //SEG629 [285] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuaa=pbuc1_derefidx_vbuz1 + //SEG661 [303] (byte) keyboard_event_get::return#1 ← *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#4) -- vbuaa=pbuc1_derefidx_vbuz1 ldy keyboard_events_size lda keyboard_events,y - //SEG630 [286] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] - //SEG631 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy - //SEG632 [286] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy + //SEG662 [304] phi from keyboard_event_get::@3 to keyboard_event_get::@return [phi:keyboard_event_get::@3->keyboard_event_get::@return] + //SEG663 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#4 [phi:keyboard_event_get::@3->keyboard_event_get::@return#0] -- register_copy + //SEG664 [304] phi (byte) keyboard_event_get::return#2 = (byte) keyboard_event_get::return#1 [phi:keyboard_event_get::@3->keyboard_event_get::@return#1] -- register_copy jmp breturn - //SEG633 [286] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] + //SEG665 [304] phi from keyboard_event_get to keyboard_event_get::@return [phi:keyboard_event_get->keyboard_event_get::@return] b1: - //SEG634 [286] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy - //SEG635 [286] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuaa=vbuc1 + //SEG666 [304] phi (byte) keyboard_events_size#16 = (byte) keyboard_events_size#13 [phi:keyboard_event_get->keyboard_event_get::@return#0] -- register_copy + //SEG667 [304] phi (byte) keyboard_event_get::return#2 = (byte/word/signed word/dword/signed dword) 255 [phi:keyboard_event_get->keyboard_event_get::@return#1] -- vbuaa=vbuc1 lda #$ff - //SEG636 keyboard_event_get::@return + //SEG668 keyboard_event_get::@return breturn: - //SEG637 [287] return + //SEG669 [305] return rts } -//SEG638 keyboard_event_scan +//SEG670 keyboard_event_scan keyboard_event_scan: { .label row_scan = 9 - .label keycode = 6 - .label row = 5 - //SEG639 [289] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] - //SEG640 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy - //SEG641 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 + .label keycode = 8 + .label row = 7 + //SEG671 [307] phi from keyboard_event_scan to keyboard_event_scan::@1 [phi:keyboard_event_scan->keyboard_event_scan::@1] + //SEG672 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#19 [phi:keyboard_event_scan->keyboard_event_scan::@1#0] -- register_copy + //SEG673 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#1] -- vbuz1=vbuc1 lda #0 sta keycode - //SEG642 [289] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 + //SEG674 [307] phi (byte) keyboard_event_scan::row#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan->keyboard_event_scan::@1#2] -- vbuz1=vbuc1 sta row - //SEG643 [289] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] - //SEG644 [289] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy - //SEG645 [289] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy - //SEG646 [289] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy - //SEG647 keyboard_event_scan::@1 + //SEG675 [307] phi from keyboard_event_scan::@3 to keyboard_event_scan::@1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1] + //SEG676 [307] phi (byte) keyboard_events_size#29 = (byte) keyboard_events_size#13 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#0] -- register_copy + //SEG677 [307] phi (byte) keyboard_event_scan::keycode#11 = (byte) keyboard_event_scan::keycode#14 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#1] -- register_copy + //SEG678 [307] phi (byte) keyboard_event_scan::row#2 = (byte) keyboard_event_scan::row#1 [phi:keyboard_event_scan::@3->keyboard_event_scan::@1#2] -- register_copy + //SEG679 keyboard_event_scan::@1 b1: - //SEG648 [290] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuxx=vbuz1 + //SEG680 [308] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2 -- vbuxx=vbuz1 ldx row - //SEG649 [291] call keyboard_matrix_read + //SEG681 [309] call keyboard_matrix_read jsr keyboard_matrix_read - //SEG650 [292] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 + //SEG682 [310] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0 // (byte) keyboard_matrix_read::return#2 = (byte) keyboard_matrix_read::return#0 // register copy reg byte a - //SEG651 keyboard_event_scan::@25 - //SEG652 [293] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuaa + //SEG683 keyboard_event_scan::@25 + //SEG684 [311] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2 -- vbuz1=vbuaa sta row_scan - //SEG653 [294] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 + //SEG685 [312] if((byte) keyboard_event_scan::row_scan#0!=*((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@4 -- vbuz1_neq_pbuc1_derefidx_vbuz2_then_la1 ldy row cmp keyboard_scan_values,y bne b6 - //SEG654 keyboard_event_scan::@13 - //SEG655 [295] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 + //SEG686 keyboard_event_scan::@13 + //SEG687 [313] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte/signed byte/word/signed word/dword/signed dword) 8 -- vbuz1=vbuz1_plus_vbuc1 lda #8 clc adc keycode sta keycode - //SEG656 [296] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] - //SEG657 [296] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy - //SEG658 [296] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy - //SEG659 keyboard_event_scan::@3 + //SEG688 [314] phi from keyboard_event_scan::@13 keyboard_event_scan::@19 to keyboard_event_scan::@3 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3] + //SEG689 [314] phi (byte) keyboard_events_size#13 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#0] -- register_copy + //SEG690 [314] phi (byte) keyboard_event_scan::keycode#14 = (byte) keyboard_event_scan::keycode#1 [phi:keyboard_event_scan::@13/keyboard_event_scan::@19->keyboard_event_scan::@3#1] -- register_copy + //SEG691 keyboard_event_scan::@3 b3: - //SEG660 [297] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 + //SEG692 [315] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2 -- vbuz1=_inc_vbuz1 inc row - //SEG661 [298] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG693 [316] if((byte) keyboard_event_scan::row#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@1 -- vbuz1_neq_vbuc1_then_la1 lda row cmp #8 bne b1 - //SEG662 [299] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] - //SEG663 keyboard_event_scan::@20 - //SEG664 [300] call keyboard_event_pressed - //SEG665 [277] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] - //SEG666 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG694 [317] phi from keyboard_event_scan::@3 to keyboard_event_scan::@20 [phi:keyboard_event_scan::@3->keyboard_event_scan::@20] + //SEG695 keyboard_event_scan::@20 + //SEG696 [318] call keyboard_event_pressed + //SEG697 [295] phi from keyboard_event_scan::@20 to keyboard_event_pressed [phi:keyboard_event_scan::@20->keyboard_event_pressed] + //SEG698 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_LSHIFT#0 [phi:keyboard_event_scan::@20->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_LSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG667 [301] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 + //SEG699 [319] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#0 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a - //SEG668 keyboard_event_scan::@26 - //SEG669 [302] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 + //SEG700 keyboard_event_scan::@26 + //SEG701 [320] (byte~) keyboard_event_scan::$14 ← (byte) keyboard_event_pressed::return#0 // (byte~) keyboard_event_scan::$14 = (byte) keyboard_event_pressed::return#0 // register copy reg byte a - //SEG670 [303] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuaa_eq_0_then_la1 + //SEG702 [321] if((byte~) keyboard_event_scan::$14==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@9 -- vbuaa_eq_0_then_la1 cmp #0 beq b2 - //SEG671 [304] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] - //SEG672 keyboard_event_scan::@21 - //SEG673 [305] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] - //SEG674 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 + //SEG703 [322] phi from keyboard_event_scan::@26 to keyboard_event_scan::@21 [phi:keyboard_event_scan::@26->keyboard_event_scan::@21] + //SEG704 keyboard_event_scan::@21 + //SEG705 [323] phi from keyboard_event_scan::@21 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9] + //SEG706 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0|(const byte) KEY_MODIFIER_LSHIFT#0 [phi:keyboard_event_scan::@21->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 ldx #0|KEY_MODIFIER_LSHIFT jmp b9 - //SEG675 [305] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] + //SEG707 [323] phi from keyboard_event_scan::@26 to keyboard_event_scan::@9 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9] b2: - //SEG676 [305] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 + //SEG708 [323] phi (byte) keyboard_modifiers#11 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@26->keyboard_event_scan::@9#0] -- vbuxx=vbuc1 ldx #0 - //SEG677 keyboard_event_scan::@9 + //SEG709 keyboard_event_scan::@9 b9: - //SEG678 [306] call keyboard_event_pressed - //SEG679 [277] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] - //SEG680 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG710 [324] call keyboard_event_pressed + //SEG711 [295] phi from keyboard_event_scan::@9 to keyboard_event_pressed [phi:keyboard_event_scan::@9->keyboard_event_pressed] + //SEG712 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_RSHIFT#0 [phi:keyboard_event_scan::@9->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_RSHIFT sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG681 [307] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 + //SEG713 [325] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#1 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a - //SEG682 keyboard_event_scan::@27 - //SEG683 [308] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 + //SEG714 keyboard_event_scan::@27 + //SEG715 [326] (byte~) keyboard_event_scan::$18 ← (byte) keyboard_event_pressed::return#1 // (byte~) keyboard_event_scan::$18 = (byte) keyboard_event_pressed::return#1 // register copy reg byte a - //SEG684 [309] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuaa_eq_0_then_la1 + //SEG716 [327] if((byte~) keyboard_event_scan::$18==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@10 -- vbuaa_eq_0_then_la1 cmp #0 beq b10 - //SEG685 keyboard_event_scan::@22 - //SEG686 [310] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuxx=vbuxx_bor_vbuc1 + //SEG717 keyboard_event_scan::@22 + //SEG718 [328] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#11 | (const byte) KEY_MODIFIER_RSHIFT#0 -- vbuxx=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_RSHIFT tax - //SEG687 [311] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] - //SEG688 [311] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy - //SEG689 keyboard_event_scan::@10 + //SEG719 [329] phi from keyboard_event_scan::@22 keyboard_event_scan::@27 to keyboard_event_scan::@10 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10] + //SEG720 [329] phi (byte) keyboard_modifiers#12 = (byte) keyboard_modifiers#3 [phi:keyboard_event_scan::@22/keyboard_event_scan::@27->keyboard_event_scan::@10#0] -- register_copy + //SEG721 keyboard_event_scan::@10 b10: - //SEG690 [312] call keyboard_event_pressed - //SEG691 [277] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] - //SEG692 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG722 [330] call keyboard_event_pressed + //SEG723 [295] phi from keyboard_event_scan::@10 to keyboard_event_pressed [phi:keyboard_event_scan::@10->keyboard_event_pressed] + //SEG724 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_CTRL#0 [phi:keyboard_event_scan::@10->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_CTRL sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG693 [313] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 + //SEG725 [331] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#2 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a - //SEG694 keyboard_event_scan::@28 - //SEG695 [314] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 + //SEG726 keyboard_event_scan::@28 + //SEG727 [332] (byte~) keyboard_event_scan::$22 ← (byte) keyboard_event_pressed::return#2 // (byte~) keyboard_event_scan::$22 = (byte) keyboard_event_pressed::return#2 // register copy reg byte a - //SEG696 [315] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuaa_eq_0_then_la1 + //SEG728 [333] if((byte~) keyboard_event_scan::$22==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@11 -- vbuaa_eq_0_then_la1 cmp #0 beq b11 - //SEG697 keyboard_event_scan::@23 - //SEG698 [316] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuxx=vbuxx_bor_vbuc1 + //SEG729 keyboard_event_scan::@23 + //SEG730 [334] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#12 | (const byte) KEY_MODIFIER_CTRL#0 -- vbuxx=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_CTRL tax - //SEG699 [317] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] - //SEG700 [317] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy - //SEG701 keyboard_event_scan::@11 + //SEG731 [335] phi from keyboard_event_scan::@23 keyboard_event_scan::@28 to keyboard_event_scan::@11 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11] + //SEG732 [335] phi (byte) keyboard_modifiers#13 = (byte) keyboard_modifiers#4 [phi:keyboard_event_scan::@23/keyboard_event_scan::@28->keyboard_event_scan::@11#0] -- register_copy + //SEG733 keyboard_event_scan::@11 b11: - //SEG702 [318] call keyboard_event_pressed - //SEG703 [277] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] - //SEG704 [277] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 + //SEG734 [336] call keyboard_event_pressed + //SEG735 [295] phi from keyboard_event_scan::@11 to keyboard_event_pressed [phi:keyboard_event_scan::@11->keyboard_event_pressed] + //SEG736 [295] phi (byte) keyboard_event_pressed::keycode#5 = (const byte) KEY_COMMODORE#0 [phi:keyboard_event_scan::@11->keyboard_event_pressed#0] -- vbuz1=vbuc1 lda #KEY_COMMODORE sta keyboard_event_pressed.keycode jsr keyboard_event_pressed - //SEG705 [319] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 + //SEG737 [337] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::return#11 // (byte) keyboard_event_pressed::return#10 = (byte) keyboard_event_pressed::return#11 // register copy reg byte a - //SEG706 keyboard_event_scan::@29 - //SEG707 [320] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 + //SEG738 keyboard_event_scan::@29 + //SEG739 [338] (byte~) keyboard_event_scan::$26 ← (byte) keyboard_event_pressed::return#10 // (byte~) keyboard_event_scan::$26 = (byte) keyboard_event_pressed::return#10 // register copy reg byte a - //SEG708 [321] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuaa_eq_0_then_la1 + //SEG740 [339] if((byte~) keyboard_event_scan::$26==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@return -- vbuaa_eq_0_then_la1 cmp #0 beq breturn - //SEG709 keyboard_event_scan::@24 - //SEG710 [322] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuaa=vbuxx_bor_vbuc1 + //SEG741 keyboard_event_scan::@24 + //SEG742 [340] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#13 | (const byte) KEY_MODIFIER_COMMODORE#0 -- vbuaa=vbuxx_bor_vbuc1 txa ora #KEY_MODIFIER_COMMODORE - //SEG711 keyboard_event_scan::@return + //SEG743 keyboard_event_scan::@return breturn: - //SEG712 [323] return + //SEG744 [341] return rts - //SEG713 [324] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] + //SEG745 [342] phi from keyboard_event_scan::@25 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4] b6: - //SEG714 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy - //SEG715 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy - //SEG716 [324] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuxx=vbuc1 + //SEG746 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#29 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#0] -- register_copy + //SEG747 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#11 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#1] -- register_copy + //SEG748 [342] phi (byte) keyboard_event_scan::col#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:keyboard_event_scan::@25->keyboard_event_scan::@4#2] -- vbuxx=vbuc1 ldx #0 - //SEG717 [324] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] - //SEG718 [324] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy - //SEG719 [324] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy - //SEG720 [324] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy - //SEG721 keyboard_event_scan::@4 + //SEG749 [342] phi from keyboard_event_scan::@5 to keyboard_event_scan::@4 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4] + //SEG750 [342] phi (byte) keyboard_events_size#10 = (byte) keyboard_events_size#30 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#0] -- register_copy + //SEG751 [342] phi (byte) keyboard_event_scan::keycode#10 = (byte) keyboard_event_scan::keycode#15 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#1] -- register_copy + //SEG752 [342] phi (byte) keyboard_event_scan::col#2 = (byte) keyboard_event_scan::col#1 [phi:keyboard_event_scan::@5->keyboard_event_scan::@4#2] -- register_copy + //SEG753 keyboard_event_scan::@4 b4: - //SEG722 [325] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuaa=vbuz1_bxor_pbuc1_derefidx_vbuz2 + //SEG754 [343] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) -- vbuaa=vbuz1_bxor_pbuc1_derefidx_vbuz2 lda row_scan ldy row eor keyboard_scan_values,y - //SEG723 [326] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuaa_band_pbuc1_derefidx_vbuxx + //SEG755 [344] (byte~) keyboard_event_scan::$4 ← (byte~) keyboard_event_scan::$3 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuaa_band_pbuc1_derefidx_vbuxx and keyboard_matrix_col_bitmask,x - //SEG724 [327] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuaa_eq_0_then_la1 + //SEG756 [345] if((byte~) keyboard_event_scan::$4==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@5 -- vbuaa_eq_0_then_la1 cmp #0 beq b5 - //SEG725 keyboard_event_scan::@15 - //SEG726 [328] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 + //SEG757 keyboard_event_scan::@15 + //SEG758 [346] if((byte) keyboard_events_size#10==(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@5 -- vbuz1_eq_vbuc1_then_la1 lda keyboard_events_size cmp #8 beq b5 - //SEG727 keyboard_event_scan::@16 - //SEG728 [329] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuxx + //SEG759 keyboard_event_scan::@16 + //SEG760 [347] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte[8]) keyboard_matrix_col_bitmask#0 + (byte) keyboard_event_scan::col#2) -- vbuaa=vbuz1_band_pbuc1_derefidx_vbuxx lda keyboard_matrix_col_bitmask,x and row_scan - //SEG729 [330] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuaa_eq_0_then_la1 + //SEG761 [348] if((byte) keyboard_event_scan::event_type#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto keyboard_event_scan::@7 -- vbuaa_eq_0_then_la1 cmp #0 beq b7 - //SEG730 keyboard_event_scan::@17 - //SEG731 [331] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG762 keyboard_event_scan::@17 + //SEG763 [349] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte) keyboard_event_scan::keycode#10 -- pbuc1_derefidx_vbuz1=vbuz2 lda keycode ldy keyboard_events_size sta keyboard_events,y - //SEG732 [332] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG764 [350] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size - //SEG733 [333] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] - //SEG734 [333] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy - //SEG735 keyboard_event_scan::@5 + //SEG765 [351] phi from keyboard_event_scan::@15 keyboard_event_scan::@17 keyboard_event_scan::@4 keyboard_event_scan::@7 to keyboard_event_scan::@5 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5] + //SEG766 [351] phi (byte) keyboard_events_size#30 = (byte) keyboard_events_size#10 [phi:keyboard_event_scan::@15/keyboard_event_scan::@17/keyboard_event_scan::@4/keyboard_event_scan::@7->keyboard_event_scan::@5#0] -- register_copy + //SEG767 keyboard_event_scan::@5 b5: - //SEG736 [334] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 + //SEG768 [352] (byte) keyboard_event_scan::keycode#15 ← ++ (byte) keyboard_event_scan::keycode#10 -- vbuz1=_inc_vbuz1 inc keycode - //SEG737 [335] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuxx=_inc_vbuxx + //SEG769 [353] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2 -- vbuxx=_inc_vbuxx inx - //SEG738 [336] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuxx_neq_vbuc1_then_la1 + //SEG770 [354] if((byte) keyboard_event_scan::col#1!=(byte/signed byte/word/signed word/dword/signed dword) 8) goto keyboard_event_scan::@4 -- vbuxx_neq_vbuc1_then_la1 cpx #8 bne b4 - //SEG739 keyboard_event_scan::@19 - //SEG740 [337] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 + //SEG771 keyboard_event_scan::@19 + //SEG772 [355] *((const byte[8]) keyboard_scan_values#0 + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0 -- pbuc1_derefidx_vbuz1=vbuz2 lda row_scan ldy row sta keyboard_scan_values,y jmp b3 - //SEG741 keyboard_event_scan::@7 + //SEG773 keyboard_event_scan::@7 b7: - //SEG742 [338] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuaa=vbuz1_bor_vbuc1 + //SEG774 [356] (byte/word/dword~) keyboard_event_scan::$11 ← (byte) keyboard_event_scan::keycode#10 | (byte/signed byte/word/signed word/dword/signed dword) 64 -- vbuaa=vbuz1_bor_vbuc1 lda #$40 ora keycode - //SEG743 [339] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuaa + //SEG775 [357] *((const byte[8]) keyboard_events#0 + (byte) keyboard_events_size#10) ← (byte/word/dword~) keyboard_event_scan::$11 -- pbuc1_derefidx_vbuz1=vbuaa ldy keyboard_events_size sta keyboard_events,y - //SEG744 [340] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 + //SEG776 [358] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#10 -- vbuz1=_inc_vbuz1 inc keyboard_events_size jmp b5 } -//SEG745 keyboard_matrix_read +//SEG777 keyboard_matrix_read keyboard_matrix_read: { - //SEG746 [341] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuxx + //SEG778 [359] *((const byte*) CIA1_PORT_A#0) ← *((const byte[8]) keyboard_matrix_row_bitmask#0 + (byte) keyboard_matrix_read::rowid#0) -- _deref_pbuc1=pbuc2_derefidx_vbuxx lda keyboard_matrix_row_bitmask,x sta CIA1_PORT_A - //SEG747 [342] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuaa=_bnot__deref_pbuc1 + //SEG779 [360] (byte) keyboard_matrix_read::return#0 ← ~ *((const byte*) CIA1_PORT_B#0) -- vbuaa=_bnot__deref_pbuc1 lda CIA1_PORT_B eor #$ff - //SEG748 keyboard_matrix_read::@return - //SEG749 [343] return + //SEG780 keyboard_matrix_read::@return + //SEG781 [361] return rts } -//SEG750 render_show +//SEG782 render_show render_show: { .const toD0181_return = (>(PLAYFIELD_SCREEN_1&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f .const toD0182_return = (>(PLAYFIELD_SCREEN_2&$3fff)<<2)|(>PLAYFIELD_CHARSET)>>2&$f - //SEG751 [344] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 + //SEG783 [362] if((byte) render_screen_show#16==(byte/signed byte/word/signed word/dword/signed dword) 0) goto render_show::toD0181 -- vbuz1_eq_0_then_la1 lda render_screen_show cmp #0 beq toD0181 - //SEG752 [345] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] - //SEG753 render_show::toD0182 - //SEG754 [346] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] - //SEG755 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuaa=vbuc1 + //SEG784 [363] phi from render_show to render_show::toD0182 [phi:render_show->render_show::toD0182] + //SEG785 render_show::toD0182 + //SEG786 [364] phi from render_show::toD0182 to render_show::@2 [phi:render_show::toD0182->render_show::@2] + //SEG787 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0182_return#0 [phi:render_show::toD0182->render_show::@2#0] -- vbuaa=vbuc1 lda #toD0182_return - //SEG756 render_show::@2 + //SEG788 render_show::@2 b2: - //SEG757 [347] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuaa + //SEG789 [365] *((const byte*) D018#0) ← (byte) render_show::d018val#3 -- _deref_pbuc1=vbuaa sta D018 - //SEG758 [348] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 + //SEG790 [366] (byte) render_screen_showing#1 ← (byte) render_screen_show#16 -- vbuz1=vbuz2 lda render_screen_show sta render_screen_showing - //SEG759 render_show::@return - //SEG760 [349] return + //SEG791 render_show::@return + //SEG792 [367] return rts - //SEG761 [350] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] - //SEG762 render_show::toD0181 + //SEG793 [368] phi from render_show to render_show::toD0181 [phi:render_show->render_show::toD0181] + //SEG794 render_show::toD0181 toD0181: - //SEG763 [346] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] - //SEG764 [346] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuaa=vbuc1 + //SEG795 [364] phi from render_show::toD0181 to render_show::@2 [phi:render_show::toD0181->render_show::@2] + //SEG796 [364] phi (byte) render_show::d018val#3 = (const byte) render_show::toD0181_return#0 [phi:render_show::toD0181->render_show::@2#0] -- vbuaa=vbuc1 lda #toD0181_return jmp b2 } -//SEG765 play_init +//SEG797 play_init play_init: { - .label pli = 7 + .label pli = 5 .label idx = 2 - //SEG766 [352] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] - //SEG767 [352] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 + //SEG798 [370] phi from play_init to play_init::@1 [phi:play_init->play_init::@1] + //SEG799 [370] phi (byte) play_init::idx#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#0] -- vbuz1=vbuc1 lda #0 sta idx - //SEG768 [352] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 + //SEG800 [370] phi (byte*) play_init::pli#2 = (const byte[PLAYFIELD_LINES#0*PLAYFIELD_COLS#0]) playfield#0 [phi:play_init->play_init::@1#1] -- pbuz1=pbuc1 lda #playfield sta pli+1 - //SEG769 [352] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuxx=vbuc1 + //SEG801 [370] phi (byte) play_init::j#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:play_init->play_init::@1#2] -- vbuxx=vbuc1 ldx #0 - //SEG770 [352] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] - //SEG771 [352] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy - //SEG772 [352] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy - //SEG773 [352] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy - //SEG774 play_init::@1 + //SEG802 [370] phi from play_init::@1 to play_init::@1 [phi:play_init::@1->play_init::@1] + //SEG803 [370] phi (byte) play_init::idx#2 = (byte) play_init::idx#1 [phi:play_init::@1->play_init::@1#0] -- register_copy + //SEG804 [370] phi (byte*) play_init::pli#2 = (byte*) play_init::pli#1 [phi:play_init::@1->play_init::@1#1] -- register_copy + //SEG805 [370] phi (byte) play_init::j#2 = (byte) play_init::j#1 [phi:play_init::@1->play_init::@1#2] -- register_copy + //SEG806 play_init::@1 b1: - //SEG775 [353] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG807 [371] (byte~) play_init::$1 ← (byte) play_init::j#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG776 [354] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG808 [372] *((const byte*[PLAYFIELD_LINES#0]) playfield_lines#0 + (byte~) play_init::$1) ← (byte*) play_init::pli#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda pli sta playfield_lines,y lda pli+1 sta playfield_lines+1,y - //SEG777 [355] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuxx=vbuz1 + //SEG809 [373] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0 + (byte) play_init::j#2) ← (byte) play_init::idx#2 -- pbuc1_derefidx_vbuxx=vbuz1 lda idx sta playfield_lines_idx,x - //SEG778 [356] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 + //SEG810 [374] (byte*) play_init::pli#1 ← (byte*) play_init::pli#2 + (const byte) PLAYFIELD_COLS#0 -- pbuz1=pbuz1_plus_vbuc1 lda pli clc adc #PLAYFIELD_COLS @@ -19346,200 +20007,200 @@ play_init: { bcc !+ inc pli+1 !: - //SEG779 [357] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 + //SEG811 [375] (byte) play_init::idx#1 ← (byte) play_init::idx#2 + (const byte) PLAYFIELD_COLS#0 -- vbuz1=vbuz1_plus_vbuc1 lda #PLAYFIELD_COLS clc adc idx sta idx - //SEG780 [358] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuxx=_inc_vbuxx + //SEG812 [376] (byte) play_init::j#1 ← ++ (byte) play_init::j#2 -- vbuxx=_inc_vbuxx inx - //SEG781 [359] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG813 [377] if((byte) play_init::j#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto play_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #PLAYFIELD_LINES-1+1 bne b1 - //SEG782 play_init::@2 - //SEG783 [360] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 + //SEG814 play_init::@2 + //SEG815 [378] *((const byte[PLAYFIELD_LINES#0+1]) playfield_lines_idx#0+(const byte) PLAYFIELD_LINES#0) ← (const byte) PLAYFIELD_COLS#0*(const byte) PLAYFIELD_LINES#0 -- _deref_pbuc1=vbuc2 lda #PLAYFIELD_COLS*PLAYFIELD_LINES sta playfield_lines_idx+PLAYFIELD_LINES - //SEG784 play_init::@return - //SEG785 [361] return + //SEG816 play_init::@return + //SEG817 [379] return rts } -//SEG786 sprites_irq_init +//SEG818 sprites_irq_init sprites_irq_init: { - //SEG787 asm { sei } + //SEG819 asm { sei } sei - //SEG788 [363] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG820 [381] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS - //SEG789 asm { ldaCIA1_INTERRUPT } + //SEG821 asm { ldaCIA1_INTERRUPT } lda CIA1_INTERRUPT - //SEG790 [365] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 + //SEG822 [383] *((const byte*) PROCPORT_DDR#0) ← (const byte) PROCPORT_DDR_MEMORY_MASK#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_DDR_MEMORY_MASK sta PROCPORT_DDR - //SEG791 [366] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 + //SEG823 [384] *((const byte*) PROCPORT#0) ← (const byte) PROCPORT_RAM_IO#0 -- _deref_pbuc1=vbuc2 lda #PROCPORT_RAM_IO sta PROCPORT - //SEG792 [367] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 + //SEG824 [385] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0 -- _deref_pbuc1=vbuc2 lda #CIA_INTERRUPT_CLEAR sta CIA1_INTERRUPT - //SEG793 [368] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + //SEG825 [386] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) & (byte/signed byte/word/signed word/dword/signed dword) 127 -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 lda VIC_CONTROL and #$7f sta VIC_CONTROL - //SEG794 [369] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 + //SEG826 [387] *((const byte*) RASTER#0) ← (const byte) IRQ_RASTER_FIRST#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER_FIRST sta RASTER - //SEG795 [370] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG827 [388] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_ENABLE - //SEG796 [371] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 + //SEG828 [389] *((const void()**) HARDWARE_IRQ#0) ← &interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() -- _deref_pptc1=pprc2 lda #sprites_irq sta HARDWARE_IRQ+1 - //SEG797 asm { cli } + //SEG829 asm { cli } cli - //SEG798 sprites_irq_init::@return - //SEG799 [373] return + //SEG830 sprites_irq_init::@return + //SEG831 [391] return rts } -//SEG800 sprites_init +//SEG832 sprites_init sprites_init: { .label xpos = 2 - //SEG801 [374] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 + //SEG833 [392] *((const byte*) SPRITES_ENABLE#0) ← (byte/signed byte/word/signed word/dword/signed dword) 15 -- _deref_pbuc1=vbuc2 lda #$f sta SPRITES_ENABLE - //SEG802 [375] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 + //SEG834 [393] *((const byte*) SPRITES_MC#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- _deref_pbuc1=vbuc2 lda #0 sta SPRITES_MC - //SEG803 [376] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG835 [394] *((const byte*) SPRITES_EXPAND_Y#0) ← *((const byte*) SPRITES_MC#0) -- _deref_pbuc1=_deref_pbuc2 sta SPRITES_EXPAND_Y - //SEG804 [377] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 + //SEG836 [395] *((const byte*) SPRITES_EXPAND_X#0) ← *((const byte*) SPRITES_EXPAND_Y#0) -- _deref_pbuc1=_deref_pbuc2 sta SPRITES_EXPAND_X - //SEG805 [378] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] - //SEG806 [378] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 + //SEG837 [396] phi from sprites_init to sprites_init::@1 [phi:sprites_init->sprites_init::@1] + //SEG838 [396] phi (byte) sprites_init::xpos#2 = (byte/signed byte/word/signed word/dword/signed dword) 24+(byte/signed byte/word/signed word/dword/signed dword) 15*(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:sprites_init->sprites_init::@1#0] -- vbuz1=vbuc1 lda #$18+$f*8 sta xpos - //SEG807 [378] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuxx=vbuc1 + //SEG839 [396] phi (byte) sprites_init::s#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:sprites_init->sprites_init::@1#1] -- vbuxx=vbuc1 ldx #0 - //SEG808 [378] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] - //SEG809 [378] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy - //SEG810 [378] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy - //SEG811 sprites_init::@1 + //SEG840 [396] phi from sprites_init::@1 to sprites_init::@1 [phi:sprites_init::@1->sprites_init::@1] + //SEG841 [396] phi (byte) sprites_init::xpos#2 = (byte) sprites_init::xpos#1 [phi:sprites_init::@1->sprites_init::@1#0] -- register_copy + //SEG842 [396] phi (byte) sprites_init::s#2 = (byte) sprites_init::s#1 [phi:sprites_init::@1->sprites_init::@1#1] -- register_copy + //SEG843 sprites_init::@1 b1: - //SEG812 [379] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG844 [397] (byte) sprites_init::s2#0 ← (byte) sprites_init::s#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG813 [380] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuaa=vbuz1 + //SEG845 [398] *((const byte*) SPRITES_XPOS#0 + (byte) sprites_init::s2#0) ← (byte) sprites_init::xpos#2 -- pbuc1_derefidx_vbuaa=vbuz1 tay lda xpos sta SPRITES_XPOS,y - //SEG814 [381] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuxx=vbuc2 + //SEG846 [399] *((const byte*) SPRITES_COLS#0 + (byte) sprites_init::s#2) ← (const byte) BLACK#0 -- pbuc1_derefidx_vbuxx=vbuc2 lda #BLACK sta SPRITES_COLS,x - //SEG815 [382] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 + //SEG847 [400] (byte) sprites_init::xpos#1 ← (byte) sprites_init::xpos#2 + (byte/signed byte/word/signed word/dword/signed dword) 24 -- vbuz1=vbuz1_plus_vbuc1 lda #$18 clc adc xpos sta xpos - //SEG816 [383] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuxx=_inc_vbuxx + //SEG848 [401] (byte) sprites_init::s#1 ← ++ (byte) sprites_init::s#2 -- vbuxx=_inc_vbuxx inx - //SEG817 [384] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG849 [402] if((byte) sprites_init::s#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto sprites_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b1 - //SEG818 sprites_init::@return - //SEG819 [385] return + //SEG850 sprites_init::@return + //SEG851 [403] return rts } -//SEG820 render_init +//SEG852 render_init render_init: { .const vicSelectGfxBank1_toDd001_return = 3^(>PLAYFIELD_CHARSET)>>6 - .label li_1 = 7 + .label li_1 = 5 .label li_2 = $13 - //SEG821 render_init::vicSelectGfxBank1 - //SEG822 [387] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG853 render_init::vicSelectGfxBank1 + //SEG854 [405] *((const byte*) CIA2_PORT_A_DDR#0) ← (byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #3 sta CIA2_PORT_A_DDR - //SEG823 [388] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] - //SEG824 render_init::vicSelectGfxBank1_toDd001 - //SEG825 render_init::vicSelectGfxBank1_@1 - //SEG826 [389] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 + //SEG855 [406] phi from render_init::vicSelectGfxBank1 to render_init::vicSelectGfxBank1_toDd001 [phi:render_init::vicSelectGfxBank1->render_init::vicSelectGfxBank1_toDd001] + //SEG856 render_init::vicSelectGfxBank1_toDd001 + //SEG857 render_init::vicSelectGfxBank1_@1 + //SEG858 [407] *((const byte*) CIA2_PORT_A#0) ← (const byte) render_init::vicSelectGfxBank1_toDd001_return#0 -- _deref_pbuc1=vbuc2 lda #vicSelectGfxBank1_toDd001_return sta CIA2_PORT_A - //SEG827 render_init::@3 - //SEG828 [390] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 + //SEG859 render_init::@3 + //SEG860 [408] *((const byte*) D011#0) ← (const byte) VIC_ECM#0|(const byte) VIC_DEN#0|(const byte) VIC_RSEL#0|(byte/signed byte/word/signed word/dword/signed dword) 3 -- _deref_pbuc1=vbuc2 lda #VIC_ECM|VIC_DEN|VIC_RSEL|3 sta D011 - //SEG829 [391] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG861 [409] *((const byte*) BORDERCOL#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 lda #BLACK sta BORDERCOL - //SEG830 [392] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 + //SEG862 [410] *((const byte*) BGCOL1#0) ← (const byte) BLACK#0 -- _deref_pbuc1=vbuc2 sta BGCOL1 - //SEG831 [393] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 + //SEG863 [411] *((const byte*) BGCOL2#0) ← (const byte) BLUE#0 -- _deref_pbuc1=vbuc2 lda #BLUE sta BGCOL2 - //SEG832 [394] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 + //SEG864 [412] *((const byte*) BGCOL3#0) ← (const byte) CYAN#0 -- _deref_pbuc1=vbuc2 lda #CYAN sta BGCOL3 - //SEG833 [395] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 + //SEG865 [413] *((const byte*) BGCOL4#0) ← (const byte) GREY#0 -- _deref_pbuc1=vbuc2 lda #GREY sta BGCOL4 - //SEG834 [396] call render_screen_original - //SEG835 [409] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] - //SEG836 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 + //SEG866 [414] call render_screen_original + //SEG867 [427] phi from render_init::@3 to render_screen_original [phi:render_init::@3->render_screen_original] + //SEG868 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_1#0 [phi:render_init::@3->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1 sta render_screen_original.screen+1 jsr render_screen_original - //SEG837 [397] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] - //SEG838 render_init::@4 - //SEG839 [398] call render_screen_original - //SEG840 [409] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] - //SEG841 [409] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 + //SEG869 [415] phi from render_init::@3 to render_init::@4 [phi:render_init::@3->render_init::@4] + //SEG870 render_init::@4 + //SEG871 [416] call render_screen_original + //SEG872 [427] phi from render_init::@4 to render_screen_original [phi:render_init::@4->render_screen_original] + //SEG873 [427] phi (byte*) render_screen_original::screen#9 = (const byte*) PLAYFIELD_SCREEN_2#0 [phi:render_init::@4->render_screen_original#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2 sta render_screen_original.screen+1 jsr render_screen_original - //SEG842 [399] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] - //SEG843 [399] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 + //SEG874 [417] phi from render_init::@4 to render_init::@1 [phi:render_init::@4->render_init::@1] + //SEG875 [417] phi (byte*) render_init::li_2#2 = (const byte*) PLAYFIELD_SCREEN_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#0] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_2+2*$28+$10 sta li_2+1 - //SEG844 [399] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 + //SEG876 [417] phi (byte*) render_init::li_1#2 = (const byte*) PLAYFIELD_SCREEN_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2*(byte/signed byte/word/signed word/dword/signed dword) 40+(byte/signed byte/word/signed word/dword/signed dword) 16 [phi:render_init::@4->render_init::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_1+2*$28+$10 sta li_1+1 - //SEG845 [399] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuxx=vbuc1 + //SEG877 [417] phi (byte) render_init::i#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_init::@4->render_init::@1#2] -- vbuxx=vbuc1 ldx #0 - //SEG846 [399] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] - //SEG847 [399] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy - //SEG848 [399] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy - //SEG849 [399] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy - //SEG850 render_init::@1 + //SEG878 [417] phi from render_init::@1 to render_init::@1 [phi:render_init::@1->render_init::@1] + //SEG879 [417] phi (byte*) render_init::li_2#2 = (byte*) render_init::li_2#1 [phi:render_init::@1->render_init::@1#0] -- register_copy + //SEG880 [417] phi (byte*) render_init::li_1#2 = (byte*) render_init::li_1#1 [phi:render_init::@1->render_init::@1#1] -- register_copy + //SEG881 [417] phi (byte) render_init::i#2 = (byte) render_init::i#1 [phi:render_init::@1->render_init::@1#2] -- register_copy + //SEG882 render_init::@1 b1: - //SEG851 [400] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG883 [418] (byte~) render_init::$13 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG852 [401] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG884 [419] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 + (byte~) render_init::$13) ← (byte*) render_init::li_1#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda li_1 sta screen_lines_1,y lda li_1+1 sta screen_lines_1+1,y - //SEG853 [402] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 + //SEG885 [420] (byte~) render_init::$14 ← (byte) render_init::i#2 << (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuaa=vbuxx_rol_1 txa asl - //SEG854 [403] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuaa=pbuz1 + //SEG886 [421] *((const byte*[PLAYFIELD_LINES#0]) screen_lines_2#0 + (byte~) render_init::$14) ← (byte*) render_init::li_2#2 -- pptc1_derefidx_vbuaa=pbuz1 tay lda li_2 sta screen_lines_2,y lda li_2+1 sta screen_lines_2+1,y - //SEG855 [404] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG887 [422] (byte*) render_init::li_1#1 ← (byte*) render_init::li_1#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_1 clc adc #$28 @@ -19547,7 +20208,7 @@ render_init: { bcc !+ inc li_1+1 !: - //SEG856 [405] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 + //SEG888 [423] (byte*) render_init::li_2#1 ← (byte*) render_init::li_2#2 + (byte/signed byte/word/signed word/dword/signed dword) 40 -- pbuz1=pbuz1_plus_vbuc1 lda li_2 clc adc #$28 @@ -19555,313 +20216,313 @@ render_init: { bcc !+ inc li_2+1 !: - //SEG857 [406] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuxx=_inc_vbuxx + //SEG889 [424] (byte) render_init::i#1 ← ++ (byte) render_init::i#2 -- vbuxx=_inc_vbuxx inx - //SEG858 [407] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuxx_neq_vbuc1_then_la1 + //SEG890 [425] if((byte) render_init::i#1!=(const byte) PLAYFIELD_LINES#0-(byte/signed byte/word/signed word/dword/signed dword) 1+(byte/signed byte/word/signed word/dword/signed dword) 1) goto render_init::@1 -- vbuxx_neq_vbuc1_then_la1 cpx #PLAYFIELD_LINES-1+1 bne b1 - //SEG859 render_init::@return - //SEG860 [408] return + //SEG891 render_init::@return + //SEG892 [426] return rts } -//SEG861 render_screen_original +//SEG893 render_screen_original render_screen_original: { .const SPACE = 0 .label screen = $16 .label cols = $1b - .label oscr = 7 + .label oscr = 5 .label ocols = $13 .label y = 2 - //SEG862 [410] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] - //SEG863 [410] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 + //SEG894 [428] phi from render_screen_original to render_screen_original::@1 [phi:render_screen_original->render_screen_original::@1] + //SEG895 [428] phi (byte) render_screen_original::y#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original->render_screen_original::@1#0] -- vbuz1=vbuc1 lda #0 sta y - //SEG864 [410] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 + //SEG896 [428] phi (byte*) render_screen_original::ocols#4 = (const byte*) PLAYFIELD_COLORS_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#1] -- pbuz1=pbuc1 lda #PLAYFIELD_COLORS_ORIGINAL+$20*2 sta ocols+1 - //SEG865 [410] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 + //SEG897 [428] phi (byte*) render_screen_original::oscr#4 = (const byte*) PLAYFIELD_SCREEN_ORIGINAL#0+(byte/signed byte/word/signed word/dword/signed dword) 32*(byte/signed byte/word/signed word/dword/signed dword) 2 [phi:render_screen_original->render_screen_original::@1#2] -- pbuz1=pbuc1 lda #PLAYFIELD_SCREEN_ORIGINAL+$20*2 sta oscr+1 - //SEG866 [410] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 + //SEG898 [428] phi (byte*) render_screen_original::cols#7 = (const byte*) COLS#0 [phi:render_screen_original->render_screen_original::@1#3] -- pbuz1=pbuc1 lda #COLS sta cols+1 - //SEG867 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy - //SEG868 [410] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] - //SEG869 [410] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy - //SEG870 [410] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy - //SEG871 [410] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy - //SEG872 [410] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy - //SEG873 [410] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy - //SEG874 render_screen_original::@1 + //SEG899 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#9 [phi:render_screen_original->render_screen_original::@1#4] -- register_copy + //SEG900 [428] phi from render_screen_original::@7 to render_screen_original::@1 [phi:render_screen_original::@7->render_screen_original::@1] + //SEG901 [428] phi (byte) render_screen_original::y#6 = (byte) render_screen_original::y#1 [phi:render_screen_original::@7->render_screen_original::@1#0] -- register_copy + //SEG902 [428] phi (byte*) render_screen_original::ocols#4 = (byte*) render_screen_original::ocols#1 [phi:render_screen_original::@7->render_screen_original::@1#1] -- register_copy + //SEG903 [428] phi (byte*) render_screen_original::oscr#4 = (byte*) render_screen_original::oscr#1 [phi:render_screen_original::@7->render_screen_original::@1#2] -- register_copy + //SEG904 [428] phi (byte*) render_screen_original::cols#7 = (byte*) render_screen_original::cols#3 [phi:render_screen_original::@7->render_screen_original::@1#3] -- register_copy + //SEG905 [428] phi (byte*) render_screen_original::screen#8 = (byte*) render_screen_original::screen#10 [phi:render_screen_original::@7->render_screen_original::@1#4] -- register_copy + //SEG906 render_screen_original::@1 b1: - //SEG875 [411] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] - //SEG876 [411] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuxx=vbuc1 + //SEG907 [429] phi from render_screen_original::@1 to render_screen_original::@2 [phi:render_screen_original::@1->render_screen_original::@2] + //SEG908 [429] phi (byte) render_screen_original::x#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:render_screen_original::@1->render_screen_original::@2#0] -- vbuxx=vbuc1 ldx #0 - //SEG877 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy - //SEG878 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy - //SEG879 [411] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] - //SEG880 [411] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy - //SEG881 [411] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy - //SEG882 [411] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy - //SEG883 render_screen_original::@2 + //SEG909 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#7 [phi:render_screen_original::@1->render_screen_original::@2#1] -- register_copy + //SEG910 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#8 [phi:render_screen_original::@1->render_screen_original::@2#2] -- register_copy + //SEG911 [429] phi from render_screen_original::@2 to render_screen_original::@2 [phi:render_screen_original::@2->render_screen_original::@2] + //SEG912 [429] phi (byte) render_screen_original::x#4 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2->render_screen_original::@2#0] -- register_copy + //SEG913 [429] phi (byte*) render_screen_original::cols#4 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2->render_screen_original::@2#1] -- register_copy + //SEG914 [429] phi (byte*) render_screen_original::screen#5 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2->render_screen_original::@2#2] -- register_copy + //SEG915 render_screen_original::@2 b2: - //SEG884 [412] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG916 [430] *((byte*) render_screen_original::screen#5) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG885 [413] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 + //SEG917 [431] (byte*) render_screen_original::screen#2 ← ++ (byte*) render_screen_original::screen#5 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG886 [414] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG918 [432] *((byte*) render_screen_original::cols#4) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG887 [415] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 + //SEG919 [433] (byte*) render_screen_original::cols#1 ← ++ (byte*) render_screen_original::cols#4 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG888 [416] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuxx=_inc_vbuxx + //SEG920 [434] (byte) render_screen_original::x#1 ← ++ (byte) render_screen_original::x#4 -- vbuxx=_inc_vbuxx inx - //SEG889 [417] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuxx_neq_vbuc1_then_la1 + //SEG921 [435] if((byte) render_screen_original::x#1!=(byte/signed byte/word/signed word/dword/signed dword) 4) goto render_screen_original::@2 -- vbuxx_neq_vbuc1_then_la1 cpx #4 bne b2 - //SEG890 [418] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] - //SEG891 [418] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy - //SEG892 [418] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy - //SEG893 [418] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy - //SEG894 [418] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy - //SEG895 [418] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy - //SEG896 render_screen_original::@3 + //SEG922 [436] phi from render_screen_original::@2 render_screen_original::@3 to render_screen_original::@3 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3] + //SEG923 [436] phi (byte) render_screen_original::x#5 = (byte) render_screen_original::x#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#0] -- register_copy + //SEG924 [436] phi (byte*) render_screen_original::cols#5 = (byte*) render_screen_original::cols#1 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#1] -- register_copy + //SEG925 [436] phi (byte*) render_screen_original::ocols#2 = (byte*) render_screen_original::ocols#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#2] -- register_copy + //SEG926 [436] phi (byte*) render_screen_original::screen#6 = (byte*) render_screen_original::screen#2 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#3] -- register_copy + //SEG927 [436] phi (byte*) render_screen_original::oscr#2 = (byte*) render_screen_original::oscr#4 [phi:render_screen_original::@2/render_screen_original::@3->render_screen_original::@3#4] -- register_copy + //SEG928 render_screen_original::@3 b3: - //SEG897 [419] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG929 [437] *((byte*) render_screen_original::screen#6) ← *((byte*) render_screen_original::oscr#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (oscr),y sta (screen),y - //SEG898 [420] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 + //SEG930 [438] (byte*) render_screen_original::screen#3 ← ++ (byte*) render_screen_original::screen#6 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG899 [421] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 + //SEG931 [439] (byte*) render_screen_original::oscr#1 ← ++ (byte*) render_screen_original::oscr#2 -- pbuz1=_inc_pbuz1 inc oscr bne !+ inc oscr+1 !: - //SEG900 [422] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 + //SEG932 [440] *((byte*) render_screen_original::cols#5) ← *((byte*) render_screen_original::ocols#2) -- _deref_pbuz1=_deref_pbuz2 ldy #0 lda (ocols),y sta (cols),y - //SEG901 [423] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 + //SEG933 [441] (byte*) render_screen_original::cols#2 ← ++ (byte*) render_screen_original::cols#5 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG902 [424] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 + //SEG934 [442] (byte*) render_screen_original::ocols#1 ← ++ (byte*) render_screen_original::ocols#2 -- pbuz1=_inc_pbuz1 inc ocols bne !+ inc ocols+1 !: - //SEG903 [425] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuxx=_inc_vbuxx + //SEG935 [443] (byte) render_screen_original::x#2 ← ++ (byte) render_screen_original::x#5 -- vbuxx=_inc_vbuxx inx - //SEG904 [426] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuxx_neq_vbuc1_then_la1 + //SEG936 [444] if((byte) render_screen_original::x#2!=(byte/signed byte/word/signed word/dword/signed dword) 36) goto render_screen_original::@3 -- vbuxx_neq_vbuc1_then_la1 cpx #$24 bne b3 - //SEG905 [427] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] - //SEG906 [427] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy - //SEG907 [427] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy - //SEG908 [427] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy - //SEG909 render_screen_original::@4 + //SEG937 [445] phi from render_screen_original::@3 render_screen_original::@4 to render_screen_original::@4 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4] + //SEG938 [445] phi (byte) render_screen_original::x#6 = (byte) render_screen_original::x#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#0] -- register_copy + //SEG939 [445] phi (byte*) render_screen_original::cols#6 = (byte*) render_screen_original::cols#2 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#1] -- register_copy + //SEG940 [445] phi (byte*) render_screen_original::screen#7 = (byte*) render_screen_original::screen#3 [phi:render_screen_original::@3/render_screen_original::@4->render_screen_original::@4#2] -- register_copy + //SEG941 render_screen_original::@4 b4: - //SEG910 [428] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 + //SEG942 [446] *((byte*) render_screen_original::screen#7) ← (const byte) render_screen_original::SPACE#0 -- _deref_pbuz1=vbuc1 lda #SPACE ldy #0 sta (screen),y - //SEG911 [429] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 + //SEG943 [447] (byte*) render_screen_original::screen#10 ← ++ (byte*) render_screen_original::screen#7 -- pbuz1=_inc_pbuz1 inc screen bne !+ inc screen+1 !: - //SEG912 [430] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 + //SEG944 [448] *((byte*) render_screen_original::cols#6) ← (const byte) BLACK#0 -- _deref_pbuz1=vbuc1 lda #BLACK ldy #0 sta (cols),y - //SEG913 [431] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 + //SEG945 [449] (byte*) render_screen_original::cols#3 ← ++ (byte*) render_screen_original::cols#6 -- pbuz1=_inc_pbuz1 inc cols bne !+ inc cols+1 !: - //SEG914 [432] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuxx=_inc_vbuxx + //SEG946 [450] (byte) render_screen_original::x#3 ← ++ (byte) render_screen_original::x#6 -- vbuxx=_inc_vbuxx inx - //SEG915 [433] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuxx_neq_vbuc1_then_la1 + //SEG947 [451] if((byte) render_screen_original::x#3!=(byte/signed byte/word/signed word/dword/signed dword) 40) goto render_screen_original::@4 -- vbuxx_neq_vbuc1_then_la1 cpx #$28 bne b4 - //SEG916 render_screen_original::@7 - //SEG917 [434] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 + //SEG948 render_screen_original::@7 + //SEG949 [452] (byte) render_screen_original::y#1 ← ++ (byte) render_screen_original::y#6 -- vbuz1=_inc_vbuz1 inc y - //SEG918 [435] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 + //SEG950 [453] if((byte) render_screen_original::y#1!=(byte/signed byte/word/signed word/dword/signed dword) 25) goto render_screen_original::@1 -- vbuz1_neq_vbuc1_then_la1 lda y cmp #$19 bne b1 - //SEG919 render_screen_original::@return - //SEG920 [436] return + //SEG951 render_screen_original::@return + //SEG952 [454] return rts } -//SEG921 sid_rnd_init +//SEG953 sid_rnd_init sid_rnd_init: { - //SEG922 [437] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 + //SEG954 [455] *((const word*) SID_VOICE3_FREQ#0) ← (word/dword/signed dword) 65535 -- _deref_pwuc1=vwuc2 lda #<$ffff sta SID_VOICE3_FREQ lda #>$ffff sta SID_VOICE3_FREQ+1 - //SEG923 [438] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 + //SEG955 [456] *((const byte*) SID_VOICE3_CONTROL#0) ← (const byte) SID_CONTROL_NOISE#0 -- _deref_pbuc1=vbuc2 lda #SID_CONTROL_NOISE sta SID_VOICE3_CONTROL - //SEG924 sid_rnd_init::@return - //SEG925 [439] return + //SEG956 sid_rnd_init::@return + //SEG957 [457] return rts } -//SEG926 sprites_irq +//SEG958 sprites_irq sprites_irq: { .const toSpritePtr2_return = PLAYFIELD_SPRITES>>6 - //SEG927 entry interrupt(HARDWARE_CLOBBER) + //SEG959 entry interrupt(HARDWARE_CLOBBER) sta rega+1 stx regx+1 - //SEG928 asm { cld } + //SEG960 asm { cld } cld - //SEG929 [441] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuaa=vbuz1 + //SEG961 [459] (byte) sprites_irq::ypos#0 ← (byte) irq_sprite_ypos#0 -- vbuaa=vbuz1 lda irq_sprite_ypos - //SEG930 [442] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG962 [460] *((const byte*) SPRITES_YPOS#0) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS - //SEG931 [443] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG963 [461] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+2 - //SEG932 [444] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG964 [462] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+4 - //SEG933 [445] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa + //SEG965 [463] *((const byte*) SPRITES_YPOS#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) sprites_irq::ypos#0 -- _deref_pbuc1=vbuaa sta SPRITES_YPOS+6 - //SEG934 sprites_irq::@1 + //SEG966 sprites_irq::@1 b1: - //SEG935 [446] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 + //SEG967 [464] if(*((const byte*) RASTER#0)<(byte) irq_sprite_ypos#0) goto sprites_irq::@1 -- _deref_pbuc1_lt_vbuz1_then_la1 lda RASTER cmp irq_sprite_ypos bcc b1 - //SEG936 sprites_irq::@7 - //SEG937 [447] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuxx=vbuz1 + //SEG968 sprites_irq::@7 + //SEG969 [465] (byte) sprites_irq::ptr#0 ← (byte) irq_sprite_ptr#0 -- vbuxx=vbuz1 ldx irq_sprite_ptr - //SEG938 [448] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 + //SEG970 [466] if((byte) render_screen_showing#0==(byte/signed byte/word/signed word/dword/signed dword) 0) goto sprites_irq::@2 -- vbuz1_eq_0_then_la1 lda render_screen_showing cmp #0 beq b2 - //SEG939 sprites_irq::@8 - //SEG940 [449] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx + //SEG971 sprites_irq::@8 + //SEG972 [467] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2 - //SEG941 [450] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuxx=_inc_vbuxx + //SEG973 [468] (byte) sprites_irq::ptr#3 ← ++ (byte) sprites_irq::ptr#0 -- vbuxx=_inc_vbuxx inx - //SEG942 [451] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx + //SEG974 [469] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+1 - //SEG943 [452] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx + //SEG975 [470] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#3 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+2 - //SEG944 [453] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuxx=_inc_vbuxx + //SEG976 [471] (byte) sprites_irq::ptr#4 ← ++ (byte) sprites_irq::ptr#3 -- vbuxx=_inc_vbuxx inx - //SEG945 [454] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuxx + //SEG977 [472] *((const byte*) PLAYFIELD_SPRITE_PTRS_2#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#4 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_2+3 - //SEG946 sprites_irq::@3 + //SEG978 sprites_irq::@3 b3: - //SEG947 [455] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz1 + //SEG979 [473] (byte) irq_cnt#1 ← ++ (byte) irq_cnt#0 -- vbuz1=_inc_vbuz1 inc irq_cnt - //SEG948 [456] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 + //SEG980 [474] if((byte) irq_cnt#1==(byte/signed byte/word/signed word/dword/signed dword) 10) goto sprites_irq::@4 -- vbuz1_eq_vbuc1_then_la1 lda irq_cnt cmp #$a beq b4 - //SEG949 sprites_irq::@10 - //SEG950 [457] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 + //SEG981 sprites_irq::@10 + //SEG982 [475] (byte) irq_raster_next#2 ← (byte) irq_raster_next#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 lda #$15 clc adc irq_raster_next sta irq_raster_next - //SEG951 [458] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 + //SEG983 [476] (byte) irq_sprite_ypos#2 ← (byte) irq_sprite_ypos#0 + (byte/signed byte/word/signed word/dword/signed dword) 21 -- vbuz1=vbuz1_plus_vbuc1 lda #$15 clc adc irq_sprite_ypos sta irq_sprite_ypos - //SEG952 [459] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz1_plus_vbuc1 + //SEG984 [477] (byte) irq_sprite_ptr#2 ← (byte) irq_sprite_ptr#0 + (byte/signed byte/word/signed word/dword/signed dword) 3 -- vbuz1=vbuz1_plus_vbuc1 lda #3 clc adc irq_sprite_ptr sta irq_sprite_ptr - //SEG953 [460] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] - //SEG954 [460] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy - //SEG955 sprites_irq::@5 + //SEG985 [478] phi from sprites_irq::@10 sprites_irq::@13 to sprites_irq::@5 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5] + //SEG986 [478] phi (byte) irq_raster_next#13 = (byte) irq_raster_next#2 [phi:sprites_irq::@10/sprites_irq::@13->sprites_irq::@5#0] -- register_copy + //SEG987 sprites_irq::@5 b5: - //SEG956 [461] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuxx=vbuz1 + //SEG988 [479] (byte) sprites_irq::raster_next#0 ← (byte) irq_raster_next#13 -- vbuxx=vbuz1 ldx irq_raster_next - //SEG957 [462] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuxx_band_vbuc1 + //SEG989 [480] (byte~) sprites_irq::$4 ← (byte) sprites_irq::raster_next#0 & (byte/signed byte/word/signed word/dword/signed dword) 7 -- vbuaa=vbuxx_band_vbuc1 txa and #7 - //SEG958 [463] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuaa_neq_vbuc1_then_la1 + //SEG990 [481] if((byte~) sprites_irq::$4!=(byte/signed byte/word/signed word/dword/signed dword) 3) goto sprites_irq::@6 -- vbuaa_neq_vbuc1_then_la1 cmp #3 bne b6 - //SEG959 sprites_irq::@12 - //SEG960 [464] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuxx=vbuxx_minus_1 + //SEG991 sprites_irq::@12 + //SEG992 [482] (byte) sprites_irq::raster_next#1 ← (byte) sprites_irq::raster_next#0 - (byte/signed byte/word/signed word/dword/signed dword) 1 -- vbuxx=vbuxx_minus_1 dex - //SEG961 [465] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] - //SEG962 [465] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy - //SEG963 sprites_irq::@6 + //SEG993 [483] phi from sprites_irq::@12 sprites_irq::@5 to sprites_irq::@6 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6] + //SEG994 [483] phi (byte) sprites_irq::raster_next#2 = (byte) sprites_irq::raster_next#1 [phi:sprites_irq::@12/sprites_irq::@5->sprites_irq::@6#0] -- register_copy + //SEG995 sprites_irq::@6 b6: - //SEG964 [466] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuxx + //SEG996 [484] *((const byte*) RASTER#0) ← (byte) sprites_irq::raster_next#2 -- _deref_pbuc1=vbuxx stx RASTER - //SEG965 [467] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 + //SEG997 [485] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0 -- _deref_pbuc1=vbuc2 lda #IRQ_RASTER sta IRQ_STATUS - //SEG966 sprites_irq::@return - //SEG967 [468] return - exit interrupt(HARDWARE_CLOBBER) + //SEG998 sprites_irq::@return + //SEG999 [486] return - exit interrupt(HARDWARE_CLOBBER) rega: lda #00 regx: ldx #00 rti - //SEG968 sprites_irq::@4 + //SEG1000 sprites_irq::@4 b4: - //SEG969 [469] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 + //SEG1001 [487] (byte) irq_cnt#14 ← (byte/signed byte/word/signed word/dword/signed dword) 0 -- vbuz1=vbuc1 lda #0 sta irq_cnt - //SEG970 [470] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 + //SEG1002 [488] (byte) irq_raster_next#1 ← (const byte) IRQ_RASTER_FIRST#0 -- vbuz1=vbuc1 lda #IRQ_RASTER_FIRST sta irq_raster_next - //SEG971 [471] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 + //SEG1003 [489] (byte) irq_sprite_ypos#1 ← (byte/signed byte/word/signed word/dword/signed dword) 50 -- vbuz1=vbuc1 lda #$32 sta irq_sprite_ypos - //SEG972 [472] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] - //SEG973 sprites_irq::toSpritePtr2 - //SEG974 sprites_irq::@13 - //SEG975 [473] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 + //SEG1004 [490] phi from sprites_irq::@4 to sprites_irq::toSpritePtr2 [phi:sprites_irq::@4->sprites_irq::toSpritePtr2] + //SEG1005 sprites_irq::toSpritePtr2 + //SEG1006 sprites_irq::@13 + //SEG1007 [491] (byte) irq_sprite_ptr#1 ← (const byte) sprites_irq::toSpritePtr2_return#0 -- vbuz1=vbuc1 lda #toSpritePtr2_return sta irq_sprite_ptr jmp b5 - //SEG976 sprites_irq::@2 + //SEG1008 sprites_irq::@2 b2: - //SEG977 [474] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx + //SEG1009 [492] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0) ← (byte) sprites_irq::ptr#0 -- _deref_pbuc1=vbuxx stx PLAYFIELD_SPRITE_PTRS_1 - //SEG978 [475] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuaa=_inc_vbuxx + //SEG1010 [493] (byte) sprites_irq::ptr#1 ← ++ (byte) sprites_irq::ptr#0 -- vbuaa=_inc_vbuxx txa clc adc #1 - //SEG979 [476] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa + //SEG1011 [494] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+1 - //SEG980 [477] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa + //SEG1012 [495] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) sprites_irq::ptr#1 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+2 - //SEG981 [478] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuaa=_inc_vbuaa + //SEG1013 [496] (byte) sprites_irq::ptr#2 ← ++ (byte) sprites_irq::ptr#1 -- vbuaa=_inc_vbuaa clc adc #1 - //SEG982 [479] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuaa + //SEG1014 [497] *((const byte*) PLAYFIELD_SPRITE_PTRS_1#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) sprites_irq::ptr#2 -- _deref_pbuc1=vbuaa sta PLAYFIELD_SPRITE_PTRS_1+3 jmp b3 } diff --git a/src/test/ref/examples/tetris/tetris.sym b/src/test/ref/examples/tetris/tetris.sym index c84907dec..d887c3fc4 100644 --- a/src/test/ref/examples/tetris/tetris.sym +++ b/src/test/ref/examples/tetris/tetris.sym @@ -1,8 +1,8 @@ (label) @14 -(label) @20 (label) @21 -(label) @33 +(label) @22 (label) @34 +(label) @35 (label) @begin (label) @end (byte*) BGCOL @@ -279,7 +279,7 @@ (byte) YELLOW (byte) current_movedown_counter (byte) current_movedown_counter#1 current_movedown_counter zp ZP_BYTE:4 0.5333333333333333 -(byte) current_movedown_counter#10 current_movedown_counter zp ZP_BYTE:4 4.222222222222222 +(byte) current_movedown_counter#10 current_movedown_counter zp ZP_BYTE:4 3.931034482758621 (byte) current_movedown_counter#12 current_movedown_counter zp ZP_BYTE:4 10.363636363636363 (byte) current_movedown_fast (const byte) current_movedown_fast#0 current_movedown_fast = (byte/signed byte/word/signed word/dword/signed dword) 5 @@ -288,57 +288,57 @@ (byte) current_orientation (byte) current_orientation#10 current_orientation zp ZP_BYTE:21 3.371428571428571 (byte) current_orientation#14 current_orientation zp ZP_BYTE:21 0.32653061224489793 -(byte) current_orientation#19 current_orientation zp ZP_BYTE:21 6.941176470588235 +(byte) current_orientation#19 current_orientation zp ZP_BYTE:21 6.210526315789475 (byte) current_orientation#29 current_orientation zp ZP_BYTE:21 4.0 (byte) current_orientation#4 current_orientation zp ZP_BYTE:21 3.0 (byte*) current_piece -(byte*) current_piece#10 current_piece zp ZP_WORD:19 1.8235294117647054 -(byte*) current_piece#12 current_piece#12 zp ZP_WORD:7 10.0 +(byte*) current_piece#10 current_piece zp ZP_WORD:19 1.771428571428571 +(byte*) current_piece#12 current_piece#12 zp ZP_WORD:5 10.0 (byte*) current_piece#16 current_piece zp ZP_WORD:19 3.428571428571428 (byte*) current_piece#20 current_piece zp ZP_WORD:19 6.0 -(byte*~) current_piece#72 current_piece zp ZP_WORD:19 4.0 -(byte*~) current_piece#75 current_piece#75 zp ZP_WORD:7 4.0 -(byte*~) current_piece#76 current_piece#76 zp ZP_WORD:7 4.0 -(byte*~) current_piece#77 current_piece#77 zp ZP_WORD:7 4.0 -(byte*~) current_piece#78 current_piece#78 zp ZP_WORD:7 4.0 -(byte*~) current_piece#79 current_piece zp ZP_WORD:19 4.0 +(byte*~) current_piece#73 current_piece zp ZP_WORD:19 4.0 +(byte*~) current_piece#76 current_piece#76 zp ZP_WORD:5 4.0 +(byte*~) current_piece#77 current_piece#77 zp ZP_WORD:5 4.0 +(byte*~) current_piece#78 current_piece#78 zp ZP_WORD:5 4.0 +(byte*~) current_piece#79 current_piece#79 zp ZP_WORD:5 4.0 +(byte*~) current_piece#80 current_piece zp ZP_WORD:19 4.0 (byte) current_piece_char -(byte) current_piece_char#1 current_piece_char zp ZP_BYTE:25 4.703703703703704 +(byte) current_piece_char#1 current_piece_char zp ZP_BYTE:25 4.379310344827585 (byte) current_piece_char#12 current_piece_char zp ZP_BYTE:25 0.6153846153846154 (byte) current_piece_char#15 current_piece_char zp ZP_BYTE:25 194.59615384615384 (byte) current_piece_char#20 current_piece_char zp ZP_BYTE:25 6.0 (byte) current_piece_char#64 reg byte x 46.09090909090909 -(byte~) current_piece_char#89 reg byte x 4.0 -(byte~) current_piece_char#90 reg byte x 22.0 +(byte~) current_piece_char#90 reg byte x 4.0 +(byte~) current_piece_char#91 reg byte x 22.0 (byte*) current_piece_gfx (byte*) current_piece_gfx#1 current_piece_gfx zp ZP_WORD:22 0.2962962962962963 -(byte*~) current_piece_gfx#101 current_piece_gfx#101 zp ZP_WORD:7 2.0 -(byte*~) current_piece_gfx#102 current_piece_gfx#102 zp ZP_WORD:7 11.0 -(byte*) current_piece_gfx#14 current_piece_gfx zp ZP_WORD:22 7.588235294117647 +(byte*~) current_piece_gfx#102 current_piece_gfx#102 zp ZP_WORD:5 2.0 +(byte*~) current_piece_gfx#103 current_piece_gfx#103 zp ZP_WORD:5 11.0 +(byte*) current_piece_gfx#14 current_piece_gfx zp ZP_WORD:22 6.789473684210528 (byte*) current_piece_gfx#16 current_piece_gfx zp ZP_WORD:22 0.5 (byte*) current_piece_gfx#20 current_piece_gfx zp ZP_WORD:22 194.59615384615384 (byte*) current_piece_gfx#26 current_piece_gfx zp ZP_WORD:22 6.0 (byte*) current_piece_gfx#3 current_piece_gfx zp ZP_WORD:22 4.0 -(byte*) current_piece_gfx#53 current_piece_gfx#53 zp ZP_WORD:7 46.09090909090909 +(byte*) current_piece_gfx#53 current_piece_gfx#53 zp ZP_WORD:5 46.09090909090909 (byte) current_xpos (byte) current_xpos#1 current_xpos zp ZP_BYTE:24 0.72 (byte) current_xpos#10 current_xpos zp ZP_BYTE:24 21.557692307692307 -(byte~) current_xpos#111 current_xpos#111 zp ZP_BYTE:6 1.3333333333333333 -(byte~) current_xpos#112 current_xpos#112 zp ZP_BYTE:6 7.333333333333333 -(byte) current_xpos#19 current_xpos zp ZP_BYTE:24 3.2926829268292686 +(byte~) current_xpos#112 current_xpos#112 zp ZP_BYTE:8 1.3333333333333333 +(byte~) current_xpos#113 current_xpos#113 zp ZP_BYTE:8 7.333333333333333 +(byte) current_xpos#19 current_xpos zp ZP_BYTE:24 3.139534883720931 (byte) current_xpos#2 current_xpos zp ZP_BYTE:24 4.0 (byte) current_xpos#23 current_xpos zp ZP_BYTE:24 0.5333333333333333 (byte) current_xpos#33 current_xpos zp ZP_BYTE:24 6.0 (byte) current_xpos#4 current_xpos zp ZP_BYTE:24 4.0 -(byte) current_xpos#47 current_xpos#47 zp ZP_BYTE:6 5.181818181818182 +(byte) current_xpos#47 current_xpos#47 zp ZP_BYTE:8 5.181818181818182 (byte) current_ypos (byte) current_ypos#0 current_ypos zp ZP_BYTE:14 4.0 -(byte) current_ypos#13 current_ypos zp ZP_BYTE:14 1.9558823529411762 +(byte) current_ypos#13 current_ypos zp ZP_BYTE:14 1.8999999999999995 (byte) current_ypos#18 current_ypos zp ZP_BYTE:14 0.5714285714285714 (byte) current_ypos#21 current_ypos zp ZP_BYTE:14 3.485714285714285 (byte) current_ypos#29 current_ypos zp ZP_BYTE:14 6.0 -(byte~) current_ypos#85 reg byte y 1.0 -(byte~) current_ypos#86 reg byte y 4.4 +(byte~) current_ypos#86 reg byte y 1.0 +(byte~) current_ypos#87 reg byte y 4.4 (byte) current_ypos#9 reg byte y 15.0 (byte) irq_cnt (byte) irq_cnt#0 irq_cnt zp ZP_BYTE:33 0.19047619047619047 @@ -370,7 +370,7 @@ (byte~) keyboard_event_pressed::$1 reg byte a 4.0 (label) keyboard_event_pressed::@return (byte) keyboard_event_pressed::keycode -(byte) keyboard_event_pressed::keycode#5 keycode zp ZP_BYTE:5 1.3333333333333333 +(byte) keyboard_event_pressed::keycode#5 keycode zp ZP_BYTE:7 1.3333333333333333 (byte) keyboard_event_pressed::return (byte) keyboard_event_pressed::return#0 reg byte a 4.0 (byte) keyboard_event_pressed::return#1 reg byte a 4.0 @@ -379,7 +379,7 @@ (byte) keyboard_event_pressed::return#12 reg byte a 4.0 (byte) keyboard_event_pressed::return#2 reg byte a 4.0 (byte) keyboard_event_pressed::row_bits -(byte) keyboard_event_pressed::row_bits#0 row_bits zp ZP_BYTE:6 2.0 +(byte) keyboard_event_pressed::row_bits#0 row_bits zp ZP_BYTE:8 2.0 (void()) keyboard_event_scan() (byte/word/dword~) keyboard_event_scan::$11 reg byte a 20002.0 (byte~) keyboard_event_scan::$14 reg byte a 4.0 @@ -418,14 +418,14 @@ (byte) keyboard_event_scan::event_type (byte) keyboard_event_scan::event_type#0 reg byte a 20002.0 (byte) keyboard_event_scan::keycode -(byte) keyboard_event_scan::keycode#1 keycode zp ZP_BYTE:6 2002.0 -(byte) keyboard_event_scan::keycode#10 keycode zp ZP_BYTE:6 3154.230769230769 -(byte) keyboard_event_scan::keycode#11 keycode zp ZP_BYTE:6 500.5 -(byte) keyboard_event_scan::keycode#14 keycode zp ZP_BYTE:6 1001.0 -(byte) keyboard_event_scan::keycode#15 keycode zp ZP_BYTE:6 5250.75 +(byte) keyboard_event_scan::keycode#1 keycode zp ZP_BYTE:8 2002.0 +(byte) keyboard_event_scan::keycode#10 keycode zp ZP_BYTE:8 3154.230769230769 +(byte) keyboard_event_scan::keycode#11 keycode zp ZP_BYTE:8 500.5 +(byte) keyboard_event_scan::keycode#14 keycode zp ZP_BYTE:8 1001.0 +(byte) keyboard_event_scan::keycode#15 keycode zp ZP_BYTE:8 5250.75 (byte) keyboard_event_scan::row -(byte) keyboard_event_scan::row#1 row zp ZP_BYTE:5 1501.5 -(byte) keyboard_event_scan::row#2 row zp ZP_BYTE:5 600.24 +(byte) keyboard_event_scan::row#1 row zp ZP_BYTE:7 1501.5 +(byte) keyboard_event_scan::row#2 row zp ZP_BYTE:7 600.24 (byte) keyboard_event_scan::row_scan (byte) keyboard_event_scan::row_scan#0 row_scan zp ZP_BYTE:9 1278.0555555555554 (byte[8]) keyboard_events @@ -434,7 +434,7 @@ (byte) keyboard_events_size#1 keyboard_events_size zp ZP_BYTE:26 20002.0 (byte) keyboard_events_size#10 keyboard_events_size zp ZP_BYTE:26 8100.9000000000015 (byte) keyboard_events_size#13 keyboard_events_size zp ZP_BYTE:26 97.06451612903226 -(byte) keyboard_events_size#16 keyboard_events_size zp ZP_BYTE:26 3.741935483870968 +(byte) keyboard_events_size#16 keyboard_events_size zp ZP_BYTE:26 3.515151515151515 (byte) keyboard_events_size#19 keyboard_events_size zp ZP_BYTE:26 18.999999999999996 (byte) keyboard_events_size#2 keyboard_events_size zp ZP_BYTE:26 20002.0 (byte) keyboard_events_size#29 keyboard_events_size zp ZP_BYTE:26 429.2857142857143 @@ -482,6 +482,7 @@ (label) main::@28 (label) main::@29 (label) main::@30 +(label) main::@31 (label) main::@4 (label) main::@6 (byte) main::key_event @@ -526,7 +527,7 @@ (byte) play_collision::orientation#3 reg byte x 2.0 (byte) play_collision::orientation#4 reg byte x 10.0 (byte*) play_collision::piece_gfx -(byte*) play_collision::piece_gfx#0 piece_gfx zp ZP_WORD:7 476.3333333333333 +(byte*) play_collision::piece_gfx#0 piece_gfx zp ZP_WORD:5 476.3333333333333 (byte*) play_collision::playfield_line (byte*) play_collision::playfield_line#0 playfield_line zp ZP_WORD:27 785.8571428571429 (byte) play_collision::return @@ -536,11 +537,11 @@ (byte) play_collision::return#13 reg byte a 4.0 (byte) play_collision::return#14 reg byte a 1.3333333333333333 (byte) play_collision::xpos -(byte) play_collision::xpos#0 xpos zp ZP_BYTE:6 1.3333333333333333 -(byte) play_collision::xpos#1 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#2 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#3 xpos zp ZP_BYTE:6 1.0 -(byte) play_collision::xpos#5 xpos zp ZP_BYTE:6 45.86363636363637 +(byte) play_collision::xpos#0 xpos zp ZP_BYTE:8 1.3333333333333333 +(byte) play_collision::xpos#1 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#2 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#3 xpos zp ZP_BYTE:8 1.0 +(byte) play_collision::xpos#5 xpos zp ZP_BYTE:8 45.86363636363637 (byte) play_collision::ypos (byte) play_collision::ypos#0 reg byte y 1.0 (byte) play_collision::ypos#1 reg byte y 1.3333333333333333 @@ -563,8 +564,8 @@ (byte) play_init::j#1 reg byte x 16.5 (byte) play_init::j#2 reg byte x 7.333333333333333 (byte*) play_init::pli -(byte*) play_init::pli#1 pli zp ZP_WORD:7 5.5 -(byte*) play_init::pli#2 pli zp ZP_WORD:7 8.25 +(byte*) play_init::pli#1 pli zp ZP_WORD:5 5.5 +(byte*) play_init::pli#2 pli zp ZP_WORD:5 8.25 (void()) play_lock_current() (label) play_lock_current::@1 (label) play_lock_current::@2 @@ -578,20 +579,20 @@ (byte) play_lock_current::c#1 reg byte x 10001.0 (byte) play_lock_current::c#2 reg byte x 4000.4 (byte) play_lock_current::col -(byte) play_lock_current::col#0 col zp ZP_BYTE:6 2002.0 -(byte) play_lock_current::col#1 col zp ZP_BYTE:6 5000.5 -(byte) play_lock_current::col#2 col zp ZP_BYTE:6 7751.0 +(byte) play_lock_current::col#0 col zp ZP_BYTE:8 2002.0 +(byte) play_lock_current::col#1 col zp ZP_BYTE:8 5000.5 +(byte) play_lock_current::col#2 col zp ZP_BYTE:8 7751.0 (byte) play_lock_current::i (byte) play_lock_current::i#1 i zp ZP_BYTE:9 2333.6666666666665 -(byte) play_lock_current::i#2 i#2 zp ZP_BYTE:5 15502.0 -(byte) play_lock_current::i#3 i#3 zp ZP_BYTE:5 667.3333333333334 -(byte~) play_lock_current::i#7 i#7 zp ZP_BYTE:5 2002.0 -(byte~) play_lock_current::i#9 i#9 zp ZP_BYTE:5 20002.0 +(byte) play_lock_current::i#2 i#2 zp ZP_BYTE:7 15502.0 +(byte) play_lock_current::i#3 i#3 zp ZP_BYTE:7 667.3333333333334 +(byte~) play_lock_current::i#7 i#7 zp ZP_BYTE:7 2002.0 +(byte~) play_lock_current::i#9 i#9 zp ZP_BYTE:7 20002.0 (byte) play_lock_current::l (byte) play_lock_current::l#1 l zp ZP_BYTE:4 1001.0 (byte) play_lock_current::l#6 l zp ZP_BYTE:4 166.83333333333334 (byte*) play_lock_current::playfield_line -(byte*) play_lock_current::playfield_line#0 playfield_line zp ZP_WORD:7 1100.2 +(byte*) play_lock_current::playfield_line#0 playfield_line zp ZP_WORD:5 1100.2 (byte) play_lock_current::ypos2 (byte) play_lock_current::ypos2#0 ypos2 zp ZP_BYTE:14 4.0 (byte) play_lock_current::ypos2#1 ypos2 zp ZP_BYTE:14 500.5 @@ -659,9 +660,9 @@ (byte) play_move_rotate::key_event (byte) play_move_rotate::key_event#0 reg byte a 52.5 (byte) play_move_rotate::orientation -(byte) play_move_rotate::orientation#1 orientation zp ZP_BYTE:5 4.0 -(byte) play_move_rotate::orientation#2 orientation zp ZP_BYTE:5 4.0 -(byte) play_move_rotate::orientation#3 orientation zp ZP_BYTE:5 0.8888888888888888 +(byte) play_move_rotate::orientation#1 orientation zp ZP_BYTE:7 4.0 +(byte) play_move_rotate::orientation#2 orientation zp ZP_BYTE:7 4.0 +(byte) play_move_rotate::orientation#3 orientation zp ZP_BYTE:7 0.8888888888888888 (byte) play_move_rotate::return (byte) play_move_rotate::return#1 reg byte a 33.666666666666664 (byte) play_move_rotate::return#4 reg byte a 202.0 @@ -686,9 +687,9 @@ (byte) play_remove_lines::r#2 reg byte y 15502.0 (byte) play_remove_lines::r#3 reg byte y 2002.0 (byte) play_remove_lines::removed -(byte) play_remove_lines::removed#1 removed zp ZP_BYTE:5 2002.0 -(byte) play_remove_lines::removed#11 removed zp ZP_BYTE:5 231.0 -(byte) play_remove_lines::removed#7 removed zp ZP_BYTE:5 333.8888888888889 +(byte) play_remove_lines::removed#1 removed zp ZP_BYTE:7 2002.0 +(byte) play_remove_lines::removed#11 removed zp ZP_BYTE:7 231.0 +(byte) play_remove_lines::removed#7 removed zp ZP_BYTE:7 333.8888888888889 (byte) play_remove_lines::return (byte) play_remove_lines::return#0 reg byte a 4.0 (byte) play_remove_lines::w @@ -700,8 +701,8 @@ (byte) play_remove_lines::w#4 reg byte x 4429.142857142857 (byte) play_remove_lines::w#6 reg byte x 1668.3333333333335 (byte) play_remove_lines::x -(byte) play_remove_lines::x#1 x zp ZP_BYTE:6 15001.5 -(byte) play_remove_lines::x#2 x zp ZP_BYTE:6 2500.25 +(byte) play_remove_lines::x#1 x zp ZP_BYTE:8 15001.5 +(byte) play_remove_lines::x#2 x zp ZP_BYTE:8 2500.25 (byte) play_remove_lines::y (byte) play_remove_lines::y#1 y zp ZP_BYTE:4 1501.5 (byte) play_remove_lines::y#8 y zp ZP_BYTE:4 133.46666666666667 @@ -777,8 +778,8 @@ (byte) render_init::i#1 reg byte x 16.5 (byte) render_init::i#2 reg byte x 6.285714285714286 (byte*) render_init::li_1 -(byte*) render_init::li_1#1 li_1 zp ZP_WORD:7 5.5 -(byte*) render_init::li_1#2 li_1 zp ZP_WORD:7 6.6000000000000005 +(byte*) render_init::li_1#1 li_1 zp ZP_WORD:5 5.5 +(byte*) render_init::li_1#2 li_1 zp ZP_WORD:5 6.6000000000000005 (byte*) render_init::li_2 (byte*) render_init::li_2#1 li_2 zp ZP_WORD:19 7.333333333333333 (byte*) render_init::li_2#2 li_2 zp ZP_WORD:19 5.5 @@ -805,16 +806,43 @@ (byte) render_playfield::c#1 c zp ZP_BYTE:9 1501.5 (byte) render_playfield::c#2 c zp ZP_BYTE:9 500.5 (byte) render_playfield::i -(byte) render_playfield::i#1 i zp ZP_BYTE:6 420.59999999999997 -(byte) render_playfield::i#2 i zp ZP_BYTE:6 1034.6666666666667 -(byte) render_playfield::i#3 i zp ZP_BYTE:6 50.5 +(byte) render_playfield::i#1 i zp ZP_BYTE:8 420.59999999999997 +(byte) render_playfield::i#2 i zp ZP_BYTE:8 1034.6666666666667 +(byte) render_playfield::i#3 i zp ZP_BYTE:8 50.5 (byte) render_playfield::l -(byte) render_playfield::l#1 l zp ZP_BYTE:5 151.5 -(byte) render_playfield::l#2 l zp ZP_BYTE:5 30.299999999999997 +(byte) render_playfield::l#1 l zp ZP_BYTE:7 151.5 +(byte) render_playfield::l#2 l zp ZP_BYTE:7 30.299999999999997 (byte*) render_playfield::screen_line -(byte*) render_playfield::screen_line#0 screen_line zp ZP_WORD:7 202.0 -(byte*) render_playfield::screen_line#1 screen_line zp ZP_WORD:7 500.5 -(byte*) render_playfield::screen_line#2 screen_line zp ZP_WORD:7 1552.0 +(byte*) render_playfield::screen_line#0 screen_line zp ZP_WORD:5 202.0 +(byte*) render_playfield::screen_line#1 screen_line zp ZP_WORD:5 500.5 +(byte*) render_playfield::screen_line#2 screen_line zp ZP_WORD:5 1552.0 +(void()) render_score() +(byte~) render_score::$10 reg byte a 202.0 +(byte~) render_score::$11 reg byte a 202.0 +(byte~) render_score::$12 reg byte a 202.0 +(byte~) render_score::$9 reg byte a 202.0 +(label) render_score::@2 +(label) render_score::@3 +(label) render_score::@4 +(label) render_score::@return +(byte) render_score::SCREEN_SCORE_COL +(const byte) render_score::SCREEN_SCORE_COL#0 SCREEN_SCORE_COL = (byte/signed byte/word/signed word/dword/signed dword) 29 +(byte) render_score::SCREEN_SCORE_ROW +(const byte) render_score::SCREEN_SCORE_ROW#0 SCREEN_SCORE_ROW = (byte/signed byte/word/signed word/dword/signed dword) 5 +(byte) render_score::ZERO_CHAR +(const byte) render_score::ZERO_CHAR#0 ZERO_CHAR = (byte/signed byte/word/signed word/dword/signed dword) 51 +(byte) render_score::b +(byte) render_score::b#1 reg byte x 151.5 +(byte) render_score::b#2 reg byte x 30.299999999999997 +(byte) render_score::score_byte +(byte) render_score::score_byte#0 score_byte zp ZP_BYTE:7 60.599999999999994 +(byte*) render_score::score_bytes +(const byte*) render_score::score_bytes#0 score_bytes = ((byte*))&(dword) score_bcd#10 +(byte*) render_score::screen_score_pos +(byte*) render_score::screen_score_pos#2 screen_score_pos zp ZP_WORD:5 75.75 +(byte*) render_score::screen_score_pos#3 screen_score_pos zp ZP_WORD:5 67.33333333333333 +(byte*) render_score::screen_score_pos#4 screen_score_pos zp ZP_WORD:5 61.0 +(byte*) render_score::screen_score_pos#5 screen_score_pos zp ZP_WORD:5 2.0 (void()) render_screen_original((byte*) render_screen_original::screen) (label) render_screen_original::@1 (label) render_screen_original::@2 @@ -837,9 +865,9 @@ (byte*) render_screen_original::ocols#2 ocols zp ZP_WORD:19 67.33333333333333 (byte*) render_screen_original::ocols#4 ocols zp ZP_WORD:19 14.0 (byte*) render_screen_original::oscr -(byte*) render_screen_original::oscr#1 oscr zp ZP_WORD:7 14.2 -(byte*) render_screen_original::oscr#2 oscr zp ZP_WORD:7 134.66666666666666 -(byte*) render_screen_original::oscr#4 oscr zp ZP_WORD:7 14.0 +(byte*) render_screen_original::oscr#1 oscr zp ZP_WORD:5 14.2 +(byte*) render_screen_original::oscr#2 oscr zp ZP_WORD:5 134.66666666666666 +(byte*) render_screen_original::oscr#4 oscr zp ZP_WORD:5 14.0 (byte*) render_screen_original::screen (byte*) render_screen_original::screen#10 screen zp ZP_WORD:22 30.42857142857143 (byte*) render_screen_original::screen#2 screen zp ZP_WORD:22 60.599999999999994 @@ -861,14 +889,14 @@ (byte) render_screen_original::y#6 y zp ZP_BYTE:2 0.9166666666666666 (byte) render_screen_render (byte) render_screen_render#11 render_screen_render zp ZP_BYTE:3 3.25 -(byte) render_screen_render#16 render_screen_render zp ZP_BYTE:3 1.0 -(byte) render_screen_render#19 reg byte x 8.615384615384615 -(byte) render_screen_render#28 render_screen_render#28 zp ZP_BYTE:5 5.090909090909091 -(byte~) render_screen_render#62 render_screen_render#62 zp ZP_BYTE:5 5.5 -(byte~) render_screen_render#63 reg byte x 22.0 +(byte) render_screen_render#17 render_screen_render zp ZP_BYTE:3 0.6981132075471699 +(byte) render_screen_render#21 reg byte x 8.615384615384615 +(byte) render_screen_render#30 render_screen_render#30 zp ZP_BYTE:7 5.090909090909091 +(byte~) render_screen_render#64 render_screen_render#64 zp ZP_BYTE:7 5.5 +(byte~) render_screen_render#65 reg byte x 22.0 (byte) render_screen_show (byte) render_screen_show#13 render_screen_show zp ZP_BYTE:2 4.333333333333333 -(byte) render_screen_show#16 render_screen_show zp ZP_BYTE:2 0.39534883720930225 +(byte) render_screen_show#16 render_screen_show zp ZP_BYTE:2 0.37777777777777777 (byte) render_screen_showing (byte) render_screen_showing#0 render_screen_showing zp ZP_BYTE:30 0.5 (byte) render_screen_showing#1 render_screen_showing zp ZP_BYTE:30 20.0 @@ -910,10 +938,10 @@ (dword[]) score_add_bcd (const dword[]) score_add_bcd#0 score_add_bcd = { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 64, (word/signed word/dword/signed dword) 256, (word/signed word/dword/signed dword) 768, (word/signed word/dword/signed dword) 4608 } (dword) score_bcd -(dword) score_bcd#11 score_bcd zp ZP_DWORD:15 1.0 -(dword) score_bcd#13 score_bcd zp ZP_DWORD:15 2.608695652173914 -(dword) score_bcd#17 score_bcd zp ZP_DWORD:15 6.0 -(dword) score_bcd#2 score_bcd zp ZP_DWORD:15 4.296296296296297 +(dword) score_bcd#10 score_bcd zp ZP_DWORD:15 4.0 +(dword) score_bcd#12 score_bcd zp ZP_DWORD:15 1.0 +(dword) score_bcd#14 score_bcd zp ZP_DWORD:15 2.608695652173914 +(dword) score_bcd#20 score_bcd zp ZP_DWORD:15 6.0 (dword) score_bcd#3 score_bcd zp ZP_DWORD:15 2.0 (byte*[PLAYFIELD_LINES#0]) screen_lines_1 (const byte*[PLAYFIELD_LINES#0]) screen_lines_1#0 screen_lines_1 = { fill( PLAYFIELD_LINES#0, 0) } @@ -981,19 +1009,20 @@ interrupt(HARDWARE_CLOBBER)(void()) sprites_irq() (byte*) toSpritePtr1_sprite zp ZP_BYTE:2 [ render_screen_show#16 render_screen_show#13 play_init::idx#2 play_init::idx#1 sprites_init::xpos#2 sprites_init::xpos#1 render_screen_original::y#6 render_screen_original::y#1 ] -zp ZP_BYTE:3 [ render_screen_render#16 render_screen_render#11 ] +zp ZP_BYTE:3 [ render_screen_render#17 render_screen_render#11 ] zp ZP_BYTE:4 [ current_movedown_counter#12 current_movedown_counter#10 current_movedown_counter#1 play_remove_lines::y#8 play_remove_lines::y#1 play_lock_current::l#6 play_lock_current::l#1 play_spawn_current::$3 ] -reg byte y [ current_ypos#9 current_ypos#85 current_ypos#86 ] -zp ZP_BYTE:5 [ render_screen_render#28 render_screen_render#62 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 ] -zp ZP_BYTE:6 [ current_xpos#47 current_xpos#111 current_xpos#112 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] -zp ZP_WORD:7 [ current_piece_gfx#53 current_piece_gfx#101 current_piece_gfx#102 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#75 current_piece#76 current_piece#77 current_piece#78 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] -reg byte x [ current_piece_char#64 current_piece_char#89 current_piece_char#90 ] +reg byte x [ render_score::b#2 render_score::b#1 ] +zp ZP_WORD:5 [ render_score::screen_score_pos#4 render_score::screen_score_pos#5 render_score::screen_score_pos#3 render_score::screen_score_pos#2 current_piece_gfx#53 current_piece_gfx#102 current_piece_gfx#103 render_playfield::screen_line#2 render_playfield::screen_line#0 render_playfield::screen_line#1 current_piece#12 current_piece#76 current_piece#77 current_piece#78 current_piece#79 play_collision::piece_gfx#0 play_init::pli#2 play_init::pli#1 render_init::li_1#2 render_init::li_1#1 render_screen_original::oscr#2 render_screen_original::oscr#4 render_screen_original::oscr#1 play_lock_current::playfield_line#0 ] +reg byte y [ current_ypos#9 current_ypos#86 current_ypos#87 ] +zp ZP_BYTE:7 [ render_screen_render#30 render_screen_render#64 render_playfield::l#2 render_playfield::l#1 play_move_rotate::orientation#3 play_move_rotate::orientation#1 play_move_rotate::orientation#2 play_remove_lines::removed#11 play_remove_lines::removed#7 play_remove_lines::removed#1 play_lock_current::i#2 play_lock_current::i#3 play_lock_current::i#7 play_lock_current::i#9 keyboard_event_pressed::keycode#5 keyboard_event_scan::row#2 keyboard_event_scan::row#1 render_score::score_byte#0 ] +zp ZP_BYTE:8 [ current_xpos#47 current_xpos#112 current_xpos#113 render_playfield::i#2 render_playfield::i#3 render_playfield::i#1 play_collision::xpos#5 play_collision::xpos#0 play_collision::xpos#1 play_collision::xpos#2 play_collision::xpos#3 play_remove_lines::x#2 play_remove_lines::x#1 play_lock_current::col#2 play_lock_current::col#0 play_lock_current::col#1 keyboard_event_scan::keycode#10 keyboard_event_scan::keycode#11 keyboard_event_scan::keycode#14 keyboard_event_scan::keycode#1 keyboard_event_scan::keycode#15 keyboard_event_pressed::row_bits#0 ] +reg byte x [ current_piece_char#64 current_piece_char#90 current_piece_char#91 ] zp ZP_BYTE:9 [ render_current::ypos2#2 render_current::ypos2#0 render_current::ypos2#1 render_playfield::c#2 render_playfield::c#1 play_collision::ypos2#2 play_collision::ypos2#0 play_collision::ypos2#1 play_remove_lines::full#4 play_remove_lines::full#2 play_lock_current::i#1 keyboard_event_scan::row_scan#0 ] zp ZP_BYTE:10 [ render_current::l#4 render_current::l#1 play_collision::l#6 play_collision::l#1 play_remove_lines::c#0 ] zp ZP_BYTE:11 [ render_current::i#4 render_current::i#3 render_current::i#8 render_current::i#10 render_current::i#1 play_collision::i#2 play_collision::i#3 play_collision::i#11 play_collision::i#13 ] zp ZP_BYTE:12 [ render_current::xpos#2 render_current::xpos#0 render_current::xpos#1 play_collision::col#2 play_collision::col#9 play_collision::col#1 ] zp ZP_BYTE:13 [ render_current::c#2 render_current::c#1 main::key_event#0 ] -reg byte x [ render_screen_render#19 render_screen_render#63 ] +reg byte x [ render_screen_render#21 render_screen_render#65 ] reg byte a [ play_move_rotate::return#1 ] reg byte x [ play_collision::orientation#4 play_collision::orientation#0 play_collision::orientation#1 play_collision::orientation#2 play_collision::orientation#3 ] reg byte y [ play_collision::ypos#4 play_collision::ypos#0 play_collision::ypos#1 play_collision::ypos#2 play_collision::ypos#3 ] @@ -1002,8 +1031,8 @@ reg byte a [ play_collision::return#14 ] reg byte a [ play_move_leftright::return#1 ] reg byte x [ play_move_down::movedown#6 play_move_down::movedown#3 play_move_down::movedown#7 play_move_down::movedown#2 play_move_down::movedown#10 ] zp ZP_BYTE:14 [ current_ypos#29 current_ypos#21 current_ypos#18 current_ypos#13 current_ypos#0 play_lock_current::ypos2#2 play_lock_current::ypos2#0 play_lock_current::ypos2#1 ] -zp ZP_DWORD:15 [ score_bcd#17 score_bcd#11 score_bcd#13 score_bcd#2 score_bcd#3 ] -zp ZP_WORD:19 [ current_piece#20 current_piece#79 current_piece#16 current_piece#72 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] +zp ZP_DWORD:15 [ score_bcd#20 score_bcd#12 score_bcd#14 score_bcd#10 score_bcd#3 ] +zp ZP_WORD:19 [ current_piece#20 current_piece#80 current_piece#16 current_piece#73 current_piece#10 render_init::li_2#2 render_init::li_2#1 render_screen_original::ocols#2 render_screen_original::ocols#4 render_screen_original::ocols#1 ] zp ZP_BYTE:21 [ current_orientation#29 current_orientation#10 current_orientation#19 current_orientation#4 current_orientation#14 ] zp ZP_WORD:22 [ current_piece_gfx#26 current_piece_gfx#20 current_piece_gfx#16 current_piece_gfx#14 current_piece_gfx#3 current_piece_gfx#1 render_screen_original::screen#7 render_screen_original::screen#6 render_screen_original::screen#5 render_screen_original::screen#8 render_screen_original::screen#9 render_screen_original::screen#10 render_screen_original::screen#2 render_screen_original::screen#3 ] zp ZP_BYTE:24 [ current_xpos#33 current_xpos#10 current_xpos#23 current_xpos#19 current_xpos#4 current_xpos#1 current_xpos#2 ] @@ -1041,6 +1070,10 @@ reg byte a [ play_move_rotate::key_event#0 ] reg byte a [ play_move_rotate::return#4 ] reg byte a [ main::$14 ] reg byte a [ main::render#3 ] +reg byte a [ render_score::$9 ] +reg byte a [ render_score::$10 ] +reg byte a [ render_score::$11 ] +reg byte a [ render_score::$12 ] reg byte a [ render_current::$5 ] reg byte a [ render_current::current_cell#0 ] reg byte a [ render_playfield::$2 ]