
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] *((char *)CIA1+OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) = $ff
  [13] *((char *)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 = byte0 (unsigned int)DTV_COLOR_BANK_DEFAULT/$400
  [66] *DTV_COLOR_BANK_HI = 0
  [67] *((char *)CIA2+OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) = 3
  [68] *((char *)CIA2) = 3
  [69] *DTV_CONTROL = 0
  [70] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_CONTROL1) = VICII_DEN|VICII_RSEL|3
  [71] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_CONTROL2) = VICII_CSEL
  [72] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_MEMORY) = (char)(unsigned int)FORM_SCREEN&$3fff/$40|(unsigned int)FORM_CHARSET&$3fff/$400
  [73] *DTV_PLANEA_START_LO = 0
  [74] *DTV_PLANEA_START_MI = byte1 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] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BG_COLOR) = 0
  [81] *((char *)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(*((char *)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 = byte0  gfx_mode::plane_a#0
  [136] *DTV_PLANEA_START_LO = gfx_mode::$22
  [137] gfx_mode::$23 = byte1  gfx_mode::plane_a#0
  [138] *DTV_PLANEA_START_MI = gfx_mode::$23
  [139] gfx_mode::$24 = byte2  gfx_mode::plane_a#0
  [140] *DTV_PLANEA_START_HI = gfx_mode::$24
  [141] gfx_mode::$25 = *form_a_step_hi << 4
  [142] gfx_mode::$26 = gfx_mode::$25 | *form_a_step_lo
  [143] *DTV_PLANEA_STEP = gfx_mode::$26
  [144] gfx_mode::$27 = *form_a_mod_hi << 4
  [145] gfx_mode::$28 = gfx_mode::$27 | *form_a_mod_lo
  [146] *DTV_PLANEA_MODULO_LO = gfx_mode::$28
  [147] *DTV_PLANEA_MODULO_HI = 0
  [148] gfx_mode::$29 = *form_b_start_hi << 4
  [149] gfx_mode::plane_b_offs#0 = gfx_mode::$29 | *form_b_start_lo
  [150] get_plane::idx#1 = *form_b_pattern
  [151] call get_plane
  [152] get_plane::return#17 = get_plane::return#14
  to:gfx_mode::@28
gfx_mode::@28: scope:[gfx_mode]  from gfx_mode::@27
  [153] gfx_mode::$31 = get_plane::return#17
  [154] gfx_mode::plane_b#0 = gfx_mode::$31 + gfx_mode::plane_b_offs#0
  [155] gfx_mode::$33 = byte0  gfx_mode::plane_b#0
  [156] *DTV_PLANEB_START_LO = gfx_mode::$33
  [157] gfx_mode::$34 = byte1  gfx_mode::plane_b#0
  [158] *DTV_PLANEB_START_MI = gfx_mode::$34
  [159] gfx_mode::$35 = byte2  gfx_mode::plane_b#0
  [160] *DTV_PLANEB_START_HI = gfx_mode::$35
  [161] gfx_mode::$36 = *form_b_step_hi << 4
  [162] gfx_mode::$37 = gfx_mode::$36 | *form_b_step_lo
  [163] *DTV_PLANEB_STEP = gfx_mode::$37
  [164] gfx_mode::$38 = *form_b_mod_hi << 4
  [165] gfx_mode::$39 = gfx_mode::$38 | *form_b_mod_lo
  [166] *DTV_PLANEB_MODULO_LO = gfx_mode::$39
  [167] *DTV_PLANEB_MODULO_HI = 0
  [168] *((char *)CIA2+OFFSET_STRUCT_MOS6526_CIA_PORT_A_DDR) = 3
  [169] *((char *)CIA2) = 3^(char)(unsigned int)VICII_SCREEN0/$4000
  [170] get_VICII_screen::idx#0 = *form_VICII_screen
  [171] call get_VICII_screen
  [172] get_VICII_screen::return#10 = get_VICII_screen::return#5
  to:gfx_mode::@29
gfx_mode::@29: scope:[gfx_mode]  from gfx_mode::@28
  [173] gfx_mode::$76 = get_VICII_screen::return#10
  [174] gfx_mode::$41 = (unsigned int)gfx_mode::$76 & $3fff
  [175] gfx_mode::$42 = gfx_mode::$41 >> 6
  [176] get_VICII_charset::idx#0 = *form_VICII_gfx
  [177] call get_VICII_charset
  [178] get_VICII_charset::return#4 = get_VICII_charset::return#2
  to:gfx_mode::@30
gfx_mode::@30: scope:[gfx_mode]  from gfx_mode::@29
  [179] gfx_mode::$77 = get_VICII_charset::return#4
  [180] gfx_mode::$44 = (unsigned int)gfx_mode::$77 & $3fff
  [181] gfx_mode::$45 = byte1  gfx_mode::$44
  [182] gfx_mode::$46 = gfx_mode::$45 >> 2
  [183] gfx_mode::$78 = (char)gfx_mode::$42
  [184] gfx_mode::$47 = gfx_mode::$78 | gfx_mode::$46
  [185] *VICII_MEMORY = gfx_mode::$47
  [186] get_VICII_screen::idx#1 = *form_VICII_cols
  [187] call get_VICII_screen
  [188] get_VICII_screen::return#11 = get_VICII_screen::return#5
  to:gfx_mode::@31
gfx_mode::@31: scope:[gfx_mode]  from gfx_mode::@30
  [189] 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
  [190] gfx_mode::cy#4 = phi( gfx_mode::@21/gfx_mode::cy#1, gfx_mode::@31/0 )
  [190] gfx_mode::col#3 = phi( gfx_mode::@21/gfx_mode::col#1, gfx_mode::@31/COLS )
  [190] 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
  [191] gfx_mode::cx#2 = phi( gfx_mode::@19/0, gfx_mode::@20/gfx_mode::cx#1 )
  [191] gfx_mode::col#2 = phi( gfx_mode::@19/gfx_mode::col#3, gfx_mode::@20/gfx_mode::col#1 )
  [191] gfx_mode::VICII_colors#2 = phi( gfx_mode::@19/gfx_mode::VICII_colors#3, gfx_mode::@20/gfx_mode::VICII_colors#1 )
  [192] *gfx_mode::col#2 = *gfx_mode::VICII_colors#2
  [193] gfx_mode::col#1 = ++ gfx_mode::col#2
  [194] gfx_mode::VICII_colors#1 = ++ gfx_mode::VICII_colors#2
  [195] gfx_mode::cx#1 = ++ gfx_mode::cx#2
  [196] if(gfx_mode::cx#1!=$28) goto gfx_mode::@20
  to:gfx_mode::@21
gfx_mode::@21: scope:[gfx_mode]  from gfx_mode::@20
  [197] gfx_mode::cy#1 = ++ gfx_mode::cy#4
  [198] if(gfx_mode::cy#1!=$19) goto gfx_mode::@19
  to:gfx_mode::@22
gfx_mode::@22: scope:[gfx_mode]  from gfx_mode::@21
  [199] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BORDER_COLOR) = 0
  [200] gfx_mode::$49 = *form_VICII_bg0_hi << 4
  [201] gfx_mode::$50 = gfx_mode::$49 | *form_VICII_bg0_lo
  [202] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BG_COLOR) = gfx_mode::$50
  [203] gfx_mode::$51 = *form_VICII_bg1_hi << 4
  [204] gfx_mode::$52 = gfx_mode::$51 | *form_VICII_bg1_lo
  [205] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BG_COLOR1) = gfx_mode::$52
  [206] gfx_mode::$53 = *form_VICII_bg2_hi << 4
  [207] gfx_mode::$54 = gfx_mode::$53 | *form_VICII_bg2_lo
  [208] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BG_COLOR2) = gfx_mode::$54
  [209] gfx_mode::$55 = *form_VICII_bg3_hi << 4
  [210] gfx_mode::$56 = gfx_mode::$55 | *form_VICII_bg3_lo
  [211] *((char *)VICII+OFFSET_STRUCT_MOS6569_VICII_BG_COLOR3) = gfx_mode::$56
  [212] 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
  [213] gfx_mode::j#2 = phi( gfx_mode::@22/0, gfx_mode::@23/gfx_mode::j#1 )
  [214] DTV_PALETTE[gfx_mode::j#2] = gfx_mode::j#2
  [215] gfx_mode::j#1 = ++ gfx_mode::j#2
  [216] 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
  [217] if(*((char *)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
  [218] phi()
  [219] call keyboard_event_scan
  to:gfx_mode::@32
gfx_mode::@32: scope:[gfx_mode]  from gfx_mode::@26
  [220] phi()
  [221] call keyboard_event_get
  [222] keyboard_event_get::return#3 = keyboard_event_get::return#2
  to:gfx_mode::@33
gfx_mode::@33: scope:[gfx_mode]  from gfx_mode::@32
  [223] gfx_mode::keyboard_event#0 = keyboard_event_get::return#3
  [224] 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
  [225] return 
  to:@return
gfx_mode::@24: scope:[gfx_mode]  from gfx_mode::@22 gfx_mode::@24
  [226] gfx_mode::i#2 = phi( gfx_mode::@22/0, gfx_mode::@24/gfx_mode::i#1 )
  [227] DTV_PALETTE[gfx_mode::i#2] = DTV_PALETTE_DEFAULT[gfx_mode::i#2]
  [228] gfx_mode::i#1 = ++ gfx_mode::i#2
  [229] 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
  [230] phi()
  to:gfx_init_screen0::@1
gfx_init_screen0::@1: scope:[gfx_init_screen0]  from gfx_init_screen0 gfx_init_screen0::@3
  [231] gfx_init_screen0::ch#3 = phi( gfx_init_screen0/VICII_SCREEN0, gfx_init_screen0::@3/gfx_init_screen0::ch#1 )
  [231] 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
  [232] gfx_init_screen0::ch#2 = phi( gfx_init_screen0::@1/gfx_init_screen0::ch#3, gfx_init_screen0::@2/gfx_init_screen0::ch#1 )
  [232] gfx_init_screen0::cx#2 = phi( gfx_init_screen0::@1/0, gfx_init_screen0::@2/gfx_init_screen0::cx#1 )
  [233] gfx_init_screen0::$0 = gfx_init_screen0::cy#4 & $f
  [234] gfx_init_screen0::$1 = gfx_init_screen0::$0 << 4
  [235] gfx_init_screen0::$2 = gfx_init_screen0::cx#2 & $f
  [236] gfx_init_screen0::$3 = gfx_init_screen0::$1 | gfx_init_screen0::$2
  [237] *gfx_init_screen0::ch#2 = gfx_init_screen0::$3
  [238] gfx_init_screen0::ch#1 = ++ gfx_init_screen0::ch#2
  [239] gfx_init_screen0::cx#1 = ++ gfx_init_screen0::cx#2
  [240] 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
  [241] gfx_init_screen0::cy#1 = ++ gfx_init_screen0::cy#4
  [242] 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
  [243] return 
  to:@return

void gfx_init_screen1()
gfx_init_screen1: scope:[gfx_init_screen1]  from gfx_init::@1
  [244] phi()
  to:gfx_init_screen1::@1
gfx_init_screen1::@1: scope:[gfx_init_screen1]  from gfx_init_screen1 gfx_init_screen1::@3
  [245] gfx_init_screen1::ch#3 = phi( gfx_init_screen1/VICII_SCREEN1, gfx_init_screen1::@3/gfx_init_screen1::ch#1 )
  [245] 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
  [246] gfx_init_screen1::ch#2 = phi( gfx_init_screen1::@1/gfx_init_screen1::ch#3, gfx_init_screen1::@2/gfx_init_screen1::ch#1 )
  [246] gfx_init_screen1::cx#2 = phi( gfx_init_screen1::@1/0, gfx_init_screen1::@2/gfx_init_screen1::cx#1 )
  [247] gfx_init_screen1::$0 = gfx_init_screen1::cx#2 + gfx_init_screen1::cy#4
  [248] gfx_init_screen1::$1 = gfx_init_screen1::$0 & $f
  [249] *gfx_init_screen1::ch#2 = gfx_init_screen1::$1
  [250] gfx_init_screen1::ch#1 = ++ gfx_init_screen1::ch#2
  [251] gfx_init_screen1::cx#1 = ++ gfx_init_screen1::cx#2
  [252] 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
  [253] gfx_init_screen1::cy#1 = ++ gfx_init_screen1::cy#4
  [254] 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
  [255] return 
  to:@return

void gfx_init_screen2()
gfx_init_screen2: scope:[gfx_init_screen2]  from gfx_init::@2
  [256] phi()
  to:gfx_init_screen2::@1
gfx_init_screen2::@1: scope:[gfx_init_screen2]  from gfx_init_screen2 gfx_init_screen2::@3
  [257] gfx_init_screen2::ch#3 = phi( gfx_init_screen2/VICII_SCREEN2, gfx_init_screen2::@3/gfx_init_screen2::ch#1 )
  [257] 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
  [258] gfx_init_screen2::ch#2 = phi( gfx_init_screen2::@1/gfx_init_screen2::ch#3, gfx_init_screen2::@2/gfx_init_screen2::ch#1 )
  [258] gfx_init_screen2::cx#2 = phi( gfx_init_screen2::@1/0, gfx_init_screen2::@2/gfx_init_screen2::cx#1 )
  [259] gfx_init_screen2::$0 = gfx_init_screen2::cx#2 + gfx_init_screen2::cy#4
  [260] gfx_init_screen2::col#0 = gfx_init_screen2::$0 & $f
  [261] gfx_init_screen2::col2#0 = $f - gfx_init_screen2::col#0
  [262] gfx_init_screen2::$3 = gfx_init_screen2::col#0 << 4
  [263] gfx_init_screen2::$4 = gfx_init_screen2::$3 | gfx_init_screen2::col2#0
  [264] *gfx_init_screen2::ch#2 = gfx_init_screen2::$4
  [265] gfx_init_screen2::ch#1 = ++ gfx_init_screen2::ch#2
  [266] gfx_init_screen2::cx#1 = ++ gfx_init_screen2::cx#2
  [267] 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
  [268] gfx_init_screen2::cy#1 = ++ gfx_init_screen2::cy#4
  [269] 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
  [270] return 
  to:@return

void gfx_init_screen3()
gfx_init_screen3: scope:[gfx_init_screen3]  from gfx_init::@3
  [271] phi()
  to:gfx_init_screen3::@1
gfx_init_screen3::@1: scope:[gfx_init_screen3]  from gfx_init_screen3 gfx_init_screen3::@3
  [272] gfx_init_screen3::ch#3 = phi( gfx_init_screen3/VICII_SCREEN3, gfx_init_screen3::@3/gfx_init_screen3::ch#1 )
  [272] 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
  [273] gfx_init_screen3::ch#2 = phi( gfx_init_screen3::@1/gfx_init_screen3::ch#3, gfx_init_screen3::@2/gfx_init_screen3::ch#1 )
  [273] gfx_init_screen3::cx#2 = phi( gfx_init_screen3::@1/0, gfx_init_screen3::@2/gfx_init_screen3::cx#1 )
  [274] gfx_init_screen3::$0 = gfx_init_screen3::cx#2 & 3
  [275] gfx_init_screen3::$1 = gfx_init_screen3::$0 << 4
  [276] gfx_init_screen3::$2 = gfx_init_screen3::cy#4 & 3
  [277] gfx_init_screen3::$3 = gfx_init_screen3::$1 | gfx_init_screen3::$2
  [278] *gfx_init_screen3::ch#2 = gfx_init_screen3::$3
  [279] gfx_init_screen3::ch#1 = ++ gfx_init_screen3::ch#2
  [280] gfx_init_screen3::cx#1 = ++ gfx_init_screen3::cx#2
  [281] 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
  [282] gfx_init_screen3::cy#1 = ++ gfx_init_screen3::cy#4
  [283] 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
  [284] return 
  to:@return

void gfx_init_screen4()
gfx_init_screen4: scope:[gfx_init_screen4]  from gfx_init::@4
  [285] phi()
  to:gfx_init_screen4::@1
gfx_init_screen4::@1: scope:[gfx_init_screen4]  from gfx_init_screen4 gfx_init_screen4::@3
  [286] gfx_init_screen4::cy#4 = phi( gfx_init_screen4/0, gfx_init_screen4::@3/gfx_init_screen4::cy#1 )
  [286] 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
  [287] gfx_init_screen4::cx#2 = phi( gfx_init_screen4::@1/0, gfx_init_screen4::@2/gfx_init_screen4::cx#1 )
  [287] gfx_init_screen4::ch#2 = phi( gfx_init_screen4::@1/gfx_init_screen4::ch#3, gfx_init_screen4::@2/gfx_init_screen4::ch#1 )
  [288] *gfx_init_screen4::ch#2 = 0
  [289] gfx_init_screen4::ch#1 = ++ gfx_init_screen4::ch#2
  [290] gfx_init_screen4::cx#1 = ++ gfx_init_screen4::cx#2
  [291] 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
  [292] gfx_init_screen4::cy#1 = ++ gfx_init_screen4::cy#4
  [293] 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
  [294] return 
  to:@return

void gfx_init_charset()
gfx_init_charset: scope:[gfx_init_charset]  from gfx_init::@5
  [295] *PROCPORT = $32
  to:gfx_init_charset::@1
gfx_init_charset::@1: scope:[gfx_init_charset]  from gfx_init_charset gfx_init_charset::@3
  [296] gfx_init_charset::c#4 = phi( gfx_init_charset/0, gfx_init_charset::@3/gfx_init_charset::c#1 )
  [296] gfx_init_charset::charset#3 = phi( gfx_init_charset/VICII_CHARSET_ROM, gfx_init_charset::@3/gfx_init_charset::charset#1 )
  [296] 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
  [297] gfx_init_charset::l#2 = phi( gfx_init_charset::@1/0, gfx_init_charset::@2/gfx_init_charset::l#1 )
  [297] gfx_init_charset::charset#2 = phi( gfx_init_charset::@1/gfx_init_charset::charset#3, gfx_init_charset::@2/gfx_init_charset::charset#1 )
  [297] gfx_init_charset::chargen#2 = phi( gfx_init_charset::@1/gfx_init_charset::chargen#3, gfx_init_charset::@2/gfx_init_charset::chargen#1 )
  [298] *gfx_init_charset::charset#2 = *gfx_init_charset::chargen#2
  [299] gfx_init_charset::charset#1 = ++ gfx_init_charset::charset#2
  [300] gfx_init_charset::chargen#1 = ++ gfx_init_charset::chargen#2
  [301] gfx_init_charset::l#1 = ++ gfx_init_charset::l#2
  [302] 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
  [303] gfx_init_charset::c#1 = ++ gfx_init_charset::c#4
  [304] 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
  [305] *PROCPORT = $37
  to:gfx_init_charset::@return
gfx_init_charset::@return: scope:[gfx_init_charset]  from gfx_init_charset::@4
  [306] return 
  to:@return

void gfx_init_VICII_bitmap()
gfx_init_VICII_bitmap: scope:[gfx_init_VICII_bitmap]  from gfx_init::@6
  [307] phi()
  [308] call bitmap_init
  to:gfx_init_VICII_bitmap::@3
gfx_init_VICII_bitmap::@3: scope:[gfx_init_VICII_bitmap]  from gfx_init_VICII_bitmap
  [309] phi()
  [310] 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
  [311] gfx_init_VICII_bitmap::l#2 = phi( gfx_init_VICII_bitmap::@3/0, gfx_init_VICII_bitmap::@4/gfx_init_VICII_bitmap::l#1 )
  [312] 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
  [313] return 
  to:@return
gfx_init_VICII_bitmap::@2: scope:[gfx_init_VICII_bitmap]  from gfx_init_VICII_bitmap::@1
  [314] bitmap_line::x1#0 = gfx_init_VICII_bitmap::lines_x[gfx_init_VICII_bitmap::l#2]
  [315] bitmap_line::y1#0 = gfx_init_VICII_bitmap::lines_y[gfx_init_VICII_bitmap::l#2]
  [316] bitmap_line::x2#0 = (gfx_init_VICII_bitmap::lines_x+1)[gfx_init_VICII_bitmap::l#2]
  [317] bitmap_line::y2#0 = (gfx_init_VICII_bitmap::lines_y+1)[gfx_init_VICII_bitmap::l#2]
  [318] 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
  [319] 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
  [320] phi()
  [321] 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
  [322] gfx_init_plane_8bppchunky::gfxbCpuBank#7 = phi( gfx_init_plane_8bppchunky::@5/gfx_init_plane_8bppchunky::gfxbCpuBank#8, gfx_init_plane_8bppchunky/++(char)PLANE_8BPP_CHUNKY/$4000 )
  [322] gfx_init_plane_8bppchunky::y#6 = phi( gfx_init_plane_8bppchunky::@5/gfx_init_plane_8bppchunky::y#1, gfx_init_plane_8bppchunky/0 )
  [322] gfx_init_plane_8bppchunky::gfxb#5 = phi( gfx_init_plane_8bppchunky::@5/gfx_init_plane_8bppchunky::gfxb#1, gfx_init_plane_8bppchunky/(char *) 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
  [323] 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 )
  [323] gfx_init_plane_8bppchunky::x#2 = phi( gfx_init_plane_8bppchunky::@1/0, gfx_init_plane_8bppchunky::@3/gfx_init_plane_8bppchunky::x#1 )
  [323] 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 )
  [324] 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
  [325] dtvSetCpuBankSegment1::cpuBankIdx#1 = gfx_init_plane_8bppchunky::gfxbCpuBank#4
  [326] call dtvSetCpuBankSegment1
  to:gfx_init_plane_8bppchunky::@7
gfx_init_plane_8bppchunky::@7: scope:[gfx_init_plane_8bppchunky]  from gfx_init_plane_8bppchunky::@4
  [327] 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
  [328] 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 )
  [328] gfx_init_plane_8bppchunky::gfxb#4 = phi( gfx_init_plane_8bppchunky::@2/gfx_init_plane_8bppchunky::gfxb#3, gfx_init_plane_8bppchunky::@7/(char *) 16384 )
  [329] gfx_init_plane_8bppchunky::$5 = gfx_init_plane_8bppchunky::x#2 + gfx_init_plane_8bppchunky::y#6
  [330] gfx_init_plane_8bppchunky::c#0 = (char)gfx_init_plane_8bppchunky::$5
  [331] *gfx_init_plane_8bppchunky::gfxb#4 = gfx_init_plane_8bppchunky::c#0
  [332] gfx_init_plane_8bppchunky::gfxb#1 = ++ gfx_init_plane_8bppchunky::gfxb#4
  [333] gfx_init_plane_8bppchunky::x#1 = ++ gfx_init_plane_8bppchunky::x#2
  [334] 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
  [335] gfx_init_plane_8bppchunky::y#1 = ++ gfx_init_plane_8bppchunky::y#6
  [336] 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
  [337] phi()
  [338] call dtvSetCpuBankSegment1
  to:gfx_init_plane_8bppchunky::@return
gfx_init_plane_8bppchunky::@return: scope:[gfx_init_plane_8bppchunky]  from gfx_init_plane_8bppchunky::@6
  [339] return 
  to:@return

void gfx_init_plane_charset8()
gfx_init_plane_charset8: scope:[gfx_init_plane_charset8]  from gfx_init::@8
  [340] phi()
  [341] call dtvSetCpuBankSegment1
  to:gfx_init_plane_charset8::@9
gfx_init_plane_charset8::@9: scope:[gfx_init_plane_charset8]  from gfx_init_plane_charset8
  [342] *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
  [343] gfx_init_plane_charset8::ch#8 = phi( gfx_init_plane_charset8::@7/gfx_init_plane_charset8::ch#1, gfx_init_plane_charset8::@9/0 )
  [343] gfx_init_plane_charset8::col#6 = phi( gfx_init_plane_charset8::@7/gfx_init_plane_charset8::col#1, gfx_init_plane_charset8::@9/0 )
  [343] gfx_init_plane_charset8::gfxa#6 = phi( gfx_init_plane_charset8::@7/gfx_init_plane_charset8::gfxa#1, gfx_init_plane_charset8::@9/(char *) 16384 )
  [343] 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
  [344] gfx_init_plane_charset8::cr#6 = phi( gfx_init_plane_charset8::@1/0, gfx_init_plane_charset8::@6/gfx_init_plane_charset8::cr#1 )
  [344] 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 )
  [344] 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 )
  [344] 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 )
  [345] gfx_init_plane_charset8::bits#0 = *gfx_init_plane_charset8::chargen#2
  [346] 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
  [347] gfx_init_plane_charset8::cp#2 = phi( gfx_init_plane_charset8::@2/0, gfx_init_plane_charset8::@4/gfx_init_plane_charset8::cp#1 )
  [347] 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 )
  [347] 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 )
  [347] 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 )
  [348] gfx_init_plane_charset8::$2 = gfx_init_plane_charset8::bits#2 & $80
  [349] 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
  [350] 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
  [351] gfx_init_plane_charset8::c#2 = phi( gfx_init_plane_charset8::@3/0, gfx_init_plane_charset8::@5/gfx_init_plane_charset8::c#3 )
  [352] *gfx_init_plane_charset8::gfxa#2 = gfx_init_plane_charset8::c#2
  [353] gfx_init_plane_charset8::gfxa#1 = ++ gfx_init_plane_charset8::gfxa#2
  [354] gfx_init_plane_charset8::bits#1 = gfx_init_plane_charset8::bits#2 << 1
  [355] gfx_init_plane_charset8::col#1 = ++ gfx_init_plane_charset8::col#2
  [356] gfx_init_plane_charset8::cp#1 = ++ gfx_init_plane_charset8::cp#2
  [357] 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
  [358] gfx_init_plane_charset8::cr#1 = ++ gfx_init_plane_charset8::cr#6
  [359] 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
  [360] gfx_init_plane_charset8::ch#1 = ++ gfx_init_plane_charset8::ch#8
  [361] 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
  [362] *PROCPORT = PROCPORT_RAM_IO
  [363] call dtvSetCpuBankSegment1
  to:gfx_init_plane_charset8::@return
gfx_init_plane_charset8::@return: scope:[gfx_init_plane_charset8]  from gfx_init_plane_charset8::@8
  [364] return 
  to:@return

void gfx_init_plane_horisontal()
gfx_init_plane_horisontal: scope:[gfx_init_plane_horisontal]  from gfx_init::@9
  [365] phi()
  [366] 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
  [367] gfx_init_plane_horisontal::gfxa#6 = phi( gfx_init_plane_horisontal::@6/gfx_init_plane_horisontal::gfxa#7, gfx_init_plane_horisontal/(char *) 16384 )
  [367] 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
  [368] gfx_init_plane_horisontal::ax#2 = phi( gfx_init_plane_horisontal::@1/0, gfx_init_plane_horisontal::@4/gfx_init_plane_horisontal::ax#1 )
  [368] 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 )
  [369] gfx_init_plane_horisontal::$2 = gfx_init_plane_horisontal::ay#4 & 4
  [370] 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
  [371] *gfx_init_plane_horisontal::gfxa#3 = $ff
  [372] 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
  [373] 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 )
  [374] gfx_init_plane_horisontal::ax#1 = ++ gfx_init_plane_horisontal::ax#2
  [375] 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
  [376] gfx_init_plane_horisontal::ay#1 = ++ gfx_init_plane_horisontal::ay#4
  [377] 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
  [378] phi()
  [379] call dtvSetCpuBankSegment1
  to:gfx_init_plane_horisontal::@return
gfx_init_plane_horisontal::@return: scope:[gfx_init_plane_horisontal]  from gfx_init_plane_horisontal::@7
  [380] return 
  to:@return
gfx_init_plane_horisontal::@3: scope:[gfx_init_plane_horisontal]  from gfx_init_plane_horisontal::@2
  [381] *gfx_init_plane_horisontal::gfxa#3 = 0
  [382] 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
  [383] phi()
  [384] 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
  [385] gfx_init_plane_vertical::by#4 = phi( gfx_init_plane_vertical::@3/gfx_init_plane_vertical::by#1, gfx_init_plane_vertical/0 )
  [385] gfx_init_plane_vertical::gfxb#3 = phi( gfx_init_plane_vertical::@3/gfx_init_plane_vertical::gfxb#1, gfx_init_plane_vertical/(char *) 16384+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
  [386] gfx_init_plane_vertical::bx#2 = phi( gfx_init_plane_vertical::@1/0, gfx_init_plane_vertical::@2/gfx_init_plane_vertical::bx#1 )
  [386] 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 )
  [387] *gfx_init_plane_vertical::gfxb#2 = $f
  [388] gfx_init_plane_vertical::gfxb#1 = ++ gfx_init_plane_vertical::gfxb#2
  [389] gfx_init_plane_vertical::bx#1 = ++ gfx_init_plane_vertical::bx#2
  [390] 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
  [391] gfx_init_plane_vertical::by#1 = ++ gfx_init_plane_vertical::by#4
  [392] 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
  [393] phi()
  [394] call dtvSetCpuBankSegment1
  to:gfx_init_plane_vertical::@return
gfx_init_plane_vertical::@return: scope:[gfx_init_plane_vertical]  from gfx_init_plane_vertical::@4
  [395] return 
  to:@return

void gfx_init_plane_horisontal2()
gfx_init_plane_horisontal2: scope:[gfx_init_plane_horisontal2]  from gfx_init::@11
  [396] phi()
  [397] 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
  [398] gfx_init_plane_horisontal2::gfxa#3 = phi( gfx_init_plane_horisontal2::@3/gfx_init_plane_horisontal2::gfxa#1, gfx_init_plane_horisontal2/(char *) 16384 )
  [398] 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
  [399] gfx_init_plane_horisontal2::ax#2 = phi( gfx_init_plane_horisontal2::@1/0, gfx_init_plane_horisontal2::@2/gfx_init_plane_horisontal2::ax#1 )
  [399] 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 )
  [400] gfx_init_plane_horisontal2::$2 = gfx_init_plane_horisontal2::ay#4 >> 1
  [401] gfx_init_plane_horisontal2::row#0 = gfx_init_plane_horisontal2::$2 & 3
  [402] *gfx_init_plane_horisontal2::gfxa#2 = gfx_init_plane_horisontal2::row_bitmask[gfx_init_plane_horisontal2::row#0]
  [403] gfx_init_plane_horisontal2::gfxa#1 = ++ gfx_init_plane_horisontal2::gfxa#2
  [404] gfx_init_plane_horisontal2::ax#1 = ++ gfx_init_plane_horisontal2::ax#2
  [405] 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
  [406] gfx_init_plane_horisontal2::ay#1 = ++ gfx_init_plane_horisontal2::ay#4
  [407] 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
  [408] phi()
  [409] call dtvSetCpuBankSegment1
  to:gfx_init_plane_horisontal2::@return
gfx_init_plane_horisontal2::@return: scope:[gfx_init_plane_horisontal2]  from gfx_init_plane_horisontal2::@4
  [410] return 
  to:@return

void gfx_init_plane_vertical2()
gfx_init_plane_vertical2: scope:[gfx_init_plane_vertical2]  from gfx_init::@12
  [411] phi()
  [412] 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
  [413] return 
  to:@return

void gfx_init_plane_blank()
gfx_init_plane_blank: scope:[gfx_init_plane_blank]  from gfx_init::@13
  [414] phi()
  [415] 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
  [416] return 
  to:@return

void gfx_init_plane_full()
gfx_init_plane_full: scope:[gfx_init_plane_full]  from gfx_init::@14
  [417] phi()
  [418] 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
  [419] return 
  to:@return

void print_set_screen(char *screen)
print_set_screen: scope:[print_set_screen]  from form_mode form_mode::@10
  [420] print_set_screen::screen#2 = phi( form_mode/COLS, form_mode::@10/FORM_SCREEN )
  [421] 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
  [422] return 
  to:@return

void print_cls()
print_cls: scope:[print_cls]  from form_mode::@11 form_mode::@8
  [423] memset::str#0 = (void *)print_screen#0
  [424] call memset
  to:print_cls::@return
print_cls::@return: scope:[print_cls]  from print_cls
  [425] return 
  to:@return

void print_str_lines(char *str)
print_str_lines: scope:[print_str_lines]  from form_mode::@12 form_mode::@9
  [426] print_str_lines::str#5 = phi( form_mode::@12/FORM_TEXT, form_mode::@9/FORM_COLS )
  [427] 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
  [428] print_line_cursor#1 = phi( print_str_lines/print_screen#0, print_str_lines::@6/print_line_cursor#2 )
  [428] print_char_cursor#2 = phi( print_str_lines/print_char_cursor#72, print_str_lines::@6/print_char_cursor#73 )
  [428] print_str_lines::str#3 = phi( print_str_lines/print_str_lines::str#5, print_str_lines::@6/print_str_lines::str#0 )
  [429] 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
  [430] return 
  to:@return
print_str_lines::@2: scope:[print_str_lines]  from print_str_lines::@1 print_str_lines::@3
  [431] print_char_cursor#43 = phi( print_str_lines::@1/print_char_cursor#2, print_str_lines::@3/print_char_cursor#44 )
  [431] print_str_lines::str#4 = phi( print_str_lines::@1/print_str_lines::str#3, print_str_lines::@3/print_str_lines::str#0 )
  [432] print_str_lines::ch#0 = *print_str_lines::str#4
  [433] print_str_lines::str#0 = ++ print_str_lines::str#4
  [434] 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
  [435] print_char::ch#0 = print_str_lines::ch#0
  [436] 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
  [437] print_char_cursor#44 = phi( print_str_lines::@2/print_char_cursor#43, print_str_lines::@4/print_char_cursor#29 )
  [438] 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
  [439] phi()
  [440] call print_ln
  to:print_str_lines::@6
print_str_lines::@6: scope:[print_str_lines]  from print_str_lines::@5
  [441] print_char_cursor#73 = print_line_cursor#2
  to:print_str_lines::@1

void form_set_screen(char *screen)
form_set_screen: scope:[form_set_screen]  from form_mode::@13
  [442] phi()
  to:form_set_screen::@1
form_set_screen::@1: scope:[form_set_screen]  from form_set_screen form_set_screen::@1
  [443] form_set_screen::y#2 = phi( form_set_screen/0, form_set_screen::@1/form_set_screen::y#1 )
  [443] form_set_screen::line#2 = phi( form_set_screen/FORM_SCREEN, form_set_screen::@1/form_set_screen::line#1 )
  [444] form_set_screen::$0 = byte0  form_set_screen::line#2
  [445] form_line_lo[form_set_screen::y#2] = form_set_screen::$0
  [446] form_set_screen::$1 = byte1  form_set_screen::line#2
  [447] form_line_hi[form_set_screen::y#2] = form_set_screen::$1
  [448] form_set_screen::line#1 = form_set_screen::line#2 + $28
  [449] form_set_screen::y#1 = ++ form_set_screen::y#2
  [450] 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
  [451] return 
  to:@return

void form_render_values()
form_render_values: scope:[form_render_values]  from form_mode::@14 form_mode::@18
  [452] phi()
  to:form_render_values::@1
form_render_values::@1: scope:[form_render_values]  from form_render_values form_render_values::@3
  [453] form_render_values::idx#2 = phi( form_render_values/0, form_render_values::@3/form_render_values::idx#1 )
  [454] 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
  [455] return 
  to:@return
form_render_values::@2: scope:[form_render_values]  from form_render_values::@1
  [456] form_field_ptr::field_idx#0 = form_render_values::idx#2
  [457] call form_field_ptr
  to:form_render_values::@3
form_render_values::@3: scope:[form_render_values]  from form_render_values::@2
  [458] ((char *)form_field_ptr::line#0)[form_field_ptr::x#0] = print_hextab[form_fields_val[form_render_values::idx#2]]
  [459] form_render_values::idx#1 = ++ form_render_values::idx#2
  to:form_render_values::@1

void render_preset_name(char idx)
render_preset_name: scope:[render_preset_name]  from form_mode::@15 form_mode::@19
  [460] render_preset_name::idx#10 = phi( form_mode::@15/render_preset_name::idx#0, form_mode::@19/render_preset_name::idx#1 )
  [461] 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
  [462] 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
  [463] 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
  [464] 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
  [465] 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
  [466] 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
  [467] 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
  [468] 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
  [469] 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
  [470] 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
  [471] 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
  [472] 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
  [473] 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 )
  [474] print_str_at::str#1 = render_preset_name::name#13
  [475] call print_str_at
  to:render_preset_name::@return
render_preset_name::@return: scope:[render_preset_name]  from render_preset_name::@2
  [476] return 
  to:@return

char form_control()
form_control: scope:[form_control]  from form_mode::@5
  [477] form_field_ptr::field_idx#1 = form_field_idx#30
  [478] call form_field_ptr
  [479] form_field_ptr::return#3 = form_field_ptr::return#0
  to:form_control::@18
form_control::@18: scope:[form_control]  from form_control
  [480] form_control::field#0 = form_field_ptr::return#3
  [481] form_cursor_count#4 = -- form_cursor_count#23
  [482] if(form_cursor_count#4>=0) goto form_control::@21
  to:form_control::@1
form_control::@21: scope:[form_control]  from form_control::@18
  [483] phi()
  to:form_control::@1
form_control::@1: scope:[form_control]  from form_control::@18 form_control::@21
  [484] form_cursor_count#16 = phi( form_control::@21/form_cursor_count#4, form_control::@18/FORM_CURSOR_BLINK )
  [485] 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
  [486] form_control::$12 = *form_control::field#0 & $7f
  [487] *form_control::field#0 = form_control::$12
  to:form_control::@3
form_control::@3: scope:[form_control]  from form_control::@2 form_control::@7
  [488] phi()
  [489] call keyboard_event_scan
  to:form_control::@19
form_control::@19: scope:[form_control]  from form_control::@3
  [490] phi()
  [491] call keyboard_event_get
  [492] keyboard_event_get::return#4 = keyboard_event_get::return#2
  to:form_control::@20
form_control::@20: scope:[form_control]  from form_control::@19
  [493] form_control::key_event#0 = keyboard_event_get::return#4
  [494] 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
  [495] form_control::$14 = *form_control::field#0 & $7f
  [496] *form_control::field#0 = form_control::$14
  [497] form_control::$15 = keyboard_modifiers#22 & KEY_MODIFIER_SHIFT
  [498] if(form_control::$15==0) goto form_control::@13
  to:form_control::@9
form_control::@9: scope:[form_control]  from form_control::@8
  [499] form_field_idx#5 = -- form_field_idx#30
  [500] if(form_field_idx#5!=$ff) goto form_control::@22
  to:form_control::@14
form_control::@22: scope:[form_control]  from form_control::@9
  [501] phi()
  to:form_control::@14
form_control::@14: scope:[form_control]  from form_control::@13 form_control::@22 form_control::@23 form_control::@9
  [502] 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
  [503] 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 )
  [503] 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 )
  [503] form_control::return#2 = phi( form_control::@5/$ff, form_control::@14/0, form_control::@16/0, form_control::@6/0 )
  [504] return 
  to:@return
form_control::@13: scope:[form_control]  from form_control::@8
  [505] form_field_idx#4 = ++ form_field_idx#30
  [506] 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
  [507] phi()
  to:form_control::@14
form_control::@4: scope:[form_control]  from form_control::@20
  [508] 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
  [509] form_control::$22 = keyboard_modifiers#22 & KEY_MODIFIER_SHIFT
  [510] if(form_control::$22==0) goto form_control::@15
  to:form_control::@11
form_control::@11: scope:[form_control]  from form_control::@10
  [511] form_fields_val[form_field_idx#30] = -- form_fields_val[form_field_idx#30]
  [512] 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
  [513] 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
  [514] *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
  [515] form_fields_val[form_field_idx#30] = ++ form_fields_val[form_field_idx#30]
  [516] 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
  [517] form_fields_val[form_field_idx#30] = 0
  to:form_control::@16
form_control::@5: scope:[form_control]  from form_control::@4
  [518] 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
  [519] phi()
  to:form_control::@return
form_control::@2: scope:[form_control]  from form_control::@1
  [520] form_control::$13 = *form_control::field#0 | $80
  [521] *form_control::field#0 = form_control::$13
  to:form_control::@3

void apply_preset(char idx)
apply_preset: scope:[apply_preset]  from form_mode::@7
  [522] if(apply_preset::idx#0==0) goto apply_preset::@2
  to:apply_preset::@3
apply_preset::@3: scope:[apply_preset]  from apply_preset
  [523] if(apply_preset::idx#0==1) goto apply_preset::@2
  to:apply_preset::@4
apply_preset::@4: scope:[apply_preset]  from apply_preset::@3
  [524] if(apply_preset::idx#0==2) goto apply_preset::@2
  to:apply_preset::@5
apply_preset::@5: scope:[apply_preset]  from apply_preset::@4
  [525] if(apply_preset::idx#0==3) goto apply_preset::@2
  to:apply_preset::@6
apply_preset::@6: scope:[apply_preset]  from apply_preset::@5
  [526] if(apply_preset::idx#0==4) goto apply_preset::@2
  to:apply_preset::@7
apply_preset::@7: scope:[apply_preset]  from apply_preset::@6
  [527] if(apply_preset::idx#0==5) goto apply_preset::@2
  to:apply_preset::@8
apply_preset::@8: scope:[apply_preset]  from apply_preset::@7
  [528] if(apply_preset::idx#0==6) goto apply_preset::@2
  to:apply_preset::@9
apply_preset::@9: scope:[apply_preset]  from apply_preset::@8
  [529] if(apply_preset::idx#0==7) goto apply_preset::@2
  to:apply_preset::@10
apply_preset::@10: scope:[apply_preset]  from apply_preset::@9
  [530] if(apply_preset::idx#0==8) goto apply_preset::@2
  to:apply_preset::@11
apply_preset::@11: scope:[apply_preset]  from apply_preset::@10
  [531] if(apply_preset::idx#0==9) goto apply_preset::@2
  to:apply_preset::@12
apply_preset::@12: scope:[apply_preset]  from apply_preset::@11
  [532] if(apply_preset::idx#0==$a) goto apply_preset::@1
  to:apply_preset::@2
apply_preset::@1: scope:[apply_preset]  from apply_preset::@12
  [533] 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
  [534] 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
  [535] apply_preset::i#2 = phi( apply_preset::@2/0, apply_preset::@14/apply_preset::i#1 )
  [536] 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
  [537] return 
  to:@return
apply_preset::@14: scope:[apply_preset]  from apply_preset::@13
  [538] form_fields_val[apply_preset::i#2] = apply_preset::preset#15[apply_preset::i#2]
  [539] apply_preset::i#1 = ++ apply_preset::i#2
  to:apply_preset::@13

unsigned long get_plane(char idx)
get_plane: scope:[get_plane]  from gfx_mode::@27 gfx_mode::@9
  [540] get_plane::idx#10 = phi( gfx_mode::@27/get_plane::idx#1, gfx_mode::@9/get_plane::idx#0 )
  [541] if(get_plane::idx#10==0) goto get_plane::@return
  to:get_plane::@2
get_plane::@2: scope:[get_plane]  from get_plane
  [542] if(get_plane::idx#10==1) goto get_plane::@return
  to:get_plane::@3
get_plane::@3: scope:[get_plane]  from get_plane::@2
  [543] if(get_plane::idx#10==2) goto get_plane::@return
  to:get_plane::@4
get_plane::@4: scope:[get_plane]  from get_plane::@3
  [544] if(get_plane::idx#10==3) goto get_plane::@return
  to:get_plane::@5
get_plane::@5: scope:[get_plane]  from get_plane::@4
  [545] if(get_plane::idx#10==4) goto get_plane::@return
  to:get_plane::@6
get_plane::@6: scope:[get_plane]  from get_plane::@5
  [546] if(get_plane::idx#10==5) goto get_plane::@return
  to:get_plane::@7
get_plane::@7: scope:[get_plane]  from get_plane::@6
  [547] if(get_plane::idx#10==6) goto get_plane::@return
  to:get_plane::@8
get_plane::@8: scope:[get_plane]  from get_plane::@7
  [548] if(get_plane::idx#10==7) goto get_plane::@return
  to:get_plane::@9
get_plane::@9: scope:[get_plane]  from get_plane::@8
  [549] if(get_plane::idx#10==8) goto get_plane::@return
  to:get_plane::@10
get_plane::@10: scope:[get_plane]  from get_plane::@9
  [550] if(get_plane::idx#10==9) goto get_plane::@return
  to:get_plane::@11
get_plane::@11: scope:[get_plane]  from get_plane::@10
  [551] if(get_plane::idx#10==$a) goto get_plane::@return
  to:get_plane::@12
get_plane::@12: scope:[get_plane]  from get_plane::@11
  [552] if(get_plane::idx#10==$b) goto get_plane::@return
  to:get_plane::@13
get_plane::@13: scope:[get_plane]  from get_plane::@12
  [553] if(get_plane::idx#10==$c) goto get_plane::@return
  to:get_plane::@14
get_plane::@14: scope:[get_plane]  from get_plane::@13
  [554] if(get_plane::idx#10!=$d) goto get_plane::@1
  to:get_plane::@return
get_plane::@1: scope:[get_plane]  from get_plane::@14
  [555] 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
  [556] get_plane::return#14 = phi( get_plane/(unsigned long)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/(unsigned long)VICII_SCREEN0, get_plane::@2/(unsigned long)VICII_SCREEN1, get_plane::@14/PLANE_FULL, get_plane::@3/(unsigned long)VICII_SCREEN2, get_plane::@4/(unsigned long)VICII_SCREEN3, get_plane::@5/(unsigned long)VICII_BITMAP, get_plane::@6/(unsigned long)VICII_CHARSET_ROM, get_plane::@7/PLANE_8BPP_CHUNKY, get_plane::@8/PLANE_HORISONTAL, get_plane::@9/PLANE_VERTICAL )
  [557] return 
  to:@return

char * get_VICII_screen(char idx)
get_VICII_screen: scope:[get_VICII_screen]  from gfx_mode::@28 gfx_mode::@30
  [558] get_VICII_screen::idx#2 = phi( gfx_mode::@28/get_VICII_screen::idx#0, gfx_mode::@30/get_VICII_screen::idx#1 )
  [559] 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
  [560] 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
  [561] 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
  [562] 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
  [563] 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
  [564] 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
  [565] 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 )
  [566] return 
  to:@return

char * get_VICII_charset(char idx)
get_VICII_charset: scope:[get_VICII_charset]  from gfx_mode::@29
  [567] 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
  [568] 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
  [569] 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
  [570] 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 )
  [571] return 
  to:@return

void keyboard_event_scan()
keyboard_event_scan: scope:[keyboard_event_scan]  from form_control::@3 gfx_mode::@26
  [572] 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
  [573] keyboard_events_size#107 = phi( keyboard_event_scan/keyboard_events_size#98, keyboard_event_scan::@8/keyboard_events_size#100 )
  [573] keyboard_event_scan::keycode#11 = phi( keyboard_event_scan/0, keyboard_event_scan::@8/keyboard_event_scan::keycode#13 )
  [573] keyboard_event_scan::row#2 = phi( keyboard_event_scan/0, keyboard_event_scan::@8/keyboard_event_scan::row#1 )
  [574] keyboard_matrix_read::rowid#0 = keyboard_event_scan::row#2
  [575] call keyboard_matrix_read
  [576] 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
  [577] keyboard_event_scan::row_scan#0 = keyboard_matrix_read::return#2
  [578] 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
  [579] 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
  [580] keyboard_events_size#100 = phi( keyboard_event_scan::@15/keyboard_events_size#106, keyboard_event_scan::@16/keyboard_events_size#107 )
  [580] keyboard_event_scan::keycode#13 = phi( keyboard_event_scan::@15/keyboard_event_scan::keycode#14, keyboard_event_scan::@16/keyboard_event_scan::keycode#1 )
  [581] keyboard_event_scan::row#1 = ++ keyboard_event_scan::row#2
  [582] 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
  [583] phi()
  [584] call keyboard_event_pressed
  [585] 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
  [586] keyboard_event_scan::$0 = keyboard_event_pressed::return#0
  [587] 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
  [588] phi()
  to:keyboard_event_scan::@1
keyboard_event_scan::@1: scope:[keyboard_event_scan]  from keyboard_event_scan::@18 keyboard_event_scan::@20
  [589] keyboard_modifiers#19 = phi( keyboard_event_scan::@18/KEY_MODIFIER_LSHIFT, keyboard_event_scan::@20/0 )
  [590] call keyboard_event_pressed
  [591] 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
  [592] keyboard_event_scan::$3 = keyboard_event_pressed::return#1
  [593] 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
  [594] 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
  [595] keyboard_modifiers#20 = phi( keyboard_event_scan::@21/keyboard_modifiers#19, keyboard_event_scan::@4/keyboard_modifiers#2 )
  [596] call keyboard_event_pressed
  [597] 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
  [598] keyboard_event_scan::$6 = keyboard_event_pressed::return#2
  [599] 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
  [600] 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
  [601] keyboard_modifiers#21 = phi( keyboard_event_scan::@22/keyboard_modifiers#20, keyboard_event_scan::@5/keyboard_modifiers#3 )
  [602] call keyboard_event_pressed
  [603] 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
  [604] keyboard_event_scan::$9 = keyboard_event_pressed::return#3
  [605] 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
  [606] 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
  [607] keyboard_modifiers#22 = phi( keyboard_event_scan::@23/keyboard_modifiers#21, keyboard_event_scan::@6/keyboard_modifiers#4 )
  [608] return 
  to:@return
keyboard_event_scan::@9: scope:[keyboard_event_scan]  from keyboard_event_scan::@10 keyboard_event_scan::@19
  [609] keyboard_events_size#19 = phi( keyboard_event_scan::@10/keyboard_events_size#106, keyboard_event_scan::@19/keyboard_events_size#107 )
  [609] keyboard_event_scan::keycode#10 = phi( keyboard_event_scan::@10/keyboard_event_scan::keycode#14, keyboard_event_scan::@19/keyboard_event_scan::keycode#11 )
  [609] keyboard_event_scan::col#2 = phi( keyboard_event_scan::@10/keyboard_event_scan::col#1, keyboard_event_scan::@19/0 )
  [610] keyboard_event_scan::$15 = keyboard_event_scan::row_scan#0 ^ keyboard_scan_values[keyboard_event_scan::row#2]
  [611] keyboard_event_scan::$16 = keyboard_event_scan::$15 & keyboard_matrix_col_bitmask[keyboard_event_scan::col#2]
  [612] 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
  [613] 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
  [614] keyboard_event_scan::event_type#0 = keyboard_event_scan::row_scan#0 & keyboard_matrix_col_bitmask[keyboard_event_scan::col#2]
  [615] 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
  [616] keyboard_events[keyboard_events_size#19] = keyboard_event_scan::keycode#10
  [617] 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
  [618] 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 )
  [619] keyboard_event_scan::keycode#14 = ++ keyboard_event_scan::keycode#10
  [620] keyboard_event_scan::col#1 = ++ keyboard_event_scan::col#2
  [621] 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
  [622] 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
  [623] keyboard_event_scan::$23 = keyboard_event_scan::keycode#10 | $40
  [624] keyboard_events[keyboard_events_size#19] = keyboard_event_scan::$23
  [625] keyboard_events_size#0 = ++ keyboard_events_size#19
  to:keyboard_event_scan::@10

char keyboard_event_get()
keyboard_event_get: scope:[keyboard_event_get]  from form_control::@19 gfx_mode::@32
  [626] 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
  [627] keyboard_events_size#3 = -- keyboard_events_size#100
  [628] 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
  [629] keyboard_events_size#25 = phi( keyboard_event_get/keyboard_events_size#100, keyboard_event_get::@1/keyboard_events_size#3 )
  [629] keyboard_event_get::return#2 = phi( keyboard_event_get/$ff, keyboard_event_get::@1/keyboard_event_get::return#1 )
  [630] return 
  to:@return

void bitmap_init(char *gfx , char *screen)
bitmap_init: scope:[bitmap_init]  from gfx_init_VICII_bitmap
  [631] phi()
  to:bitmap_init::@1
bitmap_init::@1: scope:[bitmap_init]  from bitmap_init bitmap_init::@2
  [632] bitmap_init::x#2 = phi( bitmap_init/0, bitmap_init::@2/bitmap_init::x#1 )
  [632] bitmap_init::bits#3 = phi( bitmap_init/$80, bitmap_init::@2/bitmap_init::bits#4 )
  [633] bitmap_plot_bit[bitmap_init::x#2] = bitmap_init::bits#3
  [634] bitmap_init::bits#1 = bitmap_init::bits#3 >> 1
  [635] if(bitmap_init::bits#1!=0) goto bitmap_init::@6
  to:bitmap_init::@2
bitmap_init::@6: scope:[bitmap_init]  from bitmap_init::@1
  [636] phi()
  to:bitmap_init::@2
bitmap_init::@2: scope:[bitmap_init]  from bitmap_init::@1 bitmap_init::@6
  [637] bitmap_init::bits#4 = phi( bitmap_init::@6/bitmap_init::bits#1, bitmap_init::@1/$80 )
  [638] bitmap_init::x#1 = ++ bitmap_init::x#2
  [639] 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
  [640] bitmap_init::yoffs#2 = phi( bitmap_init::@2/VICII_BITMAP, bitmap_init::@4/bitmap_init::yoffs#4 )
  [640] bitmap_init::y#2 = phi( bitmap_init::@2/0, bitmap_init::@4/bitmap_init::y#1 )
  [641] bitmap_init::$7 = bitmap_init::y#2 & 7
  [642] bitmap_init::$4 = byte0  bitmap_init::yoffs#2
  [643] bitmap_init::$5 = bitmap_init::$7 | bitmap_init::$4
  [644] bitmap_plot_ylo[bitmap_init::y#2] = bitmap_init::$5
  [645] bitmap_init::$6 = byte1  bitmap_init::yoffs#2
  [646] bitmap_plot_yhi[bitmap_init::y#2] = bitmap_init::$6
  [647] if(bitmap_init::$7!=7) goto bitmap_init::@4
  to:bitmap_init::@5
bitmap_init::@5: scope:[bitmap_init]  from bitmap_init::@3
  [648] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + (unsigned int)$28*8
  to:bitmap_init::@4
bitmap_init::@4: scope:[bitmap_init]  from bitmap_init::@3 bitmap_init::@5
  [649] bitmap_init::yoffs#4 = phi( bitmap_init::@3/bitmap_init::yoffs#2, bitmap_init::@5/bitmap_init::yoffs#1 )
  [650] bitmap_init::y#1 = ++ bitmap_init::y#2
  [651] if(bitmap_init::y#1!=0) goto bitmap_init::@3
  to:bitmap_init::@return
bitmap_init::@return: scope:[bitmap_init]  from bitmap_init::@4
  [652] return 
  to:@return

void bitmap_clear(char bgcol , char fgcol)
bitmap_clear: scope:[bitmap_clear]  from gfx_init_VICII_bitmap::@3
  [653] phi()
  [654] call memset
  to:bitmap_clear::@1
bitmap_clear::@1: scope:[bitmap_clear]  from bitmap_clear
  [655] phi()
  [656] call memset
  to:bitmap_clear::@return
bitmap_clear::@return: scope:[bitmap_clear]  from bitmap_clear::@1
  [657] return 
  to:@return

void bitmap_line(unsigned int x1 , unsigned int y1 , unsigned int x2 , unsigned int y2)
bitmap_line: scope:[bitmap_line]  from gfx_init_VICII_bitmap::@2
  [658] abs_u16::w#0 = bitmap_line::x2#0 - bitmap_line::x1#0
  [659] call abs_u16
  [660] abs_u16::return#0 = abs_u16::return#4
  to:bitmap_line::@12
bitmap_line::@12: scope:[bitmap_line]  from bitmap_line
  [661] bitmap_line::dx#0 = abs_u16::return#0
  [662] abs_u16::w#1 = bitmap_line::y2#0 - bitmap_line::y1#0
  [663] call abs_u16
  [664] abs_u16::return#1 = abs_u16::return#4
  to:bitmap_line::@13
bitmap_line::@13: scope:[bitmap_line]  from bitmap_line::@12
  [665] bitmap_line::dy#0 = abs_u16::return#1
  [666] if(bitmap_line::dx#0!=0) goto bitmap_line::@1
  to:bitmap_line::@18
bitmap_line::@18: scope:[bitmap_line]  from bitmap_line::@13
  [667] 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
  [668] sgn_u16::w#0 = bitmap_line::x2#0 - bitmap_line::x1#0
  [669] call sgn_u16
  [670] sgn_u16::return#0 = sgn_u16::return#4
  to:bitmap_line::@14
bitmap_line::@14: scope:[bitmap_line]  from bitmap_line::@1
  [671] bitmap_line::sx#0 = sgn_u16::return#0
  [672] sgn_u16::w#1 = bitmap_line::y2#0 - bitmap_line::y1#0
  [673] call sgn_u16
  [674] sgn_u16::return#1 = sgn_u16::return#4
  to:bitmap_line::@15
bitmap_line::@15: scope:[bitmap_line]  from bitmap_line::@14
  [675] bitmap_line::sy#0 = sgn_u16::return#1
  [676] 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
  [677] 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
  [678] bitmap_line::e#3 = phi( bitmap_line::@5/bitmap_line::e#0, bitmap_line::@7/bitmap_line::e#6 )
  [678] bitmap_line::y#4 = phi( bitmap_line::@5/bitmap_line::y1#0, bitmap_line::@7/bitmap_line::y#1 )
  [678] bitmap_line::x#13 = phi( bitmap_line::@5/bitmap_line::x1#0, bitmap_line::@7/bitmap_line::x#12 )
  [679] bitmap_plot::x#1 = bitmap_line::x#13
  [680] bitmap_plot::y#1 = (char)bitmap_line::y#4
  [681] call bitmap_plot
  to:bitmap_line::@16
bitmap_line::@16: scope:[bitmap_line]  from bitmap_line::@6
  [682] bitmap_line::y#1 = bitmap_line::y#4 + bitmap_line::sy#0
  [683] bitmap_line::e#1 = bitmap_line::e#3 + bitmap_line::dx#0
  [684] 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
  [685] bitmap_line::x#1 = bitmap_line::x#13 + bitmap_line::sx#0
  [686] 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
  [687] bitmap_line::e#6 = phi( bitmap_line::@16/bitmap_line::e#1, bitmap_line::@8/bitmap_line::e#2 )
  [687] bitmap_line::x#12 = phi( bitmap_line::@16/bitmap_line::x#13, bitmap_line::@8/bitmap_line::x#1 )
  [688] 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
  [689] bitmap_line::y#7 = phi( bitmap_line::@10/bitmap_line::y#13, bitmap_line::@7/bitmap_line::y#1 )
  [689] bitmap_line::x#6 = phi( bitmap_line::@10/bitmap_line::x#15, bitmap_line::@7/bitmap_line::x#12 )
  [690] bitmap_plot::x#2 = bitmap_line::x#6
  [691] bitmap_plot::y#2 = (char)bitmap_line::y#7
  [692] call bitmap_plot
  to:bitmap_line::@return
bitmap_line::@return: scope:[bitmap_line]  from bitmap_line::@3 bitmap_line::@4
  [693] return 
  to:@return
bitmap_line::@2: scope:[bitmap_line]  from bitmap_line::@15
  [694] 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
  [695] bitmap_line::e1#3 = phi( bitmap_line::@10/bitmap_line::e1#6, bitmap_line::@2/bitmap_line::e1#0 )
  [695] bitmap_line::y#15 = phi( bitmap_line::@10/bitmap_line::y#13, bitmap_line::@2/bitmap_line::y1#0 )
  [695] bitmap_line::x#7 = phi( bitmap_line::@10/bitmap_line::x#15, bitmap_line::@2/bitmap_line::x1#0 )
  [696] bitmap_plot::x#3 = bitmap_line::x#7
  [697] bitmap_plot::y#3 = (char)bitmap_line::y#15
  [698] call bitmap_plot
  to:bitmap_line::@17
bitmap_line::@17: scope:[bitmap_line]  from bitmap_line::@9
  [699] bitmap_line::x#15 = bitmap_line::x#7 + bitmap_line::sx#0
  [700] bitmap_line::e1#1 = bitmap_line::e1#3 + bitmap_line::dy#0
  [701] 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
  [702] bitmap_line::y#2 = bitmap_line::y#15 + bitmap_line::sy#0
  [703] 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
  [704] bitmap_line::e1#6 = phi( bitmap_line::@11/bitmap_line::e1#2, bitmap_line::@17/bitmap_line::e1#1 )
  [704] bitmap_line::y#13 = phi( bitmap_line::@11/bitmap_line::y#2, bitmap_line::@17/bitmap_line::y#15 )
  [705] 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
  [706] bitmap_plot::x#0 = bitmap_line::x1#0
  [707] bitmap_plot::y#0 = (char)bitmap_line::y1#0
  [708] call bitmap_plot
  to:bitmap_line::@return

void dtvSetCpuBankSegment1(char 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
  [709] dtvSetCpuBankSegment1::cpuBankIdx#13 = phi( gfx_init_plane_8bppchunky/(char)PLANE_8BPP_CHUNKY/$4000, gfx_init_plane_8bppchunky::@4/dtvSetCpuBankSegment1::cpuBankIdx#1, gfx_init_plane_8bppchunky::@6/(char)$4000/$4000, gfx_init_plane_charset8/gfx_init_plane_charset8::gfxbCpuBank#0, gfx_init_plane_charset8::@8/(char)$4000/$4000, gfx_init_plane_fill/dtvSetCpuBankSegment1::cpuBankIdx#11, gfx_init_plane_fill::@4/(char)$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/(char)$4000/$4000, gfx_init_plane_horisontal::@7/(char)$4000/$4000, gfx_init_plane_vertical/gfx_init_plane_vertical::gfxbCpuBank#0, gfx_init_plane_vertical::@4/(char)$4000/$4000 )
  [710] *dtvSetCpuBankSegment1::cpuBank = dtvSetCpuBankSegment1::cpuBankIdx#13
  asm { .byte$32,$dd lda$ff .byte$32,$00  }
  to:dtvSetCpuBankSegment1::@return
dtvSetCpuBankSegment1::@return: scope:[dtvSetCpuBankSegment1]  from dtvSetCpuBankSegment1
  [712] return 
  to:@return

void gfx_init_plane_fill(unsigned long plane_addr , char fill)
gfx_init_plane_fill: scope:[gfx_init_plane_fill]  from gfx_init_plane_blank gfx_init_plane_full gfx_init_plane_vertical2
  [713] gfx_init_plane_fill::fill#6 = phi( gfx_init_plane_blank/0, gfx_init_plane_full/$ff, gfx_init_plane_vertical2/$1b )
  [713] 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 )
  [714] gfx_init_plane_fill::$0 = gfx_init_plane_fill::plane_addr#3 << 2
  [715] gfx_init_plane_fill::gfxbCpuBank#0 = byte2  gfx_init_plane_fill::$0
  [716] dtvSetCpuBankSegment1::cpuBankIdx#11 = gfx_init_plane_fill::gfxbCpuBank#0
  [717] call dtvSetCpuBankSegment1
  to:gfx_init_plane_fill::@5
gfx_init_plane_fill::@5: scope:[gfx_init_plane_fill]  from gfx_init_plane_fill
  [718] gfx_init_plane_fill::$3 = word0  gfx_init_plane_fill::plane_addr#3
  [719] gfx_init_plane_fill::$4 = gfx_init_plane_fill::$3 & $3fff
  [720] gfx_init_plane_fill::gfxb#0 = (char *) 16384 + gfx_init_plane_fill::$4
  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
  [721] gfx_init_plane_fill::by#4 = phi( gfx_init_plane_fill::@3/gfx_init_plane_fill::by#1, gfx_init_plane_fill::@5/0 )
  [721] 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#0 )
  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
  [722] gfx_init_plane_fill::bx#2 = phi( gfx_init_plane_fill::@1/0, gfx_init_plane_fill::@2/gfx_init_plane_fill::bx#1 )
  [722] 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 )
  [723] *gfx_init_plane_fill::gfxb#2 = gfx_init_plane_fill::fill#6
  [724] gfx_init_plane_fill::gfxb#1 = ++ gfx_init_plane_fill::gfxb#2
  [725] gfx_init_plane_fill::bx#1 = ++ gfx_init_plane_fill::bx#2
  [726] 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
  [727] gfx_init_plane_fill::by#1 = ++ gfx_init_plane_fill::by#4
  [728] 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
  [729] phi()
  [730] call dtvSetCpuBankSegment1
  to:gfx_init_plane_fill::@return
gfx_init_plane_fill::@return: scope:[gfx_init_plane_fill]  from gfx_init_plane_fill::@4
  [731] return 
  to:@return

void * memset(void *str , char c , unsigned int num)
memset: scope:[memset]  from bitmap_clear bitmap_clear::@1 print_cls
  [732] memset::c#5 = phi( bitmap_clear/bitmap_clear::col#0, bitmap_clear::@1/0, print_cls/' ' )
  [732] memset::str#4 = phi( bitmap_clear/(void *)VICII_SCREEN0, bitmap_clear::@1/(void *)VICII_BITMAP, print_cls/memset::str#0 )
  [732] memset::num#3 = phi( bitmap_clear/$3e8, bitmap_clear::@1/$1f40, print_cls/$3e8 )
  [733] if(memset::num#3<=0) goto memset::@return
  to:memset::@1
memset::@1: scope:[memset]  from memset
  [734] memset::end#0 = (char *)memset::str#4 + memset::num#3
  [735] memset::dst#4 = (char *)memset::str#4
  to:memset::@2
memset::@2: scope:[memset]  from memset::@1 memset::@3
  [736] memset::dst#2 = phi( memset::@1/memset::dst#4, memset::@3/memset::dst#1 )
  [737] if(memset::dst#2!=memset::end#0) goto memset::@3
  to:memset::@return
memset::@return: scope:[memset]  from memset memset::@2
  [738] return 
  to:@return
memset::@3: scope:[memset]  from memset::@2
  [739] *memset::dst#2 = memset::c#5
  [740] memset::dst#1 = ++ memset::dst#2
  to:memset::@2

void print_char(char ch)
print_char: scope:[print_char]  from print_str_lines::@4
  [741] *print_char_cursor#43 = print_char::ch#0
  [742] print_char_cursor#29 = ++ print_char_cursor#43
  to:print_char::@return
print_char::@return: scope:[print_char]  from print_char
  [743] return 
  to:@return

void print_ln()
print_ln: scope:[print_ln]  from print_str_lines::@5
  [744] phi()
  to:print_ln::@1
print_ln::@1: scope:[print_ln]  from print_ln print_ln::@1
  [745] print_line_cursor#22 = phi( print_ln/print_line_cursor#1, print_ln::@1/print_line_cursor#2 )
  [746] print_line_cursor#2 = print_line_cursor#22 + $28
  [747] 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
  [748] return 
  to:@return

char * form_field_ptr(char field_idx)
form_field_ptr: scope:[form_field_ptr]  from form_control form_render_values::@2
  [749] 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 )
  [750] form_field_ptr::y#0 = form_fields_y[form_field_ptr::field_idx#2]
  [751] form_field_ptr::line#0 = form_line_hi[form_field_ptr::y#0] w= form_line_lo[form_field_ptr::y#0]
  [752] form_field_ptr::x#0 = form_fields_x[form_field_ptr::field_idx#2]
  [753] form_field_ptr::return#0 = (char *)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
  [754] return 
  to:@return

void print_str_at(char *str , char *at)
print_str_at: scope:[print_str_at]  from render_preset_name::@2
  [755] phi()
  to:print_str_at::@1
print_str_at::@1: scope:[print_str_at]  from print_str_at print_str_at::@2
  [756] print_str_at::at#2 = phi( print_str_at/FORM_SCREEN+$28*2+$a, print_str_at::@2/print_str_at::at#0 )
  [756] print_str_at::str#2 = phi( print_str_at/print_str_at::str#1, print_str_at::@2/print_str_at::str#0 )
  [757] 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
  [758] return 
  to:@return
print_str_at::@2: scope:[print_str_at]  from print_str_at::@1
  [759] *print_str_at::at#2 = *print_str_at::str#2
  [760] print_str_at::at#0 = ++ print_str_at::at#2
  [761] print_str_at::str#0 = ++ print_str_at::str#2
  to:print_str_at::@1

char keyboard_matrix_read(char rowid)
keyboard_matrix_read: scope:[keyboard_matrix_read]  from keyboard_event_scan::@7
  [762] *((char *)CIA1) = keyboard_matrix_row_bitmask[keyboard_matrix_read::rowid#0]
  [763] keyboard_matrix_read::return#0 = ~ *((char *)CIA1+OFFSET_STRUCT_MOS6526_CIA_PORT_B)
  to:keyboard_matrix_read::@return
keyboard_matrix_read::@return: scope:[keyboard_matrix_read]  from keyboard_matrix_read
  [764] return 
  to:@return

char keyboard_event_pressed(char 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
  [765] 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 )
  [766] keyboard_event_pressed::$0 = keyboard_event_pressed::keycode#4 >> 3
  [767] keyboard_event_pressed::row_bits#0 = keyboard_scan_values[keyboard_event_pressed::$0]
  [768] keyboard_event_pressed::$1 = keyboard_event_pressed::keycode#4 & 7
  [769] 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
  [770] return 
  to:@return

unsigned int abs_u16(unsigned int w)
abs_u16: scope:[abs_u16]  from bitmap_line bitmap_line::@12
  [771] abs_u16::w#2 = phi( bitmap_line/abs_u16::w#0, bitmap_line::@12/abs_u16::w#1 )
  [772] abs_u16::$0 = byte1  abs_u16::w#2
  [773] abs_u16::$1 = abs_u16::$0 & $80
  [774] if(0!=abs_u16::$1) goto abs_u16::@1
  to:abs_u16::@return
abs_u16::@1: scope:[abs_u16]  from abs_u16
  [775] abs_u16::return#2 = - abs_u16::w#2
  to:abs_u16::@return
abs_u16::@return: scope:[abs_u16]  from abs_u16 abs_u16::@1
  [776] abs_u16::return#4 = phi( abs_u16::@1/abs_u16::return#2, abs_u16/abs_u16::w#2 )
  [777] return 
  to:@return

unsigned int sgn_u16(unsigned int w)
sgn_u16: scope:[sgn_u16]  from bitmap_line::@1 bitmap_line::@14
  [778] sgn_u16::w#2 = phi( bitmap_line::@1/sgn_u16::w#0, bitmap_line::@14/sgn_u16::w#1 )
  [779] sgn_u16::$0 = byte1  sgn_u16::w#2
  [780] sgn_u16::$1 = sgn_u16::$0 & $80
  [781] if(0!=sgn_u16::$1) goto sgn_u16::@1
  to:sgn_u16::@return
sgn_u16::@1: scope:[sgn_u16]  from sgn_u16
  [782] phi()
  to:sgn_u16::@return
sgn_u16::@return: scope:[sgn_u16]  from sgn_u16 sgn_u16::@1
  [783] sgn_u16::return#4 = phi( sgn_u16::@1/-1, sgn_u16/1 )
  [784] return 
  to:@return

void bitmap_plot(unsigned int x , char y)
bitmap_plot: scope:[bitmap_plot]  from bitmap_line::@3 bitmap_line::@4 bitmap_line::@6 bitmap_line::@9
  [785] 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 )
  [785] 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 )
  [786] bitmap_plot::plotter#0 = bitmap_plot_yhi[bitmap_plot::y#4] w= bitmap_plot_ylo[bitmap_plot::y#4]
  [787] bitmap_plot::$1 = bitmap_plot::x#4 & $fff8
  [788] bitmap_plot::plotter#1 = (char *)bitmap_plot::plotter#0 + bitmap_plot::$1
  [789] bitmap_plot::$2 = byte0  bitmap_plot::x#4
  [790] *bitmap_plot::plotter#1 = *bitmap_plot::plotter#1 | bitmap_plot_bit[bitmap_plot::$2]
  to:bitmap_plot::@return
bitmap_plot::@return: scope:[bitmap_plot]  from bitmap_plot
  [791] return 
  to:@return
