2018-04-01 02:00:07 +00:00
|
|
|
@begin: scope:[] from
|
2018-11-11 20:51:36 +00:00
|
|
|
[0] phi()
|
2019-03-31 15:10:41 +00:00
|
|
|
to:@1
|
|
|
|
@1: scope:[] from @begin
|
2018-11-11 20:51:36 +00:00
|
|
|
[1] phi()
|
|
|
|
[2] call main
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@end
|
2019-03-31 15:10:41 +00:00
|
|
|
@end: scope:[] from @1
|
2018-11-11 20:51:36 +00:00
|
|
|
[3] phi()
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) main()
|
2019-03-31 15:10:41 +00:00
|
|
|
main: scope:[main] from @1
|
2018-04-01 02:00:07 +00:00
|
|
|
asm { sei }
|
2020-03-29 19:00:25 +00:00
|
|
|
[5] *((const nomodify byte*) PROCPORT_DDR) ← (const nomodify byte) PROCPORT_DDR_MEMORY_MASK
|
|
|
|
[6] *((const nomodify byte*) PROCPORT) ← (const nomodify byte) PROCPORT_RAM_IO
|
|
|
|
[7] *((const nomodify byte*) DTV_FEATURE) ← (const nomodify byte) DTV_FEATURE_ENABLE
|
2018-11-11 20:51:36 +00:00
|
|
|
[8] call keyboard_init
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@3
|
|
|
|
main::@3: scope:[main] from main
|
2018-11-11 20:51:36 +00:00
|
|
|
[9] phi()
|
|
|
|
[10] call gfx_init
|
2018-04-01 02:00:07 +00:00
|
|
|
to:main::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
main::@1: scope:[main] from main::@3 main::@4
|
2020-04-25 18:10:49 +00:00
|
|
|
[11] (byte) form_field_idx#1 ← phi( main::@3/(byte) 0 main::@4/(byte) form_field_idx#18 )
|
|
|
|
[11] (byte) keyboard_events_size#27 ← phi( main::@3/(byte) 0 main::@4/(byte) keyboard_events_size#24 )
|
|
|
|
[11] (signed byte) form_cursor_count#1 ← phi( main::@3/(const nomodify signed byte) FORM_CURSOR_BLINK/(signed byte) 2 main::@4/(signed byte) form_cursor_count#16 )
|
2018-04-18 21:19:25 +00:00
|
|
|
to:main::@2
|
2018-04-07 14:01:35 +00:00
|
|
|
main::@2: scope:[main] from main::@1
|
2018-11-11 20:51:36 +00:00
|
|
|
[12] phi()
|
|
|
|
[13] call form_mode
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@4
|
|
|
|
main::@4: scope:[main] from main::@2
|
2018-11-11 20:51:36 +00:00
|
|
|
[14] phi()
|
|
|
|
[15] call gfx_mode
|
2018-04-01 02:00:07 +00:00
|
|
|
to:main::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_mode()
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode: scope:[gfx_mode] from main::@4
|
2020-03-29 19:00:25 +00:00
|
|
|
[16] if(*((const nomodify byte*) form_ctrl_line)==(byte) 0) goto gfx_mode::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@10
|
|
|
|
gfx_mode::@10: scope:[gfx_mode] from gfx_mode
|
2018-11-11 20:51:36 +00:00
|
|
|
[17] phi()
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@1: scope:[gfx_mode] from gfx_mode gfx_mode::@10
|
2020-03-29 19:00:25 +00:00
|
|
|
[18] (byte) gfx_mode::dtv_control#14 ← phi( gfx_mode/(byte) 0 gfx_mode::@10/(const nomodify byte) DTV_LINEAR )
|
|
|
|
[19] if(*((const nomodify byte*) form_ctrl_borof)==(byte) 0) goto gfx_mode::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@11
|
|
|
|
gfx_mode::@11: scope:[gfx_mode] from gfx_mode::@1
|
2020-03-29 19:00:25 +00:00
|
|
|
[20] (byte) gfx_mode::dtv_control#2 ← (byte) gfx_mode::dtv_control#14 | (const nomodify byte) DTV_BORDER_OFF
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@2: scope:[gfx_mode] from gfx_mode::@1 gfx_mode::@11
|
|
|
|
[21] (byte) gfx_mode::dtv_control#15 ← phi( gfx_mode::@1/(byte) gfx_mode::dtv_control#14 gfx_mode::@11/(byte) gfx_mode::dtv_control#2 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[22] if(*((const nomodify byte*) form_ctrl_hicol)==(byte) 0) goto gfx_mode::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@12
|
|
|
|
gfx_mode::@12: scope:[gfx_mode] from gfx_mode::@2
|
2020-03-29 19:00:25 +00:00
|
|
|
[23] (byte) gfx_mode::dtv_control#3 ← (byte) gfx_mode::dtv_control#15 | (const nomodify byte) DTV_HIGHCOLOR
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@3: scope:[gfx_mode] from gfx_mode::@12 gfx_mode::@2
|
|
|
|
[24] (byte) gfx_mode::dtv_control#10 ← phi( gfx_mode::@12/(byte) gfx_mode::dtv_control#3 gfx_mode::@2/(byte) gfx_mode::dtv_control#15 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[25] if(*((const nomodify byte*) form_ctrl_overs)==(byte) 0) goto gfx_mode::@4
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@13
|
|
|
|
gfx_mode::@13: scope:[gfx_mode] from gfx_mode::@3
|
2020-03-29 19:00:25 +00:00
|
|
|
[26] (byte) gfx_mode::dtv_control#4 ← (byte) gfx_mode::dtv_control#10 | (const nomodify byte) DTV_OVERSCAN
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@4
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@4: scope:[gfx_mode] from gfx_mode::@13 gfx_mode::@3
|
|
|
|
[27] (byte) gfx_mode::dtv_control#11 ← phi( gfx_mode::@13/(byte) gfx_mode::dtv_control#4 gfx_mode::@3/(byte) gfx_mode::dtv_control#10 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[28] if(*((const nomodify byte*) form_ctrl_colof)==(byte) 0) goto gfx_mode::@5
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@14
|
|
|
|
gfx_mode::@14: scope:[gfx_mode] from gfx_mode::@4
|
2020-03-29 19:00:25 +00:00
|
|
|
[29] (byte) gfx_mode::dtv_control#5 ← (byte) gfx_mode::dtv_control#11 | (const nomodify byte) DTV_COLORRAM_OFF
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@5
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@5: scope:[gfx_mode] from gfx_mode::@14 gfx_mode::@4
|
|
|
|
[30] (byte) gfx_mode::dtv_control#13 ← phi( gfx_mode::@14/(byte) gfx_mode::dtv_control#5 gfx_mode::@4/(byte) gfx_mode::dtv_control#11 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[31] if(*((const nomodify byte*) form_ctrl_chunk)==(byte) 0) goto gfx_mode::@6
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@15
|
|
|
|
gfx_mode::@15: scope:[gfx_mode] from gfx_mode::@5
|
2020-03-29 19:00:25 +00:00
|
|
|
[32] (byte) gfx_mode::dtv_control#6 ← (byte) gfx_mode::dtv_control#13 | (const nomodify byte) DTV_CHUNKY
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@6
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@6: scope:[gfx_mode] from gfx_mode::@15 gfx_mode::@5
|
|
|
|
[33] (byte) gfx_mode::dtv_control#12 ← phi( gfx_mode::@15/(byte) gfx_mode::dtv_control#6 gfx_mode::@5/(byte) gfx_mode::dtv_control#13 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[34] *((const nomodify byte*) DTV_CONTROL) ← (byte) gfx_mode::dtv_control#12
|
|
|
|
[35] if(*((const nomodify byte*) form_ctrl_ecm)==(byte) 0) goto gfx_mode::@7
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@16
|
|
|
|
gfx_mode::@16: scope:[gfx_mode] from gfx_mode::@6
|
2018-11-11 20:51:36 +00:00
|
|
|
[36] phi()
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@7
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@7: scope:[gfx_mode] from gfx_mode::@16 gfx_mode::@6
|
2020-03-29 19:00:25 +00:00
|
|
|
[37] (byte) gfx_mode::vic_control#5 ← phi( gfx_mode::@16/(const nomodify byte) VIC_DEN|(const nomodify byte) VIC_RSEL|(byte) 3|(const nomodify byte) VIC_ECM gfx_mode::@6/(const nomodify byte) VIC_DEN|(const nomodify byte) VIC_RSEL|(byte) 3 )
|
|
|
|
[38] if(*((const nomodify byte*) form_ctrl_bmm)==(byte) 0) goto gfx_mode::@8
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@17
|
|
|
|
gfx_mode::@17: scope:[gfx_mode] from gfx_mode::@7
|
2020-03-29 19:00:25 +00:00
|
|
|
[39] (byte) gfx_mode::vic_control#2 ← (byte) gfx_mode::vic_control#5 | (const nomodify byte) VIC_BMM
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@8
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@8: scope:[gfx_mode] from gfx_mode::@17 gfx_mode::@7
|
|
|
|
[40] (byte) gfx_mode::vic_control#4 ← phi( gfx_mode::@17/(byte) gfx_mode::vic_control#2 gfx_mode::@7/(byte) gfx_mode::vic_control#5 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[41] *((const nomodify byte*) VIC_CONTROL) ← (byte) gfx_mode::vic_control#4
|
|
|
|
[42] if(*((const nomodify byte*) form_ctrl_mcm)==(byte) 0) goto gfx_mode::@9
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@18
|
|
|
|
gfx_mode::@18: scope:[gfx_mode] from gfx_mode::@8
|
2018-11-11 20:51:36 +00:00
|
|
|
[43] phi()
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_mode::@9
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@9: scope:[gfx_mode] from gfx_mode::@18 gfx_mode::@8
|
2020-03-29 19:00:25 +00:00
|
|
|
[44] (byte) gfx_mode::vic_control2#2 ← phi( gfx_mode::@18/(const nomodify byte) VIC_CSEL|(const nomodify byte) VIC_MCM gfx_mode::@8/(const nomodify byte) VIC_CSEL )
|
|
|
|
[45] *((const nomodify byte*) VIC_CONTROL2) ← (byte) gfx_mode::vic_control2#2
|
|
|
|
[46] (byte~) gfx_mode::$18 ← *((const nomodify byte*) form_a_start_hi) << (byte) 4
|
|
|
|
[47] (byte) gfx_mode::plane_a_offs#0 ← (byte~) gfx_mode::$18 | *((const nomodify byte*) form_a_start_lo)
|
|
|
|
[48] (byte) get_plane::idx#0 ← *((const nomodify byte*) form_a_pattern)
|
2018-11-11 20:51:36 +00:00
|
|
|
[49] call get_plane
|
|
|
|
[50] (dword) get_plane::return#16 ← (dword) get_plane::return#14
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@27
|
|
|
|
gfx_mode::@27: scope:[gfx_mode] from gfx_mode::@9
|
2019-11-03 16:05:55 +00:00
|
|
|
[51] (dword~) gfx_mode::$20 ← (dword) get_plane::return#16
|
|
|
|
[52] (dword) gfx_mode::plane_a#0 ← (dword~) gfx_mode::$20 + (byte) gfx_mode::plane_a_offs#0
|
|
|
|
[53] (word~) gfx_mode::$24 ← < (dword) gfx_mode::plane_a#0
|
|
|
|
[54] (byte~) gfx_mode::$23 ← < (word~) gfx_mode::$24
|
2020-03-29 19:00:25 +00:00
|
|
|
[55] *((const nomodify byte*) DTV_PLANEA_START_LO) ← (byte~) gfx_mode::$23
|
2019-11-03 16:05:55 +00:00
|
|
|
[56] (byte~) gfx_mode::$25 ← > (word~) gfx_mode::$24
|
2020-03-29 19:00:25 +00:00
|
|
|
[57] *((const nomodify byte*) DTV_PLANEA_START_MI) ← (byte~) gfx_mode::$25
|
2019-11-03 16:05:55 +00:00
|
|
|
[58] (word~) gfx_mode::$26 ← > (dword) gfx_mode::plane_a#0
|
|
|
|
[59] (byte~) gfx_mode::$27 ← < (word~) gfx_mode::$26
|
2020-03-29 19:00:25 +00:00
|
|
|
[60] *((const nomodify byte*) DTV_PLANEA_START_HI) ← (byte~) gfx_mode::$27
|
|
|
|
[61] (byte~) gfx_mode::$28 ← *((const nomodify byte*) form_a_step_hi) << (byte) 4
|
|
|
|
[62] (byte~) gfx_mode::$29 ← (byte~) gfx_mode::$28 | *((const nomodify byte*) form_a_step_lo)
|
|
|
|
[63] *((const nomodify byte*) DTV_PLANEA_STEP) ← (byte~) gfx_mode::$29
|
|
|
|
[64] (byte~) gfx_mode::$30 ← *((const nomodify byte*) form_a_mod_hi) << (byte) 4
|
|
|
|
[65] (byte~) gfx_mode::$31 ← (byte~) gfx_mode::$30 | *((const nomodify byte*) form_a_mod_lo)
|
|
|
|
[66] *((const nomodify byte*) DTV_PLANEA_MODULO_LO) ← (byte~) gfx_mode::$31
|
|
|
|
[67] *((const nomodify byte*) DTV_PLANEA_MODULO_HI) ← (byte) 0
|
|
|
|
[68] (byte~) gfx_mode::$32 ← *((const nomodify byte*) form_b_start_hi) << (byte) 4
|
|
|
|
[69] (byte) gfx_mode::plane_b_offs#0 ← (byte~) gfx_mode::$32 | *((const nomodify byte*) form_b_start_lo)
|
|
|
|
[70] (byte) get_plane::idx#1 ← *((const nomodify byte*) form_b_pattern)
|
2019-05-30 20:29:04 +00:00
|
|
|
[71] call get_plane
|
|
|
|
[72] (dword) get_plane::return#17 ← (dword) get_plane::return#14
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@28
|
|
|
|
gfx_mode::@28: scope:[gfx_mode] from gfx_mode::@27
|
2019-11-03 16:05:55 +00:00
|
|
|
[73] (dword~) gfx_mode::$34 ← (dword) get_plane::return#17
|
|
|
|
[74] (dword) gfx_mode::plane_b#0 ← (dword~) gfx_mode::$34 + (byte) gfx_mode::plane_b_offs#0
|
|
|
|
[75] (word~) gfx_mode::$38 ← < (dword) gfx_mode::plane_b#0
|
|
|
|
[76] (byte~) gfx_mode::$37 ← < (word~) gfx_mode::$38
|
2020-03-29 19:00:25 +00:00
|
|
|
[77] *((const nomodify byte*) DTV_PLANEB_START_LO) ← (byte~) gfx_mode::$37
|
2019-11-03 16:05:55 +00:00
|
|
|
[78] (byte~) gfx_mode::$39 ← > (word~) gfx_mode::$38
|
2020-03-29 19:00:25 +00:00
|
|
|
[79] *((const nomodify byte*) DTV_PLANEB_START_MI) ← (byte~) gfx_mode::$39
|
2019-11-03 16:05:55 +00:00
|
|
|
[80] (word~) gfx_mode::$40 ← > (dword) gfx_mode::plane_b#0
|
|
|
|
[81] (byte~) gfx_mode::$41 ← < (word~) gfx_mode::$40
|
2020-03-29 19:00:25 +00:00
|
|
|
[82] *((const nomodify byte*) DTV_PLANEB_START_HI) ← (byte~) gfx_mode::$41
|
|
|
|
[83] (byte~) gfx_mode::$42 ← *((const nomodify byte*) form_b_step_hi) << (byte) 4
|
|
|
|
[84] (byte~) gfx_mode::$43 ← (byte~) gfx_mode::$42 | *((const nomodify byte*) form_b_step_lo)
|
|
|
|
[85] *((const nomodify byte*) DTV_PLANEB_STEP) ← (byte~) gfx_mode::$43
|
|
|
|
[86] (byte~) gfx_mode::$44 ← *((const nomodify byte*) form_b_mod_hi) << (byte) 4
|
|
|
|
[87] (byte~) gfx_mode::$45 ← (byte~) gfx_mode::$44 | *((const nomodify byte*) form_b_mod_lo)
|
|
|
|
[88] *((const nomodify byte*) DTV_PLANEB_MODULO_LO) ← (byte~) gfx_mode::$45
|
|
|
|
[89] *((const nomodify byte*) DTV_PLANEB_MODULO_HI) ← (byte) 0
|
2020-04-26 21:30:04 +00:00
|
|
|
[90] *((byte*)(const nomodify struct MOS6526_CIA*) CIA2+(const byte) OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) ← (byte) 3
|
|
|
|
[91] *((byte*)(const nomodify struct MOS6526_CIA*) CIA2) ← (byte) 3^(byte)(word)(const nomodify byte*) VIC_SCREEN0/(word) $4000
|
2020-03-29 19:00:25 +00:00
|
|
|
[92] (byte) get_vic_screen::idx#0 ← *((const nomodify byte*) form_vic_screen)
|
2019-05-30 20:29:04 +00:00
|
|
|
[93] call get_vic_screen
|
|
|
|
[94] (byte*) get_vic_screen::return#10 ← (byte*) get_vic_screen::return#5
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@29
|
|
|
|
gfx_mode::@29: scope:[gfx_mode] from gfx_mode::@28
|
2020-04-19 09:05:54 +00:00
|
|
|
[95] (byte*~) gfx_mode::$82 ← (byte*) get_vic_screen::return#10
|
|
|
|
[96] (word~) gfx_mode::$47 ← (word)(byte*~) gfx_mode::$82 & (word) $3fff
|
|
|
|
[97] (word~) gfx_mode::$48 ← (word~) gfx_mode::$47 >> (byte) 6
|
|
|
|
[98] (byte) get_vic_charset::idx#0 ← *((const nomodify byte*) form_vic_gfx)
|
|
|
|
[99] call get_vic_charset
|
|
|
|
[100] (byte*) get_vic_charset::return#4 ← (byte*) get_vic_charset::return#2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@30
|
|
|
|
gfx_mode::@30: scope:[gfx_mode] from gfx_mode::@29
|
2020-04-19 09:05:54 +00:00
|
|
|
[101] (byte*~) gfx_mode::$83 ← (byte*) get_vic_charset::return#4
|
|
|
|
[102] (word~) gfx_mode::$50 ← (word)(byte*~) gfx_mode::$83 & (word) $3fff
|
|
|
|
[103] (byte~) gfx_mode::$51 ← > (word~) gfx_mode::$50
|
|
|
|
[104] (byte~) gfx_mode::$52 ← (byte~) gfx_mode::$51 >> (byte) 2
|
|
|
|
[105] (byte~) gfx_mode::$84 ← (byte)(word~) gfx_mode::$48
|
|
|
|
[106] (byte~) gfx_mode::$53 ← (byte~) gfx_mode::$84 | (byte~) gfx_mode::$52
|
|
|
|
[107] *((const nomodify byte*) VIC_MEMORY) ← (byte~) gfx_mode::$53
|
2020-03-29 19:00:25 +00:00
|
|
|
[108] (byte) get_vic_screen::idx#1 ← *((const nomodify byte*) form_vic_cols)
|
2019-05-30 20:29:04 +00:00
|
|
|
[109] call get_vic_screen
|
|
|
|
[110] (byte*) get_vic_screen::return#11 ← (byte*) get_vic_screen::return#5
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@31
|
|
|
|
gfx_mode::@31: scope:[gfx_mode] from gfx_mode::@30
|
2019-05-30 20:29:04 +00:00
|
|
|
[111] (byte*) gfx_mode::vic_colors#0 ← (byte*) get_vic_screen::return#11
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@19
|
|
|
|
gfx_mode::@19: scope:[gfx_mode] from gfx_mode::@21 gfx_mode::@31
|
2019-05-30 20:29:04 +00:00
|
|
|
[112] (byte) gfx_mode::cy#4 ← phi( gfx_mode::@21/(byte) gfx_mode::cy#1 gfx_mode::@31/(byte) 0 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[112] (byte*) gfx_mode::col#3 ← phi( gfx_mode::@21/(byte*) gfx_mode::col#1 gfx_mode::@31/(const nomodify byte*) COLS )
|
2019-05-30 20:29:04 +00:00
|
|
|
[112] (byte*) gfx_mode::vic_colors#3 ← phi( gfx_mode::@21/(byte*) gfx_mode::vic_colors#1 gfx_mode::@31/(byte*) gfx_mode::vic_colors#0 )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@20
|
|
|
|
gfx_mode::@20: scope:[gfx_mode] from gfx_mode::@19 gfx_mode::@20
|
2019-05-30 20:29:04 +00:00
|
|
|
[113] (byte) gfx_mode::cx#2 ← phi( gfx_mode::@19/(byte) 0 gfx_mode::@20/(byte) gfx_mode::cx#1 )
|
|
|
|
[113] (byte*) gfx_mode::col#2 ← phi( gfx_mode::@19/(byte*) gfx_mode::col#3 gfx_mode::@20/(byte*) gfx_mode::col#1 )
|
|
|
|
[113] (byte*) gfx_mode::vic_colors#2 ← phi( gfx_mode::@19/(byte*) gfx_mode::vic_colors#3 gfx_mode::@20/(byte*) gfx_mode::vic_colors#1 )
|
|
|
|
[114] *((byte*) gfx_mode::col#2) ← *((byte*) gfx_mode::vic_colors#2)
|
|
|
|
[115] (byte*) gfx_mode::col#1 ← ++ (byte*) gfx_mode::col#2
|
|
|
|
[116] (byte*) gfx_mode::vic_colors#1 ← ++ (byte*) gfx_mode::vic_colors#2
|
|
|
|
[117] (byte) gfx_mode::cx#1 ← ++ (byte) gfx_mode::cx#2
|
|
|
|
[118] if((byte) gfx_mode::cx#1!=(byte) $28) goto gfx_mode::@20
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@21
|
|
|
|
gfx_mode::@21: scope:[gfx_mode] from gfx_mode::@20
|
2019-05-30 20:29:04 +00:00
|
|
|
[119] (byte) gfx_mode::cy#1 ← ++ (byte) gfx_mode::cy#4
|
|
|
|
[120] if((byte) gfx_mode::cy#1!=(byte) $19) goto gfx_mode::@19
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@22
|
|
|
|
gfx_mode::@22: scope:[gfx_mode] from gfx_mode::@21
|
2020-04-29 06:09:45 +00:00
|
|
|
[121] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BORDER_COLOR) ← (byte) 0
|
2020-04-19 09:05:54 +00:00
|
|
|
[122] (byte~) gfx_mode::$55 ← *((const nomodify byte*) form_vic_bg0_hi) << (byte) 4
|
|
|
|
[123] (byte~) gfx_mode::$56 ← (byte~) gfx_mode::$55 | *((const nomodify byte*) form_vic_bg0_lo)
|
2020-04-29 06:09:45 +00:00
|
|
|
[124] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BG_COLOR) ← (byte~) gfx_mode::$56
|
2020-04-19 09:05:54 +00:00
|
|
|
[125] (byte~) gfx_mode::$57 ← *((const nomodify byte*) form_vic_bg1_hi) << (byte) 4
|
|
|
|
[126] (byte~) gfx_mode::$58 ← (byte~) gfx_mode::$57 | *((const nomodify byte*) form_vic_bg1_lo)
|
2020-04-29 06:09:45 +00:00
|
|
|
[127] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BG_COLOR1) ← (byte~) gfx_mode::$58
|
2020-04-19 09:05:54 +00:00
|
|
|
[128] (byte~) gfx_mode::$59 ← *((const nomodify byte*) form_vic_bg2_hi) << (byte) 4
|
|
|
|
[129] (byte~) gfx_mode::$60 ← (byte~) gfx_mode::$59 | *((const nomodify byte*) form_vic_bg2_lo)
|
2020-04-29 06:09:45 +00:00
|
|
|
[130] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BG_COLOR2) ← (byte~) gfx_mode::$60
|
2020-04-19 09:05:54 +00:00
|
|
|
[131] (byte~) gfx_mode::$61 ← *((const nomodify byte*) form_vic_bg3_hi) << (byte) 4
|
|
|
|
[132] (byte~) gfx_mode::$62 ← (byte~) gfx_mode::$61 | *((const nomodify byte*) form_vic_bg3_lo)
|
2020-04-29 06:09:45 +00:00
|
|
|
[133] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BG_COLOR3) ← (byte~) gfx_mode::$62
|
2020-03-29 19:00:25 +00:00
|
|
|
[134] if(*((const nomodify byte*) form_dtv_palet)==(byte) 0) goto gfx_mode::@24
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@23
|
|
|
|
gfx_mode::@23: scope:[gfx_mode] from gfx_mode::@22 gfx_mode::@23
|
2019-05-30 20:29:04 +00:00
|
|
|
[135] (byte) gfx_mode::j#2 ← phi( gfx_mode::@22/(byte) 0 gfx_mode::@23/(byte) gfx_mode::j#1 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[136] *((const nomodify byte*) DTV_PALETTE + (byte) gfx_mode::j#2) ← (byte) gfx_mode::j#2
|
2019-05-30 20:29:04 +00:00
|
|
|
[137] (byte) gfx_mode::j#1 ← ++ (byte) gfx_mode::j#2
|
|
|
|
[138] if((byte) gfx_mode::j#1!=(byte) $10) goto gfx_mode::@23
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@25
|
|
|
|
gfx_mode::@25: scope:[gfx_mode] from gfx_mode::@23 gfx_mode::@24 gfx_mode::@25 gfx_mode::@33
|
2020-04-29 06:09:45 +00:00
|
|
|
[139] if(*((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_RASTER)!=(byte) $ff) goto gfx_mode::@25
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@26
|
|
|
|
gfx_mode::@26: scope:[gfx_mode] from gfx_mode::@25
|
2019-05-30 20:29:04 +00:00
|
|
|
[140] phi()
|
|
|
|
[141] call keyboard_event_scan
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@32
|
|
|
|
gfx_mode::@32: scope:[gfx_mode] from gfx_mode::@26
|
2019-05-30 20:29:04 +00:00
|
|
|
[142] phi()
|
|
|
|
[143] call keyboard_event_get
|
|
|
|
[144] (byte) keyboard_event_get::return#3 ← (byte) keyboard_event_get::return#2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@33
|
|
|
|
gfx_mode::@33: scope:[gfx_mode] from gfx_mode::@32
|
2019-05-30 20:29:04 +00:00
|
|
|
[145] (byte) gfx_mode::keyboard_event#0 ← (byte) keyboard_event_get::return#3
|
2020-03-29 19:00:25 +00:00
|
|
|
[146] if((byte) gfx_mode::keyboard_event#0==(const nomodify byte) KEY_SPACE) goto gfx_mode::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
to:gfx_mode::@25
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@return: scope:[gfx_mode] from gfx_mode::@33
|
2019-05-30 20:29:04 +00:00
|
|
|
[147] return
|
2018-04-18 21:19:25 +00:00
|
|
|
to:@return
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_mode::@24: scope:[gfx_mode] from gfx_mode::@22 gfx_mode::@24
|
2019-05-30 20:29:04 +00:00
|
|
|
[148] (byte) gfx_mode::i#2 ← phi( gfx_mode::@22/(byte) 0 gfx_mode::@24/(byte) gfx_mode::i#1 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[149] *((const nomodify byte*) DTV_PALETTE + (byte) gfx_mode::i#2) ← *((const byte*) DTV_PALETTE_DEFAULT + (byte) gfx_mode::i#2)
|
2019-05-30 20:29:04 +00:00
|
|
|
[150] (byte) gfx_mode::i#1 ← ++ (byte) gfx_mode::i#2
|
|
|
|
[151] if((byte) gfx_mode::i#1!=(byte) $10) goto gfx_mode::@24
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_mode::@25
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte()) keyboard_event_get()
|
2019-05-30 20:29:04 +00:00
|
|
|
keyboard_event_get: scope:[keyboard_event_get] from form_control::@19 gfx_mode::@32
|
|
|
|
[152] if((byte) keyboard_events_size#100==(byte) 0) goto keyboard_event_get::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_get::@1
|
|
|
|
keyboard_event_get::@1: scope:[keyboard_event_get] from keyboard_event_get
|
2019-05-30 20:29:04 +00:00
|
|
|
[153] (byte) keyboard_events_size#4 ← -- (byte) keyboard_events_size#100
|
2019-11-18 21:02:29 +00:00
|
|
|
[154] (byte) keyboard_event_get::return#1 ← *((const byte*) keyboard_events + (byte) keyboard_events_size#4)
|
2018-04-04 10:07:14 +00:00
|
|
|
to:keyboard_event_get::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_get::@return: scope:[keyboard_event_get] from keyboard_event_get keyboard_event_get::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
[155] (byte) keyboard_events_size#24 ← phi( keyboard_event_get/(byte) keyboard_events_size#100 keyboard_event_get::@1/(byte) keyboard_events_size#4 )
|
|
|
|
[155] (byte) keyboard_event_get::return#2 ← phi( keyboard_event_get/(byte) $ff keyboard_event_get::@1/(byte) keyboard_event_get::return#1 )
|
|
|
|
[156] return
|
2018-04-04 10:07:14 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) keyboard_event_scan()
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan: scope:[keyboard_event_scan] from form_control::@3 gfx_mode::@26
|
2019-11-18 21:02:29 +00:00
|
|
|
[157] (byte) keyboard_events_size#97 ← phi( form_control::@3/(byte) keyboard_events_size#47 gfx_mode::@26/(byte) keyboard_events_size#24 )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@7
|
|
|
|
keyboard_event_scan::@7: scope:[keyboard_event_scan] from keyboard_event_scan keyboard_event_scan::@8
|
2019-11-18 21:02:29 +00:00
|
|
|
[158] (byte) keyboard_events_size#106 ← phi( keyboard_event_scan/(byte) keyboard_events_size#97 keyboard_event_scan::@8/(byte) keyboard_events_size#100 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[158] (byte) keyboard_event_scan::keycode#11 ← phi( keyboard_event_scan/(byte) 0 keyboard_event_scan::@8/(byte) keyboard_event_scan::keycode#13 )
|
|
|
|
[158] (byte) keyboard_event_scan::row#2 ← phi( keyboard_event_scan/(byte) 0 keyboard_event_scan::@8/(byte) keyboard_event_scan::row#1 )
|
|
|
|
[159] (byte) keyboard_matrix_read::rowid#0 ← (byte) keyboard_event_scan::row#2
|
|
|
|
[160] call keyboard_matrix_read
|
|
|
|
[161] (byte) keyboard_matrix_read::return#2 ← (byte) keyboard_matrix_read::return#0
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@19
|
|
|
|
keyboard_event_scan::@19: scope:[keyboard_event_scan] from keyboard_event_scan::@7
|
2019-05-30 20:29:04 +00:00
|
|
|
[162] (byte) keyboard_event_scan::row_scan#0 ← (byte) keyboard_matrix_read::return#2
|
2019-11-18 21:02:29 +00:00
|
|
|
[163] if((byte) keyboard_event_scan::row_scan#0!=*((const byte*) keyboard_scan_values + (byte) keyboard_event_scan::row#2)) goto keyboard_event_scan::@9
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@16
|
|
|
|
keyboard_event_scan::@16: scope:[keyboard_event_scan] from keyboard_event_scan::@19
|
2019-05-30 20:29:04 +00:00
|
|
|
[164] (byte) keyboard_event_scan::keycode#1 ← (byte) keyboard_event_scan::keycode#11 + (byte) 8
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@8
|
|
|
|
keyboard_event_scan::@8: scope:[keyboard_event_scan] from keyboard_event_scan::@15 keyboard_event_scan::@16
|
2019-11-18 21:02:29 +00:00
|
|
|
[165] (byte) keyboard_events_size#100 ← phi( keyboard_event_scan::@15/(byte) keyboard_events_size#105 keyboard_event_scan::@16/(byte) keyboard_events_size#106 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[165] (byte) keyboard_event_scan::keycode#13 ← phi( keyboard_event_scan::@15/(byte) keyboard_event_scan::keycode#14 keyboard_event_scan::@16/(byte) keyboard_event_scan::keycode#1 )
|
|
|
|
[166] (byte) keyboard_event_scan::row#1 ← ++ (byte) keyboard_event_scan::row#2
|
|
|
|
[167] if((byte) keyboard_event_scan::row#1!=(byte) 8) goto keyboard_event_scan::@7
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@17
|
|
|
|
keyboard_event_scan::@17: scope:[keyboard_event_scan] from keyboard_event_scan::@8
|
2019-05-30 20:29:04 +00:00
|
|
|
[168] phi()
|
|
|
|
[169] call keyboard_event_pressed
|
|
|
|
[170] (byte) keyboard_event_pressed::return#0 ← (byte) keyboard_event_pressed::return#10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@20
|
|
|
|
keyboard_event_scan::@20: scope:[keyboard_event_scan] from keyboard_event_scan::@17
|
2019-05-30 20:29:04 +00:00
|
|
|
[171] (byte~) keyboard_event_scan::$0 ← (byte) keyboard_event_pressed::return#0
|
|
|
|
[172] if((byte~) keyboard_event_scan::$0==(byte) 0) goto keyboard_event_scan::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@18
|
|
|
|
keyboard_event_scan::@18: scope:[keyboard_event_scan] from keyboard_event_scan::@20
|
2019-05-30 20:29:04 +00:00
|
|
|
[173] phi()
|
2019-03-29 23:15:53 +00:00
|
|
|
to:keyboard_event_scan::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan::@1: scope:[keyboard_event_scan] from keyboard_event_scan::@18 keyboard_event_scan::@20
|
2020-03-29 19:00:25 +00:00
|
|
|
[174] (byte) keyboard_modifiers#18 ← phi( keyboard_event_scan::@18/(const nomodify byte) KEY_MODIFIER_LSHIFT keyboard_event_scan::@20/(byte) 0 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[175] call keyboard_event_pressed
|
|
|
|
[176] (byte) keyboard_event_pressed::return#1 ← (byte) keyboard_event_pressed::return#10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@21
|
|
|
|
keyboard_event_scan::@21: scope:[keyboard_event_scan] from keyboard_event_scan::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
[177] (byte~) keyboard_event_scan::$3 ← (byte) keyboard_event_pressed::return#1
|
|
|
|
[178] if((byte~) keyboard_event_scan::$3==(byte) 0) goto keyboard_event_scan::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@4
|
|
|
|
keyboard_event_scan::@4: scope:[keyboard_event_scan] from keyboard_event_scan::@21
|
2020-03-29 19:00:25 +00:00
|
|
|
[179] (byte) keyboard_modifiers#3 ← (byte) keyboard_modifiers#18 | (const nomodify byte) KEY_MODIFIER_RSHIFT
|
2019-03-29 23:15:53 +00:00
|
|
|
to:keyboard_event_scan::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan::@2: scope:[keyboard_event_scan] from keyboard_event_scan::@21 keyboard_event_scan::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[180] (byte) keyboard_modifiers#19 ← phi( keyboard_event_scan::@21/(byte) keyboard_modifiers#18 keyboard_event_scan::@4/(byte) keyboard_modifiers#3 )
|
|
|
|
[181] call keyboard_event_pressed
|
|
|
|
[182] (byte) keyboard_event_pressed::return#2 ← (byte) keyboard_event_pressed::return#10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@22
|
|
|
|
keyboard_event_scan::@22: scope:[keyboard_event_scan] from keyboard_event_scan::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
[183] (byte~) keyboard_event_scan::$6 ← (byte) keyboard_event_pressed::return#2
|
|
|
|
[184] if((byte~) keyboard_event_scan::$6==(byte) 0) goto keyboard_event_scan::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@5
|
|
|
|
keyboard_event_scan::@5: scope:[keyboard_event_scan] from keyboard_event_scan::@22
|
2020-03-29 19:00:25 +00:00
|
|
|
[185] (byte) keyboard_modifiers#4 ← (byte) keyboard_modifiers#19 | (const nomodify byte) KEY_MODIFIER_CTRL
|
2019-03-29 23:15:53 +00:00
|
|
|
to:keyboard_event_scan::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan::@3: scope:[keyboard_event_scan] from keyboard_event_scan::@22 keyboard_event_scan::@5
|
2019-05-30 20:29:04 +00:00
|
|
|
[186] (byte) keyboard_modifiers#20 ← phi( keyboard_event_scan::@22/(byte) keyboard_modifiers#19 keyboard_event_scan::@5/(byte) keyboard_modifiers#4 )
|
|
|
|
[187] call keyboard_event_pressed
|
|
|
|
[188] (byte) keyboard_event_pressed::return#3 ← (byte) keyboard_event_pressed::return#10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@23
|
|
|
|
keyboard_event_scan::@23: scope:[keyboard_event_scan] from keyboard_event_scan::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
[189] (byte~) keyboard_event_scan::$9 ← (byte) keyboard_event_pressed::return#3
|
|
|
|
[190] if((byte~) keyboard_event_scan::$9==(byte) 0) goto keyboard_event_scan::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@6
|
|
|
|
keyboard_event_scan::@6: scope:[keyboard_event_scan] from keyboard_event_scan::@23
|
2020-03-29 19:00:25 +00:00
|
|
|
[191] (byte) keyboard_modifiers#5 ← (byte) keyboard_modifiers#20 | (const nomodify byte) KEY_MODIFIER_COMMODORE
|
2018-04-04 10:07:14 +00:00
|
|
|
to:keyboard_event_scan::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan::@return: scope:[keyboard_event_scan] from keyboard_event_scan::@23 keyboard_event_scan::@6
|
2019-05-30 20:29:04 +00:00
|
|
|
[192] (byte) keyboard_modifiers#21 ← phi( keyboard_event_scan::@23/(byte) keyboard_modifiers#20 keyboard_event_scan::@6/(byte) keyboard_modifiers#5 )
|
|
|
|
[193] return
|
2018-04-04 10:07:14 +00:00
|
|
|
to:@return
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_scan::@9: scope:[keyboard_event_scan] from keyboard_event_scan::@10 keyboard_event_scan::@19
|
2019-11-18 21:02:29 +00:00
|
|
|
[194] (byte) keyboard_events_size#18 ← phi( keyboard_event_scan::@10/(byte) keyboard_events_size#105 keyboard_event_scan::@19/(byte) keyboard_events_size#106 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[194] (byte) keyboard_event_scan::keycode#10 ← phi( keyboard_event_scan::@10/(byte) keyboard_event_scan::keycode#14 keyboard_event_scan::@19/(byte) keyboard_event_scan::keycode#11 )
|
|
|
|
[194] (byte) keyboard_event_scan::col#2 ← phi( keyboard_event_scan::@10/(byte) keyboard_event_scan::col#1 keyboard_event_scan::@19/(byte) 0 )
|
2019-11-18 21:02:29 +00:00
|
|
|
[195] (byte~) keyboard_event_scan::$15 ← (byte) keyboard_event_scan::row_scan#0 ^ *((const byte*) keyboard_scan_values + (byte) keyboard_event_scan::row#2)
|
|
|
|
[196] (byte~) keyboard_event_scan::$16 ← (byte~) keyboard_event_scan::$15 & *((const byte*) keyboard_matrix_col_bitmask + (byte) keyboard_event_scan::col#2)
|
2019-05-30 20:29:04 +00:00
|
|
|
[197] if((byte~) keyboard_event_scan::$16==(byte) 0) goto keyboard_event_scan::@10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@12
|
|
|
|
keyboard_event_scan::@12: scope:[keyboard_event_scan] from keyboard_event_scan::@9
|
2019-05-30 20:29:04 +00:00
|
|
|
[198] if((byte) keyboard_events_size#18==(byte) 8) goto keyboard_event_scan::@10
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@13
|
|
|
|
keyboard_event_scan::@13: scope:[keyboard_event_scan] from keyboard_event_scan::@12
|
2019-11-18 21:02:29 +00:00
|
|
|
[199] (byte) keyboard_event_scan::event_type#0 ← (byte) keyboard_event_scan::row_scan#0 & *((const byte*) keyboard_matrix_col_bitmask + (byte) keyboard_event_scan::col#2)
|
2019-05-30 20:29:04 +00:00
|
|
|
[200] if((byte) keyboard_event_scan::event_type#0==(byte) 0) goto keyboard_event_scan::@11
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@14
|
|
|
|
keyboard_event_scan::@14: scope:[keyboard_event_scan] from keyboard_event_scan::@13
|
2019-11-18 21:02:29 +00:00
|
|
|
[201] *((const byte*) keyboard_events + (byte) keyboard_events_size#18) ← (byte) keyboard_event_scan::keycode#10
|
2019-05-30 20:29:04 +00:00
|
|
|
[202] (byte) keyboard_events_size#2 ← ++ (byte) keyboard_events_size#18
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@10
|
|
|
|
keyboard_event_scan::@10: scope:[keyboard_event_scan] from keyboard_event_scan::@11 keyboard_event_scan::@12 keyboard_event_scan::@14 keyboard_event_scan::@9
|
2019-11-18 21:02:29 +00:00
|
|
|
[203] (byte) keyboard_events_size#105 ← phi( keyboard_event_scan::@9/(byte) keyboard_events_size#18 keyboard_event_scan::@11/(byte) keyboard_events_size#1 keyboard_event_scan::@12/(byte) keyboard_events_size#18 keyboard_event_scan::@14/(byte) keyboard_events_size#2 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[204] (byte) keyboard_event_scan::keycode#14 ← ++ (byte) keyboard_event_scan::keycode#10
|
|
|
|
[205] (byte) keyboard_event_scan::col#1 ← ++ (byte) keyboard_event_scan::col#2
|
|
|
|
[206] if((byte) keyboard_event_scan::col#1!=(byte) 8) goto keyboard_event_scan::@9
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@15
|
|
|
|
keyboard_event_scan::@15: scope:[keyboard_event_scan] from keyboard_event_scan::@10
|
2019-11-18 21:02:29 +00:00
|
|
|
[207] *((const byte*) keyboard_scan_values + (byte) keyboard_event_scan::row#2) ← (byte) keyboard_event_scan::row_scan#0
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@8
|
|
|
|
keyboard_event_scan::@11: scope:[keyboard_event_scan] from keyboard_event_scan::@13
|
2019-05-30 20:29:04 +00:00
|
|
|
[208] (byte~) keyboard_event_scan::$23 ← (byte) keyboard_event_scan::keycode#10 | (byte) $40
|
2019-11-18 21:02:29 +00:00
|
|
|
[209] *((const byte*) keyboard_events + (byte) keyboard_events_size#18) ← (byte~) keyboard_event_scan::$23
|
2019-05-30 20:29:04 +00:00
|
|
|
[210] (byte) keyboard_events_size#1 ← ++ (byte) keyboard_events_size#18
|
2019-03-31 15:10:41 +00:00
|
|
|
to:keyboard_event_scan::@10
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte()) keyboard_event_pressed((byte) keyboard_event_pressed::keycode)
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_event_pressed: scope:[keyboard_event_pressed] from keyboard_event_scan::@1 keyboard_event_scan::@17 keyboard_event_scan::@2 keyboard_event_scan::@3
|
2020-04-25 18:10:49 +00:00
|
|
|
[211] (byte) keyboard_event_pressed::keycode#4 ← phi( keyboard_event_scan::@1/(const nomodify byte) KEY_RSHIFT keyboard_event_scan::@17/(const nomodify byte) KEY_LSHIFT keyboard_event_scan::@2/(const nomodify byte) KEY_CTRL keyboard_event_scan::@3/(const nomodify byte) KEY_COMMODORE )
|
2019-05-30 20:29:04 +00:00
|
|
|
[212] (byte~) keyboard_event_pressed::$0 ← (byte) keyboard_event_pressed::keycode#4 >> (byte) 3
|
2019-11-18 21:02:29 +00:00
|
|
|
[213] (byte) keyboard_event_pressed::row_bits#0 ← *((const byte*) keyboard_scan_values + (byte~) keyboard_event_pressed::$0)
|
2019-05-30 20:29:04 +00:00
|
|
|
[214] (byte~) keyboard_event_pressed::$1 ← (byte) keyboard_event_pressed::keycode#4 & (byte) 7
|
2019-11-18 21:02:29 +00:00
|
|
|
[215] (byte) keyboard_event_pressed::return#10 ← (byte) keyboard_event_pressed::row_bits#0 & *((const byte*) keyboard_matrix_col_bitmask + (byte~) keyboard_event_pressed::$1)
|
2018-04-04 10:07:14 +00:00
|
|
|
to:keyboard_event_pressed::@return
|
|
|
|
keyboard_event_pressed::@return: scope:[keyboard_event_pressed] from keyboard_event_pressed
|
2019-05-30 20:29:04 +00:00
|
|
|
[216] return
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte()) keyboard_matrix_read((byte) keyboard_matrix_read::rowid)
|
2019-03-31 15:10:41 +00:00
|
|
|
keyboard_matrix_read: scope:[keyboard_matrix_read] from keyboard_event_scan::@7
|
2020-04-26 21:30:04 +00:00
|
|
|
[217] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1) ← *((const byte*) keyboard_matrix_row_bitmask + (byte) keyboard_matrix_read::rowid#0)
|
|
|
|
[218] (byte) keyboard_matrix_read::return#0 ← ~ *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_PORT_B)
|
2018-04-01 02:00:07 +00:00
|
|
|
to:keyboard_matrix_read::@return
|
|
|
|
keyboard_matrix_read::@return: scope:[keyboard_matrix_read] from keyboard_matrix_read
|
2019-05-30 20:29:04 +00:00
|
|
|
[219] return
|
2018-04-04 22:30:26 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte*()) get_vic_screen((byte) get_vic_screen::idx)
|
2019-03-31 15:10:41 +00:00
|
|
|
get_vic_screen: scope:[get_vic_screen] from gfx_mode::@28 gfx_mode::@30
|
2019-05-30 20:29:04 +00:00
|
|
|
[220] (byte) get_vic_screen::idx#2 ← phi( gfx_mode::@28/(byte) get_vic_screen::idx#0 gfx_mode::@30/(byte) get_vic_screen::idx#1 )
|
|
|
|
[221] if((byte) get_vic_screen::idx#2==(byte) 0) goto get_vic_screen::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_vic_screen::@2
|
|
|
|
get_vic_screen::@2: scope:[get_vic_screen] from get_vic_screen
|
2019-05-30 20:29:04 +00:00
|
|
|
[222] if((byte) get_vic_screen::idx#2==(byte) 1) goto get_vic_screen::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_vic_screen::@3
|
|
|
|
get_vic_screen::@3: scope:[get_vic_screen] from get_vic_screen::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
[223] if((byte) get_vic_screen::idx#2==(byte) 2) goto get_vic_screen::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_vic_screen::@4
|
|
|
|
get_vic_screen::@4: scope:[get_vic_screen] from get_vic_screen::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
[224] if((byte) get_vic_screen::idx#2==(byte) 3) goto get_vic_screen::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_vic_screen::@5
|
|
|
|
get_vic_screen::@5: scope:[get_vic_screen] from get_vic_screen::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[225] if((byte) get_vic_screen::idx#2!=(byte) 4) goto get_vic_screen::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_vic_screen::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
get_vic_screen::@1: scope:[get_vic_screen] from get_vic_screen::@5
|
2019-05-30 20:29:04 +00:00
|
|
|
[226] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_vic_screen::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
get_vic_screen::@return: scope:[get_vic_screen] from get_vic_screen get_vic_screen::@1 get_vic_screen::@2 get_vic_screen::@3 get_vic_screen::@4 get_vic_screen::@5
|
2020-03-29 19:00:25 +00:00
|
|
|
[227] (byte*) get_vic_screen::return#5 ← phi( get_vic_screen/(const nomodify byte*) VIC_SCREEN0 get_vic_screen::@5/(const nomodify byte*) VIC_SCREEN4 get_vic_screen::@2/(const nomodify byte*) VIC_SCREEN1 get_vic_screen::@3/(const nomodify byte*) VIC_SCREEN2 get_vic_screen::@4/(const nomodify byte*) VIC_SCREEN3 get_vic_screen::@1/(const nomodify byte*) VIC_SCREEN0 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[228] return
|
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte*()) get_vic_charset((byte) get_vic_charset::idx)
|
2019-03-31 15:10:41 +00:00
|
|
|
get_vic_charset: scope:[get_vic_charset] from gfx_mode::@29
|
2019-05-30 20:29:04 +00:00
|
|
|
[229] if((byte) get_vic_charset::idx#0==(byte) 0) goto get_vic_charset::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_vic_charset::@2
|
|
|
|
get_vic_charset::@2: scope:[get_vic_charset] from get_vic_charset
|
2019-05-30 20:29:04 +00:00
|
|
|
[230] if((byte) get_vic_charset::idx#0!=(byte) 1) goto get_vic_charset::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_vic_charset::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
get_vic_charset::@1: scope:[get_vic_charset] from get_vic_charset::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
[231] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_vic_charset::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
get_vic_charset::@return: scope:[get_vic_charset] from get_vic_charset get_vic_charset::@1 get_vic_charset::@2
|
2020-03-29 19:00:25 +00:00
|
|
|
[232] (byte*) get_vic_charset::return#2 ← phi( get_vic_charset/(const nomodify byte*) VIC_CHARSET_ROM get_vic_charset::@1/(const nomodify byte*) VIC_CHARSET_ROM get_vic_charset::@2/(const nomodify byte*) VIC_BITMAP )
|
2019-05-30 20:29:04 +00:00
|
|
|
[233] return
|
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(dword()) get_plane((byte) get_plane::idx)
|
2019-03-31 15:10:41 +00:00
|
|
|
get_plane: scope:[get_plane] from gfx_mode::@27 gfx_mode::@9
|
2019-05-30 20:29:04 +00:00
|
|
|
[234] (byte) get_plane::idx#10 ← phi( gfx_mode::@27/(byte) get_plane::idx#1 gfx_mode::@9/(byte) get_plane::idx#0 )
|
|
|
|
[235] if((byte) get_plane::idx#10==(byte) 0) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@2
|
|
|
|
get_plane::@2: scope:[get_plane] from get_plane
|
2019-05-30 20:29:04 +00:00
|
|
|
[236] if((byte) get_plane::idx#10==(byte) 1) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@3
|
|
|
|
get_plane::@3: scope:[get_plane] from get_plane::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
[237] if((byte) get_plane::idx#10==(byte) 2) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@4
|
|
|
|
get_plane::@4: scope:[get_plane] from get_plane::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
[238] if((byte) get_plane::idx#10==(byte) 3) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@5
|
|
|
|
get_plane::@5: scope:[get_plane] from get_plane::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[239] if((byte) get_plane::idx#10==(byte) 4) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@6
|
|
|
|
get_plane::@6: scope:[get_plane] from get_plane::@5
|
2019-05-30 20:29:04 +00:00
|
|
|
[240] if((byte) get_plane::idx#10==(byte) 5) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@7
|
|
|
|
get_plane::@7: scope:[get_plane] from get_plane::@6
|
2019-05-30 20:29:04 +00:00
|
|
|
[241] if((byte) get_plane::idx#10==(byte) 6) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@8
|
|
|
|
get_plane::@8: scope:[get_plane] from get_plane::@7
|
2019-05-30 20:29:04 +00:00
|
|
|
[242] if((byte) get_plane::idx#10==(byte) 7) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@9
|
|
|
|
get_plane::@9: scope:[get_plane] from get_plane::@8
|
2019-05-30 20:29:04 +00:00
|
|
|
[243] if((byte) get_plane::idx#10==(byte) 8) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@10
|
|
|
|
get_plane::@10: scope:[get_plane] from get_plane::@9
|
2019-05-30 20:29:04 +00:00
|
|
|
[244] if((byte) get_plane::idx#10==(byte) 9) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@11
|
|
|
|
get_plane::@11: scope:[get_plane] from get_plane::@10
|
2019-05-30 20:29:04 +00:00
|
|
|
[245] if((byte) get_plane::idx#10==(byte) $a) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@12
|
|
|
|
get_plane::@12: scope:[get_plane] from get_plane::@11
|
2019-05-30 20:29:04 +00:00
|
|
|
[246] if((byte) get_plane::idx#10==(byte) $b) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@13
|
|
|
|
get_plane::@13: scope:[get_plane] from get_plane::@12
|
2019-05-30 20:29:04 +00:00
|
|
|
[247] if((byte) get_plane::idx#10==(byte) $c) goto get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
to:get_plane::@14
|
|
|
|
get_plane::@14: scope:[get_plane] from get_plane::@13
|
2019-05-30 20:29:04 +00:00
|
|
|
[248] if((byte) get_plane::idx#10!=(byte) $d) goto get_plane::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_plane::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
get_plane::@1: scope:[get_plane] from get_plane::@14
|
2019-05-30 20:29:04 +00:00
|
|
|
[249] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:get_plane::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
get_plane::@return: scope:[get_plane] from get_plane get_plane::@1 get_plane::@10 get_plane::@11 get_plane::@12 get_plane::@13 get_plane::@14 get_plane::@2 get_plane::@3 get_plane::@4 get_plane::@5 get_plane::@6 get_plane::@7 get_plane::@8 get_plane::@9
|
2020-04-25 18:10:49 +00:00
|
|
|
[250] (dword) get_plane::return#14 ← phi( get_plane/(dword)(const nomodify byte*) VIC_SCREEN0 get_plane::@10/(const nomodify dword) PLANE_HORISONTAL2 get_plane::@11/(const nomodify dword) PLANE_VERTICAL2 get_plane::@12/(const nomodify dword) PLANE_CHARSET8 get_plane::@13/(const nomodify dword) PLANE_BLANK get_plane::@1/(dword)(const nomodify byte*) VIC_SCREEN0 get_plane::@2/(dword)(const nomodify byte*) VIC_SCREEN1 get_plane::@14/(const nomodify dword) PLANE_FULL get_plane::@3/(dword)(const nomodify byte*) VIC_SCREEN2 get_plane::@4/(dword)(const nomodify byte*) VIC_SCREEN3 get_plane::@5/(dword)(const nomodify byte*) VIC_BITMAP get_plane::@6/(dword)(const nomodify byte*) VIC_CHARSET_ROM get_plane::@7/(const nomodify dword) PLANE_8BPP_CHUNKY get_plane::@8/(const nomodify dword) PLANE_HORISONTAL get_plane::@9/(const nomodify dword) PLANE_VERTICAL )
|
2019-05-30 20:29:04 +00:00
|
|
|
[251] return
|
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) form_mode()
|
2018-04-07 14:01:35 +00:00
|
|
|
form_mode: scope:[form_mode] from main::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
[252] phi()
|
|
|
|
[253] call print_set_screen
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@8
|
|
|
|
form_mode::@8: scope:[form_mode] from form_mode
|
2019-05-30 20:29:04 +00:00
|
|
|
[254] phi()
|
|
|
|
[255] call print_cls
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@9
|
|
|
|
form_mode::@9: scope:[form_mode] from form_mode::@8
|
2019-05-30 20:29:04 +00:00
|
|
|
[256] phi()
|
|
|
|
[257] call print_str_lines
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@10
|
|
|
|
form_mode::@10: scope:[form_mode] from form_mode::@9
|
2019-05-30 20:29:04 +00:00
|
|
|
[258] phi()
|
|
|
|
[259] call print_set_screen
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@11
|
|
|
|
form_mode::@11: scope:[form_mode] from form_mode::@10
|
2019-05-30 20:29:04 +00:00
|
|
|
[260] phi()
|
|
|
|
[261] call print_cls
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@12
|
|
|
|
form_mode::@12: scope:[form_mode] from form_mode::@11
|
2019-05-30 20:29:04 +00:00
|
|
|
[262] phi()
|
|
|
|
[263] call print_str_lines
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@13
|
|
|
|
form_mode::@13: scope:[form_mode] from form_mode::@12
|
2019-05-30 20:29:04 +00:00
|
|
|
[264] phi()
|
|
|
|
[265] call form_set_screen
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@14
|
|
|
|
form_mode::@14: scope:[form_mode] from form_mode::@13
|
2019-05-30 20:29:04 +00:00
|
|
|
[266] phi()
|
|
|
|
[267] call form_render_values
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@15
|
|
|
|
form_mode::@15: scope:[form_mode] from form_mode::@14
|
2019-11-18 21:02:29 +00:00
|
|
|
[268] (byte) render_preset_name::idx#0 ← *((const byte*) form_fields_val)
|
2019-05-30 20:29:04 +00:00
|
|
|
[269] call render_preset_name
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@16
|
|
|
|
form_mode::@16: scope:[form_mode] from form_mode::@15
|
2020-03-29 19:00:25 +00:00
|
|
|
[270] *((const nomodify byte*) DTV_GRAPHICS_VIC_BANK) ← (byte) 0
|
|
|
|
[271] *((const nomodify byte*) DTV_COLOR_BANK_LO) ← <(word)(const nomodify dword) DTV_COLOR_BANK_DEFAULT/(word) $400
|
|
|
|
[272] *((const nomodify byte*) DTV_COLOR_BANK_HI) ← (byte) 0
|
2020-04-26 21:30:04 +00:00
|
|
|
[273] *((byte*)(const nomodify struct MOS6526_CIA*) CIA2+(const byte) OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) ← (byte) 3
|
|
|
|
[274] *((byte*)(const nomodify struct MOS6526_CIA*) CIA2) ← (byte) 3
|
2020-03-29 19:00:25 +00:00
|
|
|
[275] *((const nomodify byte*) DTV_CONTROL) ← (byte) 0
|
2020-04-29 06:09:45 +00:00
|
|
|
[276] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_CONTROL1) ← (const nomodify byte) VIC_DEN|(const nomodify byte) VIC_RSEL|(byte) 3
|
|
|
|
[277] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_CONTROL2) ← (const nomodify byte) VIC_CSEL
|
|
|
|
[278] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_MEMORY) ← (byte)(word)(const nomodify byte*) FORM_SCREEN&(word) $3fff/(byte) $40|(word)(const nomodify byte*) FORM_CHARSET&(word) $3fff/(word) $400
|
2020-03-29 19:00:25 +00:00
|
|
|
[279] *((const nomodify byte*) DTV_PLANEA_START_LO) ← (byte) 0
|
|
|
|
[280] *((const nomodify byte*) DTV_PLANEA_START_MI) ← >(const nomodify byte*) FORM_SCREEN
|
|
|
|
[281] *((const nomodify byte*) DTV_PLANEA_START_HI) ← (byte) 0
|
2019-03-31 15:57:54 +00:00
|
|
|
to:form_mode::@1
|
|
|
|
form_mode::@1: scope:[form_mode] from form_mode::@1 form_mode::@16
|
2019-05-30 20:29:04 +00:00
|
|
|
[282] (byte) form_mode::i#2 ← phi( form_mode::@1/(byte) form_mode::i#1 form_mode::@16/(byte) 0 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[283] *((const nomodify byte*) DTV_PALETTE + (byte) form_mode::i#2) ← *((const byte*) DTV_PALETTE_DEFAULT + (byte) form_mode::i#2)
|
2019-05-30 20:29:04 +00:00
|
|
|
[284] (byte) form_mode::i#1 ← ++ (byte) form_mode::i#2
|
|
|
|
[285] if((byte) form_mode::i#1!=(byte) $10) goto form_mode::@1
|
2019-03-31 15:57:54 +00:00
|
|
|
to:form_mode::@2
|
|
|
|
form_mode::@2: scope:[form_mode] from form_mode::@1
|
2020-04-29 06:09:45 +00:00
|
|
|
[286] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BG_COLOR) ← (byte) 0
|
|
|
|
[287] *((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_BORDER_COLOR) ← (byte) 0
|
2019-11-18 21:02:29 +00:00
|
|
|
[288] (byte) form_mode::preset_current#0 ← *((const byte*) form_fields_val)
|
2019-03-31 15:57:54 +00:00
|
|
|
to:form_mode::@3
|
|
|
|
form_mode::@3: scope:[form_mode] from form_mode::@19 form_mode::@2 form_mode::@6
|
2020-04-25 18:10:49 +00:00
|
|
|
[289] (byte) form_mode::preset_current#6 ← phi( form_mode::@2/(byte) form_mode::preset_current#0 form_mode::@19/(byte) form_mode::preset_current#1 form_mode::@6/(byte) form_mode::preset_current#6 )
|
|
|
|
[289] (byte) form_field_idx#28 ← phi( form_mode::@2/(byte) form_field_idx#1 form_mode::@19/(byte) form_field_idx#18 form_mode::@6/(byte) form_field_idx#18 )
|
|
|
|
[289] (byte) keyboard_events_size#47 ← phi( form_mode::@2/(byte) keyboard_events_size#27 form_mode::@19/(byte) keyboard_events_size#24 form_mode::@6/(byte) keyboard_events_size#24 )
|
|
|
|
[289] (signed byte) form_cursor_count#21 ← phi( form_mode::@2/(signed byte) form_cursor_count#1 form_mode::@19/(signed byte) form_cursor_count#16 form_mode::@6/(signed byte) form_cursor_count#16 )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@4
|
2019-03-31 15:57:54 +00:00
|
|
|
form_mode::@4: scope:[form_mode] from form_mode::@3 form_mode::@4
|
2020-04-29 06:09:45 +00:00
|
|
|
[290] if(*((byte*)(const nomodify struct MOS6569_VICII*) VICII+(const byte) OFFSET_STRUCT_MOS6569_VICII_RASTER)!=(byte) $ff) goto form_mode::@4
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@5
|
|
|
|
form_mode::@5: scope:[form_mode] from form_mode::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[291] phi()
|
|
|
|
[292] call form_control
|
|
|
|
[293] (byte) form_control::return#0 ← (byte) form_control::return#2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@17
|
|
|
|
form_mode::@17: scope:[form_mode] from form_mode::@5
|
2019-11-03 23:39:09 +00:00
|
|
|
[294] (byte~) form_mode::$11 ← (byte) form_control::return#0
|
|
|
|
[295] if((byte~) form_mode::$11==(byte) 0) goto form_mode::@6
|
2018-04-04 22:30:26 +00:00
|
|
|
to:form_mode::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
form_mode::@return: scope:[form_mode] from form_mode::@17
|
2019-05-30 20:29:04 +00:00
|
|
|
[296] return
|
2018-04-18 21:19:25 +00:00
|
|
|
to:@return
|
2019-03-31 15:10:41 +00:00
|
|
|
form_mode::@6: scope:[form_mode] from form_mode::@17
|
2019-11-18 21:02:29 +00:00
|
|
|
[297] if((byte) form_mode::preset_current#6==*((const byte*) form_fields_val)) goto form_mode::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@7
|
|
|
|
form_mode::@7: scope:[form_mode] from form_mode::@6
|
2019-11-18 21:02:29 +00:00
|
|
|
[298] (byte) apply_preset::idx#0 ← *((const byte*) form_fields_val)
|
2019-05-30 20:29:04 +00:00
|
|
|
[299] call apply_preset
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@18
|
|
|
|
form_mode::@18: scope:[form_mode] from form_mode::@7
|
2019-11-18 21:02:29 +00:00
|
|
|
[300] (byte) form_mode::preset_current#1 ← *((const byte*) form_fields_val)
|
2019-05-30 20:29:04 +00:00
|
|
|
[301] call form_render_values
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_mode::@19
|
|
|
|
form_mode::@19: scope:[form_mode] from form_mode::@18
|
2019-11-18 21:02:29 +00:00
|
|
|
[302] (byte) render_preset_name::idx#1 ← *((const byte*) form_fields_val)
|
2019-05-30 20:29:04 +00:00
|
|
|
[303] call render_preset_name
|
2019-03-31 15:57:54 +00:00
|
|
|
to:form_mode::@3
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) render_preset_name((byte) render_preset_name::idx)
|
2019-03-31 15:10:41 +00:00
|
|
|
render_preset_name: scope:[render_preset_name] from form_mode::@15 form_mode::@19
|
2019-05-30 20:29:04 +00:00
|
|
|
[304] (byte) render_preset_name::idx#10 ← phi( form_mode::@15/(byte) render_preset_name::idx#0 form_mode::@19/(byte) render_preset_name::idx#1 )
|
|
|
|
[305] if((byte) render_preset_name::idx#10==(byte) 0) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
render_preset_name::@3: scope:[render_preset_name] from render_preset_name
|
|
|
|
[306] if((byte) render_preset_name::idx#10==(byte) 1) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@4
|
|
|
|
render_preset_name::@4: scope:[render_preset_name] from render_preset_name::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
[307] if((byte) render_preset_name::idx#10==(byte) 2) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@5
|
|
|
|
render_preset_name::@5: scope:[render_preset_name] from render_preset_name::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[308] if((byte) render_preset_name::idx#10==(byte) 3) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@6
|
|
|
|
render_preset_name::@6: scope:[render_preset_name] from render_preset_name::@5
|
2019-05-30 20:29:04 +00:00
|
|
|
[309] if((byte) render_preset_name::idx#10==(byte) 4) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@7
|
|
|
|
render_preset_name::@7: scope:[render_preset_name] from render_preset_name::@6
|
2019-05-30 20:29:04 +00:00
|
|
|
[310] if((byte) render_preset_name::idx#10==(byte) 5) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@8
|
|
|
|
render_preset_name::@8: scope:[render_preset_name] from render_preset_name::@7
|
2019-05-30 20:29:04 +00:00
|
|
|
[311] if((byte) render_preset_name::idx#10==(byte) 6) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@9
|
|
|
|
render_preset_name::@9: scope:[render_preset_name] from render_preset_name::@8
|
2019-05-30 20:29:04 +00:00
|
|
|
[312] if((byte) render_preset_name::idx#10==(byte) 7) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@10
|
|
|
|
render_preset_name::@10: scope:[render_preset_name] from render_preset_name::@9
|
2019-05-30 20:29:04 +00:00
|
|
|
[313] if((byte) render_preset_name::idx#10==(byte) 8) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@11
|
|
|
|
render_preset_name::@11: scope:[render_preset_name] from render_preset_name::@10
|
2019-05-30 20:29:04 +00:00
|
|
|
[314] if((byte) render_preset_name::idx#10==(byte) 9) goto render_preset_name::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:render_preset_name::@12
|
|
|
|
render_preset_name::@12: scope:[render_preset_name] from render_preset_name::@11
|
2019-05-30 20:29:04 +00:00
|
|
|
[315] if((byte) render_preset_name::idx#10==(byte) $a) goto render_preset_name::@1
|
|
|
|
to:render_preset_name::@2
|
|
|
|
render_preset_name::@1: scope:[render_preset_name] from render_preset_name::@12
|
|
|
|
[316] phi()
|
|
|
|
to:render_preset_name::@2
|
|
|
|
render_preset_name::@2: scope:[render_preset_name] from render_preset_name render_preset_name::@1 render_preset_name::@10 render_preset_name::@11 render_preset_name::@12 render_preset_name::@3 render_preset_name::@4 render_preset_name::@5 render_preset_name::@6 render_preset_name::@7 render_preset_name::@8 render_preset_name::@9
|
2020-04-25 18:10:49 +00:00
|
|
|
[317] (byte*) render_preset_name::name#13 ← phi( render_preset_name/(const byte*) render_preset_name::name#1 render_preset_name::@11/(const byte*) render_preset_name::name#10 render_preset_name::@1/(const byte*) render_preset_name::name#11 render_preset_name::@3/(const byte*) render_preset_name::name#2 render_preset_name::@12/(const byte*) render_preset_name::name#1 render_preset_name::@4/(const byte*) render_preset_name::name#3 render_preset_name::@5/(const byte*) render_preset_name::name#4 render_preset_name::@6/(const byte*) render_preset_name::name#5 render_preset_name::@7/(const byte*) render_preset_name::name#6 render_preset_name::@8/(const byte*) render_preset_name::name#7 render_preset_name::@9/(const byte*) render_preset_name::name#8 render_preset_name::@10/(const byte*) render_preset_name::name#9 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[318] (byte*) print_str_at::str#1 ← (byte*) render_preset_name::name#13
|
|
|
|
[319] call print_str_at
|
2018-04-13 23:08:08 +00:00
|
|
|
to:render_preset_name::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
render_preset_name::@return: scope:[render_preset_name] from render_preset_name::@2
|
|
|
|
[320] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) print_str_at((byte*) print_str_at::str , (byte*) print_str_at::at)
|
2019-05-30 20:29:04 +00:00
|
|
|
print_str_at: scope:[print_str_at] from render_preset_name::@2
|
|
|
|
[321] phi()
|
2018-04-13 23:08:08 +00:00
|
|
|
to:print_str_at::@1
|
|
|
|
print_str_at::@1: scope:[print_str_at] from print_str_at print_str_at::@2
|
2020-03-29 19:00:25 +00:00
|
|
|
[322] (byte*) print_str_at::at#2 ← phi( print_str_at/(const nomodify byte*) FORM_SCREEN+(byte)(number) $28*(number) 2+(byte) $a print_str_at::@2/(byte*) print_str_at::at#0 )
|
2019-05-30 20:29:04 +00:00
|
|
|
[322] (byte*) print_str_at::str#2 ← phi( print_str_at/(byte*) print_str_at::str#1 print_str_at::@2/(byte*) print_str_at::str#0 )
|
2019-08-07 17:48:56 +00:00
|
|
|
[323] if((byte) 0!=*((byte*) print_str_at::str#2)) goto print_str_at::@2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:print_str_at::@return
|
|
|
|
print_str_at::@return: scope:[print_str_at] from print_str_at::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
[324] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
|
|
|
print_str_at::@2: scope:[print_str_at] from print_str_at::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
[325] *((byte*) print_str_at::at#2) ← *((byte*) print_str_at::str#2)
|
|
|
|
[326] (byte*) print_str_at::at#0 ← ++ (byte*) print_str_at::at#2
|
|
|
|
[327] (byte*) print_str_at::str#0 ← ++ (byte*) print_str_at::str#2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:print_str_at::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) form_render_values()
|
2019-03-31 15:10:41 +00:00
|
|
|
form_render_values: scope:[form_render_values] from form_mode::@14 form_mode::@18
|
2019-05-30 20:29:04 +00:00
|
|
|
[328] phi()
|
2018-04-09 06:46:37 +00:00
|
|
|
to:form_render_values::@1
|
2019-08-25 20:21:56 +00:00
|
|
|
form_render_values::@1: scope:[form_render_values] from form_render_values form_render_values::@3
|
|
|
|
[329] (byte) form_render_values::idx#2 ← phi( form_render_values/(byte) 0 form_render_values::@3/(byte) form_render_values::idx#1 )
|
2019-09-29 20:36:00 +00:00
|
|
|
[330] if((byte) form_render_values::idx#2<(const byte) form_fields_cnt) goto form_render_values::@2
|
2018-04-09 06:46:37 +00:00
|
|
|
to:form_render_values::@return
|
2019-08-07 09:27:55 +00:00
|
|
|
form_render_values::@return: scope:[form_render_values] from form_render_values::@1
|
2019-08-25 20:21:56 +00:00
|
|
|
[331] return
|
2018-04-09 06:46:37 +00:00
|
|
|
to:@return
|
2019-08-25 20:21:56 +00:00
|
|
|
form_render_values::@2: scope:[form_render_values] from form_render_values::@1
|
|
|
|
[332] (byte) form_field_ptr::field_idx#0 ← (byte) form_render_values::idx#2
|
|
|
|
[333] call form_field_ptr
|
|
|
|
to:form_render_values::@3
|
|
|
|
form_render_values::@3: scope:[form_render_values] from form_render_values::@2
|
2020-03-29 19:00:25 +00:00
|
|
|
[334] *((byte*)(word) form_field_ptr::line#0 + (byte) form_field_ptr::x#0) ← *((const to_nomodify byte*) print_hextab + *((const byte*) form_fields_val + (byte) form_render_values::idx#2))
|
2019-08-25 20:21:56 +00:00
|
|
|
[335] (byte) form_render_values::idx#1 ← ++ (byte) form_render_values::idx#2
|
|
|
|
to:form_render_values::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte*()) form_field_ptr((byte) form_field_ptr::field_idx)
|
2019-08-07 09:27:55 +00:00
|
|
|
form_field_ptr: scope:[form_field_ptr] from form_control form_render_values::@2
|
|
|
|
[336] (byte) form_field_ptr::field_idx#2 ← phi( form_control/(byte) form_field_ptr::field_idx#1 form_render_values::@2/(byte) form_field_ptr::field_idx#0 )
|
2019-11-18 21:02:29 +00:00
|
|
|
[337] (byte) form_field_ptr::y#0 ← *((const byte*) form_fields_y + (byte) form_field_ptr::field_idx#2)
|
|
|
|
[338] (word) form_field_ptr::line#0 ← *((const byte*) form_line_hi + (byte) form_field_ptr::y#0) w= *((const byte*) form_line_lo + (byte) form_field_ptr::y#0)
|
|
|
|
[339] (byte) form_field_ptr::x#0 ← *((const byte*) form_fields_x + (byte) form_field_ptr::field_idx#2)
|
2020-02-22 19:45:35 +00:00
|
|
|
[340] (byte*) form_field_ptr::return#0 ← (byte*)(word) form_field_ptr::line#0 + (byte) form_field_ptr::x#0
|
2018-04-09 06:46:37 +00:00
|
|
|
to:form_field_ptr::@return
|
|
|
|
form_field_ptr::@return: scope:[form_field_ptr] from form_field_ptr
|
2020-02-22 19:45:35 +00:00
|
|
|
[341] return
|
2018-04-09 06:46:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) apply_preset((byte) apply_preset::idx)
|
2019-03-31 15:10:41 +00:00
|
|
|
apply_preset: scope:[apply_preset] from form_mode::@7
|
2020-02-22 19:45:35 +00:00
|
|
|
[342] if((byte) apply_preset::idx#0==(byte) 0) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
apply_preset::@3: scope:[apply_preset] from apply_preset
|
2020-02-22 19:45:35 +00:00
|
|
|
[343] if((byte) apply_preset::idx#0==(byte) 1) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@4
|
|
|
|
apply_preset::@4: scope:[apply_preset] from apply_preset::@3
|
2020-02-22 19:45:35 +00:00
|
|
|
[344] if((byte) apply_preset::idx#0==(byte) 2) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@5
|
|
|
|
apply_preset::@5: scope:[apply_preset] from apply_preset::@4
|
2020-02-22 19:45:35 +00:00
|
|
|
[345] if((byte) apply_preset::idx#0==(byte) 3) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@6
|
|
|
|
apply_preset::@6: scope:[apply_preset] from apply_preset::@5
|
2020-02-22 19:45:35 +00:00
|
|
|
[346] if((byte) apply_preset::idx#0==(byte) 4) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@7
|
|
|
|
apply_preset::@7: scope:[apply_preset] from apply_preset::@6
|
2020-02-22 19:45:35 +00:00
|
|
|
[347] if((byte) apply_preset::idx#0==(byte) 5) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@8
|
|
|
|
apply_preset::@8: scope:[apply_preset] from apply_preset::@7
|
2020-02-22 19:45:35 +00:00
|
|
|
[348] if((byte) apply_preset::idx#0==(byte) 6) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@9
|
|
|
|
apply_preset::@9: scope:[apply_preset] from apply_preset::@8
|
2020-02-22 19:45:35 +00:00
|
|
|
[349] if((byte) apply_preset::idx#0==(byte) 7) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@10
|
|
|
|
apply_preset::@10: scope:[apply_preset] from apply_preset::@9
|
2020-02-22 19:45:35 +00:00
|
|
|
[350] if((byte) apply_preset::idx#0==(byte) 8) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@11
|
|
|
|
apply_preset::@11: scope:[apply_preset] from apply_preset::@10
|
2020-02-22 19:45:35 +00:00
|
|
|
[351] if((byte) apply_preset::idx#0==(byte) 9) goto apply_preset::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@12
|
|
|
|
apply_preset::@12: scope:[apply_preset] from apply_preset::@11
|
2020-02-22 19:45:35 +00:00
|
|
|
[352] if((byte) apply_preset::idx#0==(byte) $a) goto apply_preset::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
to:apply_preset::@2
|
|
|
|
apply_preset::@1: scope:[apply_preset] from apply_preset::@12
|
2020-02-22 19:45:35 +00:00
|
|
|
[353] phi()
|
2019-05-30 20:29:04 +00:00
|
|
|
to:apply_preset::@2
|
|
|
|
apply_preset::@2: scope:[apply_preset] from apply_preset apply_preset::@1 apply_preset::@10 apply_preset::@11 apply_preset::@12 apply_preset::@3 apply_preset::@4 apply_preset::@5 apply_preset::@6 apply_preset::@7 apply_preset::@8 apply_preset::@9
|
2020-04-25 18:10:49 +00:00
|
|
|
[354] (byte*) apply_preset::preset#15 ← phi( apply_preset/(const byte*) preset_stdchar apply_preset::@11/(const byte*) preset_sixsfred2 apply_preset::@1/(const byte*) preset_8bpppixelcell apply_preset::@3/(const byte*) preset_ecmchar apply_preset::@12/(const byte*) preset_stdchar apply_preset::@4/(const byte*) preset_stdbm apply_preset::@5/(const byte*) preset_mcbm apply_preset::@6/(const byte*) preset_hi_stdchar apply_preset::@7/(const byte*) preset_hi_ecmchar apply_preset::@8/(const byte*) preset_twoplane apply_preset::@9/(const byte*) preset_chunky apply_preset::@10/(const byte*) preset_sixsfred )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:apply_preset::@13
|
2019-08-25 20:21:56 +00:00
|
|
|
apply_preset::@13: scope:[apply_preset] from apply_preset::@14 apply_preset::@2
|
2020-02-22 19:45:35 +00:00
|
|
|
[355] (byte) apply_preset::i#2 ← phi( apply_preset::@2/(byte) 0 apply_preset::@14/(byte) apply_preset::i#1 )
|
|
|
|
[356] if((byte) apply_preset::i#2!=(const byte) form_fields_cnt) goto apply_preset::@14
|
2018-04-09 06:46:37 +00:00
|
|
|
to:apply_preset::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
apply_preset::@return: scope:[apply_preset] from apply_preset::@13
|
2020-02-22 19:45:35 +00:00
|
|
|
[357] return
|
2018-04-09 06:46:37 +00:00
|
|
|
to:@return
|
2019-08-25 20:21:56 +00:00
|
|
|
apply_preset::@14: scope:[apply_preset] from apply_preset::@13
|
2020-02-22 19:45:35 +00:00
|
|
|
[358] *((const byte*) form_fields_val + (byte) apply_preset::i#2) ← *((byte*) apply_preset::preset#15 + (byte) apply_preset::i#2)
|
|
|
|
[359] (byte) apply_preset::i#1 ← ++ (byte) apply_preset::i#2
|
2019-08-25 20:21:56 +00:00
|
|
|
to:apply_preset::@13
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(byte()) form_control()
|
2019-03-31 15:10:41 +00:00
|
|
|
form_control: scope:[form_control] from form_mode::@5
|
2020-02-22 19:45:35 +00:00
|
|
|
[360] (byte) form_field_ptr::field_idx#1 ← (byte) form_field_idx#28
|
|
|
|
[361] call form_field_ptr
|
|
|
|
[362] (byte*) form_field_ptr::return#3 ← (byte*) form_field_ptr::return#0
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@18
|
|
|
|
form_control::@18: scope:[form_control] from form_control
|
2020-02-22 19:45:35 +00:00
|
|
|
[363] (byte*) form_control::field#0 ← (byte*) form_field_ptr::return#3
|
|
|
|
[364] (signed byte) form_cursor_count#5 ← -- (signed byte) form_cursor_count#21
|
|
|
|
[365] if((signed byte) form_cursor_count#5>=(signed byte) 0) goto form_control::@21
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@21: scope:[form_control] from form_control::@18
|
2020-02-22 19:45:35 +00:00
|
|
|
[366] phi()
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@1
|
|
|
|
form_control::@1: scope:[form_control] from form_control::@18 form_control::@21
|
2020-03-29 19:00:25 +00:00
|
|
|
[367] (signed byte) form_cursor_count#15 ← phi( form_control::@21/(signed byte) form_cursor_count#5 form_control::@18/(const nomodify signed byte) FORM_CURSOR_BLINK )
|
|
|
|
[368] if((signed byte) form_cursor_count#15<(const nomodify signed byte) FORM_CURSOR_BLINK/(signed byte) 2) goto form_control::@2
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@7
|
|
|
|
form_control::@7: scope:[form_control] from form_control::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[369] (byte~) form_control::$12 ← *((byte*) form_control::field#0) & (byte) $7f
|
|
|
|
[370] *((byte*) form_control::field#0) ← (byte~) form_control::$12
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@3: scope:[form_control] from form_control::@2 form_control::@7
|
2020-02-22 19:45:35 +00:00
|
|
|
[371] phi()
|
|
|
|
[372] call keyboard_event_scan
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_control::@19
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@19: scope:[form_control] from form_control::@3
|
2020-02-22 19:45:35 +00:00
|
|
|
[373] phi()
|
|
|
|
[374] call keyboard_event_get
|
|
|
|
[375] (byte) keyboard_event_get::return#4 ← (byte) keyboard_event_get::return#2
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@20
|
|
|
|
form_control::@20: scope:[form_control] from form_control::@19
|
2020-02-22 19:45:35 +00:00
|
|
|
[376] (byte) form_control::key_event#0 ← (byte) keyboard_event_get::return#4
|
2020-03-29 19:00:25 +00:00
|
|
|
[377] if((byte) form_control::key_event#0!=(const nomodify byte) KEY_CRSR_DOWN) goto form_control::@4
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_control::@8
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@8: scope:[form_control] from form_control::@20
|
2020-02-22 19:45:35 +00:00
|
|
|
[378] (byte~) form_control::$14 ← *((byte*) form_control::field#0) & (byte) $7f
|
|
|
|
[379] *((byte*) form_control::field#0) ← (byte~) form_control::$14
|
2020-03-29 19:00:25 +00:00
|
|
|
[380] (byte~) form_control::$15 ← (byte) keyboard_modifiers#21 & (const nomodify byte) KEY_MODIFIER_SHIFT
|
2020-02-22 19:45:35 +00:00
|
|
|
[381] if((byte~) form_control::$15==(byte) 0) goto form_control::@13
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@9
|
|
|
|
form_control::@9: scope:[form_control] from form_control::@8
|
2020-02-22 19:45:35 +00:00
|
|
|
[382] (byte) form_field_idx#6 ← -- (byte) form_field_idx#28
|
|
|
|
[383] if((byte) form_field_idx#6!=(byte) $ff) goto form_control::@22
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@14
|
|
|
|
form_control::@22: scope:[form_control] from form_control::@9
|
2020-02-22 19:45:35 +00:00
|
|
|
[384] phi()
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@14
|
|
|
|
form_control::@14: scope:[form_control] from form_control::@13 form_control::@22 form_control::@23 form_control::@9
|
2020-02-22 19:45:35 +00:00
|
|
|
[385] (byte) form_field_idx#31 ← phi( form_control::@22/(byte) form_field_idx#6 form_control::@9/(const byte) form_fields_cnt-(byte) 1 form_control::@23/(byte) form_field_idx#5 form_control::@13/(byte) 0 )
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@return: scope:[form_control] from form_control::@14 form_control::@16 form_control::@5 form_control::@6
|
2020-02-22 19:45:35 +00:00
|
|
|
[386] (byte) form_field_idx#18 ← phi( form_control::@5/(byte) form_field_idx#28 form_control::@14/(byte) form_field_idx#31 form_control::@16/(byte) form_field_idx#28 form_control::@6/(byte) form_field_idx#28 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[386] (signed byte) form_cursor_count#16 ← phi( form_control::@5/(signed byte) form_cursor_count#15 form_control::@14/(const nomodify signed byte) FORM_CURSOR_BLINK/(signed byte) 2 form_control::@16/(signed byte) form_cursor_count#15 form_control::@6/(signed byte) form_cursor_count#15 )
|
2020-02-22 19:45:35 +00:00
|
|
|
[386] (byte) form_control::return#2 ← phi( form_control::@5/(byte) $ff form_control::@14/(byte) 0 form_control::@16/(byte) 0 form_control::@6/(byte) 0 )
|
|
|
|
[387] return
|
2018-04-07 14:01:35 +00:00
|
|
|
to:@return
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@13: scope:[form_control] from form_control::@8
|
2020-02-22 19:45:35 +00:00
|
|
|
[388] (byte) form_field_idx#5 ← ++ (byte) form_field_idx#28
|
|
|
|
[389] if((byte) form_field_idx#5!=(const byte) form_fields_cnt) goto form_control::@23
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@14
|
|
|
|
form_control::@23: scope:[form_control] from form_control::@13
|
2020-02-22 19:45:35 +00:00
|
|
|
[390] phi()
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@14
|
|
|
|
form_control::@4: scope:[form_control] from form_control::@20
|
2020-03-29 19:00:25 +00:00
|
|
|
[391] if((byte) form_control::key_event#0!=(const nomodify byte) KEY_CRSR_RIGHT) goto form_control::@5
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_control::@10
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@10: scope:[form_control] from form_control::@4
|
2020-03-29 19:00:25 +00:00
|
|
|
[392] (byte~) form_control::$22 ← (byte) keyboard_modifiers#21 & (const nomodify byte) KEY_MODIFIER_SHIFT
|
2020-02-22 19:45:35 +00:00
|
|
|
[393] if((byte~) form_control::$22==(byte) 0) goto form_control::@15
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_control::@11
|
|
|
|
form_control::@11: scope:[form_control] from form_control::@10
|
2020-02-22 19:45:35 +00:00
|
|
|
[394] *((const byte*) form_fields_val + (byte) form_field_idx#28) ← -- *((const byte*) form_fields_val + (byte) form_field_idx#28)
|
|
|
|
[395] if(*((const byte*) form_fields_val + (byte) form_field_idx#28)!=(byte) $ff) goto form_control::@16
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@12
|
|
|
|
form_control::@12: scope:[form_control] from form_control::@11
|
2020-02-22 19:45:35 +00:00
|
|
|
[396] *((const byte*) form_fields_val + (byte) form_field_idx#28) ← *((const byte*) form_fields_max + (byte) form_field_idx#28)
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@16
|
|
|
|
form_control::@16: scope:[form_control] from form_control::@11 form_control::@12 form_control::@15 form_control::@17
|
2020-03-29 19:00:25 +00:00
|
|
|
[397] *((byte*) form_control::field#0) ← *((const to_nomodify byte*) print_hextab + *((const byte*) form_fields_val + (byte) form_field_idx#28))
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@15: scope:[form_control] from form_control::@10
|
2020-02-22 19:45:35 +00:00
|
|
|
[398] *((const byte*) form_fields_val + (byte) form_field_idx#28) ← ++ *((const byte*) form_fields_val + (byte) form_field_idx#28)
|
|
|
|
[399] if(*((const byte*) form_fields_val + (byte) form_field_idx#28)<=*((const byte*) form_fields_max + (byte) form_field_idx#28)) goto form_control::@16
|
2019-05-30 20:29:04 +00:00
|
|
|
to:form_control::@17
|
|
|
|
form_control::@17: scope:[form_control] from form_control::@15
|
2020-02-22 19:45:35 +00:00
|
|
|
[400] *((const byte*) form_fields_val + (byte) form_field_idx#28) ← (byte) 0
|
2019-03-31 15:10:41 +00:00
|
|
|
to:form_control::@16
|
2019-03-29 23:15:53 +00:00
|
|
|
form_control::@5: scope:[form_control] from form_control::@4
|
2020-03-29 19:00:25 +00:00
|
|
|
[401] if((byte) form_control::key_event#0!=(const nomodify byte) KEY_SPACE) goto form_control::@6
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@return
|
2019-05-30 20:29:04 +00:00
|
|
|
form_control::@6: scope:[form_control] from form_control::@5
|
2020-02-22 19:45:35 +00:00
|
|
|
[402] phi()
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@return
|
|
|
|
form_control::@2: scope:[form_control] from form_control::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[403] (byte~) form_control::$13 ← *((byte*) form_control::field#0) | (byte) $80
|
|
|
|
[404] *((byte*) form_control::field#0) ← (byte~) form_control::$13
|
2018-04-07 14:01:35 +00:00
|
|
|
to:form_control::@3
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) form_set_screen((byte*) form_set_screen::screen)
|
2019-03-31 15:10:41 +00:00
|
|
|
form_set_screen: scope:[form_set_screen] from form_mode::@13
|
2020-02-22 19:45:35 +00:00
|
|
|
[405] phi()
|
2018-04-02 22:02:25 +00:00
|
|
|
to:form_set_screen::@1
|
|
|
|
form_set_screen::@1: scope:[form_set_screen] from form_set_screen form_set_screen::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[406] (byte) form_set_screen::y#2 ← phi( form_set_screen/(byte) 0 form_set_screen::@1/(byte) form_set_screen::y#1 )
|
2020-03-29 19:00:25 +00:00
|
|
|
[406] (byte*) form_set_screen::line#2 ← phi( form_set_screen/(const nomodify byte*) FORM_SCREEN form_set_screen::@1/(byte*) form_set_screen::line#1 )
|
2020-02-22 19:45:35 +00:00
|
|
|
[407] (byte~) form_set_screen::$0 ← < (byte*) form_set_screen::line#2
|
|
|
|
[408] *((const byte*) form_line_lo + (byte) form_set_screen::y#2) ← (byte~) form_set_screen::$0
|
|
|
|
[409] (byte~) form_set_screen::$1 ← > (byte*) form_set_screen::line#2
|
|
|
|
[410] *((const byte*) form_line_hi + (byte) form_set_screen::y#2) ← (byte~) form_set_screen::$1
|
|
|
|
[411] (byte*) form_set_screen::line#1 ← (byte*) form_set_screen::line#2 + (byte) $28
|
|
|
|
[412] (byte) form_set_screen::y#1 ← ++ (byte) form_set_screen::y#2
|
|
|
|
[413] if((byte) form_set_screen::y#1!=(byte) $19) goto form_set_screen::@1
|
2018-04-02 22:02:25 +00:00
|
|
|
to:form_set_screen::@return
|
|
|
|
form_set_screen::@return: scope:[form_set_screen] from form_set_screen::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[414] return
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) print_str_lines((byte*) print_str_lines::str)
|
2019-03-31 15:10:41 +00:00
|
|
|
print_str_lines: scope:[print_str_lines] from form_mode::@12 form_mode::@9
|
2020-04-25 18:10:49 +00:00
|
|
|
[415] (byte*) print_str_lines::str#5 ← phi( form_mode::@12/(const byte*) FORM_TEXT form_mode::@9/(const byte*) FORM_COLS )
|
2020-04-18 18:54:39 +00:00
|
|
|
[416] (byte*) print_char_cursor#72 ← (byte*) print_set_screen::screen#2
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_str_lines::@1
|
2019-05-30 20:29:04 +00:00
|
|
|
print_str_lines::@1: scope:[print_str_lines] from print_str_lines print_str_lines::@6
|
2020-02-22 19:45:35 +00:00
|
|
|
[417] (byte*) print_line_cursor#2 ← phi( print_str_lines/(byte*) print_set_screen::screen#2 print_str_lines::@6/(byte*) print_line_cursor#22 )
|
2020-04-18 18:54:39 +00:00
|
|
|
[417] (byte*) print_char_cursor#24 ← phi( print_str_lines/(byte*) print_char_cursor#72 print_str_lines::@6/(byte*) print_char_cursor#73 )
|
2020-02-22 19:45:35 +00:00
|
|
|
[417] (byte*) print_str_lines::str#3 ← phi( print_str_lines/(byte*) print_str_lines::str#5 print_str_lines::@6/(byte*) print_str_lines::str#0 )
|
|
|
|
[418] if((byte) 0!=*((byte*) print_str_lines::str#3)) goto print_str_lines::@2
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_str_lines::@return
|
|
|
|
print_str_lines::@return: scope:[print_str_lines] from print_str_lines::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[419] return
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@return
|
2019-03-31 15:10:41 +00:00
|
|
|
print_str_lines::@2: scope:[print_str_lines] from print_str_lines::@1 print_str_lines::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[420] (byte*) print_char_cursor#41 ← phi( print_str_lines::@1/(byte*) print_char_cursor#24 print_str_lines::@3/(byte*) print_char_cursor#42 )
|
2020-02-22 19:45:35 +00:00
|
|
|
[420] (byte*) print_str_lines::str#4 ← phi( print_str_lines::@1/(byte*) print_str_lines::str#3 print_str_lines::@3/(byte*) print_str_lines::str#0 )
|
|
|
|
[421] (byte) print_str_lines::ch#0 ← *((byte*) print_str_lines::str#4)
|
|
|
|
[422] (byte*) print_str_lines::str#0 ← ++ (byte*) print_str_lines::str#4
|
|
|
|
[423] if((byte) 0==(byte) print_str_lines::ch#0) goto print_str_lines::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
to:print_str_lines::@4
|
|
|
|
print_str_lines::@4: scope:[print_str_lines] from print_str_lines::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[424] (byte) print_char::ch#0 ← (byte) print_str_lines::ch#0
|
|
|
|
[425] call print_char
|
2019-03-31 15:10:41 +00:00
|
|
|
to:print_str_lines::@3
|
|
|
|
print_str_lines::@3: scope:[print_str_lines] from print_str_lines::@2 print_str_lines::@4
|
2020-04-25 18:10:49 +00:00
|
|
|
[426] (byte*) print_char_cursor#42 ← phi( print_str_lines::@2/(byte*) print_char_cursor#41 print_str_lines::@4/(byte*) print_char_cursor#28 )
|
2020-02-22 19:45:35 +00:00
|
|
|
[427] if((byte) 0!=(byte) print_str_lines::ch#0) goto print_str_lines::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:print_str_lines::@5
|
|
|
|
print_str_lines::@5: scope:[print_str_lines] from print_str_lines::@3
|
2020-02-22 19:45:35 +00:00
|
|
|
[428] phi()
|
|
|
|
[429] call print_ln
|
2019-05-30 20:29:04 +00:00
|
|
|
to:print_str_lines::@6
|
|
|
|
print_str_lines::@6: scope:[print_str_lines] from print_str_lines::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[430] (byte*) print_char_cursor#73 ← (byte*) print_line_cursor#22
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_str_lines::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) print_ln()
|
2019-03-31 15:10:41 +00:00
|
|
|
print_ln: scope:[print_ln] from print_str_lines::@5
|
2020-02-22 19:45:35 +00:00
|
|
|
[431] phi()
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_ln::@1
|
|
|
|
print_ln::@1: scope:[print_ln] from print_ln print_ln::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[432] (byte*) print_line_cursor#21 ← phi( print_ln/(byte*) print_line_cursor#2 print_ln::@1/(byte*) print_line_cursor#22 )
|
|
|
|
[433] (byte*) print_line_cursor#22 ← (byte*) print_line_cursor#21 + (byte) $28
|
2020-04-18 18:54:39 +00:00
|
|
|
[434] if((byte*) print_line_cursor#22<(byte*) print_char_cursor#42) goto print_ln::@1
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_ln::@return
|
|
|
|
print_ln::@return: scope:[print_ln] from print_ln::@1
|
2020-02-22 19:45:35 +00:00
|
|
|
[435] return
|
2018-04-07 14:01:35 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
2020-04-18 18:54:39 +00:00
|
|
|
(void()) print_char((byte) print_char::ch)
|
|
|
|
print_char: scope:[print_char] from print_str_lines::@4
|
|
|
|
[436] *((byte*) print_char_cursor#41) ← (byte) print_char::ch#0
|
|
|
|
[437] (byte*) print_char_cursor#28 ← ++ (byte*) print_char_cursor#41
|
|
|
|
to:print_char::@return
|
|
|
|
print_char::@return: scope:[print_char] from print_char
|
|
|
|
[438] return
|
|
|
|
to:@return
|
|
|
|
|
2019-09-18 21:00:30 +00:00
|
|
|
(void()) print_cls()
|
2019-03-31 15:10:41 +00:00
|
|
|
print_cls: scope:[print_cls] from form_mode::@11 form_mode::@8
|
2020-04-18 18:54:39 +00:00
|
|
|
[439] (void*) memset::str#0 ← (void*)(byte*) print_set_screen::screen#2
|
|
|
|
[440] call memset
|
2018-04-07 14:01:35 +00:00
|
|
|
to:print_cls::@return
|
2019-07-17 23:54:16 +00:00
|
|
|
print_cls::@return: scope:[print_cls] from print_cls
|
2020-04-18 18:54:39 +00:00
|
|
|
[441] return
|
2019-07-17 23:54:16 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
|
2019-07-17 23:54:16 +00:00
|
|
|
memset: scope:[memset] from print_cls
|
2020-04-18 18:54:39 +00:00
|
|
|
[442] phi()
|
2019-07-17 23:54:16 +00:00
|
|
|
to:memset::@1
|
|
|
|
memset::@1: scope:[memset] from memset
|
2020-04-18 18:54:39 +00:00
|
|
|
[443] (byte*) memset::end#0 ← (byte*)(void*) memset::str#0 + (const word) memset::num#0
|
|
|
|
[444] (byte*) memset::dst#4 ← (byte*)(void*) memset::str#0
|
2019-07-17 23:54:16 +00:00
|
|
|
to:memset::@2
|
2019-08-07 09:27:55 +00:00
|
|
|
memset::@2: scope:[memset] from memset::@1 memset::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[445] (byte*) memset::dst#2 ← phi( memset::@1/(byte*) memset::dst#4 memset::@3/(byte*) memset::dst#1 )
|
|
|
|
[446] if((byte*) memset::dst#2!=(byte*) memset::end#0) goto memset::@3
|
2019-07-17 23:54:16 +00:00
|
|
|
to:memset::@return
|
|
|
|
memset::@return: scope:[memset] from memset::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[447] return
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@return
|
2019-08-07 09:27:55 +00:00
|
|
|
memset::@3: scope:[memset] from memset::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[448] *((byte*) memset::dst#2) ← (const byte) memset::c#0
|
|
|
|
[449] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#2
|
2019-08-07 09:27:55 +00:00
|
|
|
to:memset::@2
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) print_set_screen((byte*) print_set_screen::screen)
|
2019-03-31 15:10:41 +00:00
|
|
|
print_set_screen: scope:[print_set_screen] from form_mode form_mode::@10
|
2020-04-18 18:54:39 +00:00
|
|
|
[450] (byte*) print_set_screen::screen#2 ← phi( form_mode/(const nomodify byte*) COLS form_mode::@10/(const nomodify byte*) FORM_SCREEN )
|
2018-04-01 02:00:07 +00:00
|
|
|
to:print_set_screen::@return
|
|
|
|
print_set_screen::@return: scope:[print_set_screen] from print_set_screen
|
2020-04-18 18:54:39 +00:00
|
|
|
[451] return
|
2018-04-04 22:30:26 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init()
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_init: scope:[gfx_init] from main::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[452] phi()
|
|
|
|
[453] call gfx_init_screen0
|
2018-04-07 14:01:35 +00:00
|
|
|
to:gfx_init::@1
|
|
|
|
gfx_init::@1: scope:[gfx_init] from gfx_init
|
2020-04-18 18:54:39 +00:00
|
|
|
[454] phi()
|
|
|
|
[455] call gfx_init_screen1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:gfx_init::@2
|
|
|
|
gfx_init::@2: scope:[gfx_init] from gfx_init::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[456] phi()
|
|
|
|
[457] call gfx_init_screen2
|
2018-04-07 15:03:36 +00:00
|
|
|
to:gfx_init::@3
|
|
|
|
gfx_init::@3: scope:[gfx_init] from gfx_init::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[458] phi()
|
|
|
|
[459] call gfx_init_screen3
|
2018-04-07 15:03:36 +00:00
|
|
|
to:gfx_init::@4
|
|
|
|
gfx_init::@4: scope:[gfx_init] from gfx_init::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[460] phi()
|
|
|
|
[461] call gfx_init_screen4
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init::@5
|
|
|
|
gfx_init::@5: scope:[gfx_init] from gfx_init::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[462] phi()
|
|
|
|
[463] call gfx_init_charset
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init::@6
|
|
|
|
gfx_init::@6: scope:[gfx_init] from gfx_init::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[464] phi()
|
|
|
|
[465] call gfx_init_vic_bitmap
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init::@7
|
|
|
|
gfx_init::@7: scope:[gfx_init] from gfx_init::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[466] phi()
|
|
|
|
[467] call gfx_init_plane_8bppchunky
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init::@8
|
|
|
|
gfx_init::@8: scope:[gfx_init] from gfx_init::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[468] phi()
|
|
|
|
[469] call gfx_init_plane_charset8
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init::@9
|
|
|
|
gfx_init::@9: scope:[gfx_init] from gfx_init::@8
|
2020-04-18 18:54:39 +00:00
|
|
|
[470] phi()
|
|
|
|
[471] call gfx_init_plane_horisontal
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init::@10
|
|
|
|
gfx_init::@10: scope:[gfx_init] from gfx_init::@9
|
2020-04-18 18:54:39 +00:00
|
|
|
[472] phi()
|
|
|
|
[473] call gfx_init_plane_vertical
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init::@11
|
|
|
|
gfx_init::@11: scope:[gfx_init] from gfx_init::@10
|
2020-04-18 18:54:39 +00:00
|
|
|
[474] phi()
|
|
|
|
[475] call gfx_init_plane_horisontal2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init::@12
|
|
|
|
gfx_init::@12: scope:[gfx_init] from gfx_init::@11
|
2020-04-18 18:54:39 +00:00
|
|
|
[476] phi()
|
|
|
|
[477] call gfx_init_plane_vertical2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init::@13
|
|
|
|
gfx_init::@13: scope:[gfx_init] from gfx_init::@12
|
2020-04-18 18:54:39 +00:00
|
|
|
[478] phi()
|
|
|
|
[479] call gfx_init_plane_blank
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init::@14
|
|
|
|
gfx_init::@14: scope:[gfx_init] from gfx_init::@13
|
2020-04-18 18:54:39 +00:00
|
|
|
[480] phi()
|
|
|
|
[481] call gfx_init_plane_full
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init::@return
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init::@return: scope:[gfx_init] from gfx_init::@14
|
2020-04-18 18:54:39 +00:00
|
|
|
[482] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_full()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_full: scope:[gfx_init_plane_full] from gfx_init::@14
|
2020-04-18 18:54:39 +00:00
|
|
|
[483] phi()
|
|
|
|
[484] call gfx_init_plane_fill
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_full::@return
|
|
|
|
gfx_init_plane_full::@return: scope:[gfx_init_plane_full] from gfx_init_plane_full
|
2020-04-18 18:54:39 +00:00
|
|
|
[485] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_fill((dword) gfx_init_plane_fill::plane_addr , (byte) gfx_init_plane_fill::fill)
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_fill: scope:[gfx_init_plane_fill] from gfx_init_plane_blank gfx_init_plane_full gfx_init_plane_vertical2
|
2020-04-18 18:54:39 +00:00
|
|
|
[486] (byte) gfx_init_plane_fill::fill#6 ← phi( gfx_init_plane_blank/(byte) 0 gfx_init_plane_full/(byte) $ff gfx_init_plane_vertical2/(byte) $1b )
|
|
|
|
[486] (dword) gfx_init_plane_fill::plane_addr#3 ← phi( gfx_init_plane_blank/(const nomodify dword) PLANE_BLANK gfx_init_plane_full/(const nomodify dword) PLANE_FULL gfx_init_plane_vertical2/(const nomodify dword) PLANE_VERTICAL2 )
|
|
|
|
[487] (dword~) gfx_init_plane_fill::$0 ← (dword) gfx_init_plane_fill::plane_addr#3 << (byte) 2
|
|
|
|
[488] (word~) gfx_init_plane_fill::$1 ← > (dword~) gfx_init_plane_fill::$0
|
|
|
|
[489] (byte) gfx_init_plane_fill::gfxbCpuBank#0 ← < (word~) gfx_init_plane_fill::$1
|
|
|
|
[490] (byte) dtvSetCpuBankSegment1::cpuBankIdx#11 ← (byte) gfx_init_plane_fill::gfxbCpuBank#0
|
|
|
|
[491] call dtvSetCpuBankSegment1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@5
|
|
|
|
gfx_init_plane_fill::@5: scope:[gfx_init_plane_fill] from gfx_init_plane_fill
|
2020-04-18 18:54:39 +00:00
|
|
|
[492] (word~) gfx_init_plane_fill::$4 ← < (dword) gfx_init_plane_fill::plane_addr#3
|
|
|
|
[493] (word~) gfx_init_plane_fill::$5 ← (word~) gfx_init_plane_fill::$4 & (word) $3fff
|
|
|
|
[494] (word) gfx_init_plane_fill::gfxb#0 ← (word) $4000 + (word~) gfx_init_plane_fill::$5
|
|
|
|
[495] (byte*) gfx_init_plane_fill::gfxb#6 ← (byte*)(word) gfx_init_plane_fill::gfxb#0
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@1
|
|
|
|
gfx_init_plane_fill::@1: scope:[gfx_init_plane_fill] from gfx_init_plane_fill::@3 gfx_init_plane_fill::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[496] (byte) gfx_init_plane_fill::by#4 ← phi( gfx_init_plane_fill::@3/(byte) gfx_init_plane_fill::by#1 gfx_init_plane_fill::@5/(byte) 0 )
|
|
|
|
[496] (byte*) gfx_init_plane_fill::gfxb#3 ← phi( gfx_init_plane_fill::@3/(byte*) gfx_init_plane_fill::gfxb#1 gfx_init_plane_fill::@5/(byte*) gfx_init_plane_fill::gfxb#6 )
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@2
|
|
|
|
gfx_init_plane_fill::@2: scope:[gfx_init_plane_fill] from gfx_init_plane_fill::@1 gfx_init_plane_fill::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[497] (byte) gfx_init_plane_fill::bx#2 ← phi( gfx_init_plane_fill::@1/(byte) 0 gfx_init_plane_fill::@2/(byte) gfx_init_plane_fill::bx#1 )
|
|
|
|
[497] (byte*) gfx_init_plane_fill::gfxb#2 ← phi( gfx_init_plane_fill::@1/(byte*) gfx_init_plane_fill::gfxb#3 gfx_init_plane_fill::@2/(byte*) gfx_init_plane_fill::gfxb#1 )
|
|
|
|
[498] *((byte*) gfx_init_plane_fill::gfxb#2) ← (byte) gfx_init_plane_fill::fill#6
|
|
|
|
[499] (byte*) gfx_init_plane_fill::gfxb#1 ← ++ (byte*) gfx_init_plane_fill::gfxb#2
|
|
|
|
[500] (byte) gfx_init_plane_fill::bx#1 ← ++ (byte) gfx_init_plane_fill::bx#2
|
|
|
|
[501] if((byte) gfx_init_plane_fill::bx#1!=(byte) $28) goto gfx_init_plane_fill::@2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@3
|
|
|
|
gfx_init_plane_fill::@3: scope:[gfx_init_plane_fill] from gfx_init_plane_fill::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[502] (byte) gfx_init_plane_fill::by#1 ← ++ (byte) gfx_init_plane_fill::by#4
|
|
|
|
[503] if((byte) gfx_init_plane_fill::by#1!=(byte) $c8) goto gfx_init_plane_fill::@1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@4
|
|
|
|
gfx_init_plane_fill::@4: scope:[gfx_init_plane_fill] from gfx_init_plane_fill::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[504] phi()
|
|
|
|
[505] call dtvSetCpuBankSegment1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_fill::@return
|
|
|
|
gfx_init_plane_fill::@return: scope:[gfx_init_plane_fill] from gfx_init_plane_fill::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[506] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) dtvSetCpuBankSegment1((byte) dtvSetCpuBankSegment1::cpuBankIdx)
|
2019-03-31 15:10:41 +00:00
|
|
|
dtvSetCpuBankSegment1: scope:[dtvSetCpuBankSegment1] from gfx_init_plane_8bppchunky gfx_init_plane_8bppchunky::@4 gfx_init_plane_8bppchunky::@6 gfx_init_plane_charset8 gfx_init_plane_charset8::@8 gfx_init_plane_fill gfx_init_plane_fill::@4 gfx_init_plane_horisontal gfx_init_plane_horisontal2 gfx_init_plane_horisontal2::@4 gfx_init_plane_horisontal::@7 gfx_init_plane_vertical gfx_init_plane_vertical::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[507] (byte) dtvSetCpuBankSegment1::cpuBankIdx#13 ← phi( gfx_init_plane_8bppchunky/(byte)(const nomodify dword) PLANE_8BPP_CHUNKY/(word) $4000 gfx_init_plane_8bppchunky::@4/(byte) dtvSetCpuBankSegment1::cpuBankIdx#1 gfx_init_plane_8bppchunky::@6/(byte)(number) $4000/(number) $4000 gfx_init_plane_charset8/(const byte) gfx_init_plane_charset8::gfxbCpuBank#0 gfx_init_plane_charset8::@8/(byte)(number) $4000/(number) $4000 gfx_init_plane_fill/(byte) dtvSetCpuBankSegment1::cpuBankIdx#11 gfx_init_plane_fill::@4/(byte)(number) $4000/(number) $4000 gfx_init_plane_horisontal/(const byte) gfx_init_plane_horisontal::gfxbCpuBank#0 gfx_init_plane_horisontal2/(const byte) gfx_init_plane_horisontal2::gfxbCpuBank#0 gfx_init_plane_horisontal2::@4/(byte)(number) $4000/(number) $4000 gfx_init_plane_horisontal::@7/(byte)(number) $4000/(number) $4000 gfx_init_plane_vertical/(const byte) gfx_init_plane_vertical::gfxbCpuBank#0 gfx_init_plane_vertical::@4/(byte)(number) $4000/(number) $4000 )
|
|
|
|
[508] *((const byte*) dtvSetCpuBankSegment1::cpuBank) ← (byte) dtvSetCpuBankSegment1::cpuBankIdx#13
|
2018-04-08 00:32:37 +00:00
|
|
|
asm { .byte$32,$dd lda$ff .byte$32,$00 }
|
|
|
|
to:dtvSetCpuBankSegment1::@return
|
|
|
|
dtvSetCpuBankSegment1::@return: scope:[dtvSetCpuBankSegment1] from dtvSetCpuBankSegment1
|
2020-04-18 18:54:39 +00:00
|
|
|
[510] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_blank()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_blank: scope:[gfx_init_plane_blank] from gfx_init::@13
|
2020-04-18 18:54:39 +00:00
|
|
|
[511] phi()
|
|
|
|
[512] call gfx_init_plane_fill
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_blank::@return
|
|
|
|
gfx_init_plane_blank::@return: scope:[gfx_init_plane_blank] from gfx_init_plane_blank
|
2020-04-18 18:54:39 +00:00
|
|
|
[513] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_vertical2()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_vertical2: scope:[gfx_init_plane_vertical2] from gfx_init::@12
|
2020-04-18 18:54:39 +00:00
|
|
|
[514] phi()
|
|
|
|
[515] call gfx_init_plane_fill
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_vertical2::@return
|
|
|
|
gfx_init_plane_vertical2::@return: scope:[gfx_init_plane_vertical2] from gfx_init_plane_vertical2
|
2020-04-18 18:54:39 +00:00
|
|
|
[516] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_horisontal2()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_horisontal2: scope:[gfx_init_plane_horisontal2] from gfx_init::@11
|
2020-04-18 18:54:39 +00:00
|
|
|
[517] phi()
|
|
|
|
[518] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal2::@1
|
|
|
|
gfx_init_plane_horisontal2::@1: scope:[gfx_init_plane_horisontal2] from gfx_init_plane_horisontal2 gfx_init_plane_horisontal2::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[519] (byte*) gfx_init_plane_horisontal2::gfxa#3 ← phi( gfx_init_plane_horisontal2::@3/(byte*) gfx_init_plane_horisontal2::gfxa#1 gfx_init_plane_horisontal2/(byte*)(word) $4000 )
|
|
|
|
[519] (byte) gfx_init_plane_horisontal2::ay#4 ← phi( gfx_init_plane_horisontal2::@3/(byte) gfx_init_plane_horisontal2::ay#1 gfx_init_plane_horisontal2/(byte) 0 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal2::@2
|
|
|
|
gfx_init_plane_horisontal2::@2: scope:[gfx_init_plane_horisontal2] from gfx_init_plane_horisontal2::@1 gfx_init_plane_horisontal2::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[520] (byte) gfx_init_plane_horisontal2::ax#2 ← phi( gfx_init_plane_horisontal2::@1/(byte) 0 gfx_init_plane_horisontal2::@2/(byte) gfx_init_plane_horisontal2::ax#1 )
|
|
|
|
[520] (byte*) gfx_init_plane_horisontal2::gfxa#2 ← phi( gfx_init_plane_horisontal2::@1/(byte*) gfx_init_plane_horisontal2::gfxa#3 gfx_init_plane_horisontal2::@2/(byte*) gfx_init_plane_horisontal2::gfxa#1 )
|
|
|
|
[521] (byte~) gfx_init_plane_horisontal2::$2 ← (byte) gfx_init_plane_horisontal2::ay#4 >> (byte) 1
|
|
|
|
[522] (byte) gfx_init_plane_horisontal2::row#0 ← (byte~) gfx_init_plane_horisontal2::$2 & (byte) 3
|
|
|
|
[523] *((byte*) gfx_init_plane_horisontal2::gfxa#2) ← *((const byte*) gfx_init_plane_horisontal2::row_bitmask + (byte) gfx_init_plane_horisontal2::row#0)
|
|
|
|
[524] (byte*) gfx_init_plane_horisontal2::gfxa#1 ← ++ (byte*) gfx_init_plane_horisontal2::gfxa#2
|
|
|
|
[525] (byte) gfx_init_plane_horisontal2::ax#1 ← ++ (byte) gfx_init_plane_horisontal2::ax#2
|
|
|
|
[526] if((byte) gfx_init_plane_horisontal2::ax#1!=(byte) $28) goto gfx_init_plane_horisontal2::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal2::@3
|
|
|
|
gfx_init_plane_horisontal2::@3: scope:[gfx_init_plane_horisontal2] from gfx_init_plane_horisontal2::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[527] (byte) gfx_init_plane_horisontal2::ay#1 ← ++ (byte) gfx_init_plane_horisontal2::ay#4
|
|
|
|
[528] if((byte) gfx_init_plane_horisontal2::ay#1!=(byte) $c8) goto gfx_init_plane_horisontal2::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal2::@4
|
|
|
|
gfx_init_plane_horisontal2::@4: scope:[gfx_init_plane_horisontal2] from gfx_init_plane_horisontal2::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[529] phi()
|
|
|
|
[530] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal2::@return
|
|
|
|
gfx_init_plane_horisontal2::@return: scope:[gfx_init_plane_horisontal2] from gfx_init_plane_horisontal2::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[531] return
|
2018-04-04 22:30:26 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_vertical()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_vertical: scope:[gfx_init_plane_vertical] from gfx_init::@10
|
2020-04-18 18:54:39 +00:00
|
|
|
[532] phi()
|
|
|
|
[533] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_vertical::@1
|
|
|
|
gfx_init_plane_vertical::@1: scope:[gfx_init_plane_vertical] from gfx_init_plane_vertical gfx_init_plane_vertical::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[534] (byte) gfx_init_plane_vertical::by#4 ← phi( gfx_init_plane_vertical::@3/(byte) gfx_init_plane_vertical::by#1 gfx_init_plane_vertical/(byte) 0 )
|
|
|
|
[534] (byte*) gfx_init_plane_vertical::gfxb#3 ← phi( gfx_init_plane_vertical::@3/(byte*) gfx_init_plane_vertical::gfxb#1 gfx_init_plane_vertical/(byte*)(word) $4000+(const nomodify dword) PLANE_VERTICAL&(word) $3fff )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_vertical::@2
|
|
|
|
gfx_init_plane_vertical::@2: scope:[gfx_init_plane_vertical] from gfx_init_plane_vertical::@1 gfx_init_plane_vertical::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[535] (byte) gfx_init_plane_vertical::bx#2 ← phi( gfx_init_plane_vertical::@1/(byte) 0 gfx_init_plane_vertical::@2/(byte) gfx_init_plane_vertical::bx#1 )
|
|
|
|
[535] (byte*) gfx_init_plane_vertical::gfxb#2 ← phi( gfx_init_plane_vertical::@1/(byte*) gfx_init_plane_vertical::gfxb#3 gfx_init_plane_vertical::@2/(byte*) gfx_init_plane_vertical::gfxb#1 )
|
|
|
|
[536] *((byte*) gfx_init_plane_vertical::gfxb#2) ← (byte) $f
|
|
|
|
[537] (byte*) gfx_init_plane_vertical::gfxb#1 ← ++ (byte*) gfx_init_plane_vertical::gfxb#2
|
|
|
|
[538] (byte) gfx_init_plane_vertical::bx#1 ← ++ (byte) gfx_init_plane_vertical::bx#2
|
|
|
|
[539] if((byte) gfx_init_plane_vertical::bx#1!=(byte) $28) goto gfx_init_plane_vertical::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_vertical::@3
|
|
|
|
gfx_init_plane_vertical::@3: scope:[gfx_init_plane_vertical] from gfx_init_plane_vertical::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[540] (byte) gfx_init_plane_vertical::by#1 ← ++ (byte) gfx_init_plane_vertical::by#4
|
|
|
|
[541] if((byte) gfx_init_plane_vertical::by#1!=(byte) $c8) goto gfx_init_plane_vertical::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_vertical::@4
|
|
|
|
gfx_init_plane_vertical::@4: scope:[gfx_init_plane_vertical] from gfx_init_plane_vertical::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[542] phi()
|
|
|
|
[543] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_vertical::@return
|
|
|
|
gfx_init_plane_vertical::@return: scope:[gfx_init_plane_vertical] from gfx_init_plane_vertical::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[544] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_horisontal()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_horisontal: scope:[gfx_init_plane_horisontal] from gfx_init::@9
|
2020-04-18 18:54:39 +00:00
|
|
|
[545] phi()
|
|
|
|
[546] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_init_plane_horisontal::@1: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal gfx_init_plane_horisontal::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[547] (byte*) gfx_init_plane_horisontal::gfxa#6 ← phi( gfx_init_plane_horisontal::@6/(byte*) gfx_init_plane_horisontal::gfxa#7 gfx_init_plane_horisontal/(byte*)(word) $4000 )
|
|
|
|
[547] (byte) gfx_init_plane_horisontal::ay#4 ← phi( gfx_init_plane_horisontal::@6/(byte) gfx_init_plane_horisontal::ay#1 gfx_init_plane_horisontal/(byte) 0 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@2
|
|
|
|
gfx_init_plane_horisontal::@2: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@1 gfx_init_plane_horisontal::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[548] (byte) gfx_init_plane_horisontal::ax#2 ← phi( gfx_init_plane_horisontal::@1/(byte) 0 gfx_init_plane_horisontal::@4/(byte) gfx_init_plane_horisontal::ax#1 )
|
|
|
|
[548] (byte*) gfx_init_plane_horisontal::gfxa#3 ← phi( gfx_init_plane_horisontal::@1/(byte*) gfx_init_plane_horisontal::gfxa#6 gfx_init_plane_horisontal::@4/(byte*) gfx_init_plane_horisontal::gfxa#7 )
|
|
|
|
[549] (byte~) gfx_init_plane_horisontal::$2 ← (byte) gfx_init_plane_horisontal::ay#4 & (byte) 4
|
|
|
|
[550] if((byte~) gfx_init_plane_horisontal::$2==(byte) 0) goto gfx_init_plane_horisontal::@3
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@5
|
|
|
|
gfx_init_plane_horisontal::@5: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[551] *((byte*) gfx_init_plane_horisontal::gfxa#3) ← (byte) $ff
|
|
|
|
[552] (byte*) gfx_init_plane_horisontal::gfxa#2 ← ++ (byte*) gfx_init_plane_horisontal::gfxa#3
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@4
|
|
|
|
gfx_init_plane_horisontal::@4: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@3 gfx_init_plane_horisontal::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[553] (byte*) gfx_init_plane_horisontal::gfxa#7 ← phi( gfx_init_plane_horisontal::@3/(byte*) gfx_init_plane_horisontal::gfxa#1 gfx_init_plane_horisontal::@5/(byte*) gfx_init_plane_horisontal::gfxa#2 )
|
|
|
|
[554] (byte) gfx_init_plane_horisontal::ax#1 ← ++ (byte) gfx_init_plane_horisontal::ax#2
|
|
|
|
[555] if((byte) gfx_init_plane_horisontal::ax#1!=(byte) $28) goto gfx_init_plane_horisontal::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_init_plane_horisontal::@6
|
|
|
|
gfx_init_plane_horisontal::@6: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[556] (byte) gfx_init_plane_horisontal::ay#1 ← ++ (byte) gfx_init_plane_horisontal::ay#4
|
|
|
|
[557] if((byte) gfx_init_plane_horisontal::ay#1!=(byte) $c8) goto gfx_init_plane_horisontal::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_init_plane_horisontal::@7
|
|
|
|
gfx_init_plane_horisontal::@7: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[558] phi()
|
|
|
|
[559] call dtvSetCpuBankSegment1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_init_plane_horisontal::@return: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[560] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
|
|
|
gfx_init_plane_horisontal::@3: scope:[gfx_init_plane_horisontal] from gfx_init_plane_horisontal::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[561] *((byte*) gfx_init_plane_horisontal::gfxa#3) ← (byte) 0
|
|
|
|
[562] (byte*) gfx_init_plane_horisontal::gfxa#1 ← ++ (byte*) gfx_init_plane_horisontal::gfxa#3
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_plane_horisontal::@4
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_charset8()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_charset8: scope:[gfx_init_plane_charset8] from gfx_init::@8
|
2020-04-18 18:54:39 +00:00
|
|
|
[563] phi()
|
|
|
|
[564] call dtvSetCpuBankSegment1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@9
|
|
|
|
gfx_init_plane_charset8::@9: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8
|
2020-04-18 18:54:39 +00:00
|
|
|
[565] *((const nomodify byte*) PROCPORT) ← (const nomodify byte) PROCPORT_RAM_CHARROM
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@1
|
|
|
|
gfx_init_plane_charset8::@1: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@7 gfx_init_plane_charset8::@9
|
2020-04-18 18:54:39 +00:00
|
|
|
[566] (byte) gfx_init_plane_charset8::ch#8 ← phi( gfx_init_plane_charset8::@7/(byte) gfx_init_plane_charset8::ch#1 gfx_init_plane_charset8::@9/(byte) 0 )
|
|
|
|
[566] (byte) gfx_init_plane_charset8::col#6 ← phi( gfx_init_plane_charset8::@7/(byte) gfx_init_plane_charset8::col#1 gfx_init_plane_charset8::@9/(byte) 0 )
|
|
|
|
[566] (byte*) gfx_init_plane_charset8::gfxa#6 ← phi( gfx_init_plane_charset8::@7/(byte*) gfx_init_plane_charset8::gfxa#1 gfx_init_plane_charset8::@9/(byte*)(word) $4000 )
|
|
|
|
[566] (byte*) gfx_init_plane_charset8::chargen#3 ← phi( gfx_init_plane_charset8::@7/(byte*) gfx_init_plane_charset8::chargen#1 gfx_init_plane_charset8::@9/(const nomodify byte*) CHARGEN )
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@2
|
|
|
|
gfx_init_plane_charset8::@2: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@1 gfx_init_plane_charset8::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[567] (byte) gfx_init_plane_charset8::cr#6 ← phi( gfx_init_plane_charset8::@1/(byte) 0 gfx_init_plane_charset8::@6/(byte) gfx_init_plane_charset8::cr#1 )
|
|
|
|
[567] (byte) gfx_init_plane_charset8::col#5 ← phi( gfx_init_plane_charset8::@1/(byte) gfx_init_plane_charset8::col#6 gfx_init_plane_charset8::@6/(byte) gfx_init_plane_charset8::col#1 )
|
|
|
|
[567] (byte*) gfx_init_plane_charset8::gfxa#5 ← phi( gfx_init_plane_charset8::@1/(byte*) gfx_init_plane_charset8::gfxa#6 gfx_init_plane_charset8::@6/(byte*) gfx_init_plane_charset8::gfxa#1 )
|
|
|
|
[567] (byte*) gfx_init_plane_charset8::chargen#2 ← phi( gfx_init_plane_charset8::@1/(byte*) gfx_init_plane_charset8::chargen#3 gfx_init_plane_charset8::@6/(byte*) gfx_init_plane_charset8::chargen#1 )
|
|
|
|
[568] (byte) gfx_init_plane_charset8::bits#0 ← *((byte*) gfx_init_plane_charset8::chargen#2)
|
|
|
|
[569] (byte*) gfx_init_plane_charset8::chargen#1 ← ++ (byte*) gfx_init_plane_charset8::chargen#2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@3
|
|
|
|
gfx_init_plane_charset8::@3: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@2 gfx_init_plane_charset8::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[570] (byte) gfx_init_plane_charset8::cp#2 ← phi( gfx_init_plane_charset8::@2/(byte) 0 gfx_init_plane_charset8::@4/(byte) gfx_init_plane_charset8::cp#1 )
|
|
|
|
[570] (byte) gfx_init_plane_charset8::col#2 ← phi( gfx_init_plane_charset8::@2/(byte) gfx_init_plane_charset8::col#5 gfx_init_plane_charset8::@4/(byte) gfx_init_plane_charset8::col#1 )
|
|
|
|
[570] (byte*) gfx_init_plane_charset8::gfxa#2 ← phi( gfx_init_plane_charset8::@2/(byte*) gfx_init_plane_charset8::gfxa#5 gfx_init_plane_charset8::@4/(byte*) gfx_init_plane_charset8::gfxa#1 )
|
|
|
|
[570] (byte) gfx_init_plane_charset8::bits#2 ← phi( gfx_init_plane_charset8::@2/(byte) gfx_init_plane_charset8::bits#0 gfx_init_plane_charset8::@4/(byte) gfx_init_plane_charset8::bits#1 )
|
|
|
|
[571] (byte~) gfx_init_plane_charset8::$2 ← (byte) gfx_init_plane_charset8::bits#2 & (byte) $80
|
|
|
|
[572] if((byte~) gfx_init_plane_charset8::$2==(byte) 0) goto gfx_init_plane_charset8::@4
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@5
|
|
|
|
gfx_init_plane_charset8::@5: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[573] (byte) gfx_init_plane_charset8::c#3 ← (byte) gfx_init_plane_charset8::col#2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@4
|
|
|
|
gfx_init_plane_charset8::@4: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@3 gfx_init_plane_charset8::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[574] (byte) gfx_init_plane_charset8::c#2 ← phi( gfx_init_plane_charset8::@3/(byte) 0 gfx_init_plane_charset8::@5/(byte) gfx_init_plane_charset8::c#3 )
|
|
|
|
[575] *((byte*) gfx_init_plane_charset8::gfxa#2) ← (byte) gfx_init_plane_charset8::c#2
|
|
|
|
[576] (byte*) gfx_init_plane_charset8::gfxa#1 ← ++ (byte*) gfx_init_plane_charset8::gfxa#2
|
|
|
|
[577] (byte) gfx_init_plane_charset8::bits#1 ← (byte) gfx_init_plane_charset8::bits#2 << (byte) 1
|
|
|
|
[578] (byte) gfx_init_plane_charset8::col#1 ← ++ (byte) gfx_init_plane_charset8::col#2
|
|
|
|
[579] (byte) gfx_init_plane_charset8::cp#1 ← ++ (byte) gfx_init_plane_charset8::cp#2
|
|
|
|
[580] if((byte) gfx_init_plane_charset8::cp#1!=(byte) 8) goto gfx_init_plane_charset8::@3
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@6
|
|
|
|
gfx_init_plane_charset8::@6: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[581] (byte) gfx_init_plane_charset8::cr#1 ← ++ (byte) gfx_init_plane_charset8::cr#6
|
|
|
|
[582] if((byte) gfx_init_plane_charset8::cr#1!=(byte) 8) goto gfx_init_plane_charset8::@2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@7
|
|
|
|
gfx_init_plane_charset8::@7: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[583] (byte) gfx_init_plane_charset8::ch#1 ← ++ (byte) gfx_init_plane_charset8::ch#8
|
|
|
|
[584] if((byte) gfx_init_plane_charset8::ch#1!=(byte) 0) goto gfx_init_plane_charset8::@1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@8
|
|
|
|
gfx_init_plane_charset8::@8: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[585] *((const nomodify byte*) PROCPORT) ← (const nomodify byte) PROCPORT_RAM_IO
|
|
|
|
[586] call dtvSetCpuBankSegment1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_plane_charset8::@return
|
|
|
|
gfx_init_plane_charset8::@return: scope:[gfx_init_plane_charset8] from gfx_init_plane_charset8::@8
|
2020-04-18 18:54:39 +00:00
|
|
|
[587] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_plane_8bppchunky()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_plane_8bppchunky: scope:[gfx_init_plane_8bppchunky] from gfx_init::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[588] phi()
|
|
|
|
[589] call dtvSetCpuBankSegment1
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@1
|
|
|
|
gfx_init_plane_8bppchunky::@1: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky gfx_init_plane_8bppchunky::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[590] (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#7 ← phi( gfx_init_plane_8bppchunky::@5/(byte) gfx_init_plane_8bppchunky::gfxbCpuBank#8 gfx_init_plane_8bppchunky/++(byte)(const nomodify dword) PLANE_8BPP_CHUNKY/(word) $4000 )
|
|
|
|
[590] (byte) gfx_init_plane_8bppchunky::y#6 ← phi( gfx_init_plane_8bppchunky::@5/(byte) gfx_init_plane_8bppchunky::y#1 gfx_init_plane_8bppchunky/(byte) 0 )
|
|
|
|
[590] (byte*) gfx_init_plane_8bppchunky::gfxb#5 ← phi( gfx_init_plane_8bppchunky::@5/(byte*) gfx_init_plane_8bppchunky::gfxb#1 gfx_init_plane_8bppchunky/(byte*) 16384 )
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@2
|
|
|
|
gfx_init_plane_8bppchunky::@2: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@1 gfx_init_plane_8bppchunky::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[591] (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#4 ← phi( gfx_init_plane_8bppchunky::@1/(byte) gfx_init_plane_8bppchunky::gfxbCpuBank#7 gfx_init_plane_8bppchunky::@3/(byte) gfx_init_plane_8bppchunky::gfxbCpuBank#8 )
|
|
|
|
[591] (word) gfx_init_plane_8bppchunky::x#2 ← phi( gfx_init_plane_8bppchunky::@1/(word) 0 gfx_init_plane_8bppchunky::@3/(word) gfx_init_plane_8bppchunky::x#1 )
|
|
|
|
[591] (byte*) gfx_init_plane_8bppchunky::gfxb#3 ← phi( gfx_init_plane_8bppchunky::@1/(byte*) gfx_init_plane_8bppchunky::gfxb#5 gfx_init_plane_8bppchunky::@3/(byte*) gfx_init_plane_8bppchunky::gfxb#1 )
|
|
|
|
[592] if((byte*) gfx_init_plane_8bppchunky::gfxb#3!=(word) $8000) goto gfx_init_plane_8bppchunky::@3
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@4
|
|
|
|
gfx_init_plane_8bppchunky::@4: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[593] (byte) dtvSetCpuBankSegment1::cpuBankIdx#1 ← (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#4
|
|
|
|
[594] call dtvSetCpuBankSegment1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@7
|
|
|
|
gfx_init_plane_8bppchunky::@7: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[595] (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#2 ← ++ (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#4
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
gfx_init_plane_8bppchunky::@3: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@2 gfx_init_plane_8bppchunky::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[596] (byte) gfx_init_plane_8bppchunky::gfxbCpuBank#8 ← phi( gfx_init_plane_8bppchunky::@2/(byte) gfx_init_plane_8bppchunky::gfxbCpuBank#4 gfx_init_plane_8bppchunky::@7/(byte) gfx_init_plane_8bppchunky::gfxbCpuBank#2 )
|
|
|
|
[596] (byte*) gfx_init_plane_8bppchunky::gfxb#4 ← phi( gfx_init_plane_8bppchunky::@2/(byte*) gfx_init_plane_8bppchunky::gfxb#3 gfx_init_plane_8bppchunky::@7/(byte*) 16384 )
|
|
|
|
[597] (word~) gfx_init_plane_8bppchunky::$5 ← (word) gfx_init_plane_8bppchunky::x#2 + (byte) gfx_init_plane_8bppchunky::y#6
|
|
|
|
[598] (byte) gfx_init_plane_8bppchunky::c#0 ← (byte)(word~) gfx_init_plane_8bppchunky::$5
|
|
|
|
[599] *((byte*) gfx_init_plane_8bppchunky::gfxb#4) ← (byte) gfx_init_plane_8bppchunky::c#0
|
|
|
|
[600] (byte*) gfx_init_plane_8bppchunky::gfxb#1 ← ++ (byte*) gfx_init_plane_8bppchunky::gfxb#4
|
|
|
|
[601] (word) gfx_init_plane_8bppchunky::x#1 ← ++ (word) gfx_init_plane_8bppchunky::x#2
|
|
|
|
[602] if((word) gfx_init_plane_8bppchunky::x#1!=(word) $140) goto gfx_init_plane_8bppchunky::@2
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@5
|
|
|
|
gfx_init_plane_8bppchunky::@5: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[603] (byte) gfx_init_plane_8bppchunky::y#1 ← ++ (byte) gfx_init_plane_8bppchunky::y#6
|
|
|
|
[604] if((byte) gfx_init_plane_8bppchunky::y#1!=(byte) $c8) goto gfx_init_plane_8bppchunky::@1
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@6
|
|
|
|
gfx_init_plane_8bppchunky::@6: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[605] phi()
|
|
|
|
[606] call dtvSetCpuBankSegment1
|
2018-04-04 22:30:26 +00:00
|
|
|
to:gfx_init_plane_8bppchunky::@return
|
|
|
|
gfx_init_plane_8bppchunky::@return: scope:[gfx_init_plane_8bppchunky] from gfx_init_plane_8bppchunky::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[607] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_vic_bitmap()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_vic_bitmap: scope:[gfx_init_vic_bitmap] from gfx_init::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[608] phi()
|
|
|
|
[609] call bitmap_init
|
2019-08-07 09:27:55 +00:00
|
|
|
to:gfx_init_vic_bitmap::@3
|
|
|
|
gfx_init_vic_bitmap::@3: scope:[gfx_init_vic_bitmap] from gfx_init_vic_bitmap
|
2020-04-18 18:54:39 +00:00
|
|
|
[610] phi()
|
|
|
|
[611] call bitmap_clear
|
2018-04-07 15:03:36 +00:00
|
|
|
to:gfx_init_vic_bitmap::@1
|
2019-08-25 20:21:56 +00:00
|
|
|
gfx_init_vic_bitmap::@1: scope:[gfx_init_vic_bitmap] from gfx_init_vic_bitmap::@3 gfx_init_vic_bitmap::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[612] (byte) gfx_init_vic_bitmap::l#2 ← phi( gfx_init_vic_bitmap::@3/(byte) 0 gfx_init_vic_bitmap::@4/(byte) gfx_init_vic_bitmap::l#1 )
|
|
|
|
[613] if((byte) gfx_init_vic_bitmap::l#2<(const byte) gfx_init_vic_bitmap::lines_cnt) goto gfx_init_vic_bitmap::@2
|
2018-04-07 15:03:36 +00:00
|
|
|
to:gfx_init_vic_bitmap::@return
|
2019-08-07 09:27:55 +00:00
|
|
|
gfx_init_vic_bitmap::@return: scope:[gfx_init_vic_bitmap] from gfx_init_vic_bitmap::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[614] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-08-25 20:21:56 +00:00
|
|
|
gfx_init_vic_bitmap::@2: scope:[gfx_init_vic_bitmap] from gfx_init_vic_bitmap::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[615] (byte) bitmap_line::x0#0 ← *((const byte*) gfx_init_vic_bitmap::lines_x + (byte) gfx_init_vic_bitmap::l#2)
|
|
|
|
[616] (byte) bitmap_line::x1#0 ← *((const byte*) gfx_init_vic_bitmap::lines_x+(byte) 1 + (byte) gfx_init_vic_bitmap::l#2)
|
|
|
|
[617] (byte) bitmap_line::y0#0 ← *((const byte*) gfx_init_vic_bitmap::lines_y + (byte) gfx_init_vic_bitmap::l#2)
|
|
|
|
[618] (byte) bitmap_line::y1#0 ← *((const byte*) gfx_init_vic_bitmap::lines_y+(byte) 1 + (byte) gfx_init_vic_bitmap::l#2)
|
|
|
|
[619] call bitmap_line
|
2019-08-25 20:21:56 +00:00
|
|
|
to:gfx_init_vic_bitmap::@4
|
|
|
|
gfx_init_vic_bitmap::@4: scope:[gfx_init_vic_bitmap] from gfx_init_vic_bitmap::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[620] (byte) gfx_init_vic_bitmap::l#1 ← ++ (byte) gfx_init_vic_bitmap::l#2
|
2019-08-25 20:21:56 +00:00
|
|
|
to:gfx_init_vic_bitmap::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_line((byte) bitmap_line::x0 , (byte) bitmap_line::x1 , (byte) bitmap_line::y0 , (byte) bitmap_line::y1)
|
2019-08-07 09:27:55 +00:00
|
|
|
bitmap_line: scope:[bitmap_line] from gfx_init_vic_bitmap::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[621] if((byte) bitmap_line::x0#0<(byte) bitmap_line::x1#0) goto bitmap_line::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@2
|
|
|
|
bitmap_line::@2: scope:[bitmap_line] from bitmap_line
|
2020-04-18 18:54:39 +00:00
|
|
|
[622] (byte) bitmap_line::xd#2 ← (byte) bitmap_line::x0#0 - (byte) bitmap_line::x1#0
|
|
|
|
[623] if((byte) bitmap_line::y0#0<(byte) bitmap_line::y1#0) goto bitmap_line::@7
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@3
|
|
|
|
bitmap_line::@3: scope:[bitmap_line] from bitmap_line::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[624] (byte) bitmap_line::yd#2 ← (byte) bitmap_line::y0#0 - (byte) bitmap_line::y1#0
|
|
|
|
[625] if((byte) bitmap_line::yd#2<(byte) bitmap_line::xd#2) goto bitmap_line::@8
|
2019-03-29 23:15:53 +00:00
|
|
|
to:bitmap_line::@4
|
|
|
|
bitmap_line::@4: scope:[bitmap_line] from bitmap_line::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[626] (byte) bitmap_line_ydxi::y#0 ← (byte) bitmap_line::y1#0
|
|
|
|
[627] (byte) bitmap_line_ydxi::x#0 ← (byte) bitmap_line::x1#0
|
|
|
|
[628] (byte) bitmap_line_ydxi::y1#0 ← (byte) bitmap_line::y0#0
|
|
|
|
[629] (byte) bitmap_line_ydxi::yd#0 ← (byte) bitmap_line::yd#2
|
|
|
|
[630] (byte) bitmap_line_ydxi::xd#0 ← (byte) bitmap_line::xd#2
|
|
|
|
[631] call bitmap_line_ydxi
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@return: scope:[bitmap_line] from bitmap_line::@10 bitmap_line::@12 bitmap_line::@13 bitmap_line::@14 bitmap_line::@4 bitmap_line::@6 bitmap_line::@8 bitmap_line::@9
|
2020-04-18 18:54:39 +00:00
|
|
|
[632] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@8: scope:[bitmap_line] from bitmap_line::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[633] (byte) bitmap_line_xdyi::x#0 ← (byte) bitmap_line::x1#0
|
|
|
|
[634] (byte) bitmap_line_xdyi::y#0 ← (byte) bitmap_line::y1#0
|
|
|
|
[635] (byte) bitmap_line_xdyi::x1#0 ← (byte) bitmap_line::x0#0
|
|
|
|
[636] (byte) bitmap_line_xdyi::xd#0 ← (byte) bitmap_line::xd#2
|
|
|
|
[637] (byte) bitmap_line_xdyi::yd#0 ← (byte) bitmap_line::yd#2
|
|
|
|
[638] call bitmap_line_xdyi
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@7: scope:[bitmap_line] from bitmap_line::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[639] (byte) bitmap_line::yd#1 ← (byte) bitmap_line::y1#0 - (byte) bitmap_line::y0#0
|
|
|
|
[640] if((byte) bitmap_line::yd#1<(byte) bitmap_line::xd#2) goto bitmap_line::@9
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@10
|
|
|
|
bitmap_line::@10: scope:[bitmap_line] from bitmap_line::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[641] (byte) bitmap_line_ydxd::y#0 ← (byte) bitmap_line::y0#0
|
|
|
|
[642] (byte) bitmap_line_ydxd::x#0 ← (byte) bitmap_line::x0#0
|
|
|
|
[643] (byte) bitmap_line_ydxd::y1#0 ← (byte) bitmap_line::y1#0
|
|
|
|
[644] (byte) bitmap_line_ydxd::yd#0 ← (byte) bitmap_line::yd#1
|
|
|
|
[645] (byte) bitmap_line_ydxd::xd#0 ← (byte) bitmap_line::xd#2
|
|
|
|
[646] call bitmap_line_ydxd
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@9: scope:[bitmap_line] from bitmap_line::@7
|
2020-04-18 18:54:39 +00:00
|
|
|
[647] (byte) bitmap_line_xdyd::x#0 ← (byte) bitmap_line::x1#0
|
|
|
|
[648] (byte) bitmap_line_xdyd::y#0 ← (byte) bitmap_line::y1#0
|
|
|
|
[649] (byte) bitmap_line_xdyd::x1#0 ← (byte) bitmap_line::x0#0
|
|
|
|
[650] (byte) bitmap_line_xdyd::xd#0 ← (byte) bitmap_line::xd#2
|
|
|
|
[651] (byte) bitmap_line_xdyd::yd#0 ← (byte) bitmap_line::yd#1
|
|
|
|
[652] call bitmap_line_xdyd
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
|
|
|
bitmap_line::@1: scope:[bitmap_line] from bitmap_line
|
2020-04-18 18:54:39 +00:00
|
|
|
[653] (byte) bitmap_line::xd#1 ← (byte) bitmap_line::x1#0 - (byte) bitmap_line::x0#0
|
|
|
|
[654] if((byte) bitmap_line::y0#0<(byte) bitmap_line::y1#0) goto bitmap_line::@11
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@5
|
|
|
|
bitmap_line::@5: scope:[bitmap_line] from bitmap_line::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[655] (byte) bitmap_line::yd#10 ← (byte) bitmap_line::y0#0 - (byte) bitmap_line::y1#0
|
|
|
|
[656] if((byte) bitmap_line::yd#10<(byte) bitmap_line::xd#1) goto bitmap_line::@12
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@6
|
|
|
|
bitmap_line::@6: scope:[bitmap_line] from bitmap_line::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[657] (byte) bitmap_line_ydxd::y#1 ← (byte) bitmap_line::y1#0
|
|
|
|
[658] (byte) bitmap_line_ydxd::x#1 ← (byte) bitmap_line::x1#0
|
|
|
|
[659] (byte) bitmap_line_ydxd::y1#1 ← (byte) bitmap_line::y0#0
|
|
|
|
[660] (byte) bitmap_line_ydxd::yd#1 ← (byte) bitmap_line::yd#10
|
|
|
|
[661] (byte) bitmap_line_ydxd::xd#1 ← (byte) bitmap_line::xd#1
|
|
|
|
[662] call bitmap_line_ydxd
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@12: scope:[bitmap_line] from bitmap_line::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[663] (byte) bitmap_line_xdyd::x#1 ← (byte) bitmap_line::x0#0
|
|
|
|
[664] (byte) bitmap_line_xdyd::y#1 ← (byte) bitmap_line::y0#0
|
|
|
|
[665] (byte) bitmap_line_xdyd::x1#1 ← (byte) bitmap_line::x1#0
|
|
|
|
[666] (byte) bitmap_line_xdyd::xd#1 ← (byte) bitmap_line::xd#1
|
|
|
|
[667] (byte) bitmap_line_xdyd::yd#1 ← (byte) bitmap_line::yd#10
|
|
|
|
[668] call bitmap_line_xdyd
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@11: scope:[bitmap_line] from bitmap_line::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[669] (byte) bitmap_line::yd#11 ← (byte) bitmap_line::y1#0 - (byte) bitmap_line::y0#0
|
|
|
|
[670] if((byte) bitmap_line::yd#11<(byte) bitmap_line::xd#1) goto bitmap_line::@13
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line::@14
|
|
|
|
bitmap_line::@14: scope:[bitmap_line] from bitmap_line::@11
|
2020-04-18 18:54:39 +00:00
|
|
|
[671] (byte) bitmap_line_ydxi::y#1 ← (byte) bitmap_line::y0#0
|
|
|
|
[672] (byte) bitmap_line_ydxi::x#1 ← (byte) bitmap_line::x0#0
|
|
|
|
[673] (byte) bitmap_line_ydxi::y1#1 ← (byte) bitmap_line::y1#0
|
|
|
|
[674] (byte) bitmap_line_ydxi::yd#1 ← (byte) bitmap_line::yd#11
|
|
|
|
[675] (byte) bitmap_line_ydxi::xd#1 ← (byte) bitmap_line::xd#1
|
|
|
|
[676] call bitmap_line_ydxi
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line::@13: scope:[bitmap_line] from bitmap_line::@11
|
2020-04-18 18:54:39 +00:00
|
|
|
[677] (byte) bitmap_line_xdyi::x#1 ← (byte) bitmap_line::x0#0
|
|
|
|
[678] (byte) bitmap_line_xdyi::y#1 ← (byte) bitmap_line::y0#0
|
|
|
|
[679] (byte) bitmap_line_xdyi::x1#1 ← (byte) bitmap_line::x1#0
|
|
|
|
[680] (byte) bitmap_line_xdyi::xd#1 ← (byte) bitmap_line::xd#1
|
|
|
|
[681] (byte) bitmap_line_xdyi::yd#1 ← (byte) bitmap_line::yd#11
|
|
|
|
[682] call bitmap_line_xdyi
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line::@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_line_xdyi((byte) bitmap_line_xdyi::x , (byte) bitmap_line_xdyi::y , (byte) bitmap_line_xdyi::x1 , (byte) bitmap_line_xdyi::xd , (byte) bitmap_line_xdyi::yd)
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyi: scope:[bitmap_line_xdyi] from bitmap_line::@13 bitmap_line::@8
|
2020-04-25 18:10:49 +00:00
|
|
|
[683] (byte) bitmap_line_xdyi::x1#6 ← phi( bitmap_line::@13/(byte) bitmap_line_xdyi::x1#1 bitmap_line::@8/(byte) bitmap_line_xdyi::x1#0 )
|
|
|
|
[683] (byte) bitmap_line_xdyi::xd#5 ← phi( bitmap_line::@13/(byte) bitmap_line_xdyi::xd#1 bitmap_line::@8/(byte) bitmap_line_xdyi::xd#0 )
|
|
|
|
[683] (byte) bitmap_line_xdyi::y#5 ← phi( bitmap_line::@13/(byte) bitmap_line_xdyi::y#1 bitmap_line::@8/(byte) bitmap_line_xdyi::y#0 )
|
|
|
|
[683] (byte) bitmap_line_xdyi::x#6 ← phi( bitmap_line::@13/(byte) bitmap_line_xdyi::x#1 bitmap_line::@8/(byte) bitmap_line_xdyi::x#0 )
|
|
|
|
[683] (byte) bitmap_line_xdyi::yd#2 ← phi( bitmap_line::@13/(byte) bitmap_line_xdyi::yd#1 bitmap_line::@8/(byte) bitmap_line_xdyi::yd#0 )
|
2020-04-18 18:54:39 +00:00
|
|
|
[684] (byte) bitmap_line_xdyi::e#0 ← (byte) bitmap_line_xdyi::yd#2 >> (byte) 1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyi::@1
|
|
|
|
bitmap_line_xdyi::@1: scope:[bitmap_line_xdyi] from bitmap_line_xdyi bitmap_line_xdyi::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[685] (byte) bitmap_line_xdyi::e#3 ← phi( bitmap_line_xdyi/(byte) bitmap_line_xdyi::e#0 bitmap_line_xdyi::@2/(byte) bitmap_line_xdyi::e#6 )
|
|
|
|
[685] (byte) bitmap_line_xdyi::y#3 ← phi( bitmap_line_xdyi/(byte) bitmap_line_xdyi::y#5 bitmap_line_xdyi::@2/(byte) bitmap_line_xdyi::y#6 )
|
|
|
|
[685] (byte) bitmap_line_xdyi::x#3 ← phi( bitmap_line_xdyi/(byte) bitmap_line_xdyi::x#6 bitmap_line_xdyi::@2/(byte) bitmap_line_xdyi::x#2 )
|
|
|
|
[686] (byte) bitmap_plot::x#0 ← (byte) bitmap_line_xdyi::x#3
|
|
|
|
[687] (byte) bitmap_plot::y#0 ← (byte) bitmap_line_xdyi::y#3
|
|
|
|
[688] call bitmap_plot
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line_xdyi::@4
|
|
|
|
bitmap_line_xdyi::@4: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[689] (byte) bitmap_line_xdyi::x#2 ← ++ (byte) bitmap_line_xdyi::x#3
|
|
|
|
[690] (byte) bitmap_line_xdyi::e#1 ← (byte) bitmap_line_xdyi::e#3 + (byte) bitmap_line_xdyi::yd#2
|
|
|
|
[691] if((byte) bitmap_line_xdyi::xd#5>=(byte) bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyi::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyi::@3: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[692] (byte) bitmap_line_xdyi::y#2 ← ++ (byte) bitmap_line_xdyi::y#3
|
|
|
|
[693] (byte) bitmap_line_xdyi::e#2 ← (byte) bitmap_line_xdyi::e#1 - (byte) bitmap_line_xdyi::xd#5
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyi::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyi::@2: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[694] (byte) bitmap_line_xdyi::e#6 ← phi( bitmap_line_xdyi::@3/(byte) bitmap_line_xdyi::e#2 bitmap_line_xdyi::@4/(byte) bitmap_line_xdyi::e#1 )
|
|
|
|
[694] (byte) bitmap_line_xdyi::y#6 ← phi( bitmap_line_xdyi::@3/(byte) bitmap_line_xdyi::y#2 bitmap_line_xdyi::@4/(byte) bitmap_line_xdyi::y#3 )
|
|
|
|
[695] (byte~) bitmap_line_xdyi::$6 ← (byte) bitmap_line_xdyi::x1#6 + (byte) 1
|
|
|
|
[696] if((byte) bitmap_line_xdyi::x#2!=(byte~) bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyi::@return
|
|
|
|
bitmap_line_xdyi::@return: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[697] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_plot((byte) bitmap_plot::x , (byte) bitmap_plot::y)
|
2018-04-21 19:38:30 +00:00
|
|
|
bitmap_plot: scope:[bitmap_plot] from bitmap_line_xdyd::@1 bitmap_line_xdyi::@1 bitmap_line_ydxd::@1 bitmap_line_ydxi::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[698] (byte) bitmap_plot::y#4 ← phi( bitmap_line_xdyd::@1/(byte) bitmap_plot::y#1 bitmap_line_xdyi::@1/(byte) bitmap_plot::y#0 bitmap_line_ydxd::@1/(byte) bitmap_plot::y#3 bitmap_line_ydxi::@1/(byte) bitmap_plot::y#2 )
|
|
|
|
[698] (byte) bitmap_plot::x#4 ← phi( bitmap_line_xdyd::@1/(byte) bitmap_plot::x#1 bitmap_line_xdyi::@1/(byte) bitmap_plot::x#0 bitmap_line_ydxd::@1/(byte) bitmap_plot::x#3 bitmap_line_ydxi::@1/(byte) bitmap_plot::x#2 )
|
|
|
|
[699] (word) bitmap_plot::plotter_x#0 ← *((const to_nomodify byte*) bitmap_plot_xhi + (byte) bitmap_plot::x#4) w= *((const to_nomodify byte*) bitmap_plot_xlo + (byte) bitmap_plot::x#4)
|
|
|
|
[700] (word) bitmap_plot::plotter_y#0 ← *((const to_nomodify byte*) bitmap_plot_yhi + (byte) bitmap_plot::y#4) w= *((const to_nomodify byte*) bitmap_plot_ylo + (byte) bitmap_plot::y#4)
|
|
|
|
[701] (word) bitmap_plot::plotter#0 ← (word) bitmap_plot::plotter_x#0 + (word) bitmap_plot::plotter_y#0
|
|
|
|
[702] (byte~) bitmap_plot::$1 ← *((byte*)(word) bitmap_plot::plotter#0) | *((const to_nomodify byte*) bitmap_plot_bit + (byte) bitmap_plot::x#4)
|
|
|
|
[703] *((byte*)(word) bitmap_plot::plotter#0) ← (byte~) bitmap_plot::$1
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_plot::@return
|
|
|
|
bitmap_plot::@return: scope:[bitmap_plot] from bitmap_plot
|
2020-04-18 18:54:39 +00:00
|
|
|
[704] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_line_ydxi((byte) bitmap_line_ydxi::y , (byte) bitmap_line_ydxi::x , (byte) bitmap_line_ydxi::y1 , (byte) bitmap_line_ydxi::yd , (byte) bitmap_line_ydxi::xd)
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxi: scope:[bitmap_line_ydxi] from bitmap_line::@14 bitmap_line::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[705] (byte) bitmap_line_ydxi::y1#6 ← phi( bitmap_line::@14/(byte) bitmap_line_ydxi::y1#1 bitmap_line::@4/(byte) bitmap_line_ydxi::y1#0 )
|
|
|
|
[705] (byte) bitmap_line_ydxi::yd#5 ← phi( bitmap_line::@14/(byte) bitmap_line_ydxi::yd#1 bitmap_line::@4/(byte) bitmap_line_ydxi::yd#0 )
|
|
|
|
[705] (byte) bitmap_line_ydxi::y#6 ← phi( bitmap_line::@14/(byte) bitmap_line_ydxi::y#1 bitmap_line::@4/(byte) bitmap_line_ydxi::y#0 )
|
|
|
|
[705] (byte) bitmap_line_ydxi::x#5 ← phi( bitmap_line::@14/(byte) bitmap_line_ydxi::x#1 bitmap_line::@4/(byte) bitmap_line_ydxi::x#0 )
|
|
|
|
[705] (byte) bitmap_line_ydxi::xd#2 ← phi( bitmap_line::@14/(byte) bitmap_line_ydxi::xd#1 bitmap_line::@4/(byte) bitmap_line_ydxi::xd#0 )
|
|
|
|
[706] (byte) bitmap_line_ydxi::e#0 ← (byte) bitmap_line_ydxi::xd#2 >> (byte) 1
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxi::@1
|
|
|
|
bitmap_line_ydxi::@1: scope:[bitmap_line_ydxi] from bitmap_line_ydxi bitmap_line_ydxi::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[707] (byte) bitmap_line_ydxi::e#3 ← phi( bitmap_line_ydxi/(byte) bitmap_line_ydxi::e#0 bitmap_line_ydxi::@2/(byte) bitmap_line_ydxi::e#6 )
|
|
|
|
[707] (byte) bitmap_line_ydxi::y#3 ← phi( bitmap_line_ydxi/(byte) bitmap_line_ydxi::y#6 bitmap_line_ydxi::@2/(byte) bitmap_line_ydxi::y#2 )
|
|
|
|
[707] (byte) bitmap_line_ydxi::x#3 ← phi( bitmap_line_ydxi/(byte) bitmap_line_ydxi::x#5 bitmap_line_ydxi::@2/(byte) bitmap_line_ydxi::x#6 )
|
|
|
|
[708] (byte) bitmap_plot::x#2 ← (byte) bitmap_line_ydxi::x#3
|
|
|
|
[709] (byte) bitmap_plot::y#2 ← (byte) bitmap_line_ydxi::y#3
|
|
|
|
[710] call bitmap_plot
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line_ydxi::@4
|
|
|
|
bitmap_line_ydxi::@4: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[711] (byte) bitmap_line_ydxi::y#2 ← ++ (byte) bitmap_line_ydxi::y#3
|
|
|
|
[712] (byte) bitmap_line_ydxi::e#1 ← (byte) bitmap_line_ydxi::e#3 + (byte) bitmap_line_ydxi::xd#2
|
|
|
|
[713] if((byte) bitmap_line_ydxi::yd#5>=(byte) bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxi::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxi::@3: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[714] (byte) bitmap_line_ydxi::x#2 ← ++ (byte) bitmap_line_ydxi::x#3
|
|
|
|
[715] (byte) bitmap_line_ydxi::e#2 ← (byte) bitmap_line_ydxi::e#1 - (byte) bitmap_line_ydxi::yd#5
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxi::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxi::@2: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[716] (byte) bitmap_line_ydxi::e#6 ← phi( bitmap_line_ydxi::@3/(byte) bitmap_line_ydxi::e#2 bitmap_line_ydxi::@4/(byte) bitmap_line_ydxi::e#1 )
|
|
|
|
[716] (byte) bitmap_line_ydxi::x#6 ← phi( bitmap_line_ydxi::@3/(byte) bitmap_line_ydxi::x#2 bitmap_line_ydxi::@4/(byte) bitmap_line_ydxi::x#3 )
|
|
|
|
[717] (byte~) bitmap_line_ydxi::$6 ← (byte) bitmap_line_ydxi::y1#6 + (byte) 1
|
|
|
|
[718] if((byte) bitmap_line_ydxi::y#2!=(byte~) bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxi::@return
|
|
|
|
bitmap_line_ydxi::@return: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[719] return
|
2018-04-21 19:38:30 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_line_xdyd((byte) bitmap_line_xdyd::x , (byte) bitmap_line_xdyd::y , (byte) bitmap_line_xdyd::x1 , (byte) bitmap_line_xdyd::xd , (byte) bitmap_line_xdyd::yd)
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyd: scope:[bitmap_line_xdyd] from bitmap_line::@12 bitmap_line::@9
|
2020-04-25 18:10:49 +00:00
|
|
|
[720] (byte) bitmap_line_xdyd::x1#6 ← phi( bitmap_line::@12/(byte) bitmap_line_xdyd::x1#1 bitmap_line::@9/(byte) bitmap_line_xdyd::x1#0 )
|
|
|
|
[720] (byte) bitmap_line_xdyd::xd#5 ← phi( bitmap_line::@12/(byte) bitmap_line_xdyd::xd#1 bitmap_line::@9/(byte) bitmap_line_xdyd::xd#0 )
|
|
|
|
[720] (byte) bitmap_line_xdyd::y#5 ← phi( bitmap_line::@12/(byte) bitmap_line_xdyd::y#1 bitmap_line::@9/(byte) bitmap_line_xdyd::y#0 )
|
|
|
|
[720] (byte) bitmap_line_xdyd::x#6 ← phi( bitmap_line::@12/(byte) bitmap_line_xdyd::x#1 bitmap_line::@9/(byte) bitmap_line_xdyd::x#0 )
|
|
|
|
[720] (byte) bitmap_line_xdyd::yd#2 ← phi( bitmap_line::@12/(byte) bitmap_line_xdyd::yd#1 bitmap_line::@9/(byte) bitmap_line_xdyd::yd#0 )
|
2020-04-18 18:54:39 +00:00
|
|
|
[721] (byte) bitmap_line_xdyd::e#0 ← (byte) bitmap_line_xdyd::yd#2 >> (byte) 1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyd::@1
|
|
|
|
bitmap_line_xdyd::@1: scope:[bitmap_line_xdyd] from bitmap_line_xdyd bitmap_line_xdyd::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[722] (byte) bitmap_line_xdyd::e#3 ← phi( bitmap_line_xdyd/(byte) bitmap_line_xdyd::e#0 bitmap_line_xdyd::@2/(byte) bitmap_line_xdyd::e#6 )
|
|
|
|
[722] (byte) bitmap_line_xdyd::y#3 ← phi( bitmap_line_xdyd/(byte) bitmap_line_xdyd::y#5 bitmap_line_xdyd::@2/(byte) bitmap_line_xdyd::y#6 )
|
|
|
|
[722] (byte) bitmap_line_xdyd::x#3 ← phi( bitmap_line_xdyd/(byte) bitmap_line_xdyd::x#6 bitmap_line_xdyd::@2/(byte) bitmap_line_xdyd::x#2 )
|
|
|
|
[723] (byte) bitmap_plot::x#1 ← (byte) bitmap_line_xdyd::x#3
|
|
|
|
[724] (byte) bitmap_plot::y#1 ← (byte) bitmap_line_xdyd::y#3
|
|
|
|
[725] call bitmap_plot
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line_xdyd::@4
|
|
|
|
bitmap_line_xdyd::@4: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[726] (byte) bitmap_line_xdyd::x#2 ← ++ (byte) bitmap_line_xdyd::x#3
|
|
|
|
[727] (byte) bitmap_line_xdyd::e#1 ← (byte) bitmap_line_xdyd::e#3 + (byte) bitmap_line_xdyd::yd#2
|
|
|
|
[728] if((byte) bitmap_line_xdyd::xd#5>=(byte) bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyd::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyd::@3: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[729] (byte) bitmap_line_xdyd::y#2 ← -- (byte) bitmap_line_xdyd::y#3
|
|
|
|
[730] (byte) bitmap_line_xdyd::e#2 ← (byte) bitmap_line_xdyd::e#1 - (byte) bitmap_line_xdyd::xd#5
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyd::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_xdyd::@2: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[731] (byte) bitmap_line_xdyd::e#6 ← phi( bitmap_line_xdyd::@3/(byte) bitmap_line_xdyd::e#2 bitmap_line_xdyd::@4/(byte) bitmap_line_xdyd::e#1 )
|
|
|
|
[731] (byte) bitmap_line_xdyd::y#6 ← phi( bitmap_line_xdyd::@3/(byte) bitmap_line_xdyd::y#2 bitmap_line_xdyd::@4/(byte) bitmap_line_xdyd::y#3 )
|
|
|
|
[732] (byte~) bitmap_line_xdyd::$6 ← (byte) bitmap_line_xdyd::x1#6 + (byte) 1
|
|
|
|
[733] if((byte) bitmap_line_xdyd::x#2!=(byte~) bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_line_xdyd::@return
|
|
|
|
bitmap_line_xdyd::@return: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[734] return
|
2018-04-21 19:38:30 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_line_ydxd((byte) bitmap_line_ydxd::y , (byte) bitmap_line_ydxd::x , (byte) bitmap_line_ydxd::y1 , (byte) bitmap_line_ydxd::yd , (byte) bitmap_line_ydxd::xd)
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxd: scope:[bitmap_line_ydxd] from bitmap_line::@10 bitmap_line::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[735] (byte) bitmap_line_ydxd::y1#6 ← phi( bitmap_line::@10/(byte) bitmap_line_ydxd::y1#0 bitmap_line::@6/(byte) bitmap_line_ydxd::y1#1 )
|
|
|
|
[735] (byte) bitmap_line_ydxd::yd#5 ← phi( bitmap_line::@10/(byte) bitmap_line_ydxd::yd#0 bitmap_line::@6/(byte) bitmap_line_ydxd::yd#1 )
|
|
|
|
[735] (byte) bitmap_line_ydxd::y#7 ← phi( bitmap_line::@10/(byte) bitmap_line_ydxd::y#0 bitmap_line::@6/(byte) bitmap_line_ydxd::y#1 )
|
|
|
|
[735] (byte) bitmap_line_ydxd::x#5 ← phi( bitmap_line::@10/(byte) bitmap_line_ydxd::x#0 bitmap_line::@6/(byte) bitmap_line_ydxd::x#1 )
|
|
|
|
[735] (byte) bitmap_line_ydxd::xd#2 ← phi( bitmap_line::@10/(byte) bitmap_line_ydxd::xd#0 bitmap_line::@6/(byte) bitmap_line_ydxd::xd#1 )
|
|
|
|
[736] (byte) bitmap_line_ydxd::e#0 ← (byte) bitmap_line_ydxd::xd#2 >> (byte) 1
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxd::@1
|
|
|
|
bitmap_line_ydxd::@1: scope:[bitmap_line_ydxd] from bitmap_line_ydxd bitmap_line_ydxd::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[737] (byte) bitmap_line_ydxd::e#3 ← phi( bitmap_line_ydxd/(byte) bitmap_line_ydxd::e#0 bitmap_line_ydxd::@2/(byte) bitmap_line_ydxd::e#6 )
|
|
|
|
[737] (byte) bitmap_line_ydxd::y#2 ← phi( bitmap_line_ydxd/(byte) bitmap_line_ydxd::y#7 bitmap_line_ydxd::@2/(byte) bitmap_line_ydxd::y#3 )
|
|
|
|
[737] (byte) bitmap_line_ydxd::x#3 ← phi( bitmap_line_ydxd/(byte) bitmap_line_ydxd::x#5 bitmap_line_ydxd::@2/(byte) bitmap_line_ydxd::x#6 )
|
|
|
|
[738] (byte) bitmap_plot::x#3 ← (byte) bitmap_line_ydxd::x#3
|
|
|
|
[739] (byte) bitmap_plot::y#3 ← (byte) bitmap_line_ydxd::y#2
|
|
|
|
[740] call bitmap_plot
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_line_ydxd::@4
|
|
|
|
bitmap_line_ydxd::@4: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[741] (byte) bitmap_line_ydxd::y#3 ← ++ (byte) bitmap_line_ydxd::y#2
|
|
|
|
[742] (byte) bitmap_line_ydxd::e#1 ← (byte) bitmap_line_ydxd::e#3 + (byte) bitmap_line_ydxd::xd#2
|
|
|
|
[743] if((byte) bitmap_line_ydxd::yd#5>=(byte) bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxd::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxd::@3: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[744] (byte) bitmap_line_ydxd::x#2 ← -- (byte) bitmap_line_ydxd::x#3
|
|
|
|
[745] (byte) bitmap_line_ydxd::e#2 ← (byte) bitmap_line_ydxd::e#1 - (byte) bitmap_line_ydxd::yd#5
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxd::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_line_ydxd::@2: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[746] (byte) bitmap_line_ydxd::e#6 ← phi( bitmap_line_ydxd::@3/(byte) bitmap_line_ydxd::e#2 bitmap_line_ydxd::@4/(byte) bitmap_line_ydxd::e#1 )
|
|
|
|
[746] (byte) bitmap_line_ydxd::x#6 ← phi( bitmap_line_ydxd::@3/(byte) bitmap_line_ydxd::x#2 bitmap_line_ydxd::@4/(byte) bitmap_line_ydxd::x#3 )
|
|
|
|
[747] (byte~) bitmap_line_ydxd::$6 ← (byte) bitmap_line_ydxd::y1#6 + (byte) 1
|
|
|
|
[748] if((byte) bitmap_line_ydxd::y#3!=(byte~) bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1
|
2018-04-21 19:38:30 +00:00
|
|
|
to:bitmap_line_ydxd::@return
|
|
|
|
bitmap_line_ydxd::@return: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[749] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_clear()
|
2019-08-07 09:27:55 +00:00
|
|
|
bitmap_clear: scope:[bitmap_clear] from gfx_init_vic_bitmap::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[750] (word) bitmap_clear::bitmap#0 ← *((const to_nomodify byte*) bitmap_plot_xhi) w= *((const to_nomodify byte*) bitmap_plot_xlo)
|
|
|
|
[751] (byte*) bitmap_clear::bitmap#5 ← (byte*)(word) bitmap_clear::bitmap#0
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_clear::@1
|
|
|
|
bitmap_clear::@1: scope:[bitmap_clear] from bitmap_clear bitmap_clear::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[752] (byte) bitmap_clear::y#4 ← phi( bitmap_clear/(byte) 0 bitmap_clear::@3/(byte) bitmap_clear::y#1 )
|
|
|
|
[752] (byte*) bitmap_clear::bitmap#3 ← phi( bitmap_clear/(byte*) bitmap_clear::bitmap#5 bitmap_clear::@3/(byte*) bitmap_clear::bitmap#1 )
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_clear::@2
|
|
|
|
bitmap_clear::@2: scope:[bitmap_clear] from bitmap_clear::@1 bitmap_clear::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[753] (byte) bitmap_clear::x#2 ← phi( bitmap_clear::@1/(byte) 0 bitmap_clear::@2/(byte) bitmap_clear::x#1 )
|
|
|
|
[753] (byte*) bitmap_clear::bitmap#2 ← phi( bitmap_clear::@1/(byte*) bitmap_clear::bitmap#3 bitmap_clear::@2/(byte*) bitmap_clear::bitmap#1 )
|
|
|
|
[754] *((byte*) bitmap_clear::bitmap#2) ← (byte) 0
|
|
|
|
[755] (byte*) bitmap_clear::bitmap#1 ← ++ (byte*) bitmap_clear::bitmap#2
|
|
|
|
[756] (byte) bitmap_clear::x#1 ← ++ (byte) bitmap_clear::x#2
|
|
|
|
[757] if((byte) bitmap_clear::x#1!=(byte) $c8) goto bitmap_clear::@2
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_clear::@3
|
|
|
|
bitmap_clear::@3: scope:[bitmap_clear] from bitmap_clear::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[758] (byte) bitmap_clear::y#1 ← ++ (byte) bitmap_clear::y#4
|
|
|
|
[759] if((byte) bitmap_clear::y#1!=(byte) $28) goto bitmap_clear::@1
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_clear::@return
|
|
|
|
bitmap_clear::@return: scope:[bitmap_clear] from bitmap_clear::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[760] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) bitmap_init((byte*) bitmap_init::bitmap)
|
2018-04-07 15:03:36 +00:00
|
|
|
bitmap_init: scope:[bitmap_init] from gfx_init_vic_bitmap
|
2020-04-18 18:54:39 +00:00
|
|
|
[761] phi()
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_init::@1
|
|
|
|
bitmap_init::@1: scope:[bitmap_init] from bitmap_init bitmap_init::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[762] (byte) bitmap_init::bits#3 ← phi( bitmap_init/(byte) $80 bitmap_init::@2/(byte) bitmap_init::bits#4 )
|
|
|
|
[762] (byte) bitmap_init::x#2 ← phi( bitmap_init/(byte) 0 bitmap_init::@2/(byte) bitmap_init::x#1 )
|
|
|
|
[763] (byte~) bitmap_init::$0 ← (byte) bitmap_init::x#2 & (byte) $f8
|
|
|
|
[764] *((const to_nomodify byte*) bitmap_plot_xlo + (byte) bitmap_init::x#2) ← (byte~) bitmap_init::$0
|
|
|
|
[765] *((const to_nomodify byte*) bitmap_plot_xhi + (byte) bitmap_init::x#2) ← >(const nomodify byte*) VIC_BITMAP
|
|
|
|
[766] *((const to_nomodify byte*) bitmap_plot_bit + (byte) bitmap_init::x#2) ← (byte) bitmap_init::bits#3
|
|
|
|
[767] (byte) bitmap_init::bits#1 ← (byte) bitmap_init::bits#3 >> (byte) 1
|
|
|
|
[768] if((byte) bitmap_init::bits#1!=(byte) 0) goto bitmap_init::@6
|
2019-05-30 20:29:04 +00:00
|
|
|
to:bitmap_init::@2
|
|
|
|
bitmap_init::@6: scope:[bitmap_init] from bitmap_init::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[769] phi()
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_init::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_init::@2: scope:[bitmap_init] from bitmap_init::@1 bitmap_init::@6
|
2020-04-18 18:54:39 +00:00
|
|
|
[770] (byte) bitmap_init::bits#4 ← phi( bitmap_init::@6/(byte) bitmap_init::bits#1 bitmap_init::@1/(byte) $80 )
|
|
|
|
[771] (byte) bitmap_init::x#1 ← ++ (byte) bitmap_init::x#2
|
|
|
|
[772] if((byte) bitmap_init::x#1!=(byte) 0) goto bitmap_init::@1
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_init::@3
|
|
|
|
bitmap_init::@3: scope:[bitmap_init] from bitmap_init::@2 bitmap_init::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[773] (byte*) bitmap_init::yoffs#2 ← phi( bitmap_init::@2/(byte*) 0 bitmap_init::@4/(byte*) bitmap_init::yoffs#4 )
|
|
|
|
[773] (byte) bitmap_init::y#2 ← phi( bitmap_init::@2/(byte) 0 bitmap_init::@4/(byte) bitmap_init::y#1 )
|
|
|
|
[774] (byte~) bitmap_init::$10 ← (byte) bitmap_init::y#2 & (byte) 7
|
|
|
|
[775] (byte~) bitmap_init::$7 ← < (byte*) bitmap_init::yoffs#2
|
|
|
|
[776] (byte~) bitmap_init::$8 ← (byte~) bitmap_init::$10 | (byte~) bitmap_init::$7
|
|
|
|
[777] *((const to_nomodify byte*) bitmap_plot_ylo + (byte) bitmap_init::y#2) ← (byte~) bitmap_init::$8
|
|
|
|
[778] (byte~) bitmap_init::$9 ← > (byte*) bitmap_init::yoffs#2
|
|
|
|
[779] *((const to_nomodify byte*) bitmap_plot_yhi + (byte) bitmap_init::y#2) ← (byte~) bitmap_init::$9
|
|
|
|
[780] if((byte~) bitmap_init::$10!=(byte) 7) goto bitmap_init::@4
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_init::@5
|
|
|
|
bitmap_init::@5: scope:[bitmap_init] from bitmap_init::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[781] (byte*) bitmap_init::yoffs#1 ← (byte*) bitmap_init::yoffs#2 + (word)(number) $28*(number) 8
|
2019-03-31 15:10:41 +00:00
|
|
|
to:bitmap_init::@4
|
|
|
|
bitmap_init::@4: scope:[bitmap_init] from bitmap_init::@3 bitmap_init::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[782] (byte*) bitmap_init::yoffs#4 ← phi( bitmap_init::@3/(byte*) bitmap_init::yoffs#2 bitmap_init::@5/(byte*) bitmap_init::yoffs#1 )
|
|
|
|
[783] (byte) bitmap_init::y#1 ← ++ (byte) bitmap_init::y#2
|
|
|
|
[784] if((byte) bitmap_init::y#1!=(byte) 0) goto bitmap_init::@3
|
2018-04-07 15:03:36 +00:00
|
|
|
to:bitmap_init::@return
|
2019-03-31 15:10:41 +00:00
|
|
|
bitmap_init::@return: scope:[bitmap_init] from bitmap_init::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[785] return
|
2018-04-07 15:03:36 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_charset()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_charset: scope:[gfx_init_charset] from gfx_init::@5
|
2020-04-18 18:54:39 +00:00
|
|
|
[786] *((const nomodify byte*) PROCPORT) ← (byte) $32
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_charset::@1
|
|
|
|
gfx_init_charset::@1: scope:[gfx_init_charset] from gfx_init_charset gfx_init_charset::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[787] (byte) gfx_init_charset::c#4 ← phi( gfx_init_charset/(byte) 0 gfx_init_charset::@3/(byte) gfx_init_charset::c#1 )
|
|
|
|
[787] (byte*) gfx_init_charset::charset#3 ← phi( gfx_init_charset/(const nomodify byte*) VIC_CHARSET_ROM gfx_init_charset::@3/(byte*) gfx_init_charset::charset#1 )
|
|
|
|
[787] (byte*) gfx_init_charset::chargen#3 ← phi( gfx_init_charset/(const nomodify byte*) CHARGEN gfx_init_charset::@3/(byte*) gfx_init_charset::chargen#1 )
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_charset::@2
|
|
|
|
gfx_init_charset::@2: scope:[gfx_init_charset] from gfx_init_charset::@1 gfx_init_charset::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[788] (byte) gfx_init_charset::l#2 ← phi( gfx_init_charset::@1/(byte) 0 gfx_init_charset::@2/(byte) gfx_init_charset::l#1 )
|
|
|
|
[788] (byte*) gfx_init_charset::charset#2 ← phi( gfx_init_charset::@1/(byte*) gfx_init_charset::charset#3 gfx_init_charset::@2/(byte*) gfx_init_charset::charset#1 )
|
|
|
|
[788] (byte*) gfx_init_charset::chargen#2 ← phi( gfx_init_charset::@1/(byte*) gfx_init_charset::chargen#3 gfx_init_charset::@2/(byte*) gfx_init_charset::chargen#1 )
|
|
|
|
[789] *((byte*) gfx_init_charset::charset#2) ← *((byte*) gfx_init_charset::chargen#2)
|
|
|
|
[790] (byte*) gfx_init_charset::charset#1 ← ++ (byte*) gfx_init_charset::charset#2
|
|
|
|
[791] (byte*) gfx_init_charset::chargen#1 ← ++ (byte*) gfx_init_charset::chargen#2
|
|
|
|
[792] (byte) gfx_init_charset::l#1 ← ++ (byte) gfx_init_charset::l#2
|
|
|
|
[793] if((byte) gfx_init_charset::l#1!=(byte) 8) goto gfx_init_charset::@2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_charset::@3
|
|
|
|
gfx_init_charset::@3: scope:[gfx_init_charset] from gfx_init_charset::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[794] (byte) gfx_init_charset::c#1 ← ++ (byte) gfx_init_charset::c#4
|
|
|
|
[795] if((byte) gfx_init_charset::c#1!=(byte) 0) goto gfx_init_charset::@1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_charset::@4
|
|
|
|
gfx_init_charset::@4: scope:[gfx_init_charset] from gfx_init_charset::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[796] *((const nomodify byte*) PROCPORT) ← (byte) $37
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_charset::@return
|
|
|
|
gfx_init_charset::@return: scope:[gfx_init_charset] from gfx_init_charset::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[797] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_screen4()
|
2018-04-13 23:08:08 +00:00
|
|
|
gfx_init_screen4: scope:[gfx_init_screen4] from gfx_init::@4
|
2020-04-18 18:54:39 +00:00
|
|
|
[798] phi()
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_screen4::@1
|
|
|
|
gfx_init_screen4::@1: scope:[gfx_init_screen4] from gfx_init_screen4 gfx_init_screen4::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[799] (byte) gfx_init_screen4::cy#4 ← phi( gfx_init_screen4/(byte) 0 gfx_init_screen4::@3/(byte) gfx_init_screen4::cy#1 )
|
|
|
|
[799] (byte*) gfx_init_screen4::ch#3 ← phi( gfx_init_screen4/(const nomodify byte*) VIC_SCREEN4 gfx_init_screen4::@3/(byte*) gfx_init_screen4::ch#1 )
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_screen4::@2
|
|
|
|
gfx_init_screen4::@2: scope:[gfx_init_screen4] from gfx_init_screen4::@1 gfx_init_screen4::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[800] (byte) gfx_init_screen4::cx#2 ← phi( gfx_init_screen4::@1/(byte) 0 gfx_init_screen4::@2/(byte) gfx_init_screen4::cx#1 )
|
|
|
|
[800] (byte*) gfx_init_screen4::ch#2 ← phi( gfx_init_screen4::@1/(byte*) gfx_init_screen4::ch#3 gfx_init_screen4::@2/(byte*) gfx_init_screen4::ch#1 )
|
|
|
|
[801] *((byte*) gfx_init_screen4::ch#2) ← (byte) 0
|
|
|
|
[802] (byte*) gfx_init_screen4::ch#1 ← ++ (byte*) gfx_init_screen4::ch#2
|
|
|
|
[803] (byte) gfx_init_screen4::cx#1 ← ++ (byte) gfx_init_screen4::cx#2
|
|
|
|
[804] if((byte) gfx_init_screen4::cx#1!=(byte) $28) goto gfx_init_screen4::@2
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_screen4::@3
|
|
|
|
gfx_init_screen4::@3: scope:[gfx_init_screen4] from gfx_init_screen4::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[805] (byte) gfx_init_screen4::cy#1 ← ++ (byte) gfx_init_screen4::cy#4
|
|
|
|
[806] if((byte) gfx_init_screen4::cy#1!=(byte) $19) goto gfx_init_screen4::@1
|
2018-04-13 23:08:08 +00:00
|
|
|
to:gfx_init_screen4::@return
|
|
|
|
gfx_init_screen4::@return: scope:[gfx_init_screen4] from gfx_init_screen4::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[807] return
|
2018-04-13 23:08:08 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_screen3()
|
2018-04-08 00:32:37 +00:00
|
|
|
gfx_init_screen3: scope:[gfx_init_screen3] from gfx_init::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[808] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen3::@1
|
|
|
|
gfx_init_screen3::@1: scope:[gfx_init_screen3] from gfx_init_screen3 gfx_init_screen3::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[809] (byte*) gfx_init_screen3::ch#3 ← phi( gfx_init_screen3/(const nomodify byte*) VIC_SCREEN3 gfx_init_screen3::@3/(byte*) gfx_init_screen3::ch#1 )
|
|
|
|
[809] (byte) gfx_init_screen3::cy#4 ← phi( gfx_init_screen3/(byte) 0 gfx_init_screen3::@3/(byte) gfx_init_screen3::cy#1 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen3::@2
|
|
|
|
gfx_init_screen3::@2: scope:[gfx_init_screen3] from gfx_init_screen3::@1 gfx_init_screen3::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[810] (byte*) gfx_init_screen3::ch#2 ← phi( gfx_init_screen3::@1/(byte*) gfx_init_screen3::ch#3 gfx_init_screen3::@2/(byte*) gfx_init_screen3::ch#1 )
|
|
|
|
[810] (byte) gfx_init_screen3::cx#2 ← phi( gfx_init_screen3::@1/(byte) 0 gfx_init_screen3::@2/(byte) gfx_init_screen3::cx#1 )
|
|
|
|
[811] (byte~) gfx_init_screen3::$0 ← (byte) gfx_init_screen3::cx#2 & (byte) 3
|
|
|
|
[812] (byte~) gfx_init_screen3::$1 ← (byte~) gfx_init_screen3::$0 << (byte) 4
|
|
|
|
[813] (byte~) gfx_init_screen3::$2 ← (byte) gfx_init_screen3::cy#4 & (byte) 3
|
|
|
|
[814] (byte~) gfx_init_screen3::$3 ← (byte~) gfx_init_screen3::$1 | (byte~) gfx_init_screen3::$2
|
|
|
|
[815] *((byte*) gfx_init_screen3::ch#2) ← (byte~) gfx_init_screen3::$3
|
|
|
|
[816] (byte*) gfx_init_screen3::ch#1 ← ++ (byte*) gfx_init_screen3::ch#2
|
|
|
|
[817] (byte) gfx_init_screen3::cx#1 ← ++ (byte) gfx_init_screen3::cx#2
|
|
|
|
[818] if((byte) gfx_init_screen3::cx#1!=(byte) $28) goto gfx_init_screen3::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen3::@3
|
|
|
|
gfx_init_screen3::@3: scope:[gfx_init_screen3] from gfx_init_screen3::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[819] (byte) gfx_init_screen3::cy#1 ← ++ (byte) gfx_init_screen3::cy#4
|
|
|
|
[820] if((byte) gfx_init_screen3::cy#1!=(byte) $19) goto gfx_init_screen3::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen3::@return
|
|
|
|
gfx_init_screen3::@return: scope:[gfx_init_screen3] from gfx_init_screen3::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[821] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_screen2()
|
2018-04-08 00:32:37 +00:00
|
|
|
gfx_init_screen2: scope:[gfx_init_screen2] from gfx_init::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[822] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen2::@1
|
|
|
|
gfx_init_screen2::@1: scope:[gfx_init_screen2] from gfx_init_screen2 gfx_init_screen2::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[823] (byte*) gfx_init_screen2::ch#3 ← phi( gfx_init_screen2/(const nomodify byte*) VIC_SCREEN2 gfx_init_screen2::@3/(byte*) gfx_init_screen2::ch#1 )
|
|
|
|
[823] (byte) gfx_init_screen2::cy#4 ← phi( gfx_init_screen2/(byte) 0 gfx_init_screen2::@3/(byte) gfx_init_screen2::cy#1 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen2::@2
|
|
|
|
gfx_init_screen2::@2: scope:[gfx_init_screen2] from gfx_init_screen2::@1 gfx_init_screen2::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[824] (byte*) gfx_init_screen2::ch#2 ← phi( gfx_init_screen2::@1/(byte*) gfx_init_screen2::ch#3 gfx_init_screen2::@2/(byte*) gfx_init_screen2::ch#1 )
|
|
|
|
[824] (byte) gfx_init_screen2::cx#2 ← phi( gfx_init_screen2::@1/(byte) 0 gfx_init_screen2::@2/(byte) gfx_init_screen2::cx#1 )
|
|
|
|
[825] (byte~) gfx_init_screen2::$0 ← (byte) gfx_init_screen2::cx#2 + (byte) gfx_init_screen2::cy#4
|
|
|
|
[826] (byte) gfx_init_screen2::col#0 ← (byte~) gfx_init_screen2::$0 & (byte) $f
|
|
|
|
[827] (byte) gfx_init_screen2::col2#0 ← (byte) $f - (byte) gfx_init_screen2::col#0
|
|
|
|
[828] (byte~) gfx_init_screen2::$3 ← (byte) gfx_init_screen2::col#0 << (byte) 4
|
|
|
|
[829] (byte~) gfx_init_screen2::$4 ← (byte~) gfx_init_screen2::$3 | (byte) gfx_init_screen2::col2#0
|
|
|
|
[830] *((byte*) gfx_init_screen2::ch#2) ← (byte~) gfx_init_screen2::$4
|
|
|
|
[831] (byte*) gfx_init_screen2::ch#1 ← ++ (byte*) gfx_init_screen2::ch#2
|
|
|
|
[832] (byte) gfx_init_screen2::cx#1 ← ++ (byte) gfx_init_screen2::cx#2
|
|
|
|
[833] if((byte) gfx_init_screen2::cx#1!=(byte) $28) goto gfx_init_screen2::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen2::@3
|
|
|
|
gfx_init_screen2::@3: scope:[gfx_init_screen2] from gfx_init_screen2::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[834] (byte) gfx_init_screen2::cy#1 ← ++ (byte) gfx_init_screen2::cy#4
|
|
|
|
[835] if((byte) gfx_init_screen2::cy#1!=(byte) $19) goto gfx_init_screen2::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen2::@return
|
|
|
|
gfx_init_screen2::@return: scope:[gfx_init_screen2] from gfx_init_screen2::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[836] return
|
2018-04-08 00:32:37 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_screen1()
|
2018-04-08 00:32:37 +00:00
|
|
|
gfx_init_screen1: scope:[gfx_init_screen1] from gfx_init::@1
|
2020-04-18 18:54:39 +00:00
|
|
|
[837] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen1::@1
|
|
|
|
gfx_init_screen1::@1: scope:[gfx_init_screen1] from gfx_init_screen1 gfx_init_screen1::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[838] (byte*) gfx_init_screen1::ch#3 ← phi( gfx_init_screen1/(const nomodify byte*) VIC_SCREEN1 gfx_init_screen1::@3/(byte*) gfx_init_screen1::ch#1 )
|
|
|
|
[838] (byte) gfx_init_screen1::cy#4 ← phi( gfx_init_screen1/(byte) 0 gfx_init_screen1::@3/(byte) gfx_init_screen1::cy#1 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen1::@2
|
|
|
|
gfx_init_screen1::@2: scope:[gfx_init_screen1] from gfx_init_screen1::@1 gfx_init_screen1::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[839] (byte*) gfx_init_screen1::ch#2 ← phi( gfx_init_screen1::@1/(byte*) gfx_init_screen1::ch#3 gfx_init_screen1::@2/(byte*) gfx_init_screen1::ch#1 )
|
|
|
|
[839] (byte) gfx_init_screen1::cx#2 ← phi( gfx_init_screen1::@1/(byte) 0 gfx_init_screen1::@2/(byte) gfx_init_screen1::cx#1 )
|
|
|
|
[840] (byte~) gfx_init_screen1::$0 ← (byte) gfx_init_screen1::cx#2 + (byte) gfx_init_screen1::cy#4
|
|
|
|
[841] (byte~) gfx_init_screen1::$1 ← (byte~) gfx_init_screen1::$0 & (byte) $f
|
|
|
|
[842] *((byte*) gfx_init_screen1::ch#2) ← (byte~) gfx_init_screen1::$1
|
|
|
|
[843] (byte*) gfx_init_screen1::ch#1 ← ++ (byte*) gfx_init_screen1::ch#2
|
|
|
|
[844] (byte) gfx_init_screen1::cx#1 ← ++ (byte) gfx_init_screen1::cx#2
|
|
|
|
[845] if((byte) gfx_init_screen1::cx#1!=(byte) $28) goto gfx_init_screen1::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen1::@3
|
|
|
|
gfx_init_screen1::@3: scope:[gfx_init_screen1] from gfx_init_screen1::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[846] (byte) gfx_init_screen1::cy#1 ← ++ (byte) gfx_init_screen1::cy#4
|
|
|
|
[847] if((byte) gfx_init_screen1::cy#1!=(byte) $19) goto gfx_init_screen1::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen1::@return
|
|
|
|
gfx_init_screen1::@return: scope:[gfx_init_screen1] from gfx_init_screen1::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[848] return
|
2018-04-07 14:01:35 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) gfx_init_screen0()
|
2018-04-08 00:32:37 +00:00
|
|
|
gfx_init_screen0: scope:[gfx_init_screen0] from gfx_init
|
2020-04-18 18:54:39 +00:00
|
|
|
[849] phi()
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen0::@1
|
|
|
|
gfx_init_screen0::@1: scope:[gfx_init_screen0] from gfx_init_screen0 gfx_init_screen0::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[850] (byte*) gfx_init_screen0::ch#3 ← phi( gfx_init_screen0/(const nomodify byte*) VIC_SCREEN0 gfx_init_screen0::@3/(byte*) gfx_init_screen0::ch#1 )
|
|
|
|
[850] (byte) gfx_init_screen0::cy#4 ← phi( gfx_init_screen0/(byte) 0 gfx_init_screen0::@3/(byte) gfx_init_screen0::cy#1 )
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen0::@2
|
|
|
|
gfx_init_screen0::@2: scope:[gfx_init_screen0] from gfx_init_screen0::@1 gfx_init_screen0::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[851] (byte*) gfx_init_screen0::ch#2 ← phi( gfx_init_screen0::@1/(byte*) gfx_init_screen0::ch#3 gfx_init_screen0::@2/(byte*) gfx_init_screen0::ch#1 )
|
|
|
|
[851] (byte) gfx_init_screen0::cx#2 ← phi( gfx_init_screen0::@1/(byte) 0 gfx_init_screen0::@2/(byte) gfx_init_screen0::cx#1 )
|
|
|
|
[852] (byte~) gfx_init_screen0::$0 ← (byte) gfx_init_screen0::cy#4 & (byte) $f
|
|
|
|
[853] (byte~) gfx_init_screen0::$1 ← (byte~) gfx_init_screen0::$0 << (byte) 4
|
|
|
|
[854] (byte~) gfx_init_screen0::$2 ← (byte) gfx_init_screen0::cx#2 & (byte) $f
|
|
|
|
[855] (byte~) gfx_init_screen0::$3 ← (byte~) gfx_init_screen0::$1 | (byte~) gfx_init_screen0::$2
|
|
|
|
[856] *((byte*) gfx_init_screen0::ch#2) ← (byte~) gfx_init_screen0::$3
|
|
|
|
[857] (byte*) gfx_init_screen0::ch#1 ← ++ (byte*) gfx_init_screen0::ch#2
|
|
|
|
[858] (byte) gfx_init_screen0::cx#1 ← ++ (byte) gfx_init_screen0::cx#2
|
|
|
|
[859] if((byte) gfx_init_screen0::cx#1!=(byte) $28) goto gfx_init_screen0::@2
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen0::@3
|
|
|
|
gfx_init_screen0::@3: scope:[gfx_init_screen0] from gfx_init_screen0::@2
|
2020-04-18 18:54:39 +00:00
|
|
|
[860] (byte) gfx_init_screen0::cy#1 ← ++ (byte) gfx_init_screen0::cy#4
|
|
|
|
[861] if((byte) gfx_init_screen0::cy#1!=(byte) $19) goto gfx_init_screen0::@1
|
2018-04-08 00:32:37 +00:00
|
|
|
to:gfx_init_screen0::@return
|
|
|
|
gfx_init_screen0::@return: scope:[gfx_init_screen0] from gfx_init_screen0::@3
|
2020-04-18 18:54:39 +00:00
|
|
|
[862] return
|
2018-04-04 22:30:26 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) keyboard_init()
|
2018-04-04 22:30:26 +00:00
|
|
|
keyboard_init: scope:[keyboard_init] from main
|
2020-04-26 21:30:04 +00:00
|
|
|
[863] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) ← (byte) $ff
|
|
|
|
[864] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_PORT_B_DDR) ← (byte) 0
|
2018-04-04 22:30:26 +00:00
|
|
|
to:keyboard_init::@return
|
|
|
|
keyboard_init::@return: scope:[keyboard_init] from keyboard_init
|
2020-04-18 18:54:39 +00:00
|
|
|
[865] return
|
2018-04-01 02:00:07 +00:00
|
|
|
to:@return
|