1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/c64dtv-gfxexplorer.cfg
2021-02-07 16:14:44 +01:00

1690 lines
94 KiB
INI

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