From fa9736d15b2d613ab4f04c6fca26222dbb4dabb6 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 1 Feb 2021 21:52:35 +0100 Subject: [PATCH] Merged CX16 veralib progress. --- .../cx16/veralib/bitmap_8bpp_320_x_240.asm | 3482 +++ .../cx16/veralib/bitmap_8bpp_320_x_240.cfg | 1607 + .../cx16/veralib/bitmap_8bpp_320_x_240.log | 24959 ++++++++++++++++ .../cx16/veralib/bitmap_8bpp_320_x_240.sym | 1090 + .../cx16/veralib/tilemap_8bpp_16_x_16.asm | 2322 ++ .../cx16/veralib/tilemap_8bpp_16_x_16.cfg | 1046 + .../cx16/veralib/tilemap_8bpp_16_x_16.log | 16646 +++++++++++ .../cx16/veralib/tilemap_8bpp_16_x_16.sym | 712 + 8 files changed, 51864 insertions(+) create mode 100644 src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.asm create mode 100644 src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.cfg create mode 100644 src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.log create mode 100644 src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.sym create mode 100644 src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.asm create mode 100644 src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.cfg create mode 100644 src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.log create mode 100644 src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.sym diff --git a/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.asm b/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.asm new file mode 100644 index 000000000..a5ebf71c6 --- /dev/null +++ b/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.asm @@ -0,0 +1,3482 @@ +// Example program for the Commander X16. +// Demonstrates the usage of the VERA tile map modes and layering. +.cpu _65c02 + // Commodore 64 PRG executable file +.file [name="bitmap_8bpp_320_x_240.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$0801] +.segmentdef Code [start=$80d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(__start) + // The colors of the CX16 + .const BLACK = 0 + .const WHITE = 1 + .const BLUE = 6 + .const YELLOW = 7 + .const VERA_INC_1 = $10 + .const VERA_ADDRSEL = 1 + .const VERA_LAYER1_ENABLE = $20 + .const VERA_LAYER0_ENABLE = $10 + .const VERA_LAYER_WIDTH_64 = $10 + .const VERA_LAYER_WIDTH_128 = $20 + .const VERA_LAYER_WIDTH_256 = $30 + .const VERA_LAYER_WIDTH_MASK = $30 + .const VERA_LAYER_HEIGHT_64 = $40 + .const VERA_LAYER_HEIGHT_128 = $80 + .const VERA_LAYER_HEIGHT_256 = $c0 + .const VERA_LAYER_HEIGHT_MASK = $c0 + // Bit 0-1: Color Depth (0: 1 bpp, 1: 2 bpp, 2: 4 bpp, 3: 8 bpp) + .const VERA_LAYER_COLOR_DEPTH_1BPP = 0 + .const VERA_LAYER_COLOR_DEPTH_8BPP = 3 + .const VERA_LAYER_COLOR_DEPTH_MASK = 3 + .const VERA_LAYER_CONFIG_MODE_BITMAP = 4 + .const VERA_LAYER_CONFIG_256C = 8 + .const VERA_TILEBASE_WIDTH_16 = 1 + .const VERA_TILEBASE_HEIGHT_16 = 2 + .const VERA_LAYER_TILEBASE_MASK = $fc + .const SIZEOF_POINTER = 2 + // $9F20 VRAM Address (7:0) + .label VERA_ADDRX_L = $9f20 + // $9F21 VRAM Address (15:8) + .label VERA_ADDRX_M = $9f21 + // $9F22 VRAM Address (7:0) + // Bit 4-7: Address Increment The following is the amount incremented per value value:increment + // 0:0, 1:1, 2:2, 3:4, 4:8, 5:16, 6:32, 7:64, 8:128, 9:256, 10:512, 11:40, 12:80, 13:160, 14:320, 15:640 + // Bit 3: DECR Setting the DECR bit, will decrement instead of increment by the value set by the 'Address Increment' field. + // Bit 0: VRAM Address (16) + .label VERA_ADDRX_H = $9f22 + // $9F23 DATA0 VRAM Data port 0 + .label VERA_DATA0 = $9f23 + // $9F24 DATA1 VRAM Data port 1 + .label VERA_DATA1 = $9f24 + // $9F25 CTRL Control + // Bit 7: Reset + // Bit 1: DCSEL + // Bit 2: ADDRSEL + .label VERA_CTRL = $9f25 + // $9F29 DC_VIDEO (DCSEL=0) + // Bit 7: Current Field Read-only bit which reflects the active interlaced field in composite and RGB modes. (0: even, 1: odd) + // Bit 6: Sprites Enable Enable output from the Sprites renderer + // Bit 5: Layer1 Enable Enable output from the Layer1 renderer + // Bit 4: Layer0 Enable Enable output from the Layer0 renderer + // Bit 2: Chroma Disable Setting 'Chroma Disable' disables output of chroma in NTSC composite mode and will give a better picture on a monochrome display. (Setting this bit will also disable the chroma output on the S-video output.) + // Bit 0-1: Output Mode 0: Video disabled, 1: VGA output, 2: NTSC composite, 3: RGB interlaced, composite sync (via VGA connector) + .label VERA_DC_VIDEO = $9f29 + // $9F2A DC_HSCALE (DCSEL=0) Active Display H-Scale + .label VERA_DC_HSCALE = $9f2a + // $9F2B DC_VSCALE (DCSEL=0) Active Display V-Scale + .label VERA_DC_VSCALE = $9f2b + // $9F2D L0_CONFIG Layer 0 Configuration + .label VERA_L0_CONFIG = $9f2d + // $9F2E L0_MAPBASE Layer 0 Map Base Address (16:9) + .label VERA_L0_MAPBASE = $9f2e + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L0_TILEBASE = $9f2f + // $9F34 L1_CONFIG Layer 1 Configuration + .label VERA_L1_CONFIG = $9f34 + // $9F35 L1_MAPBASE Layer 1 Map Base Address (16:9) + .label VERA_L1_MAPBASE = $9f35 + // $9F36 L1_TILEBASE Layer 1 Tile Base + // Bit 2-7: Tile Base Address (16:11) + // Bit 1: Tile Height (0:8 pixels, 1:16 pixels) + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L1_TILEBASE = $9f36 + // Variable holding the screen width; + .label conio_screen_width = $19 + // Variable holding the screen height; + .label conio_screen_height = $1a + // Variable holding the screen layer on the VERA card with which conio interacts; + .label conio_screen_layer = $1b + // Variables holding the current map width and map height of the layer. + .label conio_width = $1c + .label conio_height = $1e + .label conio_rowshift = $20 + .label conio_rowskip = $21 + .label __bitmap_address = $23 + .label __bitmap_layer = $27 + .label __bitmap_hscale = $28 + .label __bitmap_vscale = $29 + .label __bitmap_color_depth = $2a + // The random state variable + .label rand_state = $11 + // Remainder after unsigned 16-bit division + .label rem16u = $58 + .label CONIO_SCREEN_BANK = $2b + // The screen width + // The screen height + // The text screen base address, which is a 16:0 bit value in VERA VRAM. + // That is 128KB addressable space, thus 17 bits in total. + // CONIO_SCREEN_TEXT contains bits 15:0 of the address. + // CONIO_SCREEN_BANK contains bit 16, the the 64K memory bank in VERA VRAM (the upper 17th bit). + // !!! note that these values are not const for the cx16! + // This conio implements the two layers of VERA, which can be layer 0 or layer 1. + // Configuring conio to output to a different layer, will change these fields to the address base + // configured using VERA_L0_MAPBASE = 0x9f2e or VERA_L1_MAPBASE = 0x9f35. + // Using the function setscreenlayer(layer) will re-calculate using CONIO_SCREEN_TEXT and CONIO_SCREEN_BASE + // based on the values of VERA_L0_MAPBASE or VERA_L1_MAPBASE, mapping the base address of the selected layer. + // The function setscreenlayermapbase(layer,mapbase) allows to configure bit 16:9 of the + // mapbase address of the time map in VRAM of the selected layer VERA_L0_MAPBASE or VERA_L1_MAPBASE. + .label CONIO_SCREEN_TEXT = $2c +.segment Code +__start: { + // conio_screen_width = 0 + lda #0 + sta.z conio_screen_width + // conio_screen_height = 0 + sta.z conio_screen_height + // conio_screen_layer = 1 + lda #1 + sta.z conio_screen_layer + // conio_width = 0 + lda #<0 + sta.z conio_width + sta.z conio_width+1 + // conio_height = 0 + sta.z conio_height + sta.z conio_height+1 + // conio_rowshift = 0 + sta.z conio_rowshift + // conio_rowskip = 0 + sta.z conio_rowskip + sta.z conio_rowskip+1 + // __bitmap_address = 0 + sta.z __bitmap_address + sta.z __bitmap_address+1 + lda #<0>>$10 + sta.z __bitmap_address+2 + lda #>0>>$10 + sta.z __bitmap_address+3 + // __bitmap_layer = 0 + lda #0 + sta.z __bitmap_layer + // __bitmap_hscale = 0 + sta.z __bitmap_hscale + // __bitmap_vscale = 0 + sta.z __bitmap_vscale + // __bitmap_color_depth = 0 + sta.z __bitmap_color_depth + // #pragma constructor_for(conio_x16_init, cputc, clrscr, cscroll) + jsr conio_x16_init + jsr main + rts +} +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // line = *BASIC_CURSOR_LINE + lda BASIC_CURSOR_LINE + sta.z line + // vera_layer_mode_text(1,(dword)0x00000,(dword)0x0F800,128,64,8,8,16) + jsr vera_layer_mode_text + // screensize(&conio_screen_width, &conio_screen_height) + jsr screensize + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(1, WHITE) + lda #WHITE + ldx #1 + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(1, BLUE) + lda #BLUE + ldx #1 + jsr vera_layer_set_backcolor + // vera_layer_set_mapbase(0,0x20) + ldx #$20 + lda #0 + jsr vera_layer_set_mapbase + // vera_layer_set_mapbase(1,0x00) + ldx #0 + lda #1 + jsr vera_layer_set_mapbase + // if(line>=CONIO_HEIGHT) + lda.z line + cmp.z conio_screen_height + bcc __b1 + // line=CONIO_HEIGHT-1 + ldx.z conio_screen_height + dex + stx.z line + __b1: + // gotoxy(0, line) + ldx.z line + jsr gotoxy + // } + rts +} +main: { + .label __40 = $13 + .label color = 5 + .label x = 3 + // memcpy_in_vram(1, 0xF000, VERA_INC_1, 0, 0xF800, VERA_INC_1, 256*8) + // Before we configure the bitmap pane into vera memory we need to re-arrange a few things! + // It is better to load all in bank 0, but then there is an issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x14000. + // This is now all easily done with a few statements in the new kickc vera lib ... + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + ldy #1 + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // vera_layer_mode_tile(1, 0x14000, 0x1F000, 128, 64, 8, 8, 1) + // We copy the 128 character set of 8 bytes each. + lda #8 + sta.z vera_layer_mode_tile.tileheight + sta.z vera_layer_mode_tile.tilewidth + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + lda #1 + sta.z vera_layer_mode_tile.layer + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // vera_layer_mode_bitmap(0, (dword)0x00000, 320, 8) + jsr vera_layer_mode_bitmap + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #WHITE + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #BLACK + jsr vera_layer_set_backcolor + // clrscr() + jsr clrscr + // gotoxy(0,25) + ldx #$19 + jsr gotoxy + // printf("vera in bitmap mode,\n") + lda #s + sta.z cputs.s+1 + jsr cputs + // printf("color depth 8 bits per pixel.\n") + lda #s1 + sta.z cputs.s+1 + jsr cputs + // printf("in this mode, it is possible to display\n") + lda #s2 + sta.z cputs.s+1 + jsr cputs + // printf("graphics in 256 colors.\n") + lda #s3 + sta.z cputs.s+1 + jsr cputs + // *VERA_DC_VIDEO |= vera_layer_enable[layer] + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + // bitmap_init(0, 0x00000) + jsr bitmap_init + // bitmap_clear() + jsr bitmap_clear + // gotoxy(0,29) + ldx #$1d + jsr gotoxy + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #YELLOW + jsr vera_layer_set_textcolor + // printf("press a key ...") + lda #s4 + sta.z cputs.s+1 + jsr cputs + lda #<1 + sta.z rand_state + lda #>1 + sta.z rand_state+1 + __b1: + // kbhit() + jsr kbhit + // while(!kbhit()) + cmp #0 + bne !__b2+ + jmp __b2 + !__b2: + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #WHITE + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #BLACK + jsr vera_layer_set_backcolor + // clrscr() + jsr clrscr + // gotoxy(0,26) + ldx #$1a + jsr gotoxy + // printf("here you see all the colors possible.\n") + lda #s5 + sta.z cputs.s+1 + jsr cputs + // gotoxy(0,29) + ldx #$1d + jsr gotoxy + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #YELLOW + jsr vera_layer_set_textcolor + // printf("press a key ...") + lda #s4 + sta.z cputs.s+1 + jsr cputs + lda #0 + sta.z color + sta.z x + sta.z x+1 + __b3: + // kbhit() + jsr kbhit + // while(!kbhit()) + cmp #0 + beq __b4 + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #WHITE + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #BLUE + jsr vera_layer_set_backcolor + // clrscr() + jsr clrscr + // } + rts + __b4: + // bitmap_line(x, x, 0, 199, color) + lda.z x + sta.z bitmap_line.x1 + lda.z x+1 + sta.z bitmap_line.x1+1 + ldx.z color + lda #<$c7 + sta.z bitmap_line.y1 + lda #>$c7 + sta.z bitmap_line.y1+1 + lda #<0 + sta.z bitmap_line.y0 + sta.z bitmap_line.y0+1 + jsr bitmap_line + // color++; + inc.z color + // x++; + inc.z x + bne !+ + inc.z x+1 + !: + // if(x>319) + lda.z x+1 + cmp #>$13f + bne !+ + lda.z x + cmp #<$13f + !: + bcc __b3 + beq __b3 + lda #<0 + sta.z x + sta.z x+1 + jmp __b3 + __b2: + // rand() + jsr rand + // rand() + // modr16u(rand(),320,0) + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + jsr modr16u + // modr16u(rand(),320,0) + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + lda.z modr16u.return + sta.z bitmap_line.x0 + lda.z modr16u.return+1 + sta.z bitmap_line.x0+1 + // rand() + jsr rand + // rand() + // modr16u(rand(),320,0) + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + jsr modr16u + // modr16u(rand(),320,0) + lda.z modr16u.return + sta.z modr16u.return_1 + lda.z modr16u.return+1 + sta.z modr16u.return_1+1 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // rand() + jsr rand + // rand() + // modr16u(rand(),200,0) + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + jsr modr16u + // modr16u(rand(),200,0) + lda.z modr16u.return + sta.z modr16u.return_2 + lda.z modr16u.return+1 + sta.z modr16u.return_2+1 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // rand() + jsr rand + // rand() + // modr16u(rand(),200,0) + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + jsr modr16u + // modr16u(rand(),200,0) + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // rand() + jsr rand + // rand() + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + lda #$ff + and.z __40 + tax + jsr bitmap_line + jmp __b1 + .segment Data + s: .text @"vera in bitmap mode,\n" + .byte 0 + s1: .text @"color depth 8 bits per pixel.\n" + .byte 0 + s2: .text @"in this mode, it is possible to display\n" + .byte 0 + s3: .text @"graphics in 256 colors.\n" + .byte 0 + s4: .text "press a key ..." + .byte 0 + s5: .text @"here you see all the colors possible.\n" + .byte 0 +} +.segment Code +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // vera_layer_mode_tile( layer, mapbase_address, tilebase_address, mapwidth, mapheight, tilewidth, tileheight, 1 ) + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + lda #layer + sta.z vera_layer_mode_tile.layer + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // vera_layer_set_text_color_mode( layer, VERA_LAYER_CONFIG_16C ) + jsr vera_layer_set_text_color_mode + // } + rts +} +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // hscale = (*VERA_DC_HSCALE) >> 7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // 40 << hscale + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *x = 40 << hscale + sta.z x + // vscale = (*VERA_DC_VSCALE) >> 7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // 30 << vscale + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *y = 30 << vscale + sta.z y + // } + rts +} +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $38 + .label __4 = $30 + .label __5 = $35 + .label vera_layer_get_width1_config = $2e + .label vera_layer_get_width1_return = $38 + .label vera_layer_get_height1_config = $32 + .label vera_layer_get_height1_return = $35 + // conio_screen_layer = layer + lda #1 + sta.z conio_screen_layer + // vera_layer_get_mapbase_bank(conio_screen_layer) + tax + jsr vera_layer_get_mapbase_bank + sta.z CONIO_SCREEN_BANK + // vera_layer_get_mapbase_offset(conio_screen_layer) + lda.z conio_screen_layer + jsr vera_layer_get_mapbase_offset + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // vera_layer_get_width(conio_screen_layer) + lda.z conio_screen_layer + // config = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // *config & VERA_LAYER_WIDTH_MASK + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // (*config & VERA_LAYER_WIDTH_MASK) >> 4 + lsr + lsr + lsr + lsr + // return VERA_LAYER_WIDTH[ (*config & VERA_LAYER_WIDTH_MASK) >> 4]; + asl + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + // } + // vera_layer_get_width(conio_screen_layer) + // conio_width = vera_layer_get_width(conio_screen_layer) + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // vera_layer_get_rowshift(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_rowshift + // conio_rowshift = vera_layer_get_rowshift(conio_screen_layer) + sta.z conio_rowshift + // vera_layer_get_rowskip(conio_screen_layer) + lda.z conio_screen_layer + jsr vera_layer_get_rowskip + // conio_rowskip = vera_layer_get_rowskip(conio_screen_layer) + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // vera_layer_get_height(conio_screen_layer) + lda.z conio_screen_layer + // config = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // *config & VERA_LAYER_HEIGHT_MASK + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // (*config & VERA_LAYER_HEIGHT_MASK) >> 6 + rol + rol + rol + and #3 + // return VERA_LAYER_HEIGHT[ (*config & VERA_LAYER_HEIGHT_MASK) >> 6]; + asl + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + // } + // vera_layer_get_height(conio_screen_layer) + // conio_height = vera_layer_get_height(conio_screen_layer) + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + // } + rts +} +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_textcolor: { + // vera_layer_textcolor[layer] = color + sta vera_layer_textcolor,x + // } + rts +} +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // vera_layer_backcolor[layer] = color + sta vera_layer_backcolor,x + // } + rts +} +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $38 + // addr = vera_layer_mapbase[layer] + asl + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // *addr = mapbase + txa + ldy #0 + sta (addr),y + // } + rts +} +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $30 + .label line_offset = $30 + // if(y>CONIO_HEIGHT) + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b1 + ldx #0 + __b1: + // if(x>=CONIO_WIDTH) + lda.z conio_screen_width + // conio_cursor_x[conio_screen_layer] = x + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer] = y + txa + sta conio_cursor_y,y + // (unsigned int)y << conio_rowshift + txa + sta.z __6 + lda #0 + sta.z __6+1 + // line_offset = (unsigned int)y << conio_rowshift + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // conio_line_text[conio_screen_layer] = line_offset + lda.z conio_screen_layer + asl + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + // } + rts +} +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte register(Y) dest_bank, void* zp($15) dest, byte* zp($13) src, word zp($17) num) +memcpy_in_vram: { + .label i = $41 + .label dest = $15 + .label src = $13 + .label num = $17 + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // src + lda.z src+1 + // *VERA_ADDRX_M = >src + sta VERA_ADDRX_M + // *VERA_ADDRX_H = src_increment | src_bank + lda #VERA_INC_1 + sta VERA_ADDRX_H + // *VERA_CTRL |= VERA_ADDRSEL + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // dest + lda.z dest+1 + // *VERA_ADDRX_M = >dest + sta VERA_ADDRX_M + // dest_increment | dest_bank + tya + ora #VERA_INC_1 + // *VERA_ADDRX_H = dest_increment | dest_bank + sta VERA_ADDRX_H + lda #<0 + sta.z i + sta.z i+1 + // Transfer the data + __b1: + // for(unsigned int i=0; i$100 + bne __b1 + lda.z mapwidth + cmp #<$100 + bne __b1 + // vera_layer_rowshift[layer] = 9 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 512 + tya + asl + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + ldx #VERA_LAYER_WIDTH_256 + jmp __b9 + __b1: + ldx #VERA_LAYER_COLOR_DEPTH_1BPP + __b9: + // case 32: + // config |= VERA_LAYER_HEIGHT_32; + // break; + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b16 + !: + // case 64: + // config |= VERA_LAYER_HEIGHT_64; + // break; + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b13 + !: + // case 128: + // config |= VERA_LAYER_HEIGHT_128; + // break; + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b14 + !: + // case 256: + // config |= VERA_LAYER_HEIGHT_256; + // break; + lda.z mapheight+1 + cmp #>$100 + bne __b16 + lda.z mapheight + cmp #<$100 + bne __b16 + // config |= VERA_LAYER_HEIGHT_256 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + __b16: + // vera_layer_set_config(layer, config) + lda.z layer + jsr vera_layer_set_config + // mapbase_address + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // vera_mapbase_bank[layer] = (byte)(>mapbase_address) + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // vera_mapbase_address[layer] = mapbase_address + tya + asl + asl + sta.z __20 + tay + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // mapbase_address = mapbase_address >> 1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // (tilebase_address + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // vera_tilebase_bank[layer] = (byte)>tilebase_address + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // vera_tilebase_address[layer] = tilebase_address + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // tilebase_address = tilebase_address >> 1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // ($100 + sta vera_layer_rowskip+1,y + ldx #VERA_LAYER_WIDTH_128 + jmp __b9 + __b6: + // vera_layer_rowshift[layer] = 7 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 128 + tya + asl + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + ldx #VERA_LAYER_WIDTH_64 + jmp __b9 + __b5: + // vera_layer_rowshift[layer] = 6 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 64 + tya + asl + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b1 +} +// Set a vera layer in bitmap mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_bitmap: { + .const layer = 0 + .const bitmap_address = 0 + // config + .const config = VERA_LAYER_COLOR_DEPTH_8BPP|VERA_LAYER_CONFIG_MODE_BITMAP + .const tilebase = 0 + // vera_tilebase_offset[layer] = bitmap_address + sta vera_tilebase_bank + // vera_tilebase_address[layer] = bitmap_address + lda #bitmap_address + sta vera_tilebase_address+1 + lda #>$10 + sta vera_tilebase_address+2 + lda #>bitmap_address>>$10 + sta vera_tilebase_address+3 + // *VERA_DC_HSCALE = 64 + lda #$40 + sta VERA_DC_HSCALE + // *VERA_DC_VSCALE = 64 + sta VERA_DC_VSCALE + // vera_layer_set_config(layer, config) + ldx #config + lda #layer + jsr vera_layer_set_config + // vera_layer_set_tilebase(layer,tilebase) + ldx #tilebase + lda #layer + jsr vera_layer_set_tilebase + // } + rts +} +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3e + .label line_text = $13 + .label color = $3e + // line_text = CONIO_SCREEN_TEXT + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // vera_layer_get_backcolor(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_backcolor + // vera_layer_get_backcolor(conio_screen_layer) << 4 + asl + asl + asl + asl + sta.z __1 + // vera_layer_get_textcolor(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_textcolor + // color = ( vera_layer_get_backcolor(conio_screen_layer) << 4 ) | vera_layer_get_textcolor(conio_screen_layer) + ora.z color + sta.z color + ldx #0 + __b1: + // for( char l=0;lch + lda.z line_text+1 + // *VERA_ADDRX_M = >ch + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + sta VERA_ADDRX_H + ldy #0 + __b4: + // for( char c=0;caddress + sta.z __bitmap_address+1 + lda #
>$10 + sta.z __bitmap_address+2 + lda #>address>>$10 + sta.z __bitmap_address+3 + // __bitmap_layer = layer + lda #layer + sta.z __bitmap_layer + // vera_layer_get_color_depth(__bitmap_layer) + // config = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z vera_layer_get_color_depth1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_color_depth1_config+1 + // *config & VERA_LAYER_COLOR_DEPTH_MASK + lda #VERA_LAYER_COLOR_DEPTH_MASK + ldy #0 + and (vera_layer_get_color_depth1_config),y + // return (*config & VERA_LAYER_COLOR_DEPTH_MASK); + // } + // vera_layer_get_color_depth(__bitmap_layer) + // __bitmap_color_depth = vera_layer_get_color_depth(__bitmap_layer) + sta.z __bitmap_color_depth + // vera_display_get_hscale() + jsr vera_display_get_hscale + // vera_display_get_hscale() + // __bitmap_hscale = vera_display_get_hscale() + stx.z __bitmap_hscale + // vera_display_get_vscale() + jsr vera_display_get_vscale + // vera_display_get_vscale() + // __bitmap_vscale = vera_display_get_vscale() + // Returns 1 when 640 and 2 when 320. + stx.z __bitmap_vscale + // bitmask = bitmasks[__bitmap_color_depth] + // Returns 1 when 480 and 2 when 240. + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + // bitshift = bitshifts[__bitmap_color_depth] + ldx bitshifts,y + lda #<0 + sta.z x + sta.z x+1 + __b1: + // if(__bitmap_color_depth==0) + lda.z __bitmap_color_depth + cmp #0 + bne __b2 + // x >> 3 + lda.z x+1 + lsr + sta.z __7+1 + lda.z x + ror + sta.z __7 + lsr.z __7+1 + ror.z __7 + lsr.z __7+1 + ror.z __7 + // __bitmap_plot_x[x] = (x >> 3) + lda.z x + asl + sta.z __23 + lda.z x+1 + rol + sta.z __23+1 + clc + lda.z __29 + adc #<__bitmap_plot_x + sta.z __29 + lda.z __29+1 + adc #>__bitmap_plot_x + sta.z __29+1 + ldy #0 + lda.z __7 + sta (__29),y + iny + lda.z __7+1 + sta (__29),y + // __bitmap_plot_bitmask[x] = bitmask + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __30 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __30+1 + lda.z bitmask + ldy #0 + sta (__30),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __31 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __31+1 + txa + sta (__31),y + // bitshift -= 1 + dex + // bitmask >>= 1 + lsr.z bitmask + __b2: + // if(__bitmap_color_depth==1) + lda #1 + cmp.z __bitmap_color_depth + bne __b3 + // x >> 2 + lda.z x+1 + lsr + sta.z __10+1 + lda.z x + ror + sta.z __10 + lsr.z __10+1 + ror.z __10 + // __bitmap_plot_x[x] = (x >> 2) + lda.z x + asl + sta.z __24 + lda.z x+1 + rol + sta.z __24+1 + clc + lda.z __32 + adc #<__bitmap_plot_x + sta.z __32 + lda.z __32+1 + adc #>__bitmap_plot_x + sta.z __32+1 + ldy #0 + lda.z __10 + sta (__32),y + iny + lda.z __10+1 + sta (__32),y + // __bitmap_plot_bitmask[x] = bitmask + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __33 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __33+1 + lda.z bitmask + ldy #0 + sta (__33),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __34 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __34+1 + txa + sta (__34),y + // bitshift -= 2 + dex + dex + // bitmask >>= 2 + lda.z bitmask + lsr + lsr + sta.z bitmask + __b3: + // if(__bitmap_color_depth==2) + lda #2 + cmp.z __bitmap_color_depth + bne __b4 + // x >> 1 + lda.z x+1 + lsr + sta.z __13+1 + lda.z x + ror + sta.z __13 + // __bitmap_plot_x[x] = (x >> 1) + lda.z x + asl + sta.z __25 + lda.z x+1 + rol + sta.z __25+1 + clc + lda.z __35 + adc #<__bitmap_plot_x + sta.z __35 + lda.z __35+1 + adc #>__bitmap_plot_x + sta.z __35+1 + ldy #0 + lda.z __13 + sta (__35),y + iny + lda.z __13+1 + sta (__35),y + // __bitmap_plot_bitmask[x] = bitmask + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __36 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __36+1 + lda.z bitmask + ldy #0 + sta (__36),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __37 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __37+1 + txa + sta (__37),y + // bitshift -= 4 + txa + sec + sbc #4 + tax + // bitmask >>= 4 + lda.z bitmask + lsr + lsr + lsr + lsr + sta.z bitmask + __b4: + // if(__bitmap_color_depth==3) + lda #3 + cmp.z __bitmap_color_depth + bne __b5 + // __bitmap_plot_x[x] = x + lda.z x + asl + sta.z __26 + lda.z x+1 + rol + sta.z __26+1 + clc + lda.z __38 + adc #<__bitmap_plot_x + sta.z __38 + lda.z __38+1 + adc #>__bitmap_plot_x + sta.z __38+1 + ldy #0 + lda.z x + sta (__38),y + iny + lda.z x+1 + sta (__38),y + // __bitmap_plot_bitmask[x] = bitmask + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __39 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __39+1 + lda.z bitmask + ldy #0 + sta (__39),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __40 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __40+1 + txa + sta (__40),y + __b5: + // if(bitshift<0) + cpx #0 + bpl __b6 + // bitshift = bitshifts[__bitmap_color_depth] + ldy.z __bitmap_color_depth + ldx bitshifts,y + __b6: + // if(bitmask==0) + lda.z bitmask + cmp #0 + bne __b7 + // bitmask = bitmasks[__bitmap_color_depth] + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + __b7: + // for(word x : 0..639) + inc.z x + bne !+ + inc.z x+1 + !: + lda.z x+1 + cmp #>$280 + beq !__b1+ + jmp __b1 + !__b1: + lda.z x + cmp #<$280 + beq !__b1+ + jmp __b1 + !__b1: + // __bitmap_color_depth<<2 + lda.z __bitmap_color_depth + asl + asl + // (__bitmap_color_depth<<2)+__bitmap_hscale + clc + adc.z __bitmap_hscale + // hdelta = hdeltas[(__bitmap_color_depth<<2)+__bitmap_hscale] + asl + // This sets the right delta to skip a whole line based on the scale, depending on the color depth. + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // yoffs = __bitmap_address + // We start at the bitmap address; The plot_y contains the bitmap address embedded so we know where a line starts. + lda.z __bitmap_address + sta.z yoffs + lda.z __bitmap_address+1 + sta.z yoffs+1 + lda.z __bitmap_address+2 + sta.z yoffs+2 + lda.z __bitmap_address+3 + sta.z yoffs+3 + lda #<0 + sta.z y + sta.z y+1 + __b15: + // __bitmap_plot_y[y] = yoffs + lda.z y + asl + sta.z __28 + lda.z y+1 + rol + sta.z __28+1 + asl.z __28 + rol.z __28+1 + clc + lda.z __41 + adc #<__bitmap_plot_y + sta.z __41 + lda.z __41+1 + adc #>__bitmap_plot_y + sta.z __41+1 + ldy #0 + lda.z yoffs + sta (__41),y + iny + lda.z yoffs+1 + sta (__41),y + iny + lda.z yoffs+2 + sta (__41),y + iny + lda.z yoffs+3 + sta (__41),y + // yoffs = yoffs + hdelta + lda.z yoffs + clc + adc.z hdelta + sta.z yoffs + lda.z yoffs+1 + adc.z hdelta+1 + sta.z yoffs+1 + lda.z yoffs+2 + adc #0 + sta.z yoffs+2 + lda.z yoffs+3 + adc #0 + sta.z yoffs+3 + // for(word y : 0..479) + inc.z y + bne !+ + inc.z y+1 + !: + lda.z y+1 + cmp #>$1e0 + bne __b15 + lda.z y + cmp #<$1e0 + bne __b15 + // } + rts +} +// Clear all graphics on the bitmap +bitmap_clear: { + .label __3 = $43 + .label vdelta = $41 + .label hdelta = $15 + .label count = $5e + .label vdest = $45 + // vdelta = vdeltas[__bitmap_vscale] + lda.z __bitmap_vscale + asl + tay + lda vdeltas,y + sta.z vdelta + lda vdeltas+1,y + sta.z vdelta+1 + // __bitmap_color_depth<<2 + lda.z __bitmap_color_depth + asl + asl + // (__bitmap_color_depth<<2)+__bitmap_hscale + clc + adc.z __bitmap_hscale + // hdelta = hdeltas[(__bitmap_color_depth<<2)+__bitmap_hscale] + asl + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // mul16u(hdelta,vdelta) + jsr mul16u + // count = mul16u(hdelta,vdelta) + // >__bitmap_address + lda.z __bitmap_address+2 + sta.z __3 + lda.z __bitmap_address+3 + sta.z __3+1 + // vbank = <(>__bitmap_address) + ldx.z __3 + // <__bitmap_address + lda.z __bitmap_address + sta.z vdest + lda.z __bitmap_address+1 + sta.z vdest+1 + // memset_vram(vbank, vdest, 0, count) + jsr memset_vram + // } + rts +} +// Return true if there's a key waiting, return false if not +kbhit: { + .label chptr = ch + .label IN_DEV = $28a + // Current input device number + .label GETIN = $ffe4 + .label ch = $47 + // ch = 0 + lda #0 + sta.z ch + // kickasm + // CBM GETIN API + jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + + // return ch; + // } + rts +} +// Draw a line on the bitmap +// bitmap_line(word zp(3) x0, word zp($41) x1, word zp($43) y0, word zp($15) y1, byte register(X) c) +bitmap_line: { + .label xd = $17 + .label yd = $3f + .label yd_1 = $45 + .label x0 = 3 + .label x1 = $41 + .label y0 = $43 + .label y1 = $15 + // if(x0> 9 + lsr + sta.z __1 + lda #0 + sta.z __1+1 + // rand_state ^= rand_state >> 9 + lda.z rand_state + eor.z __1 + sta.z rand_state + lda.z rand_state+1 + eor.z __1+1 + sta.z rand_state+1 + // rand_state << 8 + lda.z rand_state + sta.z __2+1 + lda #0 + sta.z __2 + // rand_state ^= rand_state << 8 + lda.z rand_state + eor.z __2 + sta.z rand_state + lda.z rand_state+1 + eor.z __2+1 + sta.z rand_state+1 + // return rand_state; + lda.z rand_state + sta.z return + lda.z rand_state+1 + sta.z return+1 + // } + rts +} +// Performs modulo on two 16 bit unsigned ints and an initial remainder +// Returns the remainder. +// Implemented using simple binary division +// modr16u(word zp($13) dividend, word zp($17) divisor) +modr16u: { + .label return = $15 + .label dividend = $13 + .label return_1 = $41 + .label return_2 = $43 + .label divisor = $17 + // divr16u(dividend, divisor, rem) + jsr divr16u + // return rem16u; + lda.z rem16u + sta.z return + lda.z rem16u+1 + sta.z return+1 + // } + rts +} +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $4c + // addr = vera_layer_config[layer] + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // *addr &= ~VERA_LAYER_CONFIG_256C + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + sta (addr),y + // *addr |= color_mode + lda (addr),y + sta (addr),y + // } + rts +} +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // return vera_mapbase_bank[layer]; + lda vera_mapbase_bank,x + // } + rts +} +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $30 + // return vera_mapbase_offset[layer]; + asl + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + // } + rts +} +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // return vera_layer_rowshift[layer]; + lda vera_layer_rowshift,x + // } + rts +} +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $30 + // return vera_layer_rowskip[layer]; + asl + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + // } + rts +} +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $4e + // addr = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr = config + txa + ldy #0 + sta (addr),y + // } + rts +} +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $4e + // addr = vera_layer_tilebase[layer] + asl + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // *addr = tilebase + txa + ldy #0 + sta (addr),y + // } + rts +} +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // return vera_layer_backcolor[layer]; + lda vera_layer_backcolor,x + // } + rts +} +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // return vera_layer_textcolor[layer]; + lda vera_layer_textcolor,x + // } + rts +} +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3e) c) +cputc: { + .label __16 = $6e + .label conio_addr = $6c + .label c = $3e + // vera_layer_get_color( conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // color = vera_layer_get_color( conio_screen_layer) + tax + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // conio_addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // conio_cursor_x[conio_screen_layer] << 1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // conio_addr += conio_cursor_x[conio_screen_layer] << 1 + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // if(c=='\n') + lda #'\n' + cmp.z c + beq __b1 + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // conio_addr + lda.z conio_addr+1 + // *VERA_ADDRX_M = >conio_addr + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + sta VERA_ADDRX_H + // *VERA_DATA0 = c + lda.z c + sta VERA_DATA0 + // *VERA_DATA0 = color + stx VERA_DATA0 + // conio_cursor_x[conio_screen_layer]++; + ldx.z conio_screen_layer + inc conio_cursor_x,x + // scroll_enable = conio_scroll_enable[conio_screen_layer] + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // if(scroll_enable) + cmp #0 + bne __b5 + // (unsigned int)conio_cursor_x[conio_screen_layer] == conio_width + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // if((unsigned int)conio_cursor_x[conio_screen_layer] == conio_width) + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // cputln() + jsr cputln + __breturn: + // } + rts + __b5: + // if(conio_cursor_x[conio_screen_layer] == CONIO_WIDTH) + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // cputln() + jsr cputln + rts + __b1: + // cputln() + jsr cputln + rts +} +vera_display_get_hscale: { + .const scale = 0 + ldx #1 + __b1: + // if(*VERA_DC_HSCALE==hscale[s]) + lda hscale,x + cmp VERA_DC_HSCALE + bne __b2 + rts + __b2: + // for(byte s:1..3) + inx + cpx #4 + bne __b1 + ldx #scale + // } + rts + .segment Data + hscale: .byte 0, $80, $40, $20 +} +.segment Code +vera_display_get_vscale: { + .const scale = 0 + ldx #1 + __b1: + // if(*VERA_DC_VSCALE==vscale[s]) + lda vscale,x + cmp VERA_DC_VSCALE + bne __b2 + rts + __b2: + // for(byte s:1..3) + inx + cpx #4 + bne __b1 + ldx #scale + // } + rts + .segment Data + vscale: .byte 0, $80, $40, $20 +} +.segment Code +// Perform binary multiplication of two unsigned 16-bit unsigned ints into a 32-bit unsigned long +// mul16u(word zp($15) a, word zp($41) b) +mul16u: { + .label mb = $64 + .label a = $15 + .label res = $5e + .label b = $41 + .label return = $5e + // mb = b + lda.z b + sta.z mb + lda.z b+1 + sta.z mb+1 + lda #0 + sta.z mb+2 + sta.z mb+3 + sta.z res + sta.z res+1 + lda #<0>>$10 + sta.z res+2 + lda #>0>>$10 + sta.z res+3 + __b1: + // while(a!=0) + lda.z a + ora.z a+1 + bne __b2 + // } + rts + __b2: + // a&1 + lda #1 + and.z a + // if( (a&1) != 0) + cmp #0 + beq __b3 + // res = res + mb + lda.z res + clc + adc.z mb + sta.z res + lda.z res+1 + adc.z mb+1 + sta.z res+1 + lda.z res+2 + adc.z mb+2 + sta.z res+2 + lda.z res+3 + adc.z mb+3 + sta.z res+3 + __b3: + // a = a>>1 + lsr.z a+1 + ror.z a + // mb = mb<<1 + asl.z mb + rol.z mb+1 + rol.z mb+2 + rol.z mb+3 + jmp __b1 +} +// Set block of memory to a value in VRAM. +// Sets num bytes to a value to the memory block pointed to by destination in VRAM. +// - vbank: Which 64K VRAM bank to put data into (0/1) +// - vdest: The destination address in VRAM +// - data: The value to set the vram with. +// - num: The number of bytes to set +// memset_vram(byte register(X) vbank, void* zp($45) vdest, dword zp($5e) num) +memset_vram: { + .const data = 0 + .label i = $64 + .label vdest = $45 + .label num = $5e + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // vdest + lda.z vdest+1 + // *VERA_ADDRX_M = >vdest + sta VERA_ADDRX_M + // VERA_INC_1 | vbank + txa + ora #VERA_INC_1 + // *VERA_ADDRX_H = VERA_INC_1 | vbank + sta VERA_ADDRX_H + lda #<0 + sta.z i + sta.z i+1 + lda #<0>>$10 + sta.z i+2 + lda #>0>>$10 + sta.z i+3 + // Transfer the data + __b1: + // for(unsigned long i = 0; i>1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + __b1: + // bitmap_plot(x,y,c) + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + ldx.z c + jsr bitmap_plot + // y++; + inc.z y + bne !+ + inc.z y+1 + !: + // e = e+xd + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // if(yd>1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + __b1: + // bitmap_plot(x,y,c) + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + ldx.z c + jsr bitmap_plot + // x++; + inc.z x + bne !+ + inc.z x+1 + !: + // e = e+yd + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // if(xd>1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + __b1: + // bitmap_plot(x,y,c) + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + ldx.z c + jsr bitmap_plot + // y = y++; + inc.z y + bne !+ + inc.z y+1 + !: + // e = e+xd + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // if(yd>1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + __b1: + // bitmap_plot(x,y,c) + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + ldx.z c + jsr bitmap_plot + // x++; + inc.z x + bne !+ + inc.z x+1 + !: + // e = e+yd + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // if(xddividend + lda.z dividend+1 + // >dividend & $80 + and #$80 + // if( (>dividend & $80) != 0 ) + cmp #0 + beq __b2 + // rem = rem | 1 + lda #1 + ora.z rem + sta.z rem + __b2: + // dividend = dividend << 1 + asl.z dividend + rol.z dividend+1 + // quotient = quotient << 1 + asl.z quotient + rol.z quotient+1 + // if(rem>=divisor) + lda.z rem+1 + cmp.z divisor+1 + bcc __b3 + bne !+ + lda.z rem + cmp.z divisor + bcc __b3 + !: + // quotient++; + inc.z quotient + bne !+ + inc.z quotient+1 + !: + // rem = rem - divisor + lda.z rem + sec + sbc.z divisor + sta.z rem + lda.z rem+1 + sbc.z divisor+1 + sta.z rem+1 + __b3: + // for( char i : 0..15) + inx + cpx #$10 + bne __b1 + // rem16u = rem + lda.z rem + sta.z rem16u + lda.z rem+1 + sta.z rem16u+1 + // } + rts +} +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $72 + // addr = vera_layer_config[layer] + txa + asl + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr & VERA_LAYER_CONFIG_256C + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // if( *addr & VERA_LAYER_CONFIG_256C ) + cmp #0 + bne __b1 + // vera_layer_backcolor[layer] << 4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // return ((vera_layer_backcolor[layer] << 4) | vera_layer_textcolor[layer]); + ora vera_layer_textcolor,x + // } + rts + __b1: + // return (vera_layer_textcolor[layer]); + lda vera_layer_textcolor,x + rts +} +// Print a newline +cputln: { + .label temp = $5a + // temp = conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // temp += conio_rowskip + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // conio_line_text[conio_screen_layer] = temp + lda.z conio_screen_layer + asl + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // conio_cursor_x[conio_screen_layer] = 0 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer]++; + ldx.z conio_screen_layer + inc conio_cursor_y,x + // cscroll() + jsr cscroll + // } + rts +} +// bitmap_plot(word zp($4a) x, word zp($48) y, byte register(X) c) +bitmap_plot: { + .label __9 = $5c + .label __10 = $62 + .label vera_vram_address01___0 = $72 + .label vera_vram_address01___2 = $6a + .label vera_vram_address01___4 = $6c + .label plot_x = $5e + .label plot_y = $64 + .label vera_vram_address01_bankaddr = $5e + .label x = $4a + .label y = $48 + .label __12 = $5c + .label __13 = $62 + .label __14 = $68 + .label __15 = $6e + // plot_x = __bitmap_plot_x[x] + lda.z x + asl + sta.z __9 + lda.z x+1 + rol + sta.z __9+1 + clc + lda.z __12 + adc #<__bitmap_plot_x + sta.z __12 + lda.z __12+1 + adc #>__bitmap_plot_x + sta.z __12+1 + // Needs unsigned int arrays arranged as two underlying char arrays to allow char* plotter_x = plot_x[x]; - and eventually - char* plotter = plot_x[x] + plot_y[y]; + ldy #0 + sty.z plot_x+2 + sty.z plot_x+3 + lda (__12),y + sta.z plot_x + iny + lda (__12),y + sta.z plot_x+1 + // plot_y = __bitmap_plot_y[y] + lda.z y + asl + sta.z __10 + lda.z y+1 + rol + sta.z __10+1 + asl.z __10 + rol.z __10+1 + clc + lda.z __13 + adc #<__bitmap_plot_y + sta.z __13 + lda.z __13+1 + adc #>__bitmap_plot_y + sta.z __13+1 + ldy #0 + lda (__13),y + sta.z plot_y + iny + lda (__13),y + sta.z plot_y+1 + iny + lda (__13),y + sta.z plot_y+2 + iny + lda (__13),y + sta.z plot_y+3 + // plotter = plot_x+plot_y + lda.z vera_vram_address01_bankaddr + clc + adc.z plot_y + sta.z vera_vram_address01_bankaddr + lda.z vera_vram_address01_bankaddr+1 + adc.z plot_y+1 + sta.z vera_vram_address01_bankaddr+1 + lda.z vera_vram_address01_bankaddr+2 + adc.z plot_y+2 + sta.z vera_vram_address01_bankaddr+2 + lda.z vera_vram_address01_bankaddr+3 + adc.z plot_y+3 + sta.z vera_vram_address01_bankaddr+3 + // bitshift = __bitmap_plot_bitshift[x] + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __14 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __14+1 + ldy #0 + lda (__14),y + // bitshift?c<<(bitshift):c + cmp #0 + bne __b1 + jmp __b2 + __b1: + tay + txa + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + tax + __b2: + // *VERA_CTRL &= ~VERA_ADDRSEL + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // ((bankaddr + lda.z vera_vram_address01_bankaddr+2 + sta.z vera_vram_address01___4 + lda.z vera_vram_address01_bankaddr+3 + sta.z vera_vram_address01___4+1 + // <(>bankaddr) | incr + lda.z vera_vram_address01___4 + // *VERA_ADDRX_H = <(>bankaddr) | incr + sta VERA_ADDRX_H + // ~__bitmap_plot_bitmask[x] + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __15 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __15+1 + ldy #0 + lda (__15),y + eor #$ff + // *VERA_DATA0 & ~__bitmap_plot_bitmask[x] + and VERA_DATA0 + // (*VERA_DATA0 & ~__bitmap_plot_bitmask[x]) | c + stx.z $ff + ora.z $ff + // *VERA_DATA0 = (*VERA_DATA0 & ~__bitmap_plot_bitmask[x]) | c + sta VERA_DATA0 + // } + rts +} +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // if(conio_cursor_y[conio_screen_layer]>=CONIO_HEIGHT) + ldy.z conio_screen_layer + lda conio_cursor_y,y + cmp.z conio_screen_height + bcc __b3 + // if(conio_scroll_enable[conio_screen_layer]) + lda conio_scroll_enable,y + cmp #0 + bne __b4 + // if(conio_cursor_y[conio_screen_layer]>=conio_height) + lda conio_cursor_y,y + ldy.z conio_height+1 + bne __b3 + cmp.z conio_height + __b3: + // } + rts + __b4: + // insertup() + jsr insertup + // gotoxy( 0, CONIO_HEIGHT-1) + ldx.z conio_screen_height + dex + jsr gotoxy + rts +} +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $70 + .label width = $71 + .label line = $15 + .label start = $15 + // cy = conio_cursor_y[conio_screen_layer] + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // width = CONIO_WIDTH * 2 + lda.z conio_screen_width + asl + sta.z width + ldx #1 + __b1: + // for(unsigned byte i=1; i<=cy; i++) + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // clearline() + jsr clearline + // } + rts + __b2: + // i-1 + txa + sec + sbc #1 + // line = (i-1) << conio_rowshift + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // start = CONIO_SCREEN_TEXT + line + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // start+conio_rowskip + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + tay + jsr memcpy_in_vram + // for(unsigned byte i=1; i<=cy; i++) + inx + jmp __b1 +} +clearline: { + .label addr = $72 + .label c = $4a + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // addr + lda.z addr+1 + // *VERA_ADDRX_M = >addr + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // vera_layer_get_color( conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // color = vera_layer_get_color( conio_screen_layer) + tax + lda #<0 + sta.z c + sta.z c+1 + __b1: + // for( unsigned int c=0;c> 7 + [151] screensize::$1 = $28 << screensize::hscale#0 + [152] *screensize::x#0 = screensize::$1 + [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 + [154] screensize::$3 = $1e << screensize::vscale#0 + [155] *screensize::y#0 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + [156] return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@14 main::@5 + [157] conio_screen_layer = 1 + [158] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + [159] call vera_layer_get_mapbase_bank + [160] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + [161] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 + [162] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + [163] call vera_layer_get_mapbase_offset + [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 + [166] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 + [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 + [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + [175] conio_width = screenlayer::$2 + [176] vera_layer_get_rowshift::layer#0 = conio_screen_layer + [177] call vera_layer_get_rowshift + [178] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + [179] screenlayer::$3 = vera_layer_get_rowshift::return#2 + [180] conio_rowshift = screenlayer::$3 + [181] vera_layer_get_rowskip::layer#0 = conio_screen_layer + [182] call vera_layer_get_rowskip + [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 + [185] conio_rowskip = screenlayer::$4 + [186] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 + [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 + [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + [195] conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + [196] return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 main::textcolor3 main::textcolor4 main::textcolor5 + [197] vera_layer_set_textcolor::color#6 = phi( conio_x16_init::@5/WHITE, main::textcolor1/WHITE, main::textcolor2/YELLOW, main::textcolor3/WHITE, main::textcolor4/YELLOW, main::textcolor5/WHITE ) + [197] vera_layer_set_textcolor::layer#6 = phi( conio_x16_init::@5/1, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2, main::textcolor3/vera_layer_set_textcolor::layer#3, main::textcolor4/vera_layer_set_textcolor::layer#4, main::textcolor5/vera_layer_set_textcolor::layer#5 ) + [198] vera_layer_textcolor[vera_layer_set_textcolor::layer#6] = vera_layer_set_textcolor::color#6 + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + [199] return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 main::bgcolor3 + [200] vera_layer_set_backcolor::color#4 = phi( conio_x16_init::@6/BLUE, main::bgcolor1/BLACK, main::bgcolor2/BLACK, main::bgcolor3/BLUE ) + [200] vera_layer_set_backcolor::layer#4 = phi( conio_x16_init::@6/1, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2, main::bgcolor3/vera_layer_set_backcolor::layer#3 ) + [201] vera_layer_backcolor[vera_layer_set_backcolor::layer#4] = vera_layer_set_backcolor::color#4 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + [202] return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@23 + [203] vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/$20, conio_x16_init::@8/0, vera_layer_mode_tile::@23/vera_layer_set_mapbase::mapbase#0 ) + [203] vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/0, conio_x16_init::@8/1, vera_layer_mode_tile::@23/vera_layer_set_mapbase::layer#0 ) + [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 + [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + [207] return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@15 main::@21 main::@32 main::@34 + [208] gotoxy::y#7 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@15/$19, main::@21/$1d, main::@32/$1a, main::@34/$1d ) + [209] if(gotoxy::y#7<=conio_screen_height) goto gotoxy::@4 + to:gotoxy::@1 +gotoxy::@4: scope:[gotoxy] from gotoxy + [210] phi() + to:gotoxy::@1 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@4 + [211] gotoxy::y#10 = phi( gotoxy::@4/gotoxy::y#7, gotoxy/0 ) + [212] if(0 memcpy_in_vram::src#2 + [226] *VERA_ADDRX_M = memcpy_in_vram::$1 + [227] *VERA_ADDRX_H = VERA_INC_1 + [228] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + [229] memcpy_in_vram::$3 = < memcpy_in_vram::dest#2 + [230] *VERA_ADDRX_L = memcpy_in_vram::$3 + [231] memcpy_in_vram::$4 = > memcpy_in_vram::dest#2 + [232] *VERA_ADDRX_M = memcpy_in_vram::$4 + [233] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#2 + [234] *VERA_ADDRX_H = memcpy_in_vram::$5 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + [235] memcpy_in_vram::i#2 = phi( memcpy_in_vram/0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + [236] if(memcpy_in_vram::i#2 vera_layer_mode_tile::mapbase_address#10 + [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 + [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 + [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 + [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 + [266] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + [267] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 + [268] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 + [269] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + [270] call vera_layer_set_mapbase + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 + [271] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 + [272] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 + [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 + [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 + [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 + [277] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + [278] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 + [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + [280] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@19 + to:vera_layer_mode_tile::@17 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + [281] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@19 + to:vera_layer_mode_tile::@18 +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@19 +vera_layer_mode_tile::@19: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@24 + [283] vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase#3 ) + [284] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@20: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 + [285] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@21 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@20 + [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@22 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 + [287] vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@20/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase#5 ) + [288] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 + [289] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + [290] call vera_layer_set_tilebase + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@22 + [291] return + to:@return +vera_layer_mode_tile::@14: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 + [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@13: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@7: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 + [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 + [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 + [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@6: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 + [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 + [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@5: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 + [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 + [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@9 + +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +vera_layer_mode_bitmap: scope:[vera_layer_mode_bitmap] from main::@13 + [303] phi() + to:vera_layer_mode_bitmap::@1 +vera_layer_mode_bitmap::@1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap + [304] *vera_tilebase_offset = 0 + [305] *vera_tilebase_bank = 0 + [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 + to:vera_layer_mode_bitmap::vera_display_set_scale_double1 +vera_layer_mode_bitmap::vera_display_set_scale_double1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@1 + [307] *VERA_DC_HSCALE = $40 + [308] *VERA_DC_VSCALE = $40 + to:vera_layer_mode_bitmap::@2 +vera_layer_mode_bitmap::@2: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::vera_display_set_scale_double1 + [309] phi() + [310] call vera_layer_set_config + to:vera_layer_mode_bitmap::@3 +vera_layer_mode_bitmap::@3: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@2 + [311] phi() + [312] call vera_layer_set_tilebase + to:vera_layer_mode_bitmap::@return +vera_layer_mode_bitmap::@return: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@3 + [313] return + to:@return + +void clrscr() +clrscr: scope:[clrscr] from main::@11 main::@6 main::@9 + [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 + [315] vera_layer_get_backcolor::layer#0 = conio_screen_layer + [316] call vera_layer_get_backcolor + [317] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + [318] clrscr::$0 = vera_layer_get_backcolor::return#2 + [319] clrscr::$1 = clrscr::$0 << 4 + [320] vera_layer_get_textcolor::layer#0 = conio_screen_layer + [321] call vera_layer_get_textcolor + [322] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + [323] clrscr::$2 = vera_layer_get_textcolor::return#2 + [324] clrscr::color#0 = clrscr::$1 | clrscr::$2 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + [325] clrscr::line_text#2 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#0 ) + [325] clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/0 ) + [326] if(clrscr::l#2 clrscr::line_text#2 + [336] *VERA_ADDRX_M = clrscr::$6 + [337] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [338] *VERA_ADDRX_H = clrscr::$7 + to:clrscr::@4 +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + [339] clrscr::c#2 = phi( clrscr::@2/0, clrscr::@5/clrscr::c#1 ) + [340] if(clrscr::c#2> 3 + [377] bitmap_init::$23 = bitmap_init::x#10 << 1 + [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 + [379] *bitmap_init::$29 = bitmap_init::$7 + [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 + [381] *bitmap_init::$30 = bitmap_init::bitmask#10 + [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 + [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 + [384] bitmap_init::bitshift#1 = bitmap_init::bitshift#10 - 1 + [385] bitmap_init::bitmask#1 = bitmap_init::bitmask#10 >> 1 + to:bitmap_init::@2 +bitmap_init::@2: scope:[bitmap_init] from bitmap_init::@1 bitmap_init::@8 + [386] bitmap_init::bitshift#11 = phi( bitmap_init::@1/bitmap_init::bitshift#10, bitmap_init::@8/bitmap_init::bitshift#1 ) + [386] bitmap_init::bitmask#11 = phi( bitmap_init::@1/bitmap_init::bitmask#10, bitmap_init::@8/bitmap_init::bitmask#1 ) + [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 + to:bitmap_init::@9 +bitmap_init::@9: scope:[bitmap_init] from bitmap_init::@2 + [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 + [389] bitmap_init::$24 = bitmap_init::x#10 << 1 + [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 + [391] *bitmap_init::$32 = bitmap_init::$10 + [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 + [393] *bitmap_init::$33 = bitmap_init::bitmask#11 + [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 + [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 + [396] bitmap_init::bitshift#2 = bitmap_init::bitshift#11 - 2 + [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 + to:bitmap_init::@3 +bitmap_init::@3: scope:[bitmap_init] from bitmap_init::@2 bitmap_init::@9 + [398] bitmap_init::bitshift#12 = phi( bitmap_init::@2/bitmap_init::bitshift#11, bitmap_init::@9/bitmap_init::bitshift#2 ) + [398] bitmap_init::bitmask#12 = phi( bitmap_init::@2/bitmap_init::bitmask#11, bitmap_init::@9/bitmap_init::bitmask#2 ) + [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 + to:bitmap_init::@10 +bitmap_init::@10: scope:[bitmap_init] from bitmap_init::@3 + [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 + [401] bitmap_init::$25 = bitmap_init::x#10 << 1 + [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 + [403] *bitmap_init::$35 = bitmap_init::$13 + [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 + [405] *bitmap_init::$36 = bitmap_init::bitmask#12 + [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 + [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 + [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 + [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 + to:bitmap_init::@4 +bitmap_init::@4: scope:[bitmap_init] from bitmap_init::@10 bitmap_init::@3 + [410] bitmap_init::bitmask#13 = phi( bitmap_init::@10/bitmap_init::bitmask#3, bitmap_init::@3/bitmap_init::bitmask#12 ) + [410] bitmap_init::bitshift#13 = phi( bitmap_init::@10/bitmap_init::bitshift#3, bitmap_init::@3/bitmap_init::bitshift#12 ) + [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 + to:bitmap_init::@11 +bitmap_init::@11: scope:[bitmap_init] from bitmap_init::@4 + [412] bitmap_init::$26 = bitmap_init::x#10 << 1 + [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 + [414] *bitmap_init::$38 = bitmap_init::x#10 + [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 + [416] *bitmap_init::$39 = bitmap_init::bitmask#13 + [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 + [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 + to:bitmap_init::@5 +bitmap_init::@5: scope:[bitmap_init] from bitmap_init::@11 bitmap_init::@4 + [419] if(bitmap_init::bitshift#13>=0) goto bitmap_init::@6 + to:bitmap_init::@12 +bitmap_init::@12: scope:[bitmap_init] from bitmap_init::@5 + [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] + to:bitmap_init::@6 +bitmap_init::@6: scope:[bitmap_init] from bitmap_init::@12 bitmap_init::@5 + [421] bitmap_init::bitshift#14 = phi( bitmap_init::@12/bitmap_init::bitshift#4, bitmap_init::@5/bitmap_init::bitshift#13 ) + [422] if(bitmap_init::bitmask#13!=0) goto bitmap_init::@7 + to:bitmap_init::@13 +bitmap_init::@13: scope:[bitmap_init] from bitmap_init::@6 + [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] + to:bitmap_init::@7 +bitmap_init::@7: scope:[bitmap_init] from bitmap_init::@13 bitmap_init::@6 + [424] bitmap_init::bitmask#16 = phi( bitmap_init::@13/bitmap_init::bitmask#4, bitmap_init::@6/bitmap_init::bitmask#13 ) + [425] bitmap_init::x#1 = ++ bitmap_init::x#10 + [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 + to:bitmap_init::@14 +bitmap_init::@14: scope:[bitmap_init] from bitmap_init::@7 + [427] bitmap_init::$3 = __bitmap_color_depth << 2 + [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale + [429] bitmap_init::$27 = bitmap_init::$4 << 1 + [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] + [431] bitmap_init::yoffs#0 = __bitmap_address + to:bitmap_init::@15 +bitmap_init::@15: scope:[bitmap_init] from bitmap_init::@14 bitmap_init::@15 + [432] bitmap_init::yoffs#2 = phi( bitmap_init::@14/bitmap_init::yoffs#0, bitmap_init::@15/bitmap_init::yoffs#1 ) + [432] bitmap_init::y#2 = phi( bitmap_init::@14/0, bitmap_init::@15/bitmap_init::y#1 ) + [433] bitmap_init::$28 = bitmap_init::y#2 << 2 + [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 + [435] *bitmap_init::$41 = bitmap_init::yoffs#2 + [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 + [437] bitmap_init::y#1 = ++ bitmap_init::y#2 + [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 + to:bitmap_init::@return +bitmap_init::@return: scope:[bitmap_init] from bitmap_init::@15 + [439] return + to:@return + +void bitmap_clear() +bitmap_clear: scope:[bitmap_clear] from main::@20 + [440] bitmap_clear::$7 = __bitmap_vscale << 1 + [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] + [442] bitmap_clear::$0 = __bitmap_color_depth << 2 + [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale + [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 + [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] + [446] mul16u::a#1 = bitmap_clear::hdelta#0 + [447] mul16u::b#0 = bitmap_clear::vdelta#0 + [448] call mul16u + [449] mul16u::return#2 = mul16u::res#2 + to:bitmap_clear::@1 +bitmap_clear::@1: scope:[bitmap_clear] from bitmap_clear + [450] bitmap_clear::count#0 = mul16u::return#2 + [451] bitmap_clear::$3 = > __bitmap_address + [452] bitmap_clear::vbank#0 = < bitmap_clear::$3 + [453] bitmap_clear::vdest#0 = < __bitmap_address + [454] memset_vram::vbank#0 = bitmap_clear::vbank#0 + [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 + [456] memset_vram::num#0 = bitmap_clear::count#0 + [457] call memset_vram + to:bitmap_clear::@return +bitmap_clear::@return: scope:[bitmap_clear] from bitmap_clear::@1 + [458] return + to:@return + +byte kbhit() +kbhit: scope:[kbhit] from main::@1 main::@3 + [459] kbhit::ch = 0 + kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + }} + [461] kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + [462] kbhit::return#1 = kbhit::return#0 + [463] return + to:@return + +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +bitmap_line: scope:[bitmap_line] from main::@31 main::@4 + [464] bitmap_line::c#10 = phi( main::@31/bitmap_line::c#0, main::@4/bitmap_line::c#1 ) + [464] bitmap_line::y1#10 = phi( main::@31/bitmap_line::y1#0, main::@4/$c7 ) + [464] bitmap_line::y0#10 = phi( main::@31/bitmap_line::y0#0, main::@4/0 ) + [464] bitmap_line::x1#10 = phi( main::@31/bitmap_line::x1#0, main::@4/bitmap_line::x1#1 ) + [464] bitmap_line::x0#10 = phi( main::@31/bitmap_line::x0#0, main::@4/bitmap_line::x0#1 ) + [465] if(bitmap_line::x0#10> 9 + [539] rand_state#1 = rand_state#0 ^ rand::$1 + [540] rand::$2 = rand_state#1 << 8 + [541] rand_state#14 = rand_state#1 ^ rand::$2 + [542] rand::return#0 = rand_state#14 + to:rand::@return +rand::@return: scope:[rand] from rand + [543] return + to:@return + +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +modr16u: scope:[modr16u] from main::@23 main::@25 main::@27 main::@29 + [544] modr16u::divisor#4 = phi( main::@23/$140, main::@25/$140, main::@27/$c8, main::@29/$c8 ) + [544] modr16u::dividend#4 = phi( main::@23/modr16u::dividend#0, main::@25/modr16u::dividend#1, main::@27/modr16u::dividend#2, main::@29/modr16u::dividend#3 ) + [545] divr16u::dividend#1 = modr16u::dividend#4 + [546] divr16u::divisor#0 = modr16u::divisor#4 + [547] call divr16u + to:modr16u::@1 +modr16u::@1: scope:[modr16u] from modr16u + [548] modr16u::return#0 = rem16u#0 + to:modr16u::@return +modr16u::@return: scope:[modr16u] from modr16u::@1 + [549] return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@1 + [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) + [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + [553] return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + [554] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + [555] return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 + [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + [558] return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + [559] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + [560] return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 + [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + [563] return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_bitmap::@2 vera_layer_mode_tile::@16 + [564] vera_layer_set_config::config#2 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::config#11, vera_layer_mode_tile::@16/vera_layer_set_config::config#0 ) + [564] vera_layer_set_config::layer#2 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::layer#0, vera_layer_mode_tile::@16/vera_layer_set_config::layer#0 ) + [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 + [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + [568] return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_bitmap::@3 vera_layer_mode_tile::@22 + [569] vera_layer_set_tilebase::tilebase#2 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::tilebase#1, vera_layer_mode_tile::@22/vera_layer_set_tilebase::tilebase#0 ) + [569] vera_layer_set_tilebase::layer#2 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::layer#0, vera_layer_mode_tile::@22/vera_layer_set_tilebase::layer#0 ) + [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 + [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + [573] return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + [574] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + [575] return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + [576] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + [577] return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + [578] vera_layer_get_color::layer#0 = conio_screen_layer + [579] call vera_layer_get_color + [580] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + [581] cputc::color#0 = vera_layer_get_color::return#3 + [582] cputc::$15 = conio_screen_layer << 1 + [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] + [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + [586] if(cputc::c#0==' +') goto cputc::@1 + to:cputc::@2 +cputc::@2: scope:[cputc] from cputc::@7 + [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [588] cputc::$4 = < cputc::conio_addr#1 + [589] *VERA_ADDRX_L = cputc::$4 + [590] cputc::$5 = > cputc::conio_addr#1 + [591] *VERA_ADDRX_M = cputc::$5 + [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [593] *VERA_ADDRX_H = cputc::$6 + [594] *VERA_DATA0 = cputc::c#0 + [595] *VERA_DATA0 = cputc::color#0 + [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + [598] if(0!=cputc::scroll_enable#0) goto cputc::@5 + to:cputc::@3 +cputc::@3: scope:[cputc] from cputc::@2 + [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + [600] if(cputc::$16!=conio_width) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + [601] phi() + [602] call cputln + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@1 cputc::@3 cputc::@4 cputc::@5 cputc::@6 + [603] return + to:@return +cputc::@5: scope:[cputc] from cputc::@2 + [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return + to:cputc::@6 +cputc::@6: scope:[cputc] from cputc::@5 + [605] phi() + [606] call cputln + to:cputc::@return +cputc::@1: scope:[cputc] from cputc::@7 + [607] phi() + [608] call cputln + to:cputc::@return + +byte vera_display_get_hscale() +vera_display_get_hscale: scope:[vera_display_get_hscale] from bitmap_init::@16 + [609] phi() + to:vera_display_get_hscale::@1 +vera_display_get_hscale::@1: scope:[vera_display_get_hscale] from vera_display_get_hscale vera_display_get_hscale::@2 + [610] vera_display_get_hscale::s#2 = phi( vera_display_get_hscale/1, vera_display_get_hscale::@2/vera_display_get_hscale::s#1 ) + [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@2: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 + [612] vera_display_get_hscale::s#1 = ++ vera_display_get_hscale::s#2 + [613] if(vera_display_get_hscale::s#1!=4) goto vera_display_get_hscale::@1 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@3: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 vera_display_get_hscale::@2 + [614] vera_display_get_hscale::return#0 = phi( vera_display_get_hscale::@2/vera_display_get_hscale::scale#0, vera_display_get_hscale::@1/vera_display_get_hscale::s#2 ) + to:vera_display_get_hscale::@return +vera_display_get_hscale::@return: scope:[vera_display_get_hscale] from vera_display_get_hscale::@3 + [615] return + to:@return + +byte vera_display_get_vscale() +vera_display_get_vscale: scope:[vera_display_get_vscale] from bitmap_init::@17 + [616] phi() + to:vera_display_get_vscale::@1 +vera_display_get_vscale::@1: scope:[vera_display_get_vscale] from vera_display_get_vscale vera_display_get_vscale::@2 + [617] vera_display_get_vscale::s#2 = phi( vera_display_get_vscale/1, vera_display_get_vscale::@2/vera_display_get_vscale::s#1 ) + [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@2: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 + [619] vera_display_get_vscale::s#1 = ++ vera_display_get_vscale::s#2 + [620] if(vera_display_get_vscale::s#1!=4) goto vera_display_get_vscale::@1 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@3: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 vera_display_get_vscale::@2 + [621] vera_display_get_vscale::return#0 = phi( vera_display_get_vscale::@2/vera_display_get_vscale::scale#0, vera_display_get_vscale::@1/vera_display_get_vscale::s#2 ) + to:vera_display_get_vscale::@return +vera_display_get_vscale::@return: scope:[vera_display_get_vscale] from vera_display_get_vscale::@3 + [622] return + to:@return + +dword mul16u(word mul16u::a , word mul16u::b) +mul16u: scope:[mul16u] from bitmap_clear + [623] mul16u::mb#0 = (dword)mul16u::b#0 + to:mul16u::@1 +mul16u::@1: scope:[mul16u] from mul16u mul16u::@3 + [624] mul16u::mb#2 = phi( mul16u/mul16u::mb#0, mul16u::@3/mul16u::mb#1 ) + [624] mul16u::res#2 = phi( mul16u/0, mul16u::@3/mul16u::res#6 ) + [624] mul16u::a#2 = phi( mul16u/mul16u::a#1, mul16u::@3/mul16u::a#0 ) + [625] if(mul16u::a#2!=0) goto mul16u::@2 + to:mul16u::@return +mul16u::@return: scope:[mul16u] from mul16u::@1 + [626] return + to:@return +mul16u::@2: scope:[mul16u] from mul16u::@1 + [627] mul16u::$1 = mul16u::a#2 & 1 + [628] if(mul16u::$1==0) goto mul16u::@3 + to:mul16u::@4 +mul16u::@4: scope:[mul16u] from mul16u::@2 + [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 + to:mul16u::@3 +mul16u::@3: scope:[mul16u] from mul16u::@2 mul16u::@4 + [630] mul16u::res#6 = phi( mul16u::@2/mul16u::res#2, mul16u::@4/mul16u::res#1 ) + [631] mul16u::a#0 = mul16u::a#2 >> 1 + [632] mul16u::mb#1 = mul16u::mb#2 << 1 + to:mul16u::@1 + +void memset_vram(byte memset_vram::vbank , void* memset_vram::vdest , byte memset_vram::data , dword memset_vram::num) +memset_vram: scope:[memset_vram] from bitmap_clear::@1 + [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [634] memset_vram::$0 = < memset_vram::vdest#0 + [635] *VERA_ADDRX_L = memset_vram::$0 + [636] memset_vram::$1 = > memset_vram::vdest#0 + [637] *VERA_ADDRX_M = memset_vram::$1 + [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 + [639] *VERA_ADDRX_H = memset_vram::$2 + to:memset_vram::@1 +memset_vram::@1: scope:[memset_vram] from memset_vram memset_vram::@2 + [640] memset_vram::i#2 = phi( memset_vram/0, memset_vram::@2/memset_vram::i#1 ) + [641] if(memset_vram::i#2> 1 + to:bitmap_line_ydxi::@1 +bitmap_line_ydxi::@1: scope:[bitmap_line_ydxi] from bitmap_line_ydxi bitmap_line_ydxi::@2 + [647] bitmap_line_ydxi::e#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::e#0, bitmap_line_ydxi::@2/bitmap_line_ydxi::e#6 ) + [647] bitmap_line_ydxi::y#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::y#6, bitmap_line_ydxi::@2/bitmap_line_ydxi::y#2 ) + [647] bitmap_line_ydxi::x#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::x#5, bitmap_line_ydxi::@2/bitmap_line_ydxi::x#6 ) + [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 + [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 + [650] bitmap_plot::c#3 = bitmap_line_ydxi::c#3 + [651] call bitmap_plot + to:bitmap_line_ydxi::@4 +bitmap_line_ydxi::@4: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@1 + [652] bitmap_line_ydxi::y#2 = ++ bitmap_line_ydxi::y#3 + [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 + [654] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 + to:bitmap_line_ydxi::@3 +bitmap_line_ydxi::@3: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@4 + [655] bitmap_line_ydxi::x#2 = ++ bitmap_line_ydxi::x#3 + [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 + to:bitmap_line_ydxi::@2 +bitmap_line_ydxi::@2: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4 + [657] bitmap_line_ydxi::e#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::e#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::e#1 ) + [657] bitmap_line_ydxi::x#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::x#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::x#3 ) + [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 + [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 + to:bitmap_line_ydxi::@return +bitmap_line_ydxi::@return: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@2 + [660] return + to:@return + +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +bitmap_line_xdyi: scope:[bitmap_line_xdyi] from bitmap_line::@13 bitmap_line::@8 + [661] bitmap_line_xdyi::x1#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x1#1, bitmap_line::@8/bitmap_line_xdyi::x1#0 ) + [661] bitmap_line_xdyi::xd#5 = phi( bitmap_line::@13/bitmap_line_xdyi::xd#1, bitmap_line::@8/bitmap_line_xdyi::xd#0 ) + [661] bitmap_line_xdyi::c#3 = phi( bitmap_line::@13/bitmap_line_xdyi::c#1, bitmap_line::@8/bitmap_line_xdyi::c#0 ) + [661] bitmap_line_xdyi::y#5 = phi( bitmap_line::@13/bitmap_line_xdyi::y#1, bitmap_line::@8/bitmap_line_xdyi::y#0 ) + [661] bitmap_line_xdyi::x#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x#1, bitmap_line::@8/bitmap_line_xdyi::x#0 ) + [661] bitmap_line_xdyi::yd#2 = phi( bitmap_line::@13/bitmap_line_xdyi::yd#1, bitmap_line::@8/bitmap_line_xdyi::yd#0 ) + [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 + to:bitmap_line_xdyi::@1 +bitmap_line_xdyi::@1: scope:[bitmap_line_xdyi] from bitmap_line_xdyi bitmap_line_xdyi::@2 + [663] bitmap_line_xdyi::e#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::e#0, bitmap_line_xdyi::@2/bitmap_line_xdyi::e#6 ) + [663] bitmap_line_xdyi::y#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::y#5, bitmap_line_xdyi::@2/bitmap_line_xdyi::y#6 ) + [663] bitmap_line_xdyi::x#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::x#6, bitmap_line_xdyi::@2/bitmap_line_xdyi::x#2 ) + [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 + [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 + [666] bitmap_plot::c#1 = bitmap_line_xdyi::c#3 + [667] call bitmap_plot + to:bitmap_line_xdyi::@4 +bitmap_line_xdyi::@4: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@1 + [668] bitmap_line_xdyi::x#2 = ++ bitmap_line_xdyi::x#3 + [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 + [670] if(bitmap_line_xdyi::xd#5>=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 + to:bitmap_line_xdyi::@3 +bitmap_line_xdyi::@3: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@4 + [671] bitmap_line_xdyi::y#2 = ++ bitmap_line_xdyi::y#3 + [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 + to:bitmap_line_xdyi::@2 +bitmap_line_xdyi::@2: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4 + [673] bitmap_line_xdyi::e#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::e#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::e#1 ) + [673] bitmap_line_xdyi::y#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::y#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::y#3 ) + [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 + [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 + to:bitmap_line_xdyi::@return +bitmap_line_xdyi::@return: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@2 + [676] return + to:@return + +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +bitmap_line_ydxd: scope:[bitmap_line_ydxd] from bitmap_line::@10 bitmap_line::@6 + [677] bitmap_line_ydxd::y1#6 = phi( bitmap_line::@10/bitmap_line_ydxd::y1#0, bitmap_line::@6/bitmap_line_ydxd::y1#1 ) + [677] bitmap_line_ydxd::yd#5 = phi( bitmap_line::@10/bitmap_line_ydxd::yd#0, bitmap_line::@6/bitmap_line_ydxd::yd#1 ) + [677] bitmap_line_ydxd::c#3 = phi( bitmap_line::@10/bitmap_line_ydxd::c#0, bitmap_line::@6/bitmap_line_ydxd::c#1 ) + [677] bitmap_line_ydxd::y#7 = phi( bitmap_line::@10/bitmap_line_ydxd::y#0, bitmap_line::@6/bitmap_line_ydxd::y#1 ) + [677] bitmap_line_ydxd::x#5 = phi( bitmap_line::@10/bitmap_line_ydxd::x#0, bitmap_line::@6/bitmap_line_ydxd::x#1 ) + [677] bitmap_line_ydxd::xd#2 = phi( bitmap_line::@10/bitmap_line_ydxd::xd#0, bitmap_line::@6/bitmap_line_ydxd::xd#1 ) + [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 + to:bitmap_line_ydxd::@1 +bitmap_line_ydxd::@1: scope:[bitmap_line_ydxd] from bitmap_line_ydxd bitmap_line_ydxd::@2 + [679] bitmap_line_ydxd::e#3 = phi( bitmap_line_ydxd/bitmap_line_ydxd::e#0, bitmap_line_ydxd::@2/bitmap_line_ydxd::e#6 ) + [679] bitmap_line_ydxd::y#2 = phi( bitmap_line_ydxd/bitmap_line_ydxd::y#7, bitmap_line_ydxd::@2/bitmap_line_ydxd::y#3 ) + [679] bitmap_line_ydxd::x#3 = phi( bitmap_line_ydxd/bitmap_line_ydxd::x#5, bitmap_line_ydxd::@2/bitmap_line_ydxd::x#6 ) + [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 + [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 + [682] bitmap_plot::c#4 = bitmap_line_ydxd::c#3 + [683] call bitmap_plot + to:bitmap_line_ydxd::@4 +bitmap_line_ydxd::@4: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@1 + [684] bitmap_line_ydxd::y#3 = ++ bitmap_line_ydxd::y#2 + [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 + [686] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 + to:bitmap_line_ydxd::@3 +bitmap_line_ydxd::@3: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@4 + [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 + [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 + to:bitmap_line_ydxd::@2 +bitmap_line_ydxd::@2: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4 + [689] bitmap_line_ydxd::e#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::e#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::e#1 ) + [689] bitmap_line_ydxd::x#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::x#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::x#3 ) + [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 + [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 + to:bitmap_line_ydxd::@return +bitmap_line_ydxd::@return: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@2 + [692] return + to:@return + +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +bitmap_line_xdyd: scope:[bitmap_line_xdyd] from bitmap_line::@12 bitmap_line::@9 + [693] bitmap_line_xdyd::x1#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x1#1, bitmap_line::@9/bitmap_line_xdyd::x1#0 ) + [693] bitmap_line_xdyd::xd#5 = phi( bitmap_line::@12/bitmap_line_xdyd::xd#1, bitmap_line::@9/bitmap_line_xdyd::xd#0 ) + [693] bitmap_line_xdyd::c#3 = phi( bitmap_line::@12/bitmap_line_xdyd::c#1, bitmap_line::@9/bitmap_line_xdyd::c#0 ) + [693] bitmap_line_xdyd::y#5 = phi( bitmap_line::@12/bitmap_line_xdyd::y#1, bitmap_line::@9/bitmap_line_xdyd::y#0 ) + [693] bitmap_line_xdyd::x#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x#1, bitmap_line::@9/bitmap_line_xdyd::x#0 ) + [693] bitmap_line_xdyd::yd#2 = phi( bitmap_line::@12/bitmap_line_xdyd::yd#1, bitmap_line::@9/bitmap_line_xdyd::yd#0 ) + [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 + to:bitmap_line_xdyd::@1 +bitmap_line_xdyd::@1: scope:[bitmap_line_xdyd] from bitmap_line_xdyd bitmap_line_xdyd::@2 + [695] bitmap_line_xdyd::e#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::e#0, bitmap_line_xdyd::@2/bitmap_line_xdyd::e#6 ) + [695] bitmap_line_xdyd::y#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::y#5, bitmap_line_xdyd::@2/bitmap_line_xdyd::y#6 ) + [695] bitmap_line_xdyd::x#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::x#6, bitmap_line_xdyd::@2/bitmap_line_xdyd::x#2 ) + [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 + [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 + [698] bitmap_plot::c#2 = bitmap_line_xdyd::c#3 + [699] call bitmap_plot + to:bitmap_line_xdyd::@4 +bitmap_line_xdyd::@4: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@1 + [700] bitmap_line_xdyd::x#2 = ++ bitmap_line_xdyd::x#3 + [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 + [702] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 + to:bitmap_line_xdyd::@3 +bitmap_line_xdyd::@3: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@4 + [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 + [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 + to:bitmap_line_xdyd::@2 +bitmap_line_xdyd::@2: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4 + [705] bitmap_line_xdyd::e#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::e#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::e#1 ) + [705] bitmap_line_xdyd::y#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::y#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::y#3 ) + [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 + [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 + to:bitmap_line_xdyd::@return +bitmap_line_xdyd::@return: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@2 + [708] return + to:@return + +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +divr16u: scope:[divr16u] from modr16u + [709] phi() + to:divr16u::@1 +divr16u::@1: scope:[divr16u] from divr16u divr16u::@3 + [710] divr16u::i#2 = phi( divr16u/0, divr16u::@3/divr16u::i#1 ) + [710] divr16u::quotient#3 = phi( divr16u/0, divr16u::@3/divr16u::return#0 ) + [710] divr16u::dividend#2 = phi( divr16u/divr16u::dividend#1, divr16u::@3/divr16u::dividend#0 ) + [710] divr16u::rem#4 = phi( divr16u/0, divr16u::@3/divr16u::rem#10 ) + [711] divr16u::rem#0 = divr16u::rem#4 << 1 + [712] divr16u::$1 = > divr16u::dividend#2 + [713] divr16u::$2 = divr16u::$1 & $80 + [714] if(divr16u::$2==0) goto divr16u::@2 + to:divr16u::@4 +divr16u::@4: scope:[divr16u] from divr16u::@1 + [715] divr16u::rem#1 = divr16u::rem#0 | 1 + to:divr16u::@2 +divr16u::@2: scope:[divr16u] from divr16u::@1 divr16u::@4 + [716] divr16u::rem#5 = phi( divr16u::@1/divr16u::rem#0, divr16u::@4/divr16u::rem#1 ) + [717] divr16u::dividend#0 = divr16u::dividend#2 << 1 + [718] divr16u::quotient#1 = divr16u::quotient#3 << 1 + [719] if(divr16u::rem#5 bitmap_plot::vera_vram_address01_$2 + [765] *VERA_ADDRX_M = bitmap_plot::vera_vram_address01_$3 + [766] bitmap_plot::vera_vram_address01_$4 = > bitmap_plot::vera_vram_address01_bankaddr#0 + [767] bitmap_plot::vera_vram_address01_$6 = < bitmap_plot::vera_vram_address01_$4 + [768] *VERA_ADDRX_H = bitmap_plot::vera_vram_address01_$6 + to:bitmap_plot::@3 +bitmap_plot::@3: scope:[bitmap_plot] from bitmap_plot::vera_vram_address01 + [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 + [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 + [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 + [772] bitmap_plot::$8 = bitmap_plot::$7 | bitmap_plot::c#0 + [773] *VERA_DATA0 = bitmap_plot::$8 + to:bitmap_plot::@return +bitmap_plot::@return: scope:[bitmap_plot] from bitmap_plot::@3 + [774] return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + [775] if(conio_cursor_y[conio_screen_layer] clearline::addr#0 + [806] *VERA_ADDRX_M = clearline::$2 + [807] *VERA_ADDRX_H = VERA_INC_1 + [808] vera_layer_get_color::layer#1 = conio_screen_layer + [809] call vera_layer_get_color + [810] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + [811] clearline::color#0 = vera_layer_get_color::return#4 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + [812] clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/0 ) + [813] if(clearline::c#2 memset_vram::vdest#1 + *VERA_ADDRX_M = memset_vram::$1 + memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#1 + *VERA_ADDRX_H = memset_vram::$2 + memset_vram::i#0 = 0 + to:memset_vram::@1 +memset_vram::@1: scope:[memset_vram] from memset_vram memset_vram::@2 + memset_vram::data#2 = phi( memset_vram/memset_vram::data#3, memset_vram::@2/memset_vram::data#1 ) + memset_vram::num#1 = phi( memset_vram/memset_vram::num#2, memset_vram::@2/memset_vram::num#3 ) + memset_vram::i#2 = phi( memset_vram/memset_vram::i#0, memset_vram::@2/memset_vram::i#1 ) + memset_vram::$3 = memset_vram::i#2 < memset_vram::num#1 + if(memset_vram::$3) goto memset_vram::@2 + to:memset_vram::@return +memset_vram::@2: scope:[memset_vram] from memset_vram::@1 + memset_vram::num#3 = phi( memset_vram::@1/memset_vram::num#1 ) + memset_vram::i#3 = phi( memset_vram::@1/memset_vram::i#2 ) + memset_vram::data#1 = phi( memset_vram::@1/memset_vram::data#2 ) + *VERA_DATA0 = memset_vram::data#1 + memset_vram::i#1 = ++ memset_vram::i#3 + to:memset_vram::@1 +memset_vram::@return: scope:[memset_vram] from memset_vram::@1 + return + to:@return + +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +memcpy_in_vram: scope:[memcpy_in_vram] from insertup::@2 main + memcpy_in_vram::num#3 = phi( insertup::@2/memcpy_in_vram::num#0, main/memcpy_in_vram::num#1 ) + memcpy_in_vram::dest_bank#2 = phi( insertup::@2/memcpy_in_vram::dest_bank#0, main/memcpy_in_vram::dest_bank#1 ) + memcpy_in_vram::dest_increment#2 = phi( insertup::@2/memcpy_in_vram::dest_increment#0, main/memcpy_in_vram::dest_increment#1 ) + memcpy_in_vram::dest#2 = phi( insertup::@2/memcpy_in_vram::dest#0, main/memcpy_in_vram::dest#1 ) + memcpy_in_vram::src_bank#2 = phi( insertup::@2/memcpy_in_vram::src_bank#0, main/memcpy_in_vram::src_bank#1 ) + memcpy_in_vram::src_increment#2 = phi( insertup::@2/memcpy_in_vram::src_increment#0, main/memcpy_in_vram::src_increment#1 ) + memcpy_in_vram::src#2 = phi( insertup::@2/memcpy_in_vram::src#0, main/memcpy_in_vram::src#1 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + memcpy_in_vram::$0 = < memcpy_in_vram::src#2 + *VERA_ADDRX_L = memcpy_in_vram::$0 + memcpy_in_vram::$1 = > memcpy_in_vram::src#2 + *VERA_ADDRX_M = memcpy_in_vram::$1 + memcpy_in_vram::$2 = memcpy_in_vram::src_increment#2 | memcpy_in_vram::src_bank#2 + *VERA_ADDRX_H = memcpy_in_vram::$2 + *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + memcpy_in_vram::$3 = < memcpy_in_vram::dest#2 + *VERA_ADDRX_L = memcpy_in_vram::$3 + memcpy_in_vram::$4 = > memcpy_in_vram::dest#2 + *VERA_ADDRX_M = memcpy_in_vram::$4 + memcpy_in_vram::$5 = memcpy_in_vram::dest_increment#2 | memcpy_in_vram::dest_bank#2 + *VERA_ADDRX_H = memcpy_in_vram::$5 + memcpy_in_vram::i#0 = 0 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + memcpy_in_vram::num#2 = phi( memcpy_in_vram/memcpy_in_vram::num#3, memcpy_in_vram::@2/memcpy_in_vram::num#4 ) + memcpy_in_vram::i#2 = phi( memcpy_in_vram/memcpy_in_vram::i#0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + memcpy_in_vram::$6 = memcpy_in_vram::i#2 < memcpy_in_vram::num#2 + if(memcpy_in_vram::$6) goto memcpy_in_vram::@2 + to:memcpy_in_vram::@return +memcpy_in_vram::@2: scope:[memcpy_in_vram] from memcpy_in_vram::@1 + memcpy_in_vram::num#4 = phi( memcpy_in_vram::@1/memcpy_in_vram::num#2 ) + memcpy_in_vram::i#3 = phi( memcpy_in_vram::@1/memcpy_in_vram::i#2 ) + *VERA_DATA1 = *VERA_DATA0 + memcpy_in_vram::i#1 = ++ memcpy_in_vram::i#3 + to:memcpy_in_vram::@1 +memcpy_in_vram::@return: scope:[memcpy_in_vram] from memcpy_in_vram::@1 + return + to:@return + +byte vera_display_get_hscale() +vera_display_get_hscale: scope:[vera_display_get_hscale] from bitmap_init::@16 + vera_display_get_hscale::scale#0 = 0 + vera_display_get_hscale::s#0 = 1 + to:vera_display_get_hscale::@1 +vera_display_get_hscale::@1: scope:[vera_display_get_hscale] from vera_display_get_hscale vera_display_get_hscale::@2 + vera_display_get_hscale::scale#4 = phi( vera_display_get_hscale/vera_display_get_hscale::scale#0, vera_display_get_hscale::@2/vera_display_get_hscale::scale#3 ) + vera_display_get_hscale::s#2 = phi( vera_display_get_hscale/vera_display_get_hscale::s#0, vera_display_get_hscale::@2/vera_display_get_hscale::s#1 ) + vera_display_get_hscale::$0 = *VERA_DC_HSCALE == vera_display_get_hscale::hscale[vera_display_get_hscale::s#2] + vera_display_get_hscale::$1 = ! vera_display_get_hscale::$0 + if(vera_display_get_hscale::$1) goto vera_display_get_hscale::@2 + to:vera_display_get_hscale::@4 +vera_display_get_hscale::@2: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 + vera_display_get_hscale::scale#3 = phi( vera_display_get_hscale::@1/vera_display_get_hscale::scale#4 ) + vera_display_get_hscale::s#3 = phi( vera_display_get_hscale::@1/vera_display_get_hscale::s#2 ) + vera_display_get_hscale::s#1 = vera_display_get_hscale::s#3 + rangenext(1,3) + vera_display_get_hscale::$2 = vera_display_get_hscale::s#1 != rangelast(1,3) + if(vera_display_get_hscale::$2) goto vera_display_get_hscale::@1 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@4: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 + vera_display_get_hscale::s#4 = phi( vera_display_get_hscale::@1/vera_display_get_hscale::s#2 ) + vera_display_get_hscale::scale#1 = vera_display_get_hscale::s#4 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@3: scope:[vera_display_get_hscale] from vera_display_get_hscale::@2 vera_display_get_hscale::@4 + vera_display_get_hscale::scale#2 = phi( vera_display_get_hscale::@2/vera_display_get_hscale::scale#3, vera_display_get_hscale::@4/vera_display_get_hscale::scale#1 ) + vera_display_get_hscale::return#0 = vera_display_get_hscale::scale#2 + to:vera_display_get_hscale::@return +vera_display_get_hscale::@return: scope:[vera_display_get_hscale] from vera_display_get_hscale::@3 + vera_display_get_hscale::return#3 = phi( vera_display_get_hscale::@3/vera_display_get_hscale::return#0 ) + vera_display_get_hscale::return#1 = vera_display_get_hscale::return#3 + return + to:@return + +byte vera_display_get_vscale() +vera_display_get_vscale: scope:[vera_display_get_vscale] from bitmap_init::@17 + vera_display_get_vscale::scale#0 = 0 + vera_display_get_vscale::s#0 = 1 + to:vera_display_get_vscale::@1 +vera_display_get_vscale::@1: scope:[vera_display_get_vscale] from vera_display_get_vscale vera_display_get_vscale::@2 + vera_display_get_vscale::scale#4 = phi( vera_display_get_vscale/vera_display_get_vscale::scale#0, vera_display_get_vscale::@2/vera_display_get_vscale::scale#3 ) + vera_display_get_vscale::s#2 = phi( vera_display_get_vscale/vera_display_get_vscale::s#0, vera_display_get_vscale::@2/vera_display_get_vscale::s#1 ) + vera_display_get_vscale::$0 = *VERA_DC_VSCALE == vera_display_get_vscale::vscale[vera_display_get_vscale::s#2] + vera_display_get_vscale::$1 = ! vera_display_get_vscale::$0 + if(vera_display_get_vscale::$1) goto vera_display_get_vscale::@2 + to:vera_display_get_vscale::@4 +vera_display_get_vscale::@2: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 + vera_display_get_vscale::scale#3 = phi( vera_display_get_vscale::@1/vera_display_get_vscale::scale#4 ) + vera_display_get_vscale::s#3 = phi( vera_display_get_vscale::@1/vera_display_get_vscale::s#2 ) + vera_display_get_vscale::s#1 = vera_display_get_vscale::s#3 + rangenext(1,3) + vera_display_get_vscale::$2 = vera_display_get_vscale::s#1 != rangelast(1,3) + if(vera_display_get_vscale::$2) goto vera_display_get_vscale::@1 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@4: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 + vera_display_get_vscale::s#4 = phi( vera_display_get_vscale::@1/vera_display_get_vscale::s#2 ) + vera_display_get_vscale::scale#1 = vera_display_get_vscale::s#4 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@3: scope:[vera_display_get_vscale] from vera_display_get_vscale::@2 vera_display_get_vscale::@4 + vera_display_get_vscale::scale#2 = phi( vera_display_get_vscale::@2/vera_display_get_vscale::scale#3, vera_display_get_vscale::@4/vera_display_get_vscale::scale#1 ) + vera_display_get_vscale::return#0 = vera_display_get_vscale::scale#2 + to:vera_display_get_vscale::@return +vera_display_get_vscale::@return: scope:[vera_display_get_vscale] from vera_display_get_vscale::@3 + vera_display_get_vscale::return#3 = phi( vera_display_get_vscale::@3/vera_display_get_vscale::return#0 ) + vera_display_get_vscale::return#1 = vera_display_get_vscale::return#3 + return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_bitmap::@10 vera_layer_mode_tile::@24 + vera_layer_set_config::config#2 = phi( vera_layer_mode_bitmap::@10/vera_layer_set_config::config#1, vera_layer_mode_tile::@24/vera_layer_set_config::config#0 ) + vera_layer_set_config::layer#2 = phi( vera_layer_mode_bitmap::@10/vera_layer_set_config::layer#1, vera_layer_mode_tile::@24/vera_layer_set_config::layer#0 ) + vera_layer_set_config::$0 = vera_layer_set_config::layer#2 * SIZEOF_POINTER + vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@2 vera_layer_mode_text::@3 + vera_layer_set_text_color_mode::color_mode#2 = phi( vera_layer_mode_text::@2/vera_layer_set_text_color_mode::color_mode#0, vera_layer_mode_text::@3/vera_layer_set_text_color_mode::color_mode#1 ) + vera_layer_set_text_color_mode::layer#2 = phi( vera_layer_mode_text::@2/vera_layer_set_text_color_mode::layer#0, vera_layer_mode_text::@3/vera_layer_set_text_color_mode::layer#1 ) + vera_layer_set_text_color_mode::$0 = vera_layer_set_text_color_mode::layer#2 * SIZEOF_POINTER + vera_layer_set_text_color_mode::addr#0 = vera_layer_config[vera_layer_set_text_color_mode::$0] + *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 | vera_layer_set_text_color_mode::color_mode#2 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@33 + vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/vera_layer_set_mapbase::mapbase#1, conio_x16_init::@8/vera_layer_set_mapbase::mapbase#2, vera_layer_mode_tile::@33/vera_layer_set_mapbase::mapbase#0 ) + vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/vera_layer_set_mapbase::layer#1, conio_x16_init::@8/vera_layer_set_mapbase::layer#2, vera_layer_mode_tile::@33/vera_layer_set_mapbase::layer#0 ) + vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 * SIZEOF_POINTER + vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + vera_layer_get_mapbase_bank::layer#1 = phi( screenlayer/vera_layer_get_mapbase_bank::layer#0 ) + vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#1] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + vera_layer_get_mapbase_bank::return#3 = phi( vera_layer_get_mapbase_bank/vera_layer_get_mapbase_bank::return#0 ) + vera_layer_get_mapbase_bank::return#1 = vera_layer_get_mapbase_bank::return#3 + return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + vera_layer_get_mapbase_offset::layer#1 = phi( screenlayer::@3/vera_layer_get_mapbase_offset::layer#0 ) + vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#1 * SIZEOF_WORD + vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + vera_layer_get_mapbase_offset::return#3 = phi( vera_layer_get_mapbase_offset/vera_layer_get_mapbase_offset::return#0 ) + vera_layer_get_mapbase_offset::return#1 = vera_layer_get_mapbase_offset::return#3 + return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_bitmap::@13 vera_layer_mode_tile::@32 + vera_layer_set_tilebase::tilebase#2 = phi( vera_layer_mode_bitmap::@13/vera_layer_set_tilebase::tilebase#1, vera_layer_mode_tile::@32/vera_layer_set_tilebase::tilebase#0 ) + vera_layer_set_tilebase::layer#2 = phi( vera_layer_mode_bitmap::@13/vera_layer_set_tilebase::layer#1, vera_layer_mode_tile::@32/vera_layer_set_tilebase::layer#0 ) + vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 * SIZEOF_POINTER + vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 main::textcolor3 main::textcolor4 main::textcolor5 + vera_layer_set_textcolor::color#6 = phi( conio_x16_init::@5/vera_layer_set_textcolor::color#0, main::textcolor1/vera_layer_set_textcolor::color#1, main::textcolor2/vera_layer_set_textcolor::color#2, main::textcolor3/vera_layer_set_textcolor::color#3, main::textcolor4/vera_layer_set_textcolor::color#4, main::textcolor5/vera_layer_set_textcolor::color#5 ) + vera_layer_set_textcolor::layer#6 = phi( conio_x16_init::@5/vera_layer_set_textcolor::layer#0, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2, main::textcolor3/vera_layer_set_textcolor::layer#3, main::textcolor4/vera_layer_set_textcolor::layer#4, main::textcolor5/vera_layer_set_textcolor::layer#5 ) + vera_layer_set_textcolor::old#0 = vera_layer_textcolor[vera_layer_set_textcolor::layer#6] + vera_layer_textcolor[vera_layer_set_textcolor::layer#6] = vera_layer_set_textcolor::color#6 + vera_layer_set_textcolor::return#0 = vera_layer_set_textcolor::old#0 + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + vera_layer_set_textcolor::return#8 = phi( vera_layer_set_textcolor/vera_layer_set_textcolor::return#0 ) + vera_layer_set_textcolor::return#1 = vera_layer_set_textcolor::return#8 + return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + vera_layer_get_textcolor::layer#1 = phi( clrscr::@7/vera_layer_get_textcolor::layer#0 ) + vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#1] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + vera_layer_get_textcolor::return#3 = phi( vera_layer_get_textcolor/vera_layer_get_textcolor::return#0 ) + vera_layer_get_textcolor::return#1 = vera_layer_get_textcolor::return#3 + return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 main::bgcolor3 + vera_layer_set_backcolor::color#4 = phi( conio_x16_init::@6/vera_layer_set_backcolor::color#0, main::bgcolor1/vera_layer_set_backcolor::color#1, main::bgcolor2/vera_layer_set_backcolor::color#2, main::bgcolor3/vera_layer_set_backcolor::color#3 ) + vera_layer_set_backcolor::layer#4 = phi( conio_x16_init::@6/vera_layer_set_backcolor::layer#0, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2, main::bgcolor3/vera_layer_set_backcolor::layer#3 ) + vera_layer_set_backcolor::old#0 = vera_layer_backcolor[vera_layer_set_backcolor::layer#4] + vera_layer_backcolor[vera_layer_set_backcolor::layer#4] = vera_layer_set_backcolor::color#4 + vera_layer_set_backcolor::return#0 = vera_layer_set_backcolor::old#0 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + vera_layer_set_backcolor::return#6 = phi( vera_layer_set_backcolor/vera_layer_set_backcolor::return#0 ) + vera_layer_set_backcolor::return#1 = vera_layer_set_backcolor::return#6 + return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + vera_layer_get_backcolor::layer#1 = phi( clrscr/vera_layer_get_backcolor::layer#0 ) + vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#1] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + vera_layer_get_backcolor::return#3 = phi( vera_layer_get_backcolor/vera_layer_get_backcolor::return#0 ) + vera_layer_get_backcolor::return#1 = vera_layer_get_backcolor::return#3 + return + to:@return + +byte vera_layer_get_color(byte vera_layer_get_color::layer) +vera_layer_get_color: scope:[vera_layer_get_color] from clearline cputc + vera_layer_get_color::layer#2 = phi( clearline/vera_layer_get_color::layer#1, cputc/vera_layer_get_color::layer#0 ) + vera_layer_get_color::$3 = vera_layer_get_color::layer#2 * SIZEOF_POINTER + vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] + vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C + vera_layer_get_color::$4 = 0 != vera_layer_get_color::$0 + if(vera_layer_get_color::$4) goto vera_layer_get_color::@1 + to:vera_layer_get_color::@2 +vera_layer_get_color::@1: scope:[vera_layer_get_color] from vera_layer_get_color + vera_layer_get_color::layer#3 = phi( vera_layer_get_color/vera_layer_get_color::layer#2 ) + vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#3] + to:vera_layer_get_color::@return +vera_layer_get_color::@2: scope:[vera_layer_get_color] from vera_layer_get_color + vera_layer_get_color::layer#4 = phi( vera_layer_get_color/vera_layer_get_color::layer#2 ) + vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#4] << 4 + vera_layer_get_color::$2 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#4] + vera_layer_get_color::return#1 = vera_layer_get_color::$2 + to:vera_layer_get_color::@return +vera_layer_get_color::@return: scope:[vera_layer_get_color] from vera_layer_get_color::@1 vera_layer_get_color::@2 + vera_layer_get_color::return#5 = phi( vera_layer_get_color::@1/vera_layer_get_color::return#0, vera_layer_get_color::@2/vera_layer_get_color::return#1 ) + vera_layer_get_color::return#2 = vera_layer_get_color::return#5 + return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + vera_layer_get_rowshift::layer#1 = phi( screenlayer::@1/vera_layer_get_rowshift::layer#0 ) + vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#1] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + vera_layer_get_rowshift::return#3 = phi( vera_layer_get_rowshift/vera_layer_get_rowshift::return#0 ) + vera_layer_get_rowshift::return#1 = vera_layer_get_rowshift::return#3 + return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + vera_layer_get_rowskip::layer#1 = phi( screenlayer::@5/vera_layer_get_rowskip::layer#0 ) + vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#1 * SIZEOF_WORD + vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + vera_layer_get_rowskip::return#3 = phi( vera_layer_get_rowskip/vera_layer_get_rowskip::return#0 ) + vera_layer_get_rowskip::return#1 = vera_layer_get_rowskip::return#3 + return + to:@return + +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +vera_layer_mode_tile: scope:[vera_layer_mode_tile] from main::@17 vera_layer_mode_text + vera_layer_mode_tile::tileheight#31 = phi( main::@17/vera_layer_mode_tile::tileheight#1, vera_layer_mode_text/vera_layer_mode_tile::tileheight#0 ) + vera_layer_mode_tile::tilewidth#27 = phi( main::@17/vera_layer_mode_tile::tilewidth#1, vera_layer_mode_text/vera_layer_mode_tile::tilewidth#0 ) + vera_layer_mode_tile::tilebase_address#27 = phi( main::@17/vera_layer_mode_tile::tilebase_address#2, vera_layer_mode_text/vera_layer_mode_tile::tilebase_address#1 ) + vera_layer_mode_tile::mapbase_address#26 = phi( main::@17/vera_layer_mode_tile::mapbase_address#2, vera_layer_mode_text/vera_layer_mode_tile::mapbase_address#1 ) + vera_layer_mode_tile::mapheight#19 = phi( main::@17/vera_layer_mode_tile::mapheight#1, vera_layer_mode_text/vera_layer_mode_tile::mapheight#0 ) + vera_layer_mode_tile::layer#31 = phi( main::@17/vera_layer_mode_tile::layer#1, vera_layer_mode_text/vera_layer_mode_tile::layer#0 ) + vera_layer_mode_tile::mapwidth#11 = phi( main::@17/vera_layer_mode_tile::mapwidth#1, vera_layer_mode_text/vera_layer_mode_tile::mapwidth#0 ) + vera_layer_mode_tile::color_depth#2 = phi( main::@17/vera_layer_mode_tile::color_depth#1, vera_layer_mode_text/vera_layer_mode_tile::color_depth#0 ) + vera_layer_mode_tile::config#0 = 0 + if(vera_layer_mode_tile::color_depth#2==1) goto vera_layer_mode_tile::@4 + to:vera_layer_mode_tile::@1 +vera_layer_mode_tile::@4: scope:[vera_layer_mode_tile] from vera_layer_mode_tile + vera_layer_mode_tile::tileheight#27 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tileheight#31 ) + vera_layer_mode_tile::tilewidth#23 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilewidth#27 ) + vera_layer_mode_tile::tilebase_address#23 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilebase_address#27 ) + vera_layer_mode_tile::mapbase_address#22 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapbase_address#26 ) + vera_layer_mode_tile::mapheight#15 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapheight#19 ) + vera_layer_mode_tile::layer#23 = phi( vera_layer_mode_tile/vera_layer_mode_tile::layer#31 ) + vera_layer_mode_tile::mapwidth#7 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapwidth#11 ) + vera_layer_mode_tile::config#13 = phi( vera_layer_mode_tile/vera_layer_mode_tile::config#0 ) + vera_layer_mode_tile::config#1 = vera_layer_mode_tile::config#13 | VERA_LAYER_COLOR_DEPTH_1BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@1: scope:[vera_layer_mode_tile] from vera_layer_mode_tile + vera_layer_mode_tile::tileheight#32 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tileheight#31 ) + vera_layer_mode_tile::tilewidth#28 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilewidth#27 ) + vera_layer_mode_tile::tilebase_address#28 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilebase_address#27 ) + vera_layer_mode_tile::mapbase_address#27 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapbase_address#26 ) + vera_layer_mode_tile::mapheight#20 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapheight#19 ) + vera_layer_mode_tile::layer#32 = phi( vera_layer_mode_tile/vera_layer_mode_tile::layer#31 ) + vera_layer_mode_tile::mapwidth#12 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapwidth#11 ) + vera_layer_mode_tile::config#26 = phi( vera_layer_mode_tile/vera_layer_mode_tile::config#0 ) + vera_layer_mode_tile::color_depth#3 = phi( vera_layer_mode_tile/vera_layer_mode_tile::color_depth#2 ) + if(vera_layer_mode_tile::color_depth#3==2) goto vera_layer_mode_tile::@5 + to:vera_layer_mode_tile::@2 +vera_layer_mode_tile::@5: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + vera_layer_mode_tile::tileheight#28 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tileheight#32 ) + vera_layer_mode_tile::tilewidth#24 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilewidth#28 ) + vera_layer_mode_tile::tilebase_address#24 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilebase_address#28 ) + vera_layer_mode_tile::mapbase_address#23 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapbase_address#27 ) + vera_layer_mode_tile::mapheight#16 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapheight#20 ) + vera_layer_mode_tile::layer#24 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::layer#32 ) + vera_layer_mode_tile::mapwidth#8 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapwidth#12 ) + vera_layer_mode_tile::config#14 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::config#26 ) + vera_layer_mode_tile::config#2 = vera_layer_mode_tile::config#14 | VERA_LAYER_COLOR_DEPTH_2BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@2: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + vera_layer_mode_tile::tileheight#33 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tileheight#32 ) + vera_layer_mode_tile::tilewidth#29 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilewidth#28 ) + vera_layer_mode_tile::tilebase_address#29 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilebase_address#28 ) + vera_layer_mode_tile::mapbase_address#28 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapbase_address#27 ) + vera_layer_mode_tile::mapheight#21 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapheight#20 ) + vera_layer_mode_tile::layer#33 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::layer#32 ) + vera_layer_mode_tile::mapwidth#13 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapwidth#12 ) + vera_layer_mode_tile::config#27 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::config#26 ) + vera_layer_mode_tile::color_depth#4 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::color_depth#3 ) + if(vera_layer_mode_tile::color_depth#4==4) goto vera_layer_mode_tile::@6 + to:vera_layer_mode_tile::@3 +vera_layer_mode_tile::@6: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + vera_layer_mode_tile::tileheight#29 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tileheight#33 ) + vera_layer_mode_tile::tilewidth#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilewidth#29 ) + vera_layer_mode_tile::tilebase_address#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilebase_address#29 ) + vera_layer_mode_tile::mapbase_address#24 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapbase_address#28 ) + vera_layer_mode_tile::mapheight#17 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapheight#21 ) + vera_layer_mode_tile::layer#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::layer#33 ) + vera_layer_mode_tile::mapwidth#9 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapwidth#13 ) + vera_layer_mode_tile::config#15 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::config#27 ) + vera_layer_mode_tile::config#3 = vera_layer_mode_tile::config#15 | VERA_LAYER_COLOR_DEPTH_4BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@3: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + vera_layer_mode_tile::tileheight#26 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tileheight#33 ) + vera_layer_mode_tile::tilewidth#22 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilewidth#29 ) + vera_layer_mode_tile::tilebase_address#22 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilebase_address#29 ) + vera_layer_mode_tile::mapbase_address#21 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapbase_address#28 ) + vera_layer_mode_tile::mapheight#14 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapheight#21 ) + vera_layer_mode_tile::layer#22 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::layer#33 ) + vera_layer_mode_tile::mapwidth#6 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapwidth#13 ) + vera_layer_mode_tile::config#28 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::config#27 ) + vera_layer_mode_tile::color_depth#5 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::color_depth#4 ) + if(vera_layer_mode_tile::color_depth#5==8) goto vera_layer_mode_tile::@7 + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@7: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 + vera_layer_mode_tile::tileheight#30 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tileheight#26 ) + vera_layer_mode_tile::tilewidth#26 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilewidth#22 ) + vera_layer_mode_tile::tilebase_address#26 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilebase_address#22 ) + vera_layer_mode_tile::mapbase_address#25 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapbase_address#21 ) + vera_layer_mode_tile::mapheight#18 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapheight#14 ) + vera_layer_mode_tile::layer#26 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::layer#22 ) + vera_layer_mode_tile::mapwidth#10 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapwidth#6 ) + vera_layer_mode_tile::config#16 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::config#28 ) + vera_layer_mode_tile::config#4 = vera_layer_mode_tile::config#16 | VERA_LAYER_COLOR_DEPTH_8BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@8: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 vera_layer_mode_tile::@4 vera_layer_mode_tile::@5 vera_layer_mode_tile::@6 vera_layer_mode_tile::@7 + vera_layer_mode_tile::tileheight#23 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tileheight#26, vera_layer_mode_tile::@4/vera_layer_mode_tile::tileheight#27, vera_layer_mode_tile::@5/vera_layer_mode_tile::tileheight#28, vera_layer_mode_tile::@6/vera_layer_mode_tile::tileheight#29, vera_layer_mode_tile::@7/vera_layer_mode_tile::tileheight#30 ) + vera_layer_mode_tile::tilewidth#19 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilewidth#22, vera_layer_mode_tile::@4/vera_layer_mode_tile::tilewidth#23, vera_layer_mode_tile::@5/vera_layer_mode_tile::tilewidth#24, vera_layer_mode_tile::@6/vera_layer_mode_tile::tilewidth#25, vera_layer_mode_tile::@7/vera_layer_mode_tile::tilewidth#26 ) + vera_layer_mode_tile::tilebase_address#19 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilebase_address#22, vera_layer_mode_tile::@4/vera_layer_mode_tile::tilebase_address#23, vera_layer_mode_tile::@5/vera_layer_mode_tile::tilebase_address#24, vera_layer_mode_tile::@6/vera_layer_mode_tile::tilebase_address#25, vera_layer_mode_tile::@7/vera_layer_mode_tile::tilebase_address#26 ) + vera_layer_mode_tile::mapbase_address#18 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapbase_address#21, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapbase_address#22, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapbase_address#23, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapbase_address#24, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapbase_address#25 ) + vera_layer_mode_tile::mapheight#11 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapheight#14, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapheight#15, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapheight#16, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapheight#17, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapheight#18 ) + vera_layer_mode_tile::layer#10 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::layer#22, vera_layer_mode_tile::@4/vera_layer_mode_tile::layer#23, vera_layer_mode_tile::@5/vera_layer_mode_tile::layer#24, vera_layer_mode_tile::@6/vera_layer_mode_tile::layer#25, vera_layer_mode_tile::@7/vera_layer_mode_tile::layer#26 ) + vera_layer_mode_tile::config#29 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::config#28, vera_layer_mode_tile::@4/vera_layer_mode_tile::config#1, vera_layer_mode_tile::@5/vera_layer_mode_tile::config#2, vera_layer_mode_tile::@6/vera_layer_mode_tile::config#3, vera_layer_mode_tile::@7/vera_layer_mode_tile::config#4 ) + vera_layer_mode_tile::mapwidth#2 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapwidth#6, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapwidth#7, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapwidth#8, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapwidth#9, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapwidth#10 ) + if(vera_layer_mode_tile::mapwidth#2==$20) goto vera_layer_mode_tile::@12 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@12: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@8 + vera_layer_mode_tile::tileheight#19 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tileheight#23 ) + vera_layer_mode_tile::tilewidth#15 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilewidth#19 ) + vera_layer_mode_tile::tilebase_address#15 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilebase_address#19 ) + vera_layer_mode_tile::mapbase_address#14 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapbase_address#18 ) + vera_layer_mode_tile::mapheight#7 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapheight#11 ) + vera_layer_mode_tile::layer#2 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::layer#10 ) + vera_layer_mode_tile::config#17 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::config#29 ) + vera_layer_mode_tile::config#5 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_32 + vera_layer_rowshift[vera_layer_mode_tile::layer#2] = 6 + vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#2 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@9: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@8 + vera_layer_mode_tile::tileheight#24 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tileheight#23 ) + vera_layer_mode_tile::tilewidth#20 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilewidth#19 ) + vera_layer_mode_tile::tilebase_address#20 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilebase_address#19 ) + vera_layer_mode_tile::mapbase_address#19 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapbase_address#18 ) + vera_layer_mode_tile::mapheight#12 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapheight#11 ) + vera_layer_mode_tile::layer#11 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::layer#10 ) + vera_layer_mode_tile::config#30 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::config#29 ) + vera_layer_mode_tile::mapwidth#3 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapwidth#2 ) + if(vera_layer_mode_tile::mapwidth#3==$40) goto vera_layer_mode_tile::@13 + to:vera_layer_mode_tile::@10 +vera_layer_mode_tile::@13: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@9 + vera_layer_mode_tile::tileheight#20 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tileheight#24 ) + vera_layer_mode_tile::tilewidth#16 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilewidth#20 ) + vera_layer_mode_tile::tilebase_address#16 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilebase_address#20 ) + vera_layer_mode_tile::mapbase_address#15 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapbase_address#19 ) + vera_layer_mode_tile::mapheight#8 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapheight#12 ) + vera_layer_mode_tile::layer#3 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::layer#11 ) + vera_layer_mode_tile::config#18 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::config#30 ) + vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#18 | VERA_LAYER_WIDTH_64 + vera_layer_rowshift[vera_layer_mode_tile::layer#3] = 7 + vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#3 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@10: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@9 + vera_layer_mode_tile::tileheight#25 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tileheight#24 ) + vera_layer_mode_tile::tilewidth#21 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilewidth#20 ) + vera_layer_mode_tile::tilebase_address#21 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilebase_address#20 ) + vera_layer_mode_tile::mapbase_address#20 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapbase_address#19 ) + vera_layer_mode_tile::mapheight#13 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapheight#12 ) + vera_layer_mode_tile::layer#12 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::layer#11 ) + vera_layer_mode_tile::config#31 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::config#30 ) + vera_layer_mode_tile::mapwidth#4 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapwidth#3 ) + if(vera_layer_mode_tile::mapwidth#4==$80) goto vera_layer_mode_tile::@14 + to:vera_layer_mode_tile::@11 +vera_layer_mode_tile::@14: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + vera_layer_mode_tile::tileheight#21 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tileheight#25 ) + vera_layer_mode_tile::tilewidth#17 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilewidth#21 ) + vera_layer_mode_tile::tilebase_address#17 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilebase_address#21 ) + vera_layer_mode_tile::mapbase_address#16 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapbase_address#20 ) + vera_layer_mode_tile::mapheight#9 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapheight#13 ) + vera_layer_mode_tile::layer#4 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::layer#12 ) + vera_layer_mode_tile::config#19 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::config#31 ) + vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#19 | VERA_LAYER_WIDTH_128 + vera_layer_rowshift[vera_layer_mode_tile::layer#4] = 8 + vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#4 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@11: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + vera_layer_mode_tile::tileheight#18 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tileheight#25 ) + vera_layer_mode_tile::tilewidth#14 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilewidth#21 ) + vera_layer_mode_tile::tilebase_address#14 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilebase_address#21 ) + vera_layer_mode_tile::mapbase_address#13 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapbase_address#20 ) + vera_layer_mode_tile::mapheight#6 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapheight#13 ) + vera_layer_mode_tile::layer#13 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::layer#12 ) + vera_layer_mode_tile::config#32 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::config#31 ) + vera_layer_mode_tile::mapwidth#5 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapwidth#4 ) + if(vera_layer_mode_tile::mapwidth#5==$100) goto vera_layer_mode_tile::@15 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@15: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 + vera_layer_mode_tile::tileheight#22 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tileheight#18 ) + vera_layer_mode_tile::tilewidth#18 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilewidth#14 ) + vera_layer_mode_tile::tilebase_address#18 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilebase_address#14 ) + vera_layer_mode_tile::mapbase_address#17 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapbase_address#13 ) + vera_layer_mode_tile::mapheight#10 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapheight#6 ) + vera_layer_mode_tile::layer#5 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::layer#13 ) + vera_layer_mode_tile::config#20 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::config#32 ) + vera_layer_mode_tile::config#8 = vera_layer_mode_tile::config#20 | VERA_LAYER_WIDTH_256 + vera_layer_rowshift[vera_layer_mode_tile::layer#5] = 9 + vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#5 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@16: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 vera_layer_mode_tile::@12 vera_layer_mode_tile::@13 vera_layer_mode_tile::@14 vera_layer_mode_tile::@15 + vera_layer_mode_tile::tileheight#15 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tileheight#18, vera_layer_mode_tile::@12/vera_layer_mode_tile::tileheight#19, vera_layer_mode_tile::@13/vera_layer_mode_tile::tileheight#20, vera_layer_mode_tile::@14/vera_layer_mode_tile::tileheight#21, vera_layer_mode_tile::@15/vera_layer_mode_tile::tileheight#22 ) + vera_layer_mode_tile::tilewidth#11 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilewidth#14, vera_layer_mode_tile::@12/vera_layer_mode_tile::tilewidth#15, vera_layer_mode_tile::@13/vera_layer_mode_tile::tilewidth#16, vera_layer_mode_tile::@14/vera_layer_mode_tile::tilewidth#17, vera_layer_mode_tile::@15/vera_layer_mode_tile::tilewidth#18 ) + vera_layer_mode_tile::tilebase_address#11 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilebase_address#14, vera_layer_mode_tile::@12/vera_layer_mode_tile::tilebase_address#15, vera_layer_mode_tile::@13/vera_layer_mode_tile::tilebase_address#16, vera_layer_mode_tile::@14/vera_layer_mode_tile::tilebase_address#17, vera_layer_mode_tile::@15/vera_layer_mode_tile::tilebase_address#18 ) + vera_layer_mode_tile::mapbase_address#10 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapbase_address#13, vera_layer_mode_tile::@12/vera_layer_mode_tile::mapbase_address#14, vera_layer_mode_tile::@13/vera_layer_mode_tile::mapbase_address#15, vera_layer_mode_tile::@14/vera_layer_mode_tile::mapbase_address#16, vera_layer_mode_tile::@15/vera_layer_mode_tile::mapbase_address#17 ) + vera_layer_mode_tile::layer#27 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::layer#13, vera_layer_mode_tile::@12/vera_layer_mode_tile::layer#2, vera_layer_mode_tile::@13/vera_layer_mode_tile::layer#3, vera_layer_mode_tile::@14/vera_layer_mode_tile::layer#4, vera_layer_mode_tile::@15/vera_layer_mode_tile::layer#5 ) + vera_layer_mode_tile::config#33 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::config#32, vera_layer_mode_tile::@12/vera_layer_mode_tile::config#5, vera_layer_mode_tile::@13/vera_layer_mode_tile::config#6, vera_layer_mode_tile::@14/vera_layer_mode_tile::config#7, vera_layer_mode_tile::@15/vera_layer_mode_tile::config#8 ) + vera_layer_mode_tile::mapheight#2 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapheight#6, vera_layer_mode_tile::@12/vera_layer_mode_tile::mapheight#7, vera_layer_mode_tile::@13/vera_layer_mode_tile::mapheight#8, vera_layer_mode_tile::@14/vera_layer_mode_tile::mapheight#9, vera_layer_mode_tile::@15/vera_layer_mode_tile::mapheight#10 ) + if(vera_layer_mode_tile::mapheight#2==$20) goto vera_layer_mode_tile::@20 + to:vera_layer_mode_tile::@17 +vera_layer_mode_tile::@20: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@16 + vera_layer_mode_tile::tileheight#11 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tileheight#15 ) + vera_layer_mode_tile::tilewidth#7 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilewidth#11 ) + vera_layer_mode_tile::tilebase_address#7 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilebase_address#11 ) + vera_layer_mode_tile::mapbase_address#6 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapbase_address#10 ) + vera_layer_mode_tile::layer#15 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::layer#27 ) + vera_layer_mode_tile::config#21 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::config#33 ) + vera_layer_mode_tile::config#9 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_32 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@16 + vera_layer_mode_tile::tileheight#16 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tileheight#15 ) + vera_layer_mode_tile::tilewidth#12 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilewidth#11 ) + vera_layer_mode_tile::tilebase_address#12 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilebase_address#11 ) + vera_layer_mode_tile::mapbase_address#11 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapbase_address#10 ) + vera_layer_mode_tile::layer#28 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::layer#27 ) + vera_layer_mode_tile::config#34 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::config#33 ) + vera_layer_mode_tile::mapheight#3 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapheight#2 ) + if(vera_layer_mode_tile::mapheight#3==$40) goto vera_layer_mode_tile::@21 + to:vera_layer_mode_tile::@18 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + vera_layer_mode_tile::tileheight#12 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tileheight#16 ) + vera_layer_mode_tile::tilewidth#8 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilewidth#12 ) + vera_layer_mode_tile::tilebase_address#8 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase_address#12 ) + vera_layer_mode_tile::mapbase_address#7 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapbase_address#11 ) + vera_layer_mode_tile::layer#16 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::layer#28 ) + vera_layer_mode_tile::config#22 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::config#34 ) + vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#22 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + vera_layer_mode_tile::tileheight#17 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tileheight#16 ) + vera_layer_mode_tile::tilewidth#13 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilewidth#12 ) + vera_layer_mode_tile::tilebase_address#13 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase_address#12 ) + vera_layer_mode_tile::mapbase_address#12 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapbase_address#11 ) + vera_layer_mode_tile::layer#29 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::layer#28 ) + vera_layer_mode_tile::config#35 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::config#34 ) + vera_layer_mode_tile::mapheight#4 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapheight#3 ) + if(vera_layer_mode_tile::mapheight#4==$80) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@19 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@18 + vera_layer_mode_tile::tileheight#13 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tileheight#17 ) + vera_layer_mode_tile::tilewidth#9 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilewidth#13 ) + vera_layer_mode_tile::tilebase_address#9 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase_address#13 ) + vera_layer_mode_tile::mapbase_address#8 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapbase_address#12 ) + vera_layer_mode_tile::layer#17 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::layer#29 ) + vera_layer_mode_tile::config#23 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::config#35 ) + vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#23 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@19: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@18 + vera_layer_mode_tile::tileheight#10 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tileheight#17 ) + vera_layer_mode_tile::tilewidth#6 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilewidth#13 ) + vera_layer_mode_tile::tilebase_address#6 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase_address#13 ) + vera_layer_mode_tile::mapbase_address#5 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapbase_address#12 ) + vera_layer_mode_tile::layer#14 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::layer#29 ) + vera_layer_mode_tile::config#36 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::config#35 ) + vera_layer_mode_tile::mapheight#5 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapheight#4 ) + if(vera_layer_mode_tile::mapheight#5==$100) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@23: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 + vera_layer_mode_tile::tileheight#14 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tileheight#10 ) + vera_layer_mode_tile::tilewidth#10 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilewidth#6 ) + vera_layer_mode_tile::tilebase_address#10 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase_address#6 ) + vera_layer_mode_tile::mapbase_address#9 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::mapbase_address#5 ) + vera_layer_mode_tile::layer#18 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::layer#14 ) + vera_layer_mode_tile::config#24 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::config#36 ) + vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#24 | VERA_LAYER_HEIGHT_256 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@23 + vera_layer_mode_tile::tileheight#9 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tileheight#10, vera_layer_mode_tile::@20/vera_layer_mode_tile::tileheight#11, vera_layer_mode_tile::@21/vera_layer_mode_tile::tileheight#12, vera_layer_mode_tile::@22/vera_layer_mode_tile::tileheight#13, vera_layer_mode_tile::@23/vera_layer_mode_tile::tileheight#14 ) + vera_layer_mode_tile::tilewidth#5 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilewidth#6, vera_layer_mode_tile::@20/vera_layer_mode_tile::tilewidth#7, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilewidth#8, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilewidth#9, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilewidth#10 ) + vera_layer_mode_tile::tilebase_address#5 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase_address#6, vera_layer_mode_tile::@20/vera_layer_mode_tile::tilebase_address#7, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase_address#8, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilebase_address#9, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilebase_address#10 ) + vera_layer_mode_tile::mapbase_address#4 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::mapbase_address#5, vera_layer_mode_tile::@20/vera_layer_mode_tile::mapbase_address#6, vera_layer_mode_tile::@21/vera_layer_mode_tile::mapbase_address#7, vera_layer_mode_tile::@22/vera_layer_mode_tile::mapbase_address#8, vera_layer_mode_tile::@23/vera_layer_mode_tile::mapbase_address#9 ) + vera_layer_mode_tile::config#25 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::config#36, vera_layer_mode_tile::@20/vera_layer_mode_tile::config#9, vera_layer_mode_tile::@21/vera_layer_mode_tile::config#10, vera_layer_mode_tile::@22/vera_layer_mode_tile::config#11, vera_layer_mode_tile::@23/vera_layer_mode_tile::config#12 ) + vera_layer_mode_tile::layer#6 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::layer#14, vera_layer_mode_tile::@20/vera_layer_mode_tile::layer#15, vera_layer_mode_tile::@21/vera_layer_mode_tile::layer#16, vera_layer_mode_tile::@22/vera_layer_mode_tile::layer#17, vera_layer_mode_tile::@23/vera_layer_mode_tile::layer#18 ) + vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#6 + vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + call vera_layer_set_config + to:vera_layer_mode_tile::@33 +vera_layer_mode_tile::@33: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + vera_layer_mode_tile::tileheight#8 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tileheight#9 ) + vera_layer_mode_tile::tilewidth#4 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilewidth#5 ) + vera_layer_mode_tile::tilebase_address#4 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase_address#5 ) + vera_layer_mode_tile::layer#7 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::layer#6 ) + vera_layer_mode_tile::mapbase_address#3 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::mapbase_address#4 ) + vera_layer_mode_tile::$1 = < vera_layer_mode_tile::mapbase_address#3 + vera_layer_mode_tile::$17 = vera_layer_mode_tile::layer#7 * SIZEOF_WORD + vera_mapbase_offset[vera_layer_mode_tile::$17] = vera_layer_mode_tile::$1 + vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#3 + vera_mapbase_bank[vera_layer_mode_tile::layer#7] = (byte)vera_layer_mode_tile::$2 + vera_layer_mode_tile::$18 = vera_layer_mode_tile::layer#7 * SIZEOF_DWORD + vera_mapbase_address[vera_layer_mode_tile::$18] = vera_layer_mode_tile::mapbase_address#3 + vera_layer_mode_tile::$3 = vera_layer_mode_tile::mapbase_address#3 >> 1 + vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::$3 + vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + vera_layer_mode_tile::$5 = > vera_layer_mode_tile::$4 + vera_layer_mode_tile::mapbase#0 = vera_layer_mode_tile::$5 + vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#7 + vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + call vera_layer_set_mapbase + to:vera_layer_mode_tile::@34 +vera_layer_mode_tile::@34: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@33 + vera_layer_mode_tile::tileheight#7 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tileheight#8 ) + vera_layer_mode_tile::tilewidth#2 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tilewidth#4 ) + vera_layer_mode_tile::layer#8 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::layer#7 ) + vera_layer_mode_tile::tilebase_address#3 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tilebase_address#4 ) + vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#3 + vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#8 * SIZEOF_WORD + vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#3 + vera_tilebase_bank[vera_layer_mode_tile::layer#8] = (byte)vera_layer_mode_tile::$8 + vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#8 * SIZEOF_DWORD + vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#3 + vera_layer_mode_tile::$9 = vera_layer_mode_tile::tilebase_address#3 >> 1 + vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::$9 + vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + vera_layer_mode_tile::$11 = > vera_layer_mode_tile::$10 + vera_layer_mode_tile::tilebase#0 = vera_layer_mode_tile::$11 + vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + if(vera_layer_mode_tile::tilewidth#2==8) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@25 +vera_layer_mode_tile::@26: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@34 + vera_layer_mode_tile::layer#35 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::layer#8 ) + vera_layer_mode_tile::tileheight#5 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tileheight#7 ) + vera_layer_mode_tile::tilebase#6 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilebase#1 ) + vera_layer_mode_tile::tilebase#2 = vera_layer_mode_tile::tilebase#6 | VERA_TILEBASE_WIDTH_8 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@25: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@34 + vera_layer_mode_tile::layer#34 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::layer#8 ) + vera_layer_mode_tile::tileheight#4 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tileheight#7 ) + vera_layer_mode_tile::tilebase#11 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilebase#1 ) + vera_layer_mode_tile::tilewidth#3 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilewidth#2 ) + if(vera_layer_mode_tile::tilewidth#3==$10) goto vera_layer_mode_tile::@27 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@27: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@25 + vera_layer_mode_tile::layer#36 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::layer#34 ) + vera_layer_mode_tile::tileheight#6 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tileheight#4 ) + vera_layer_mode_tile::tilebase#7 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#11 ) + vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#7 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@28: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@25 vera_layer_mode_tile::@26 vera_layer_mode_tile::@27 + vera_layer_mode_tile::layer#30 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::layer#34, vera_layer_mode_tile::@26/vera_layer_mode_tile::layer#35, vera_layer_mode_tile::@27/vera_layer_mode_tile::layer#36 ) + vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#11, vera_layer_mode_tile::@26/vera_layer_mode_tile::tilebase#2, vera_layer_mode_tile::@27/vera_layer_mode_tile::tilebase#3 ) + vera_layer_mode_tile::tileheight#2 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tileheight#4, vera_layer_mode_tile::@26/vera_layer_mode_tile::tileheight#5, vera_layer_mode_tile::@27/vera_layer_mode_tile::tileheight#6 ) + if(vera_layer_mode_tile::tileheight#2==8) goto vera_layer_mode_tile::@30 + to:vera_layer_mode_tile::@29 +vera_layer_mode_tile::@30: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + vera_layer_mode_tile::layer#20 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::layer#30 ) + vera_layer_mode_tile::tilebase#8 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#12 ) + vera_layer_mode_tile::tilebase#4 = vera_layer_mode_tile::tilebase#8 | VERA_TILEBASE_HEIGHT_8 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@29: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + vera_layer_mode_tile::layer#19 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::layer#30 ) + vera_layer_mode_tile::tilebase#13 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#12 ) + vera_layer_mode_tile::tileheight#3 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tileheight#2 ) + if(vera_layer_mode_tile::tileheight#3==$10) goto vera_layer_mode_tile::@31 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@31: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@29 + vera_layer_mode_tile::layer#21 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::layer#19 ) + vera_layer_mode_tile::tilebase#9 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::tilebase#13 ) + vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#9 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@32: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@29 vera_layer_mode_tile::@30 vera_layer_mode_tile::@31 + vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::tilebase#13, vera_layer_mode_tile::@30/vera_layer_mode_tile::tilebase#4, vera_layer_mode_tile::@31/vera_layer_mode_tile::tilebase#5 ) + vera_layer_mode_tile::layer#9 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::layer#19, vera_layer_mode_tile::@30/vera_layer_mode_tile::layer#20, vera_layer_mode_tile::@31/vera_layer_mode_tile::layer#21 ) + vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#9 + vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + call vera_layer_set_tilebase + to:vera_layer_mode_tile::@35 +vera_layer_mode_tile::@35: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@32 + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@35 + return + to:@return + +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +vera_layer_mode_text: scope:[vera_layer_mode_text] from conio_x16_init + vera_layer_mode_text::color_mode#3 = phi( conio_x16_init/vera_layer_mode_text::color_mode#0 ) + vera_layer_mode_text::tileheight#1 = phi( conio_x16_init/vera_layer_mode_text::tileheight#0 ) + vera_layer_mode_text::tilewidth#1 = phi( conio_x16_init/vera_layer_mode_text::tilewidth#0 ) + vera_layer_mode_text::mapheight#1 = phi( conio_x16_init/vera_layer_mode_text::mapheight#0 ) + vera_layer_mode_text::mapwidth#1 = phi( conio_x16_init/vera_layer_mode_text::mapwidth#0 ) + vera_layer_mode_text::tilebase_address#1 = phi( conio_x16_init/vera_layer_mode_text::tilebase_address#0 ) + vera_layer_mode_text::mapbase_address#1 = phi( conio_x16_init/vera_layer_mode_text::mapbase_address#0 ) + vera_layer_mode_text::layer#1 = phi( conio_x16_init/vera_layer_mode_text::layer#0 ) + vera_layer_mode_tile::layer#0 = vera_layer_mode_text::layer#1 + vera_layer_mode_tile::mapbase_address#1 = vera_layer_mode_text::mapbase_address#1 + vera_layer_mode_tile::tilebase_address#1 = vera_layer_mode_text::tilebase_address#1 + vera_layer_mode_tile::mapwidth#0 = vera_layer_mode_text::mapwidth#1 + vera_layer_mode_tile::mapheight#0 = vera_layer_mode_text::mapheight#1 + vera_layer_mode_tile::tilewidth#0 = vera_layer_mode_text::tilewidth#1 + vera_layer_mode_tile::tileheight#0 = vera_layer_mode_text::tileheight#1 + vera_layer_mode_tile::color_depth#0 = 1 + call vera_layer_mode_tile + to:vera_layer_mode_text::@4 +vera_layer_mode_text::@4: scope:[vera_layer_mode_text] from vera_layer_mode_text + vera_layer_mode_text::layer#4 = phi( vera_layer_mode_text/vera_layer_mode_text::layer#1 ) + vera_layer_mode_text::color_mode#1 = phi( vera_layer_mode_text/vera_layer_mode_text::color_mode#3 ) + if(vera_layer_mode_text::color_mode#1==$10) goto vera_layer_mode_text::@2 + to:vera_layer_mode_text::@1 +vera_layer_mode_text::@2: scope:[vera_layer_mode_text] from vera_layer_mode_text::@4 + vera_layer_mode_text::layer#2 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::layer#4 ) + vera_layer_set_text_color_mode::layer#0 = vera_layer_mode_text::layer#2 + vera_layer_set_text_color_mode::color_mode#0 = VERA_LAYER_CONFIG_16C + call vera_layer_set_text_color_mode + to:vera_layer_mode_text::@5 +vera_layer_mode_text::@5: scope:[vera_layer_mode_text] from vera_layer_mode_text::@2 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@1: scope:[vera_layer_mode_text] from vera_layer_mode_text::@4 + vera_layer_mode_text::layer#5 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::layer#4 ) + vera_layer_mode_text::color_mode#2 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::color_mode#1 ) + if(vera_layer_mode_text::color_mode#2==$100) goto vera_layer_mode_text::@3 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@3: scope:[vera_layer_mode_text] from vera_layer_mode_text::@1 + vera_layer_mode_text::layer#3 = phi( vera_layer_mode_text::@1/vera_layer_mode_text::layer#5 ) + vera_layer_set_text_color_mode::layer#1 = vera_layer_mode_text::layer#3 + vera_layer_set_text_color_mode::color_mode#1 = VERA_LAYER_CONFIG_256C + call vera_layer_set_text_color_mode + to:vera_layer_mode_text::@6 +vera_layer_mode_text::@6: scope:[vera_layer_mode_text] from vera_layer_mode_text::@3 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@return: scope:[vera_layer_mode_text] from vera_layer_mode_text::@1 vera_layer_mode_text::@5 vera_layer_mode_text::@6 + return + to:@return + +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +vera_layer_mode_bitmap: scope:[vera_layer_mode_bitmap] from main::@18 + vera_layer_mode_bitmap::mapwidth#8 = phi( main::@18/vera_layer_mode_bitmap::mapwidth#0 ) + vera_layer_mode_bitmap::layer#12 = phi( main::@18/vera_layer_mode_bitmap::layer#0 ) + vera_layer_mode_bitmap::bitmap_address#8 = phi( main::@18/vera_layer_mode_bitmap::bitmap_address#1 ) + vera_layer_mode_bitmap::color_depth#1 = phi( main::@18/vera_layer_mode_bitmap::color_depth#0 ) + vera_layer_mode_bitmap::config#0 = 0 + if(vera_layer_mode_bitmap::color_depth#1==1) goto vera_layer_mode_bitmap::@4 + to:vera_layer_mode_bitmap::@1 +vera_layer_mode_bitmap::@4: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap + vera_layer_mode_bitmap::mapwidth#4 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::mapwidth#8 ) + vera_layer_mode_bitmap::layer#5 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::layer#12 ) + vera_layer_mode_bitmap::bitmap_address#4 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::bitmap_address#8 ) + vera_layer_mode_bitmap::config#6 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::config#0 ) + vera_layer_mode_bitmap::config#1 = vera_layer_mode_bitmap::config#6 | VERA_LAYER_COLOR_DEPTH_1BPP + to:vera_layer_mode_bitmap::@8 +vera_layer_mode_bitmap::@1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap + vera_layer_mode_bitmap::mapwidth#9 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::mapwidth#8 ) + vera_layer_mode_bitmap::layer#13 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::layer#12 ) + vera_layer_mode_bitmap::bitmap_address#9 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::bitmap_address#8 ) + vera_layer_mode_bitmap::config#12 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::config#0 ) + vera_layer_mode_bitmap::color_depth#2 = phi( vera_layer_mode_bitmap/vera_layer_mode_bitmap::color_depth#1 ) + if(vera_layer_mode_bitmap::color_depth#2==2) goto vera_layer_mode_bitmap::@5 + to:vera_layer_mode_bitmap::@2 +vera_layer_mode_bitmap::@5: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@1 + vera_layer_mode_bitmap::mapwidth#5 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::mapwidth#9 ) + vera_layer_mode_bitmap::layer#6 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::layer#13 ) + vera_layer_mode_bitmap::bitmap_address#5 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::bitmap_address#9 ) + vera_layer_mode_bitmap::config#7 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::config#12 ) + vera_layer_mode_bitmap::config#2 = vera_layer_mode_bitmap::config#7 | VERA_LAYER_COLOR_DEPTH_2BPP + to:vera_layer_mode_bitmap::@8 +vera_layer_mode_bitmap::@2: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@1 + vera_layer_mode_bitmap::mapwidth#10 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::mapwidth#9 ) + vera_layer_mode_bitmap::layer#14 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::layer#13 ) + vera_layer_mode_bitmap::bitmap_address#10 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::bitmap_address#9 ) + vera_layer_mode_bitmap::config#13 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::config#12 ) + vera_layer_mode_bitmap::color_depth#3 = phi( vera_layer_mode_bitmap::@1/vera_layer_mode_bitmap::color_depth#2 ) + if(vera_layer_mode_bitmap::color_depth#3==4) goto vera_layer_mode_bitmap::@6 + to:vera_layer_mode_bitmap::@3 +vera_layer_mode_bitmap::@6: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@2 + vera_layer_mode_bitmap::mapwidth#6 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::mapwidth#10 ) + vera_layer_mode_bitmap::layer#7 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::layer#14 ) + vera_layer_mode_bitmap::bitmap_address#6 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::bitmap_address#10 ) + vera_layer_mode_bitmap::config#8 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::config#13 ) + vera_layer_mode_bitmap::config#3 = vera_layer_mode_bitmap::config#8 | VERA_LAYER_COLOR_DEPTH_4BPP + to:vera_layer_mode_bitmap::@8 +vera_layer_mode_bitmap::@3: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@2 + vera_layer_mode_bitmap::mapwidth#3 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::mapwidth#10 ) + vera_layer_mode_bitmap::layer#4 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::layer#14 ) + vera_layer_mode_bitmap::bitmap_address#3 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::bitmap_address#10 ) + vera_layer_mode_bitmap::config#14 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::config#13 ) + vera_layer_mode_bitmap::color_depth#4 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::color_depth#3 ) + if(vera_layer_mode_bitmap::color_depth#4==8) goto vera_layer_mode_bitmap::@7 + to:vera_layer_mode_bitmap::@8 +vera_layer_mode_bitmap::@7: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@3 + vera_layer_mode_bitmap::mapwidth#7 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::mapwidth#3 ) + vera_layer_mode_bitmap::layer#8 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::layer#4 ) + vera_layer_mode_bitmap::bitmap_address#7 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::bitmap_address#3 ) + vera_layer_mode_bitmap::config#9 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::config#14 ) + vera_layer_mode_bitmap::config#4 = vera_layer_mode_bitmap::config#9 | VERA_LAYER_COLOR_DEPTH_8BPP + to:vera_layer_mode_bitmap::@8 +vera_layer_mode_bitmap::@8: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@3 vera_layer_mode_bitmap::@4 vera_layer_mode_bitmap::@5 vera_layer_mode_bitmap::@6 vera_layer_mode_bitmap::@7 + vera_layer_mode_bitmap::mapwidth#1 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::mapwidth#3, vera_layer_mode_bitmap::@4/vera_layer_mode_bitmap::mapwidth#4, vera_layer_mode_bitmap::@5/vera_layer_mode_bitmap::mapwidth#5, vera_layer_mode_bitmap::@6/vera_layer_mode_bitmap::mapwidth#6, vera_layer_mode_bitmap::@7/vera_layer_mode_bitmap::mapwidth#7 ) + vera_layer_mode_bitmap::layer#1 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::layer#4, vera_layer_mode_bitmap::@4/vera_layer_mode_bitmap::layer#5, vera_layer_mode_bitmap::@5/vera_layer_mode_bitmap::layer#6, vera_layer_mode_bitmap::@6/vera_layer_mode_bitmap::layer#7, vera_layer_mode_bitmap::@7/vera_layer_mode_bitmap::layer#8 ) + vera_layer_mode_bitmap::bitmap_address#2 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::bitmap_address#3, vera_layer_mode_bitmap::@4/vera_layer_mode_bitmap::bitmap_address#4, vera_layer_mode_bitmap::@5/vera_layer_mode_bitmap::bitmap_address#5, vera_layer_mode_bitmap::@6/vera_layer_mode_bitmap::bitmap_address#6, vera_layer_mode_bitmap::@7/vera_layer_mode_bitmap::bitmap_address#7 ) + vera_layer_mode_bitmap::config#10 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::config#14, vera_layer_mode_bitmap::@4/vera_layer_mode_bitmap::config#1, vera_layer_mode_bitmap::@5/vera_layer_mode_bitmap::config#2, vera_layer_mode_bitmap::@6/vera_layer_mode_bitmap::config#3, vera_layer_mode_bitmap::@7/vera_layer_mode_bitmap::config#4 ) + vera_layer_mode_bitmap::$0 = vera_layer_mode_bitmap::config#10 | VERA_LAYER_CONFIG_MODE_BITMAP + vera_layer_mode_bitmap::config#5 = vera_layer_mode_bitmap::$0 + vera_layer_mode_bitmap::$1 = < vera_layer_mode_bitmap::bitmap_address#2 + vera_layer_mode_bitmap::$10 = vera_layer_mode_bitmap::layer#1 * SIZEOF_WORD + vera_tilebase_offset[vera_layer_mode_bitmap::$10] = vera_layer_mode_bitmap::$1 + vera_layer_mode_bitmap::$2 = > vera_layer_mode_bitmap::bitmap_address#2 + vera_tilebase_bank[vera_layer_mode_bitmap::layer#1] = (byte)vera_layer_mode_bitmap::$2 + vera_layer_mode_bitmap::$11 = vera_layer_mode_bitmap::layer#1 * SIZEOF_DWORD + vera_tilebase_address[vera_layer_mode_bitmap::$11] = vera_layer_mode_bitmap::bitmap_address#2 + vera_layer_mode_bitmap::$3 = vera_layer_mode_bitmap::bitmap_address#2 >> 1 + vera_layer_mode_bitmap::bitmap_address#0 = vera_layer_mode_bitmap::$3 + vera_layer_mode_bitmap::$4 = < vera_layer_mode_bitmap::bitmap_address#0 + vera_layer_mode_bitmap::$5 = > vera_layer_mode_bitmap::$4 + vera_layer_mode_bitmap::tilebase#0 = vera_layer_mode_bitmap::$5 + vera_layer_mode_bitmap::tilebase#1 = vera_layer_mode_bitmap::tilebase#0 & VERA_LAYER_TILEBASE_MASK + if(vera_layer_mode_bitmap::mapwidth#1==$140) goto vera_layer_mode_bitmap::vera_display_set_scale_double1 + to:vera_layer_mode_bitmap::@9 +vera_layer_mode_bitmap::vera_display_set_scale_double1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@8 + vera_layer_mode_bitmap::config#18 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::config#5 ) + vera_layer_mode_bitmap::layer#15 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::layer#1 ) + vera_layer_mode_bitmap::tilebase#7 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::tilebase#1 ) + *VERA_DC_HSCALE = $40 + *VERA_DC_VSCALE = $40 + to:vera_layer_mode_bitmap::@11 +vera_layer_mode_bitmap::@11: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::vera_display_set_scale_double1 + vera_layer_mode_bitmap::config#15 = phi( vera_layer_mode_bitmap::vera_display_set_scale_double1/vera_layer_mode_bitmap::config#18 ) + vera_layer_mode_bitmap::layer#9 = phi( vera_layer_mode_bitmap::vera_display_set_scale_double1/vera_layer_mode_bitmap::layer#15 ) + vera_layer_mode_bitmap::tilebase#4 = phi( vera_layer_mode_bitmap::vera_display_set_scale_double1/vera_layer_mode_bitmap::tilebase#7 ) + vera_layer_mode_bitmap::tilebase#2 = vera_layer_mode_bitmap::tilebase#4 | VERA_TILEBASE_WIDTH_8 + to:vera_layer_mode_bitmap::@10 +vera_layer_mode_bitmap::@9: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@8 + vera_layer_mode_bitmap::tilebase#10 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::tilebase#1 ) + vera_layer_mode_bitmap::config#17 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::config#5 ) + vera_layer_mode_bitmap::layer#11 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::layer#1 ) + vera_layer_mode_bitmap::mapwidth#2 = phi( vera_layer_mode_bitmap::@8/vera_layer_mode_bitmap::mapwidth#1 ) + if(vera_layer_mode_bitmap::mapwidth#2==$280) goto vera_layer_mode_bitmap::vera_display_set_scale_none1 + to:vera_layer_mode_bitmap::@10 +vera_layer_mode_bitmap::vera_display_set_scale_none1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@9 + vera_layer_mode_bitmap::config#19 = phi( vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::config#17 ) + vera_layer_mode_bitmap::layer#16 = phi( vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::layer#11 ) + vera_layer_mode_bitmap::tilebase#8 = phi( vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::tilebase#10 ) + *VERA_DC_HSCALE = $80 + *VERA_DC_VSCALE = $80 + to:vera_layer_mode_bitmap::@12 +vera_layer_mode_bitmap::@12: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::vera_display_set_scale_none1 + vera_layer_mode_bitmap::config#16 = phi( vera_layer_mode_bitmap::vera_display_set_scale_none1/vera_layer_mode_bitmap::config#19 ) + vera_layer_mode_bitmap::layer#10 = phi( vera_layer_mode_bitmap::vera_display_set_scale_none1/vera_layer_mode_bitmap::layer#16 ) + vera_layer_mode_bitmap::tilebase#5 = phi( vera_layer_mode_bitmap::vera_display_set_scale_none1/vera_layer_mode_bitmap::tilebase#8 ) + vera_layer_mode_bitmap::tilebase#3 = vera_layer_mode_bitmap::tilebase#5 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_bitmap::@10 +vera_layer_mode_bitmap::@10: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@11 vera_layer_mode_bitmap::@12 vera_layer_mode_bitmap::@9 + vera_layer_mode_bitmap::tilebase#9 = phi( vera_layer_mode_bitmap::@11/vera_layer_mode_bitmap::tilebase#2, vera_layer_mode_bitmap::@12/vera_layer_mode_bitmap::tilebase#3, vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::tilebase#10 ) + vera_layer_mode_bitmap::config#11 = phi( vera_layer_mode_bitmap::@11/vera_layer_mode_bitmap::config#15, vera_layer_mode_bitmap::@12/vera_layer_mode_bitmap::config#16, vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::config#17 ) + vera_layer_mode_bitmap::layer#2 = phi( vera_layer_mode_bitmap::@11/vera_layer_mode_bitmap::layer#9, vera_layer_mode_bitmap::@12/vera_layer_mode_bitmap::layer#10, vera_layer_mode_bitmap::@9/vera_layer_mode_bitmap::layer#11 ) + vera_layer_set_config::layer#1 = vera_layer_mode_bitmap::layer#2 + vera_layer_set_config::config#1 = vera_layer_mode_bitmap::config#11 + call vera_layer_set_config + to:vera_layer_mode_bitmap::@13 +vera_layer_mode_bitmap::@13: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@10 + vera_layer_mode_bitmap::tilebase#6 = phi( vera_layer_mode_bitmap::@10/vera_layer_mode_bitmap::tilebase#9 ) + vera_layer_mode_bitmap::layer#3 = phi( vera_layer_mode_bitmap::@10/vera_layer_mode_bitmap::layer#2 ) + vera_layer_set_tilebase::layer#1 = vera_layer_mode_bitmap::layer#3 + vera_layer_set_tilebase::tilebase#1 = vera_layer_mode_bitmap::tilebase#6 + call vera_layer_set_tilebase + to:vera_layer_mode_bitmap::@14 +vera_layer_mode_bitmap::@14: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@13 + to:vera_layer_mode_bitmap::@return +vera_layer_mode_bitmap::@return: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@14 + return + to:@return + +void conio_x16_init() +conio_x16_init: scope:[conio_x16_init] from __start::__init1 + CONIO_SCREEN_TEXT#48 = phi( __start::__init1/CONIO_SCREEN_TEXT#7 ) + CONIO_SCREEN_BANK#40 = phi( __start::__init1/CONIO_SCREEN_BANK#7 ) + conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE + vera_layer_mode_text::layer#0 = 1 + vera_layer_mode_text::mapbase_address#0 = (dword)0 + vera_layer_mode_text::tilebase_address#0 = (dword)$f800 + vera_layer_mode_text::mapwidth#0 = $80 + vera_layer_mode_text::mapheight#0 = $40 + vera_layer_mode_text::tilewidth#0 = 8 + vera_layer_mode_text::tileheight#0 = 8 + vera_layer_mode_text::color_mode#0 = $10 + call vera_layer_mode_text + to:conio_x16_init::@3 +conio_x16_init::@3: scope:[conio_x16_init] from conio_x16_init + conio_x16_init::line#9 = phi( conio_x16_init/conio_x16_init::line#0 ) + CONIO_SCREEN_TEXT#37 = phi( conio_x16_init/CONIO_SCREEN_TEXT#48 ) + CONIO_SCREEN_BANK#31 = phi( conio_x16_init/CONIO_SCREEN_BANK#40 ) + screensize::x#0 = &conio_screen_width + screensize::y#0 = &conio_screen_height + call screensize + to:conio_x16_init::@4 +conio_x16_init::@4: scope:[conio_x16_init] from conio_x16_init::@3 + conio_x16_init::line#8 = phi( conio_x16_init::@3/conio_x16_init::line#9 ) + CONIO_SCREEN_TEXT#24 = phi( conio_x16_init::@3/CONIO_SCREEN_TEXT#37 ) + CONIO_SCREEN_BANK#22 = phi( conio_x16_init::@3/CONIO_SCREEN_BANK#31 ) + screenlayer::layer#0 = 1 + call screenlayer + to:conio_x16_init::@5 +conio_x16_init::@5: scope:[conio_x16_init] from conio_x16_init::@4 + conio_x16_init::line#7 = phi( conio_x16_init::@4/conio_x16_init::line#8 ) + CONIO_SCREEN_TEXT#11 = phi( conio_x16_init::@4/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#11 = phi( conio_x16_init::@4/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#11 + CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#11 + vera_layer_set_textcolor::layer#0 = 1 + vera_layer_set_textcolor::color#0 = WHITE + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#2 = vera_layer_set_textcolor::return#1 + to:conio_x16_init::@6 +conio_x16_init::@6: scope:[conio_x16_init] from conio_x16_init::@5 + CONIO_SCREEN_TEXT#85 = phi( conio_x16_init::@5/CONIO_SCREEN_TEXT#0 ) + CONIO_SCREEN_BANK#69 = phi( conio_x16_init::@5/CONIO_SCREEN_BANK#0 ) + conio_x16_init::line#6 = phi( conio_x16_init::@5/conio_x16_init::line#7 ) + vera_layer_set_backcolor::layer#0 = 1 + vera_layer_set_backcolor::color#0 = BLUE + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#2 = vera_layer_set_backcolor::return#1 + to:conio_x16_init::@7 +conio_x16_init::@7: scope:[conio_x16_init] from conio_x16_init::@6 + CONIO_SCREEN_TEXT#71 = phi( conio_x16_init::@6/CONIO_SCREEN_TEXT#85 ) + CONIO_SCREEN_BANK#60 = phi( conio_x16_init::@6/CONIO_SCREEN_BANK#69 ) + conio_x16_init::line#5 = phi( conio_x16_init::@6/conio_x16_init::line#6 ) + vera_layer_set_mapbase::layer#1 = 0 + vera_layer_set_mapbase::mapbase#1 = $20 + call vera_layer_set_mapbase + to:conio_x16_init::@8 +conio_x16_init::@8: scope:[conio_x16_init] from conio_x16_init::@7 + CONIO_SCREEN_TEXT#59 = phi( conio_x16_init::@7/CONIO_SCREEN_TEXT#71 ) + CONIO_SCREEN_BANK#50 = phi( conio_x16_init::@7/CONIO_SCREEN_BANK#60 ) + conio_x16_init::line#4 = phi( conio_x16_init::@7/conio_x16_init::line#5 ) + vera_layer_set_mapbase::layer#2 = 1 + vera_layer_set_mapbase::mapbase#2 = 0 + call vera_layer_set_mapbase + to:conio_x16_init::@9 +conio_x16_init::@9: scope:[conio_x16_init] from conio_x16_init::@8 + CONIO_SCREEN_TEXT#50 = phi( conio_x16_init::@8/CONIO_SCREEN_TEXT#59 ) + CONIO_SCREEN_BANK#42 = phi( conio_x16_init::@8/CONIO_SCREEN_BANK#50 ) + conio_x16_init::line#2 = phi( conio_x16_init::@8/conio_x16_init::line#4 ) + conio_x16_init::$7 = conio_x16_init::line#2 >= conio_screen_height + conio_x16_init::$8 = ! conio_x16_init::$7 + if(conio_x16_init::$8) goto conio_x16_init::@1 + to:conio_x16_init::@2 +conio_x16_init::@1: scope:[conio_x16_init] from conio_x16_init::@2 conio_x16_init::@9 + CONIO_SCREEN_TEXT#38 = phi( conio_x16_init::@2/CONIO_SCREEN_TEXT#49, conio_x16_init::@9/CONIO_SCREEN_TEXT#50 ) + CONIO_SCREEN_BANK#32 = phi( conio_x16_init::@2/CONIO_SCREEN_BANK#41, conio_x16_init::@9/CONIO_SCREEN_BANK#42 ) + conio_x16_init::line#3 = phi( conio_x16_init::@2/conio_x16_init::line#1, conio_x16_init::@9/conio_x16_init::line#2 ) + gotoxy::x#0 = 0 + gotoxy::y#0 = conio_x16_init::line#3 + call gotoxy + to:conio_x16_init::@10 +conio_x16_init::@10: scope:[conio_x16_init] from conio_x16_init::@1 + CONIO_SCREEN_TEXT#25 = phi( conio_x16_init::@1/CONIO_SCREEN_TEXT#38 ) + CONIO_SCREEN_BANK#23 = phi( conio_x16_init::@1/CONIO_SCREEN_BANK#32 ) + to:conio_x16_init::@return +conio_x16_init::@2: scope:[conio_x16_init] from conio_x16_init::@9 + CONIO_SCREEN_TEXT#49 = phi( conio_x16_init::@9/CONIO_SCREEN_TEXT#50 ) + CONIO_SCREEN_BANK#41 = phi( conio_x16_init::@9/CONIO_SCREEN_BANK#42 ) + conio_x16_init::$9 = conio_screen_height - 1 + conio_x16_init::line#1 = conio_x16_init::$9 + to:conio_x16_init::@1 +conio_x16_init::@return: scope:[conio_x16_init] from conio_x16_init::@10 + CONIO_SCREEN_TEXT#12 = phi( conio_x16_init::@10/CONIO_SCREEN_TEXT#25 ) + CONIO_SCREEN_BANK#12 = phi( conio_x16_init::@10/CONIO_SCREEN_BANK#23 ) + CONIO_SCREEN_BANK#1 = CONIO_SCREEN_BANK#12 + CONIO_SCREEN_TEXT#1 = CONIO_SCREEN_TEXT#12 + return + to:@return + +byte kbhit() +kbhit: scope:[kbhit] from main::@1 main::@4 + kbhit::ch = 0 + kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + }} + kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + kbhit::return#4 = phi( kbhit/kbhit::return#0 ) + kbhit::return#1 = kbhit::return#4 + return + to:@return + +void clrscr() +clrscr: scope:[clrscr] from main::@13 main::@16 main::@9 + CONIO_SCREEN_BANK#51 = phi( main::@13/CONIO_SCREEN_BANK#61, main::@16/CONIO_SCREEN_BANK#39, main::@9/CONIO_SCREEN_BANK#62 ) + CONIO_SCREEN_TEXT#13 = phi( main::@13/CONIO_SCREEN_TEXT#26, main::@16/CONIO_SCREEN_TEXT#27, main::@9/CONIO_SCREEN_TEXT#28 ) + clrscr::line_text#0 = CONIO_SCREEN_TEXT#13 + vera_layer_get_backcolor::layer#0 = conio_screen_layer + call vera_layer_get_backcolor + vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#1 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + CONIO_SCREEN_BANK#43 = phi( clrscr/CONIO_SCREEN_BANK#51 ) + clrscr::line_text#8 = phi( clrscr/clrscr::line_text#0 ) + vera_layer_get_backcolor::return#4 = phi( clrscr/vera_layer_get_backcolor::return#2 ) + clrscr::$0 = vera_layer_get_backcolor::return#4 + clrscr::$1 = clrscr::$0 << 4 + vera_layer_get_textcolor::layer#0 = conio_screen_layer + call vera_layer_get_textcolor + vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#1 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + CONIO_SCREEN_BANK#34 = phi( clrscr::@7/CONIO_SCREEN_BANK#43 ) + clrscr::line_text#6 = phi( clrscr::@7/clrscr::line_text#8 ) + vera_layer_get_textcolor::return#4 = phi( clrscr::@7/vera_layer_get_textcolor::return#2 ) + clrscr::$2 = vera_layer_get_textcolor::return#4 + clrscr::$3 = clrscr::$1 | clrscr::$2 + clrscr::color#0 = clrscr::$3 + clrscr::l#0 = 0 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + clrscr::color#4 = phi( clrscr::@6/clrscr::color#5, clrscr::@8/clrscr::color#0 ) + CONIO_SCREEN_BANK#24 = phi( clrscr::@6/CONIO_SCREEN_BANK#33, clrscr::@8/CONIO_SCREEN_BANK#34 ) + clrscr::line_text#4 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#6 ) + clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/clrscr::l#0 ) + clrscr::$4 = clrscr::l#2 < conio_height + if(clrscr::$4) goto clrscr::@2 + to:clrscr::@3 +clrscr::@2: scope:[clrscr] from clrscr::@1 + clrscr::l#5 = phi( clrscr::@1/clrscr::l#2 ) + clrscr::color#3 = phi( clrscr::@1/clrscr::color#4 ) + CONIO_SCREEN_BANK#13 = phi( clrscr::@1/CONIO_SCREEN_BANK#24 ) + clrscr::line_text#2 = phi( clrscr::@1/clrscr::line_text#4 ) + clrscr::ch#0 = clrscr::line_text#2 + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + clrscr::$5 = < clrscr::ch#0 + *VERA_ADDRX_L = clrscr::$5 + clrscr::$6 = > clrscr::ch#0 + *VERA_ADDRX_M = clrscr::$6 + clrscr::$7 = CONIO_SCREEN_BANK#13 | VERA_INC_1 + *VERA_ADDRX_H = clrscr::$7 + clrscr::c#0 = 0 + to:clrscr::@4 +clrscr::@3: scope:[clrscr] from clrscr::@1 + conio_cursor_x[conio_screen_layer] = 0 + conio_cursor_y[conio_screen_layer] = 0 + clrscr::$9 = conio_screen_layer * SIZEOF_WORD + conio_line_text[clrscr::$9] = 0 + to:clrscr::@return +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + CONIO_SCREEN_BANK#44 = phi( clrscr::@2/CONIO_SCREEN_BANK#13, clrscr::@5/CONIO_SCREEN_BANK#52 ) + clrscr::l#4 = phi( clrscr::@2/clrscr::l#5, clrscr::@5/clrscr::l#6 ) + clrscr::line_text#5 = phi( clrscr::@2/clrscr::line_text#2, clrscr::@5/clrscr::line_text#7 ) + clrscr::color#2 = phi( clrscr::@2/clrscr::color#3, clrscr::@5/clrscr::color#1 ) + clrscr::c#2 = phi( clrscr::@2/clrscr::c#0, clrscr::@5/clrscr::c#1 ) + clrscr::$8 = clrscr::c#2 < conio_width + if(clrscr::$8) goto clrscr::@5 + to:clrscr::@6 +clrscr::@5: scope:[clrscr] from clrscr::@4 + CONIO_SCREEN_BANK#52 = phi( clrscr::@4/CONIO_SCREEN_BANK#44 ) + clrscr::l#6 = phi( clrscr::@4/clrscr::l#4 ) + clrscr::line_text#7 = phi( clrscr::@4/clrscr::line_text#5 ) + clrscr::c#3 = phi( clrscr::@4/clrscr::c#2 ) + clrscr::color#1 = phi( clrscr::@4/clrscr::color#2 ) + *VERA_DATA0 = ' ' + *VERA_DATA0 = clrscr::color#1 + clrscr::c#1 = ++ clrscr::c#3 + to:clrscr::@4 +clrscr::@6: scope:[clrscr] from clrscr::@4 + clrscr::color#5 = phi( clrscr::@4/clrscr::color#2 ) + CONIO_SCREEN_BANK#33 = phi( clrscr::@4/CONIO_SCREEN_BANK#44 ) + clrscr::l#3 = phi( clrscr::@4/clrscr::l#4 ) + clrscr::line_text#3 = phi( clrscr::@4/clrscr::line_text#5 ) + clrscr::line_text#1 = clrscr::line_text#3 + conio_rowskip + clrscr::l#1 = ++ clrscr::l#3 + to:clrscr::@1 +clrscr::@return: scope:[clrscr] from clrscr::@3 + return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@23 main::@30 main::@47 main::@49 + gotoxy::x#9 = phi( conio_x16_init::@1/gotoxy::x#0, cscroll::@5/gotoxy::x#2, main::@23/gotoxy::x#3, main::@30/gotoxy::x#4, main::@47/gotoxy::x#5, main::@49/gotoxy::x#6 ) + gotoxy::y#7 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@23/gotoxy::y#3, main::@30/gotoxy::y#4, main::@47/gotoxy::y#5, main::@49/gotoxy::y#6 ) + gotoxy::$0 = gotoxy::y#7 > conio_screen_height + gotoxy::$1 = ! gotoxy::$0 + if(gotoxy::$1) goto gotoxy::@1 + to:gotoxy::@3 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@3 + gotoxy::y#9 = phi( gotoxy/gotoxy::y#7, gotoxy::@3/gotoxy::y#1 ) + gotoxy::x#7 = phi( gotoxy/gotoxy::x#9, gotoxy::@3/gotoxy::x#10 ) + gotoxy::$2 = gotoxy::x#7 >= conio_screen_width + gotoxy::$3 = ! gotoxy::$2 + if(gotoxy::$3) goto gotoxy::@2 + to:gotoxy::@4 +gotoxy::@3: scope:[gotoxy] from gotoxy + gotoxy::x#10 = phi( gotoxy/gotoxy::x#9 ) + gotoxy::y#1 = 0 + to:gotoxy::@1 +gotoxy::@2: scope:[gotoxy] from gotoxy::@1 gotoxy::@4 + gotoxy::y#8 = phi( gotoxy::@1/gotoxy::y#9, gotoxy::@4/gotoxy::y#10 ) + gotoxy::x#8 = phi( gotoxy::@1/gotoxy::x#7, gotoxy::@4/gotoxy::x#1 ) + conio_cursor_x[conio_screen_layer] = gotoxy::x#8 + conio_cursor_y[conio_screen_layer] = gotoxy::y#8 + gotoxy::$6 = (word)gotoxy::y#8 + gotoxy::$4 = gotoxy::$6 << conio_rowshift + gotoxy::line_offset#0 = gotoxy::$4 + gotoxy::$5 = conio_screen_layer * SIZEOF_WORD + conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 + to:gotoxy::@return +gotoxy::@4: scope:[gotoxy] from gotoxy::@1 + gotoxy::y#10 = phi( gotoxy::@1/gotoxy::y#9 ) + gotoxy::x#1 = 0 + to:gotoxy::@2 +gotoxy::@return: scope:[gotoxy] from gotoxy::@2 + return + to:@return + +void screensize(byte* screensize::x , byte* screensize::y) +screensize: scope:[screensize] from conio_x16_init::@3 + screensize::y#1 = phi( conio_x16_init::@3/screensize::y#0 ) + screensize::x#1 = phi( conio_x16_init::@3/screensize::x#0 ) + screensize::$0 = *VERA_DC_HSCALE >> 7 + screensize::hscale#0 = screensize::$0 + screensize::$1 = $28 << screensize::hscale#0 + *screensize::x#1 = screensize::$1 + screensize::$2 = *VERA_DC_VSCALE >> 7 + screensize::vscale#0 = screensize::$2 + screensize::$3 = $1e << screensize::vscale#0 + *screensize::y#1 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + CONIO_SCREEN_BANK#35 = phi( cputs::@2/CONIO_SCREEN_BANK#45 ) + cputc::c#3 = phi( cputs::@2/cputc::c#0 ) + CONIO_SCREEN_TEXT#29 = phi( cputs::@2/CONIO_SCREEN_TEXT#39 ) + vera_layer_get_color::layer#0 = conio_screen_layer + call vera_layer_get_color + vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + CONIO_SCREEN_BANK#25 = phi( cputc/CONIO_SCREEN_BANK#35 ) + cputc::c#1 = phi( cputc/cputc::c#3 ) + CONIO_SCREEN_TEXT#14 = phi( cputc/CONIO_SCREEN_TEXT#29 ) + vera_layer_get_color::return#6 = phi( cputc/vera_layer_get_color::return#3 ) + cputc::$0 = vera_layer_get_color::return#6 + cputc::color#0 = cputc::$0 + cputc::$15 = conio_screen_layer * SIZEOF_WORD + cputc::$1 = CONIO_SCREEN_TEXT#14 + conio_line_text[cputc::$15] + cputc::conio_addr#0 = cputc::$1 + cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + cputc::$3 = cputc::c#1 == ' +' + if(cputc::$3) goto cputc::@1 + to:cputc::@2 +cputc::@1: scope:[cputc] from cputc::@7 + CONIO_SCREEN_TEXT#95 = phi( cputc::@7/CONIO_SCREEN_TEXT#14 ) + call cputln + to:cputc::@8 +cputc::@8: scope:[cputc] from cputc::@1 + to:cputc::@return +cputc::@2: scope:[cputc] from cputc::@7 + CONIO_SCREEN_TEXT#108 = phi( cputc::@7/CONIO_SCREEN_TEXT#14 ) + cputc::color#1 = phi( cputc::@7/cputc::color#0 ) + cputc::c#2 = phi( cputc::@7/cputc::c#1 ) + CONIO_SCREEN_BANK#14 = phi( cputc::@7/CONIO_SCREEN_BANK#25 ) + cputc::conio_addr#2 = phi( cputc::@7/cputc::conio_addr#1 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + cputc::$4 = < cputc::conio_addr#2 + *VERA_ADDRX_L = cputc::$4 + cputc::$5 = > cputc::conio_addr#2 + *VERA_ADDRX_M = cputc::$5 + cputc::$6 = CONIO_SCREEN_BANK#14 | VERA_INC_1 + *VERA_ADDRX_H = cputc::$6 + *VERA_DATA0 = cputc::c#2 + *VERA_DATA0 = cputc::color#1 + conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + cputc::$17 = 0 != cputc::scroll_enable#0 + if(cputc::$17) goto cputc::@5 + to:cputc::@3 +cputc::@5: scope:[cputc] from cputc::@2 + CONIO_SCREEN_TEXT#103 = phi( cputc::@2/CONIO_SCREEN_TEXT#108 ) + cputc::$11 = conio_cursor_x[conio_screen_layer] == conio_screen_width + cputc::$12 = ! cputc::$11 + if(cputc::$12) goto cputc::@return + to:cputc::@6 +cputc::@3: scope:[cputc] from cputc::@2 + CONIO_SCREEN_TEXT#102 = phi( cputc::@2/CONIO_SCREEN_TEXT#108 ) + cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + cputc::$8 = cputc::$16 == conio_width + cputc::$9 = ! cputc::$8 + if(cputc::$9) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + CONIO_SCREEN_TEXT#96 = phi( cputc::@3/CONIO_SCREEN_TEXT#102 ) + call cputln + to:cputc::@9 +cputc::@9: scope:[cputc] from cputc::@4 + to:cputc::@return +cputc::@6: scope:[cputc] from cputc::@5 + CONIO_SCREEN_TEXT#97 = phi( cputc::@5/CONIO_SCREEN_TEXT#103 ) + call cputln + to:cputc::@10 +cputc::@10: scope:[cputc] from cputc::@6 + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@10 cputc::@3 cputc::@5 cputc::@8 cputc::@9 + return + to:@return + +void cputln() +cputln: scope:[cputln] from cputc::@1 cputc::@4 cputc::@6 + CONIO_SCREEN_TEXT#86 = phi( cputc::@1/CONIO_SCREEN_TEXT#95, cputc::@4/CONIO_SCREEN_TEXT#96, cputc::@6/CONIO_SCREEN_TEXT#97 ) + cputln::$2 = conio_screen_layer * SIZEOF_WORD + cputln::temp#0 = conio_line_text[cputln::$2] + cputln::temp#1 = cputln::temp#0 + conio_rowskip + cputln::$3 = conio_screen_layer * SIZEOF_WORD + conio_line_text[cputln::$3] = cputln::temp#1 + conio_cursor_x[conio_screen_layer] = 0 + conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] + call cscroll + to:cputln::@1 +cputln::@1: scope:[cputln] from cputln + to:cputln::@return +cputln::@return: scope:[cputln] from cputln::@1 + return + to:@return + +void clearline() +clearline: scope:[clearline] from insertup::@3 + CONIO_SCREEN_TEXT#15 = phi( insertup::@3/CONIO_SCREEN_TEXT#30 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + clearline::$5 = conio_screen_layer * SIZEOF_WORD + clearline::$0 = CONIO_SCREEN_TEXT#15 + conio_line_text[clearline::$5] + clearline::addr#0 = clearline::$0 + clearline::$1 = < clearline::addr#0 + *VERA_ADDRX_L = clearline::$1 + clearline::$2 = > clearline::addr#0 + *VERA_ADDRX_M = clearline::$2 + *VERA_ADDRX_H = VERA_INC_1 + vera_layer_get_color::layer#1 = conio_screen_layer + call vera_layer_get_color + vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + vera_layer_get_color::return#7 = phi( clearline/vera_layer_get_color::return#4 ) + clearline::$3 = vera_layer_get_color::return#7 + clearline::color#0 = clearline::$3 + clearline::c#0 = 0 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + clearline::color#2 = phi( clearline::@2/clearline::color#1, clearline::@4/clearline::color#0 ) + clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/clearline::c#0 ) + clearline::$4 = clearline::c#2 < conio_screen_width + if(clearline::$4) goto clearline::@2 + to:clearline::@3 +clearline::@2: scope:[clearline] from clearline::@1 + clearline::c#3 = phi( clearline::@1/clearline::c#2 ) + clearline::color#1 = phi( clearline::@1/clearline::color#2 ) + *VERA_DATA0 = ' ' + *VERA_DATA0 = clearline::color#1 + clearline::c#1 = ++ clearline::c#3 + to:clearline::@1 +clearline::@3: scope:[clearline] from clearline::@1 + conio_cursor_x[conio_screen_layer] = 0 + to:clearline::@return +clearline::@return: scope:[clearline] from clearline::@3 + return + to:@return + +void insertup() +insertup: scope:[insertup] from cscroll::@4 + CONIO_SCREEN_TEXT#40 = phi( cscroll::@4/CONIO_SCREEN_TEXT#51 ) + insertup::cy#0 = conio_cursor_y[conio_screen_layer] + insertup::$0 = conio_screen_width * 2 + insertup::width#0 = insertup::$0 + insertup::i#0 = 1 + to:insertup::@1 +insertup::@1: scope:[insertup] from insertup insertup::@4 + insertup::width#2 = phi( insertup/insertup::width#0, insertup::@4/insertup::width#3 ) + CONIO_SCREEN_TEXT#31 = phi( insertup/CONIO_SCREEN_TEXT#40, insertup::@4/CONIO_SCREEN_TEXT#41 ) + insertup::cy#1 = phi( insertup/insertup::cy#0, insertup::@4/insertup::cy#2 ) + insertup::i#2 = phi( insertup/insertup::i#0, insertup::@4/insertup::i#1 ) + insertup::$2 = insertup::i#2 <= insertup::cy#1 + if(insertup::$2) goto insertup::@2 + to:insertup::@3 +insertup::@2: scope:[insertup] from insertup::@1 + insertup::cy#3 = phi( insertup::@1/insertup::cy#1 ) + insertup::width#1 = phi( insertup::@1/insertup::width#2 ) + CONIO_SCREEN_TEXT#16 = phi( insertup::@1/CONIO_SCREEN_TEXT#31 ) + insertup::i#3 = phi( insertup::@1/insertup::i#2 ) + insertup::$3 = insertup::i#3 - 1 + insertup::$4 = insertup::$3 << conio_rowshift + insertup::line#0 = insertup::$4 + insertup::$5 = CONIO_SCREEN_TEXT#16 + insertup::line#0 + insertup::start#0 = insertup::$5 + insertup::$6 = insertup::start#0 + conio_rowskip + memcpy_in_vram::dest_bank#0 = 0 + memcpy_in_vram::dest#0 = (void*)insertup::start#0 + memcpy_in_vram::dest_increment#0 = VERA_INC_1 + memcpy_in_vram::src_bank#0 = 0 + memcpy_in_vram::src#0 = (void*)insertup::$6 + memcpy_in_vram::src_increment#0 = VERA_INC_1 + memcpy_in_vram::num#0 = insertup::width#1 + call memcpy_in_vram + to:insertup::@4 +insertup::@4: scope:[insertup] from insertup::@2 + insertup::width#3 = phi( insertup::@2/insertup::width#1 ) + CONIO_SCREEN_TEXT#41 = phi( insertup::@2/CONIO_SCREEN_TEXT#16 ) + insertup::cy#2 = phi( insertup::@2/insertup::cy#3 ) + insertup::i#4 = phi( insertup::@2/insertup::i#3 ) + insertup::i#1 = ++ insertup::i#4 + to:insertup::@1 +insertup::@3: scope:[insertup] from insertup::@1 + CONIO_SCREEN_TEXT#30 = phi( insertup::@1/CONIO_SCREEN_TEXT#31 ) + call clearline + to:insertup::@5 +insertup::@5: scope:[insertup] from insertup::@3 + to:insertup::@return +insertup::@return: scope:[insertup] from insertup::@5 + return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + CONIO_SCREEN_TEXT#72 = phi( cputln/CONIO_SCREEN_TEXT#86 ) + cscroll::$0 = conio_cursor_y[conio_screen_layer] >= conio_screen_height + cscroll::$1 = ! cscroll::$0 + if(cscroll::$1) goto cscroll::@return + to:cscroll::@1 +cscroll::@1: scope:[cscroll] from cscroll + CONIO_SCREEN_TEXT#60 = phi( cscroll/CONIO_SCREEN_TEXT#72 ) + cscroll::$7 = 0 != conio_scroll_enable[conio_screen_layer] + if(cscroll::$7) goto cscroll::@4 + to:cscroll::@2 +cscroll::@4: scope:[cscroll] from cscroll::@1 + CONIO_SCREEN_TEXT#51 = phi( cscroll::@1/CONIO_SCREEN_TEXT#60 ) + call insertup + to:cscroll::@5 +cscroll::@5: scope:[cscroll] from cscroll::@4 + cscroll::$5 = conio_screen_height - 1 + gotoxy::x#2 = 0 + gotoxy::y#2 = cscroll::$5 + call gotoxy + to:cscroll::@6 +cscroll::@6: scope:[cscroll] from cscroll::@5 + to:cscroll::@return +cscroll::@2: scope:[cscroll] from cscroll::@1 + cscroll::$2 = conio_cursor_y[conio_screen_layer] >= conio_height + cscroll::$3 = ! cscroll::$2 + if(cscroll::$3) goto cscroll::@return + to:cscroll::@3 +cscroll::@3: scope:[cscroll] from cscroll::@2 + to:cscroll::@return +cscroll::@return: scope:[cscroll] from cscroll cscroll::@2 cscroll::@3 cscroll::@6 + return + to:@return + +void cputs(to_nomodify byte* cputs::s) +cputs: scope:[cputs] from main::@11 main::@14 main::@24 main::@25 main::@26 main::@27 main::@48 + CONIO_SCREEN_BANK#63 = phi( main::@11/CONIO_SCREEN_BANK#70, main::@14/CONIO_SCREEN_BANK#66, main::@24/CONIO_SCREEN_BANK#71, main::@25/CONIO_SCREEN_BANK#72, main::@26/CONIO_SCREEN_BANK#73, main::@27/CONIO_SCREEN_BANK#74, main::@48/CONIO_SCREEN_BANK#75 ) + CONIO_SCREEN_TEXT#61 = phi( main::@11/CONIO_SCREEN_TEXT#73, main::@14/CONIO_SCREEN_TEXT#74, main::@24/CONIO_SCREEN_TEXT#75, main::@25/CONIO_SCREEN_TEXT#76, main::@26/CONIO_SCREEN_TEXT#77, main::@27/CONIO_SCREEN_TEXT#78, main::@48/CONIO_SCREEN_TEXT#79 ) + cputs::s#9 = phi( main::@11/cputs::s#5, main::@14/cputs::s#7, main::@24/cputs::s#1, main::@25/cputs::s#2, main::@26/cputs::s#3, main::@27/cputs::s#4, main::@48/cputs::s#6 ) + cputs::c#0 = 0 + to:cputs::@1 +cputs::@1: scope:[cputs] from cputs cputs::@3 + CONIO_SCREEN_BANK#53 = phi( cputs/CONIO_SCREEN_BANK#63, cputs::@3/CONIO_SCREEN_BANK#64 ) + CONIO_SCREEN_TEXT#52 = phi( cputs/CONIO_SCREEN_TEXT#61, cputs::@3/CONIO_SCREEN_TEXT#62 ) + cputs::s#8 = phi( cputs/cputs::s#9, cputs::@3/cputs::s#10 ) + cputs::c#1 = *cputs::s#8 + cputs::$0 = cputs::c#1 + cputs::s#0 = ++ cputs::s#8 + cputs::$2 = 0 != cputs::$0 + if(cputs::$2) goto cputs::@2 + to:cputs::@return +cputs::@2: scope:[cputs] from cputs::@1 + CONIO_SCREEN_BANK#45 = phi( cputs::@1/CONIO_SCREEN_BANK#53 ) + cputs::s#11 = phi( cputs::@1/cputs::s#0 ) + CONIO_SCREEN_TEXT#39 = phi( cputs::@1/CONIO_SCREEN_TEXT#52 ) + cputs::c#2 = phi( cputs::@1/cputs::c#1 ) + cputc::c#0 = cputs::c#2 + call cputc + to:cputs::@3 +cputs::@3: scope:[cputs] from cputs::@2 + CONIO_SCREEN_BANK#64 = phi( cputs::@2/CONIO_SCREEN_BANK#45 ) + CONIO_SCREEN_TEXT#62 = phi( cputs::@2/CONIO_SCREEN_TEXT#39 ) + cputs::s#10 = phi( cputs::@2/cputs::s#11 ) + to:cputs::@1 +cputs::@return: scope:[cputs] from cputs::@1 + return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@19 main::@6 + screenlayer::layer#3 = phi( conio_x16_init::@4/screenlayer::layer#0, main::@19/screenlayer::layer#1, main::@6/screenlayer::layer#2 ) + conio_screen_layer = screenlayer::layer#3 + vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + call vera_layer_get_mapbase_bank + vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#1 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + vera_layer_get_mapbase_bank::return#4 = phi( screenlayer/vera_layer_get_mapbase_bank::return#2 ) + screenlayer::$0 = vera_layer_get_mapbase_bank::return#4 + CONIO_SCREEN_BANK#2 = screenlayer::$0 + vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + call vera_layer_get_mapbase_offset + vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#1 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + CONIO_SCREEN_BANK#94 = phi( screenlayer::@3/CONIO_SCREEN_BANK#2 ) + vera_layer_get_mapbase_offset::return#4 = phi( screenlayer::@3/vera_layer_get_mapbase_offset::return#2 ) + screenlayer::$1 = vera_layer_get_mapbase_offset::return#4 + CONIO_SCREEN_TEXT#2 = ((byte*)) screenlayer::$1 + screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + CONIO_SCREEN_TEXT#104 = phi( screenlayer::@4/CONIO_SCREEN_TEXT#2 ) + CONIO_SCREEN_BANK#89 = phi( screenlayer::@4/CONIO_SCREEN_BANK#94 ) + screenlayer::vera_layer_get_width1_layer#1 = phi( screenlayer::@4/screenlayer::vera_layer_get_width1_layer#0 ) + screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#1 * SIZEOF_POINTER + screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 * SIZEOF_WORD + screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + CONIO_SCREEN_TEXT#98 = phi( screenlayer::vera_layer_get_width1/CONIO_SCREEN_TEXT#104 ) + CONIO_SCREEN_BANK#81 = phi( screenlayer::vera_layer_get_width1/CONIO_SCREEN_BANK#89 ) + screenlayer::vera_layer_get_width1_return#2 = phi( screenlayer::vera_layer_get_width1/screenlayer::vera_layer_get_width1_return#0 ) + screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#2 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + CONIO_SCREEN_TEXT#87 = phi( screenlayer::vera_layer_get_width1_@return/CONIO_SCREEN_TEXT#98 ) + CONIO_SCREEN_BANK#76 = phi( screenlayer::vera_layer_get_width1_@return/CONIO_SCREEN_BANK#81 ) + screenlayer::vera_layer_get_width1_return#3 = phi( screenlayer::vera_layer_get_width1_@return/screenlayer::vera_layer_get_width1_return#1 ) + screenlayer::$2 = screenlayer::vera_layer_get_width1_return#3 + conio_width = screenlayer::$2 + vera_layer_get_rowshift::layer#0 = conio_screen_layer + call vera_layer_get_rowshift + vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#1 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + CONIO_SCREEN_TEXT#80 = phi( screenlayer::@1/CONIO_SCREEN_TEXT#87 ) + CONIO_SCREEN_BANK#65 = phi( screenlayer::@1/CONIO_SCREEN_BANK#76 ) + vera_layer_get_rowshift::return#4 = phi( screenlayer::@1/vera_layer_get_rowshift::return#2 ) + screenlayer::$3 = vera_layer_get_rowshift::return#4 + conio_rowshift = screenlayer::$3 + vera_layer_get_rowskip::layer#0 = conio_screen_layer + call vera_layer_get_rowskip + vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#1 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + CONIO_SCREEN_TEXT#63 = phi( screenlayer::@5/CONIO_SCREEN_TEXT#80 ) + CONIO_SCREEN_BANK#54 = phi( screenlayer::@5/CONIO_SCREEN_BANK#65 ) + vera_layer_get_rowskip::return#4 = phi( screenlayer::@5/vera_layer_get_rowskip::return#2 ) + screenlayer::$4 = vera_layer_get_rowskip::return#4 + conio_rowskip = screenlayer::$4 + screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + CONIO_SCREEN_TEXT#53 = phi( screenlayer::@6/CONIO_SCREEN_TEXT#63 ) + CONIO_SCREEN_BANK#46 = phi( screenlayer::@6/CONIO_SCREEN_BANK#54 ) + screenlayer::vera_layer_get_height1_layer#1 = phi( screenlayer::@6/screenlayer::vera_layer_get_height1_layer#0 ) + screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#1 * SIZEOF_POINTER + screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 * SIZEOF_WORD + screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + CONIO_SCREEN_TEXT#42 = phi( screenlayer::vera_layer_get_height1/CONIO_SCREEN_TEXT#53 ) + CONIO_SCREEN_BANK#36 = phi( screenlayer::vera_layer_get_height1/CONIO_SCREEN_BANK#46 ) + screenlayer::vera_layer_get_height1_return#2 = phi( screenlayer::vera_layer_get_height1/screenlayer::vera_layer_get_height1_return#0 ) + screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#2 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + CONIO_SCREEN_TEXT#32 = phi( screenlayer::vera_layer_get_height1_@return/CONIO_SCREEN_TEXT#42 ) + CONIO_SCREEN_BANK#26 = phi( screenlayer::vera_layer_get_height1_@return/CONIO_SCREEN_BANK#36 ) + screenlayer::vera_layer_get_height1_return#3 = phi( screenlayer::vera_layer_get_height1_@return/screenlayer::vera_layer_get_height1_return#1 ) + screenlayer::$5 = screenlayer::vera_layer_get_height1_return#3 + conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + CONIO_SCREEN_TEXT#17 = phi( screenlayer::@2/CONIO_SCREEN_TEXT#32 ) + CONIO_SCREEN_BANK#15 = phi( screenlayer::@2/CONIO_SCREEN_BANK#26 ) + CONIO_SCREEN_BANK#3 = CONIO_SCREEN_BANK#15 + CONIO_SCREEN_TEXT#3 = CONIO_SCREEN_TEXT#17 + return + to:@return + +word rand() +rand: scope:[rand] from main::@2 main::@36 main::@38 main::@40 main::@42 + rand_state#13 = phi( main::@2/rand_state#23, main::@36/rand_state#24, main::@38/rand_state#25, main::@40/rand_state#26, main::@42/rand_state#27 ) + rand::$0 = rand_state#13 << 7 + rand_state#0 = rand_state#13 ^ rand::$0 + rand::$1 = rand_state#0 >> 9 + rand_state#1 = rand_state#0 ^ rand::$1 + rand::$2 = rand_state#1 << 8 + rand_state#2 = rand_state#1 ^ rand::$2 + rand::return#0 = rand_state#2 + to:rand::@return +rand::@return: scope:[rand] from rand + rand_state#14 = phi( rand/rand_state#2 ) + rand::return#7 = phi( rand/rand::return#0 ) + rand::return#1 = rand::return#7 + rand_state#3 = rand_state#14 + return + to:@return + +dword mul16u(word mul16u::a , word mul16u::b) +mul16u: scope:[mul16u] from bitmap_clear + mul16u::a#5 = phi( bitmap_clear/mul16u::a#1 ) + mul16u::b#1 = phi( bitmap_clear/mul16u::b#0 ) + mul16u::res#0 = 0 + mul16u::mb#0 = (dword)mul16u::b#1 + to:mul16u::@1 +mul16u::@1: scope:[mul16u] from mul16u mul16u::@4 + mul16u::mb#5 = phi( mul16u/mul16u::mb#0, mul16u::@4/mul16u::mb#1 ) + mul16u::res#4 = phi( mul16u/mul16u::res#0, mul16u::@4/mul16u::res#6 ) + mul16u::a#2 = phi( mul16u/mul16u::a#5, mul16u::@4/mul16u::a#0 ) + mul16u::$0 = mul16u::a#2 != 0 + if(mul16u::$0) goto mul16u::@2 + to:mul16u::@3 +mul16u::@2: scope:[mul16u] from mul16u::@1 + mul16u::res#5 = phi( mul16u::@1/mul16u::res#4 ) + mul16u::mb#4 = phi( mul16u::@1/mul16u::mb#5 ) + mul16u::a#3 = phi( mul16u::@1/mul16u::a#2 ) + mul16u::$1 = mul16u::a#3 & 1 + mul16u::$2 = mul16u::$1 != 0 + mul16u::$3 = ! mul16u::$2 + if(mul16u::$3) goto mul16u::@4 + to:mul16u::@5 +mul16u::@3: scope:[mul16u] from mul16u::@1 + mul16u::res#2 = phi( mul16u::@1/mul16u::res#4 ) + mul16u::return#0 = mul16u::res#2 + to:mul16u::@return +mul16u::@4: scope:[mul16u] from mul16u::@2 mul16u::@5 + mul16u::res#6 = phi( mul16u::@2/mul16u::res#5, mul16u::@5/mul16u::res#1 ) + mul16u::mb#2 = phi( mul16u::@2/mul16u::mb#4, mul16u::@5/mul16u::mb#3 ) + mul16u::a#4 = phi( mul16u::@2/mul16u::a#3, mul16u::@5/mul16u::a#6 ) + mul16u::$5 = mul16u::a#4 >> 1 + mul16u::a#0 = mul16u::$5 + mul16u::$6 = mul16u::mb#2 << 1 + mul16u::mb#1 = mul16u::$6 + to:mul16u::@1 +mul16u::@5: scope:[mul16u] from mul16u::@2 + mul16u::a#6 = phi( mul16u::@2/mul16u::a#3 ) + mul16u::mb#3 = phi( mul16u::@2/mul16u::mb#4 ) + mul16u::res#3 = phi( mul16u::@2/mul16u::res#5 ) + mul16u::$4 = mul16u::res#3 + mul16u::mb#3 + mul16u::res#1 = mul16u::$4 + to:mul16u::@4 +mul16u::@return: scope:[mul16u] from mul16u::@3 + mul16u::return#3 = phi( mul16u::@3/mul16u::return#0 ) + mul16u::return#1 = mul16u::return#3 + return + to:@return + +void bitmap_init(byte bitmap_init::layer , dword bitmap_init::address) +bitmap_init: scope:[bitmap_init] from main::@10 + bitmap_init::layer#1 = phi( main::@10/bitmap_init::layer#0 ) + bitmap_init::address#1 = phi( main::@10/bitmap_init::address#0 ) + __bitmap_address = bitmap_init::address#1 + __bitmap_layer = bitmap_init::layer#1 + bitmap_init::vera_layer_get_color_depth1_layer#0 = __bitmap_layer + to:bitmap_init::vera_layer_get_color_depth1 +bitmap_init::vera_layer_get_color_depth1: scope:[bitmap_init] from bitmap_init + bitmap_init::vera_layer_get_color_depth1_layer#1 = phi( bitmap_init/bitmap_init::vera_layer_get_color_depth1_layer#0 ) + bitmap_init::vera_layer_get_color_depth1_$1 = bitmap_init::vera_layer_get_color_depth1_layer#1 * SIZEOF_POINTER + bitmap_init::vera_layer_get_color_depth1_config#0 = vera_layer_config[bitmap_init::vera_layer_get_color_depth1_$1] + bitmap_init::vera_layer_get_color_depth1_$0 = *bitmap_init::vera_layer_get_color_depth1_config#0 & VERA_LAYER_COLOR_DEPTH_MASK + bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 + to:bitmap_init::vera_layer_get_color_depth1_@return +bitmap_init::vera_layer_get_color_depth1_@return: scope:[bitmap_init] from bitmap_init::vera_layer_get_color_depth1 + bitmap_init::vera_layer_get_color_depth1_return#2 = phi( bitmap_init::vera_layer_get_color_depth1/bitmap_init::vera_layer_get_color_depth1_return#0 ) + bitmap_init::vera_layer_get_color_depth1_return#1 = bitmap_init::vera_layer_get_color_depth1_return#2 + to:bitmap_init::@16 +bitmap_init::@16: scope:[bitmap_init] from bitmap_init::vera_layer_get_color_depth1_@return + bitmap_init::vera_layer_get_color_depth1_return#3 = phi( bitmap_init::vera_layer_get_color_depth1_@return/bitmap_init::vera_layer_get_color_depth1_return#1 ) + bitmap_init::$0 = bitmap_init::vera_layer_get_color_depth1_return#3 + __bitmap_color_depth = bitmap_init::$0 + call vera_display_get_hscale + vera_display_get_hscale::return#2 = vera_display_get_hscale::return#1 + to:bitmap_init::@17 +bitmap_init::@17: scope:[bitmap_init] from bitmap_init::@16 + vera_display_get_hscale::return#4 = phi( bitmap_init::@16/vera_display_get_hscale::return#2 ) + bitmap_init::$1 = vera_display_get_hscale::return#4 + __bitmap_hscale = bitmap_init::$1 + call vera_display_get_vscale + vera_display_get_vscale::return#2 = vera_display_get_vscale::return#1 + to:bitmap_init::@18 +bitmap_init::@18: scope:[bitmap_init] from bitmap_init::@17 + vera_display_get_vscale::return#4 = phi( bitmap_init::@17/vera_display_get_vscale::return#2 ) + bitmap_init::$2 = vera_display_get_vscale::return#4 + __bitmap_vscale = bitmap_init::$2 + bitmap_init::bitmask#0 = bitmasks[__bitmap_color_depth] + bitmap_init::bitshift#0 = bitshifts[__bitmap_color_depth] + bitmap_init::x#0 = 0 + to:bitmap_init::@1 +bitmap_init::@1: scope:[bitmap_init] from bitmap_init::@18 bitmap_init::@7 + bitmap_init::bitshift#10 = phi( bitmap_init::@18/bitmap_init::bitshift#0, bitmap_init::@7/bitmap_init::bitshift#14 ) + bitmap_init::bitmask#10 = phi( bitmap_init::@18/bitmap_init::bitmask#0, bitmap_init::@7/bitmap_init::bitmask#16 ) + bitmap_init::x#7 = phi( bitmap_init::@18/bitmap_init::x#0, bitmap_init::@7/bitmap_init::x#1 ) + bitmap_init::$5 = __bitmap_color_depth == 0 + bitmap_init::$6 = ! bitmap_init::$5 + if(bitmap_init::$6) goto bitmap_init::@2 + to:bitmap_init::@8 +bitmap_init::@2: scope:[bitmap_init] from bitmap_init::@1 bitmap_init::@8 + bitmap_init::bitshift#11 = phi( bitmap_init::@1/bitmap_init::bitshift#10, bitmap_init::@8/bitmap_init::bitshift#1 ) + bitmap_init::bitmask#11 = phi( bitmap_init::@1/bitmap_init::bitmask#10, bitmap_init::@8/bitmap_init::bitmask#1 ) + bitmap_init::x#8 = phi( bitmap_init::@1/bitmap_init::x#7, bitmap_init::@8/bitmap_init::x#2 ) + bitmap_init::$8 = __bitmap_color_depth == 1 + bitmap_init::$9 = ! bitmap_init::$8 + if(bitmap_init::$9) goto bitmap_init::@3 + to:bitmap_init::@9 +bitmap_init::@8: scope:[bitmap_init] from bitmap_init::@1 + bitmap_init::bitshift#5 = phi( bitmap_init::@1/bitmap_init::bitshift#10 ) + bitmap_init::bitmask#5 = phi( bitmap_init::@1/bitmap_init::bitmask#10 ) + bitmap_init::x#2 = phi( bitmap_init::@1/bitmap_init::x#7 ) + bitmap_init::$7 = bitmap_init::x#2 >> 3 + bitmap_init::$23 = bitmap_init::x#2 * SIZEOF_WORD + __bitmap_plot_x[bitmap_init::$23] = bitmap_init::$7 + __bitmap_plot_bitmask[bitmap_init::x#2] = bitmap_init::bitmask#5 + __bitmap_plot_bitshift[bitmap_init::x#2] = (byte)bitmap_init::bitshift#5 + bitmap_init::bitshift#1 = bitmap_init::bitshift#5 - 1 + bitmap_init::bitmask#1 = bitmap_init::bitmask#5 >> 1 + to:bitmap_init::@2 +bitmap_init::@3: scope:[bitmap_init] from bitmap_init::@2 bitmap_init::@9 + bitmap_init::bitshift#12 = phi( bitmap_init::@2/bitmap_init::bitshift#11, bitmap_init::@9/bitmap_init::bitshift#2 ) + bitmap_init::bitmask#12 = phi( bitmap_init::@2/bitmap_init::bitmask#11, bitmap_init::@9/bitmap_init::bitmask#2 ) + bitmap_init::x#9 = phi( bitmap_init::@2/bitmap_init::x#8, bitmap_init::@9/bitmap_init::x#3 ) + bitmap_init::$11 = __bitmap_color_depth == 2 + bitmap_init::$12 = ! bitmap_init::$11 + if(bitmap_init::$12) goto bitmap_init::@4 + to:bitmap_init::@10 +bitmap_init::@9: scope:[bitmap_init] from bitmap_init::@2 + bitmap_init::bitshift#6 = phi( bitmap_init::@2/bitmap_init::bitshift#11 ) + bitmap_init::bitmask#6 = phi( bitmap_init::@2/bitmap_init::bitmask#11 ) + bitmap_init::x#3 = phi( bitmap_init::@2/bitmap_init::x#8 ) + bitmap_init::$10 = bitmap_init::x#3 >> 2 + bitmap_init::$24 = bitmap_init::x#3 * SIZEOF_WORD + __bitmap_plot_x[bitmap_init::$24] = bitmap_init::$10 + __bitmap_plot_bitmask[bitmap_init::x#3] = bitmap_init::bitmask#6 + __bitmap_plot_bitshift[bitmap_init::x#3] = (byte)bitmap_init::bitshift#6 + bitmap_init::bitshift#2 = bitmap_init::bitshift#6 - 2 + bitmap_init::bitmask#2 = bitmap_init::bitmask#6 >> 2 + to:bitmap_init::@3 +bitmap_init::@4: scope:[bitmap_init] from bitmap_init::@10 bitmap_init::@3 + bitmap_init::bitmask#13 = phi( bitmap_init::@10/bitmap_init::bitmask#3, bitmap_init::@3/bitmap_init::bitmask#12 ) + bitmap_init::x#10 = phi( bitmap_init::@10/bitmap_init::x#4, bitmap_init::@3/bitmap_init::x#9 ) + bitmap_init::bitshift#13 = phi( bitmap_init::@10/bitmap_init::bitshift#3, bitmap_init::@3/bitmap_init::bitshift#12 ) + bitmap_init::$14 = __bitmap_color_depth == 3 + bitmap_init::$15 = ! bitmap_init::$14 + if(bitmap_init::$15) goto bitmap_init::@5 + to:bitmap_init::@11 +bitmap_init::@10: scope:[bitmap_init] from bitmap_init::@3 + bitmap_init::bitshift#7 = phi( bitmap_init::@3/bitmap_init::bitshift#12 ) + bitmap_init::bitmask#7 = phi( bitmap_init::@3/bitmap_init::bitmask#12 ) + bitmap_init::x#4 = phi( bitmap_init::@3/bitmap_init::x#9 ) + bitmap_init::$13 = bitmap_init::x#4 >> 1 + bitmap_init::$25 = bitmap_init::x#4 * SIZEOF_WORD + __bitmap_plot_x[bitmap_init::$25] = bitmap_init::$13 + __bitmap_plot_bitmask[bitmap_init::x#4] = bitmap_init::bitmask#7 + __bitmap_plot_bitshift[bitmap_init::x#4] = (byte)bitmap_init::bitshift#7 + bitmap_init::bitshift#3 = bitmap_init::bitshift#7 - 4 + bitmap_init::bitmask#3 = bitmap_init::bitmask#7 >> 4 + to:bitmap_init::@4 +bitmap_init::@5: scope:[bitmap_init] from bitmap_init::@11 bitmap_init::@4 + bitmap_init::x#14 = phi( bitmap_init::@11/bitmap_init::x#5, bitmap_init::@4/bitmap_init::x#10 ) + bitmap_init::bitmask#15 = phi( bitmap_init::@11/bitmap_init::bitmask#8, bitmap_init::@4/bitmap_init::bitmask#13 ) + bitmap_init::bitshift#8 = phi( bitmap_init::@11/bitmap_init::bitshift#9, bitmap_init::@4/bitmap_init::bitshift#13 ) + bitmap_init::$16 = bitmap_init::bitshift#8 < 0 + bitmap_init::$17 = ! bitmap_init::$16 + if(bitmap_init::$17) goto bitmap_init::@6 + to:bitmap_init::@12 +bitmap_init::@11: scope:[bitmap_init] from bitmap_init::@4 + bitmap_init::bitshift#9 = phi( bitmap_init::@4/bitmap_init::bitshift#13 ) + bitmap_init::bitmask#8 = phi( bitmap_init::@4/bitmap_init::bitmask#13 ) + bitmap_init::x#5 = phi( bitmap_init::@4/bitmap_init::x#10 ) + bitmap_init::$26 = bitmap_init::x#5 * SIZEOF_WORD + __bitmap_plot_x[bitmap_init::$26] = bitmap_init::x#5 + __bitmap_plot_bitmask[bitmap_init::x#5] = bitmap_init::bitmask#8 + __bitmap_plot_bitshift[bitmap_init::x#5] = (byte)bitmap_init::bitshift#9 + to:bitmap_init::@5 +bitmap_init::@6: scope:[bitmap_init] from bitmap_init::@12 bitmap_init::@5 + bitmap_init::bitshift#16 = phi( bitmap_init::@12/bitmap_init::bitshift#4, bitmap_init::@5/bitmap_init::bitshift#8 ) + bitmap_init::x#12 = phi( bitmap_init::@12/bitmap_init::x#13, bitmap_init::@5/bitmap_init::x#14 ) + bitmap_init::bitmask#9 = phi( bitmap_init::@12/bitmap_init::bitmask#14, bitmap_init::@5/bitmap_init::bitmask#15 ) + bitmap_init::$18 = bitmap_init::bitmask#9 == 0 + bitmap_init::$19 = ! bitmap_init::$18 + if(bitmap_init::$19) goto bitmap_init::@7 + to:bitmap_init::@13 +bitmap_init::@12: scope:[bitmap_init] from bitmap_init::@5 + bitmap_init::x#13 = phi( bitmap_init::@5/bitmap_init::x#14 ) + bitmap_init::bitmask#14 = phi( bitmap_init::@5/bitmap_init::bitmask#15 ) + bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] + to:bitmap_init::@6 +bitmap_init::@7: scope:[bitmap_init] from bitmap_init::@13 bitmap_init::@6 + bitmap_init::bitshift#14 = phi( bitmap_init::@13/bitmap_init::bitshift#15, bitmap_init::@6/bitmap_init::bitshift#16 ) + bitmap_init::bitmask#16 = phi( bitmap_init::@13/bitmap_init::bitmask#4, bitmap_init::@6/bitmap_init::bitmask#9 ) + bitmap_init::x#6 = phi( bitmap_init::@13/bitmap_init::x#11, bitmap_init::@6/bitmap_init::x#12 ) + bitmap_init::x#1 = bitmap_init::x#6 + rangenext(0,$27f) + bitmap_init::$20 = bitmap_init::x#1 != rangelast(0,$27f) + if(bitmap_init::$20) goto bitmap_init::@1 + to:bitmap_init::@14 +bitmap_init::@13: scope:[bitmap_init] from bitmap_init::@6 + bitmap_init::bitshift#15 = phi( bitmap_init::@6/bitmap_init::bitshift#16 ) + bitmap_init::x#11 = phi( bitmap_init::@6/bitmap_init::x#12 ) + bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] + to:bitmap_init::@7 +bitmap_init::@14: scope:[bitmap_init] from bitmap_init::@7 + bitmap_init::$3 = __bitmap_color_depth << 2 + bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale + bitmap_init::$27 = bitmap_init::$4 * SIZEOF_WORD + bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] + bitmap_init::yoffs#0 = __bitmap_address + bitmap_init::y#0 = 0 + to:bitmap_init::@15 +bitmap_init::@15: scope:[bitmap_init] from bitmap_init::@14 bitmap_init::@15 + bitmap_init::hdelta#1 = phi( bitmap_init::@14/bitmap_init::hdelta#0, bitmap_init::@15/bitmap_init::hdelta#1 ) + bitmap_init::yoffs#2 = phi( bitmap_init::@14/bitmap_init::yoffs#0, bitmap_init::@15/bitmap_init::yoffs#1 ) + bitmap_init::y#2 = phi( bitmap_init::@14/bitmap_init::y#0, bitmap_init::@15/bitmap_init::y#1 ) + bitmap_init::$28 = bitmap_init::y#2 * SIZEOF_DWORD + __bitmap_plot_y[bitmap_init::$28] = bitmap_init::yoffs#2 + bitmap_init::$21 = bitmap_init::yoffs#2 + bitmap_init::hdelta#1 + bitmap_init::yoffs#1 = bitmap_init::$21 + bitmap_init::y#1 = bitmap_init::y#2 + rangenext(0,$1df) + bitmap_init::$22 = bitmap_init::y#1 != rangelast(0,$1df) + if(bitmap_init::$22) goto bitmap_init::@15 + to:bitmap_init::@return +bitmap_init::@return: scope:[bitmap_init] from bitmap_init::@15 + return + to:@return + +void bitmap_clear() +bitmap_clear: scope:[bitmap_clear] from main::@29 + bitmap_clear::$7 = __bitmap_vscale * SIZEOF_WORD + bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] + bitmap_clear::$0 = __bitmap_color_depth << 2 + bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale + bitmap_clear::$8 = bitmap_clear::$1 * SIZEOF_WORD + bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] + mul16u::a#1 = bitmap_clear::hdelta#0 + mul16u::b#0 = bitmap_clear::vdelta#0 + call mul16u + mul16u::return#2 = mul16u::return#1 + to:bitmap_clear::@1 +bitmap_clear::@1: scope:[bitmap_clear] from bitmap_clear + mul16u::return#4 = phi( bitmap_clear/mul16u::return#2 ) + bitmap_clear::$2 = mul16u::return#4 + bitmap_clear::count#0 = bitmap_clear::$2 + bitmap_clear::$3 = > __bitmap_address + bitmap_clear::$4 = < bitmap_clear::$3 + bitmap_clear::vbank#0 = bitmap_clear::$4 + bitmap_clear::$5 = < __bitmap_address + bitmap_clear::vdest#0 = ((void*)) bitmap_clear::$5 + memset_vram::vbank#0 = bitmap_clear::vbank#0 + memset_vram::vdest#0 = bitmap_clear::vdest#0 + memset_vram::data#0 = 0 + memset_vram::num#0 = bitmap_clear::count#0 + call memset_vram + to:bitmap_clear::@2 +bitmap_clear::@2: scope:[bitmap_clear] from bitmap_clear::@1 + to:bitmap_clear::@return +bitmap_clear::@return: scope:[bitmap_clear] from bitmap_clear::@2 + return + to:@return + +void bitmap_plot(word bitmap_plot::x , word bitmap_plot::y , byte bitmap_plot::c) +bitmap_plot: scope:[bitmap_plot] from bitmap_line_xdyd::@1 bitmap_line_xdyi::@1 bitmap_line_ydxd::@1 bitmap_line_ydxi::@1 + bitmap_plot::c#8 = phi( bitmap_line_xdyd::@1/bitmap_plot::c#2, bitmap_line_xdyi::@1/bitmap_plot::c#1, bitmap_line_ydxd::@1/bitmap_plot::c#4, bitmap_line_ydxi::@1/bitmap_plot::c#3 ) + bitmap_plot::y#4 = phi( bitmap_line_xdyd::@1/bitmap_plot::y#1, bitmap_line_xdyi::@1/bitmap_plot::y#0, bitmap_line_ydxd::@1/bitmap_plot::y#3, bitmap_line_ydxi::@1/bitmap_plot::y#2 ) + bitmap_plot::x#4 = phi( bitmap_line_xdyd::@1/bitmap_plot::x#1, bitmap_line_xdyi::@1/bitmap_plot::x#0, bitmap_line_ydxd::@1/bitmap_plot::x#3, bitmap_line_ydxi::@1/bitmap_plot::x#2 ) + bitmap_plot::$9 = bitmap_plot::x#4 * SIZEOF_WORD + bitmap_plot::plot_x#0 = (dword)__bitmap_plot_x[bitmap_plot::$9] + bitmap_plot::$10 = bitmap_plot::y#4 * SIZEOF_DWORD + bitmap_plot::plot_y#0 = __bitmap_plot_y[bitmap_plot::$10] + bitmap_plot::$0 = bitmap_plot::plot_x#0 + bitmap_plot::plot_y#0 + bitmap_plot::plotter#0 = bitmap_plot::$0 + bitmap_plot::bitshift#0 = __bitmap_plot_bitshift[bitmap_plot::x#4] + bitmap_plot::$11 = 0 != bitmap_plot::bitshift#0 + if(bitmap_plot::$11) goto bitmap_plot::@1 + to:bitmap_plot::@2 +bitmap_plot::@1: scope:[bitmap_plot] from bitmap_plot + bitmap_plot::x#8 = phi( bitmap_plot/bitmap_plot::x#4 ) + bitmap_plot::plotter#2 = phi( bitmap_plot/bitmap_plot::plotter#0 ) + bitmap_plot::bitshift#1 = phi( bitmap_plot/bitmap_plot::bitshift#0 ) + bitmap_plot::c#5 = phi( bitmap_plot/bitmap_plot::c#8 ) + bitmap_plot::$2 = bitmap_plot::c#5 << bitmap_plot::bitshift#1 + bitmap_plot::$3 = bitmap_plot::$2 + to:bitmap_plot::@3 +bitmap_plot::@2: scope:[bitmap_plot] from bitmap_plot + bitmap_plot::x#9 = phi( bitmap_plot/bitmap_plot::x#4 ) + bitmap_plot::plotter#3 = phi( bitmap_plot/bitmap_plot::plotter#0 ) + bitmap_plot::c#6 = phi( bitmap_plot/bitmap_plot::c#8 ) + bitmap_plot::$1 = bitmap_plot::c#6 + to:bitmap_plot::@3 +bitmap_plot::@3: scope:[bitmap_plot] from bitmap_plot::@1 bitmap_plot::@2 + bitmap_plot::x#7 = phi( bitmap_plot::@1/bitmap_plot::x#8, bitmap_plot::@2/bitmap_plot::x#9 ) + bitmap_plot::plotter#1 = phi( bitmap_plot::@1/bitmap_plot::plotter#2, bitmap_plot::@2/bitmap_plot::plotter#3 ) + bitmap_plot::$4 = phi( bitmap_plot::@1/bitmap_plot::$3, bitmap_plot::@2/bitmap_plot::$1 ) + bitmap_plot::c#0 = bitmap_plot::$4 + bitmap_plot::vera_vram_address01_bankaddr#0 = bitmap_plot::plotter#1 + bitmap_plot::vera_vram_address01_incr#0 = VERA_INC_0 + to:bitmap_plot::vera_vram_address01 +bitmap_plot::vera_vram_address01: scope:[bitmap_plot] from bitmap_plot::@3 + bitmap_plot::c#9 = phi( bitmap_plot::@3/bitmap_plot::c#0 ) + bitmap_plot::x#6 = phi( bitmap_plot::@3/bitmap_plot::x#7 ) + bitmap_plot::vera_vram_address01_incr#1 = phi( bitmap_plot::@3/bitmap_plot::vera_vram_address01_incr#0 ) + bitmap_plot::vera_vram_address01_bankaddr#1 = phi( bitmap_plot::@3/bitmap_plot::vera_vram_address01_bankaddr#0 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + bitmap_plot::vera_vram_address01_$0 = < bitmap_plot::vera_vram_address01_bankaddr#1 + bitmap_plot::vera_vram_address01_$1 = < bitmap_plot::vera_vram_address01_$0 + *VERA_ADDRX_L = bitmap_plot::vera_vram_address01_$1 + bitmap_plot::vera_vram_address01_$2 = < bitmap_plot::vera_vram_address01_bankaddr#1 + bitmap_plot::vera_vram_address01_$3 = > bitmap_plot::vera_vram_address01_$2 + *VERA_ADDRX_M = bitmap_plot::vera_vram_address01_$3 + bitmap_plot::vera_vram_address01_$4 = > bitmap_plot::vera_vram_address01_bankaddr#1 + bitmap_plot::vera_vram_address01_$5 = < bitmap_plot::vera_vram_address01_$4 + bitmap_plot::vera_vram_address01_$6 = bitmap_plot::vera_vram_address01_$5 | bitmap_plot::vera_vram_address01_incr#1 + *VERA_ADDRX_H = bitmap_plot::vera_vram_address01_$6 + to:bitmap_plot::@4 +bitmap_plot::@4: scope:[bitmap_plot] from bitmap_plot::vera_vram_address01 + bitmap_plot::c#7 = phi( bitmap_plot::vera_vram_address01/bitmap_plot::c#9 ) + bitmap_plot::x#5 = phi( bitmap_plot::vera_vram_address01/bitmap_plot::x#6 ) + bitmap_plot::$6 = ~ __bitmap_plot_bitmask[bitmap_plot::x#5] + bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 + bitmap_plot::$8 = bitmap_plot::$7 | bitmap_plot::c#7 + *VERA_DATA0 = bitmap_plot::$8 + to:bitmap_plot::@return +bitmap_plot::@return: scope:[bitmap_plot] from bitmap_plot::@4 + return + to:@return + +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +bitmap_line: scope:[bitmap_line] from main::@43 main::@5 + bitmap_line::c#16 = phi( main::@43/bitmap_line::c#0, main::@5/bitmap_line::c#1 ) + bitmap_line::y1#14 = phi( main::@43/bitmap_line::y1#0, main::@5/bitmap_line::y1#1 ) + bitmap_line::y0#14 = phi( main::@43/bitmap_line::y0#0, main::@5/bitmap_line::y0#1 ) + bitmap_line::x1#2 = phi( main::@43/bitmap_line::x1#0, main::@5/bitmap_line::x1#1 ) + bitmap_line::x0#2 = phi( main::@43/bitmap_line::x0#0, main::@5/bitmap_line::x0#1 ) + bitmap_line::xd#0 = 0 + bitmap_line::yd#0 = 0 + bitmap_line::$0 = bitmap_line::x0#2 < bitmap_line::x1#2 + if(bitmap_line::$0) goto bitmap_line::@1 + to:bitmap_line::@2 +bitmap_line::@1: scope:[bitmap_line] from bitmap_line + bitmap_line::c#15 = phi( bitmap_line/bitmap_line::c#16 ) + bitmap_line::y1#2 = phi( bitmap_line/bitmap_line::y1#14 ) + bitmap_line::y0#2 = phi( bitmap_line/bitmap_line::y0#14 ) + bitmap_line::x0#3 = phi( bitmap_line/bitmap_line::x0#2 ) + bitmap_line::x1#3 = phi( bitmap_line/bitmap_line::x1#2 ) + bitmap_line::$11 = bitmap_line::x1#3 - bitmap_line::x0#3 + bitmap_line::xd#1 = bitmap_line::$11 + bitmap_line::$12 = bitmap_line::y0#2 < bitmap_line::y1#2 + if(bitmap_line::$12) goto bitmap_line::@11 + to:bitmap_line::@5 +bitmap_line::@2: scope:[bitmap_line] from bitmap_line + bitmap_line::c#14 = phi( bitmap_line/bitmap_line::c#16 ) + bitmap_line::y1#3 = phi( bitmap_line/bitmap_line::y1#14 ) + bitmap_line::y0#3 = phi( bitmap_line/bitmap_line::y0#14 ) + bitmap_line::x1#4 = phi( bitmap_line/bitmap_line::x1#2 ) + bitmap_line::x0#4 = phi( bitmap_line/bitmap_line::x0#2 ) + bitmap_line::$1 = bitmap_line::x0#4 - bitmap_line::x1#4 + bitmap_line::xd#2 = bitmap_line::$1 + bitmap_line::$2 = bitmap_line::y0#3 < bitmap_line::y1#3 + if(bitmap_line::$2) goto bitmap_line::@7 + to:bitmap_line::@3 +bitmap_line::@7: scope:[bitmap_line] from bitmap_line::@2 + bitmap_line::c#11 = phi( bitmap_line::@2/bitmap_line::c#14 ) + bitmap_line::x0#12 = phi( bitmap_line::@2/bitmap_line::x0#4 ) + bitmap_line::x1#12 = phi( bitmap_line::@2/bitmap_line::x1#4 ) + bitmap_line::xd#3 = phi( bitmap_line::@2/bitmap_line::xd#2 ) + bitmap_line::y0#4 = phi( bitmap_line::@2/bitmap_line::y0#3 ) + bitmap_line::y1#4 = phi( bitmap_line::@2/bitmap_line::y1#3 ) + bitmap_line::$7 = bitmap_line::y1#4 - bitmap_line::y0#4 + bitmap_line::yd#1 = bitmap_line::$7 + bitmap_line::$8 = bitmap_line::yd#1 < bitmap_line::xd#3 + if(bitmap_line::$8) goto bitmap_line::@9 + to:bitmap_line::@10 +bitmap_line::@3: scope:[bitmap_line] from bitmap_line::@2 + bitmap_line::c#10 = phi( bitmap_line::@2/bitmap_line::c#14 ) + bitmap_line::x0#11 = phi( bitmap_line::@2/bitmap_line::x0#4 ) + bitmap_line::x1#11 = phi( bitmap_line::@2/bitmap_line::x1#4 ) + bitmap_line::xd#4 = phi( bitmap_line::@2/bitmap_line::xd#2 ) + bitmap_line::y1#5 = phi( bitmap_line::@2/bitmap_line::y1#3 ) + bitmap_line::y0#5 = phi( bitmap_line::@2/bitmap_line::y0#3 ) + bitmap_line::$3 = bitmap_line::y0#5 - bitmap_line::y1#5 + bitmap_line::yd#2 = bitmap_line::$3 + bitmap_line::$4 = bitmap_line::yd#2 < bitmap_line::xd#4 + if(bitmap_line::$4) goto bitmap_line::@8 + to:bitmap_line::@4 +bitmap_line::@8: scope:[bitmap_line] from bitmap_line::@3 + bitmap_line::c#2 = phi( bitmap_line::@3/bitmap_line::c#10 ) + bitmap_line::yd#5 = phi( bitmap_line::@3/bitmap_line::yd#2 ) + bitmap_line::xd#5 = phi( bitmap_line::@3/bitmap_line::xd#4 ) + bitmap_line::x0#5 = phi( bitmap_line::@3/bitmap_line::x0#11 ) + bitmap_line::y1#6 = phi( bitmap_line::@3/bitmap_line::y1#5 ) + bitmap_line::x1#5 = phi( bitmap_line::@3/bitmap_line::x1#11 ) + bitmap_line_xdyi::x#0 = bitmap_line::x1#5 + bitmap_line_xdyi::y#0 = bitmap_line::y1#6 + bitmap_line_xdyi::x1#0 = bitmap_line::x0#5 + bitmap_line_xdyi::xd#0 = bitmap_line::xd#5 + bitmap_line_xdyi::yd#0 = bitmap_line::yd#5 + bitmap_line_xdyi::c#0 = bitmap_line::c#2 + call bitmap_line_xdyi + to:bitmap_line::@15 +bitmap_line::@15: scope:[bitmap_line] from bitmap_line::@8 + to:bitmap_line::@return +bitmap_line::@4: scope:[bitmap_line] from bitmap_line::@3 + bitmap_line::c#3 = phi( bitmap_line::@3/bitmap_line::c#10 ) + bitmap_line::xd#6 = phi( bitmap_line::@3/bitmap_line::xd#4 ) + bitmap_line::yd#6 = phi( bitmap_line::@3/bitmap_line::yd#2 ) + bitmap_line::y0#6 = phi( bitmap_line::@3/bitmap_line::y0#5 ) + bitmap_line::x1#6 = phi( bitmap_line::@3/bitmap_line::x1#11 ) + bitmap_line::y1#7 = phi( bitmap_line::@3/bitmap_line::y1#5 ) + bitmap_line_ydxi::y#0 = bitmap_line::y1#7 + bitmap_line_ydxi::x#0 = bitmap_line::x1#6 + bitmap_line_ydxi::y1#0 = bitmap_line::y0#6 + bitmap_line_ydxi::yd#0 = bitmap_line::yd#6 + bitmap_line_ydxi::xd#0 = bitmap_line::xd#6 + bitmap_line_ydxi::c#0 = bitmap_line::c#3 + call bitmap_line_ydxi + to:bitmap_line::@16 +bitmap_line::@16: scope:[bitmap_line] from bitmap_line::@4 + to:bitmap_line::@return +bitmap_line::@9: scope:[bitmap_line] from bitmap_line::@7 + bitmap_line::c#4 = phi( bitmap_line::@7/bitmap_line::c#11 ) + bitmap_line::yd#7 = phi( bitmap_line::@7/bitmap_line::yd#1 ) + bitmap_line::xd#7 = phi( bitmap_line::@7/bitmap_line::xd#3 ) + bitmap_line::x0#6 = phi( bitmap_line::@7/bitmap_line::x0#12 ) + bitmap_line::y1#8 = phi( bitmap_line::@7/bitmap_line::y1#4 ) + bitmap_line::x1#7 = phi( bitmap_line::@7/bitmap_line::x1#12 ) + bitmap_line_xdyd::x#0 = bitmap_line::x1#7 + bitmap_line_xdyd::y#0 = bitmap_line::y1#8 + bitmap_line_xdyd::x1#0 = bitmap_line::x0#6 + bitmap_line_xdyd::xd#0 = bitmap_line::xd#7 + bitmap_line_xdyd::yd#0 = bitmap_line::yd#7 + bitmap_line_xdyd::c#0 = bitmap_line::c#4 + call bitmap_line_xdyd + to:bitmap_line::@17 +bitmap_line::@17: scope:[bitmap_line] from bitmap_line::@9 + to:bitmap_line::@return +bitmap_line::@10: scope:[bitmap_line] from bitmap_line::@7 + bitmap_line::c#5 = phi( bitmap_line::@7/bitmap_line::c#11 ) + bitmap_line::xd#8 = phi( bitmap_line::@7/bitmap_line::xd#3 ) + bitmap_line::yd#8 = phi( bitmap_line::@7/bitmap_line::yd#1 ) + bitmap_line::y1#9 = phi( bitmap_line::@7/bitmap_line::y1#4 ) + bitmap_line::x0#7 = phi( bitmap_line::@7/bitmap_line::x0#12 ) + bitmap_line::y0#7 = phi( bitmap_line::@7/bitmap_line::y0#4 ) + bitmap_line_ydxd::y#0 = bitmap_line::y0#7 + bitmap_line_ydxd::x#0 = bitmap_line::x0#7 + bitmap_line_ydxd::y1#0 = bitmap_line::y1#9 + bitmap_line_ydxd::yd#0 = bitmap_line::yd#8 + bitmap_line_ydxd::xd#0 = bitmap_line::xd#8 + bitmap_line_ydxd::c#0 = bitmap_line::c#5 + call bitmap_line_ydxd + to:bitmap_line::@18 +bitmap_line::@18: scope:[bitmap_line] from bitmap_line::@10 + to:bitmap_line::@return +bitmap_line::@11: scope:[bitmap_line] from bitmap_line::@1 + bitmap_line::c#13 = phi( bitmap_line::@1/bitmap_line::c#15 ) + bitmap_line::x1#14 = phi( bitmap_line::@1/bitmap_line::x1#3 ) + bitmap_line::x0#14 = phi( bitmap_line::@1/bitmap_line::x0#3 ) + bitmap_line::xd#9 = phi( bitmap_line::@1/bitmap_line::xd#1 ) + bitmap_line::y0#8 = phi( bitmap_line::@1/bitmap_line::y0#2 ) + bitmap_line::y1#10 = phi( bitmap_line::@1/bitmap_line::y1#2 ) + bitmap_line::$17 = bitmap_line::y1#10 - bitmap_line::y0#8 + bitmap_line::yd#3 = bitmap_line::$17 + bitmap_line::$18 = bitmap_line::yd#3 < bitmap_line::xd#9 + if(bitmap_line::$18) goto bitmap_line::@13 + to:bitmap_line::@14 +bitmap_line::@5: scope:[bitmap_line] from bitmap_line::@1 + bitmap_line::c#12 = phi( bitmap_line::@1/bitmap_line::c#15 ) + bitmap_line::x1#13 = phi( bitmap_line::@1/bitmap_line::x1#3 ) + bitmap_line::x0#13 = phi( bitmap_line::@1/bitmap_line::x0#3 ) + bitmap_line::xd#10 = phi( bitmap_line::@1/bitmap_line::xd#1 ) + bitmap_line::y1#11 = phi( bitmap_line::@1/bitmap_line::y1#2 ) + bitmap_line::y0#9 = phi( bitmap_line::@1/bitmap_line::y0#2 ) + bitmap_line::$13 = bitmap_line::y0#9 - bitmap_line::y1#11 + bitmap_line::yd#4 = bitmap_line::$13 + bitmap_line::$14 = bitmap_line::yd#4 < bitmap_line::xd#10 + if(bitmap_line::$14) goto bitmap_line::@12 + to:bitmap_line::@6 +bitmap_line::@12: scope:[bitmap_line] from bitmap_line::@5 + bitmap_line::c#6 = phi( bitmap_line::@5/bitmap_line::c#12 ) + bitmap_line::yd#9 = phi( bitmap_line::@5/bitmap_line::yd#4 ) + bitmap_line::xd#11 = phi( bitmap_line::@5/bitmap_line::xd#10 ) + bitmap_line::x1#8 = phi( bitmap_line::@5/bitmap_line::x1#13 ) + bitmap_line::y0#10 = phi( bitmap_line::@5/bitmap_line::y0#9 ) + bitmap_line::x0#8 = phi( bitmap_line::@5/bitmap_line::x0#13 ) + bitmap_line_xdyd::x#1 = bitmap_line::x0#8 + bitmap_line_xdyd::y#1 = bitmap_line::y0#10 + bitmap_line_xdyd::x1#1 = bitmap_line::x1#8 + bitmap_line_xdyd::xd#1 = bitmap_line::xd#11 + bitmap_line_xdyd::yd#1 = bitmap_line::yd#9 + bitmap_line_xdyd::c#1 = bitmap_line::c#6 + call bitmap_line_xdyd + to:bitmap_line::@19 +bitmap_line::@19: scope:[bitmap_line] from bitmap_line::@12 + to:bitmap_line::@return +bitmap_line::@6: scope:[bitmap_line] from bitmap_line::@5 + bitmap_line::c#7 = phi( bitmap_line::@5/bitmap_line::c#12 ) + bitmap_line::xd#12 = phi( bitmap_line::@5/bitmap_line::xd#10 ) + bitmap_line::yd#10 = phi( bitmap_line::@5/bitmap_line::yd#4 ) + bitmap_line::y0#11 = phi( bitmap_line::@5/bitmap_line::y0#9 ) + bitmap_line::x1#9 = phi( bitmap_line::@5/bitmap_line::x1#13 ) + bitmap_line::y1#12 = phi( bitmap_line::@5/bitmap_line::y1#11 ) + bitmap_line_ydxd::y#1 = bitmap_line::y1#12 + bitmap_line_ydxd::x#1 = bitmap_line::x1#9 + bitmap_line_ydxd::y1#1 = bitmap_line::y0#11 + bitmap_line_ydxd::yd#1 = bitmap_line::yd#10 + bitmap_line_ydxd::xd#1 = bitmap_line::xd#12 + bitmap_line_ydxd::c#1 = bitmap_line::c#7 + call bitmap_line_ydxd + to:bitmap_line::@20 +bitmap_line::@20: scope:[bitmap_line] from bitmap_line::@6 + to:bitmap_line::@return +bitmap_line::@13: scope:[bitmap_line] from bitmap_line::@11 + bitmap_line::c#8 = phi( bitmap_line::@11/bitmap_line::c#13 ) + bitmap_line::yd#11 = phi( bitmap_line::@11/bitmap_line::yd#3 ) + bitmap_line::xd#13 = phi( bitmap_line::@11/bitmap_line::xd#9 ) + bitmap_line::x1#10 = phi( bitmap_line::@11/bitmap_line::x1#14 ) + bitmap_line::y0#12 = phi( bitmap_line::@11/bitmap_line::y0#8 ) + bitmap_line::x0#9 = phi( bitmap_line::@11/bitmap_line::x0#14 ) + bitmap_line_xdyi::x#1 = bitmap_line::x0#9 + bitmap_line_xdyi::y#1 = bitmap_line::y0#12 + bitmap_line_xdyi::x1#1 = bitmap_line::x1#10 + bitmap_line_xdyi::xd#1 = bitmap_line::xd#13 + bitmap_line_xdyi::yd#1 = bitmap_line::yd#11 + bitmap_line_xdyi::c#1 = bitmap_line::c#8 + call bitmap_line_xdyi + to:bitmap_line::@21 +bitmap_line::@21: scope:[bitmap_line] from bitmap_line::@13 + to:bitmap_line::@return +bitmap_line::@14: scope:[bitmap_line] from bitmap_line::@11 + bitmap_line::c#9 = phi( bitmap_line::@11/bitmap_line::c#13 ) + bitmap_line::xd#14 = phi( bitmap_line::@11/bitmap_line::xd#9 ) + bitmap_line::yd#12 = phi( bitmap_line::@11/bitmap_line::yd#3 ) + bitmap_line::y1#13 = phi( bitmap_line::@11/bitmap_line::y1#10 ) + bitmap_line::x0#10 = phi( bitmap_line::@11/bitmap_line::x0#14 ) + bitmap_line::y0#13 = phi( bitmap_line::@11/bitmap_line::y0#8 ) + bitmap_line_ydxi::y#1 = bitmap_line::y0#13 + bitmap_line_ydxi::x#1 = bitmap_line::x0#10 + bitmap_line_ydxi::y1#1 = bitmap_line::y1#13 + bitmap_line_ydxi::yd#1 = bitmap_line::yd#12 + bitmap_line_ydxi::xd#1 = bitmap_line::xd#14 + bitmap_line_ydxi::c#1 = bitmap_line::c#9 + call bitmap_line_ydxi + to:bitmap_line::@22 +bitmap_line::@22: scope:[bitmap_line] from bitmap_line::@14 + to:bitmap_line::@return +bitmap_line::@return: scope:[bitmap_line] from bitmap_line::@15 bitmap_line::@16 bitmap_line::@17 bitmap_line::@18 bitmap_line::@19 bitmap_line::@20 bitmap_line::@21 bitmap_line::@22 + return + to:@return + +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +bitmap_line_xdyi: scope:[bitmap_line_xdyi] from bitmap_line::@13 bitmap_line::@8 + bitmap_line_xdyi::x1#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x1#1, bitmap_line::@8/bitmap_line_xdyi::x1#0 ) + bitmap_line_xdyi::xd#5 = phi( bitmap_line::@13/bitmap_line_xdyi::xd#1, bitmap_line::@8/bitmap_line_xdyi::xd#0 ) + bitmap_line_xdyi::c#3 = phi( bitmap_line::@13/bitmap_line_xdyi::c#1, bitmap_line::@8/bitmap_line_xdyi::c#0 ) + bitmap_line_xdyi::y#5 = phi( bitmap_line::@13/bitmap_line_xdyi::y#1, bitmap_line::@8/bitmap_line_xdyi::y#0 ) + bitmap_line_xdyi::x#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x#1, bitmap_line::@8/bitmap_line_xdyi::x#0 ) + bitmap_line_xdyi::yd#2 = phi( bitmap_line::@13/bitmap_line_xdyi::yd#1, bitmap_line::@8/bitmap_line_xdyi::yd#0 ) + bitmap_line_xdyi::$0 = bitmap_line_xdyi::yd#2 >> 1 + bitmap_line_xdyi::e#0 = bitmap_line_xdyi::$0 + to:bitmap_line_xdyi::@1 +bitmap_line_xdyi::@1: scope:[bitmap_line_xdyi] from bitmap_line_xdyi bitmap_line_xdyi::@2 + bitmap_line_xdyi::x1#5 = phi( bitmap_line_xdyi/bitmap_line_xdyi::x1#6, bitmap_line_xdyi::@2/bitmap_line_xdyi::x1#2 ) + bitmap_line_xdyi::xd#4 = phi( bitmap_line_xdyi/bitmap_line_xdyi::xd#5, bitmap_line_xdyi::@2/bitmap_line_xdyi::xd#6 ) + bitmap_line_xdyi::yd#4 = phi( bitmap_line_xdyi/bitmap_line_xdyi::yd#2, bitmap_line_xdyi::@2/bitmap_line_xdyi::yd#5 ) + bitmap_line_xdyi::e#5 = phi( bitmap_line_xdyi/bitmap_line_xdyi::e#0, bitmap_line_xdyi::@2/bitmap_line_xdyi::e#6 ) + bitmap_line_xdyi::c#2 = phi( bitmap_line_xdyi/bitmap_line_xdyi::c#3, bitmap_line_xdyi::@2/bitmap_line_xdyi::c#4 ) + bitmap_line_xdyi::y#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::y#5, bitmap_line_xdyi::@2/bitmap_line_xdyi::y#6 ) + bitmap_line_xdyi::x#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::x#6, bitmap_line_xdyi::@2/bitmap_line_xdyi::x#5 ) + bitmap_plot::x#0 = bitmap_line_xdyi::x#3 + bitmap_plot::y#0 = bitmap_line_xdyi::y#3 + bitmap_plot::c#1 = bitmap_line_xdyi::c#2 + call bitmap_plot + to:bitmap_line_xdyi::@4 +bitmap_line_xdyi::@4: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@1 + bitmap_line_xdyi::c#6 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::c#2 ) + bitmap_line_xdyi::y#7 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::y#3 ) + bitmap_line_xdyi::x1#4 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::x1#5 ) + bitmap_line_xdyi::xd#2 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::xd#4 ) + bitmap_line_xdyi::yd#3 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::yd#4 ) + bitmap_line_xdyi::e#3 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::e#5 ) + bitmap_line_xdyi::x#4 = phi( bitmap_line_xdyi::@1/bitmap_line_xdyi::x#3 ) + bitmap_line_xdyi::x#2 = ++ bitmap_line_xdyi::x#4 + bitmap_line_xdyi::$2 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#3 + bitmap_line_xdyi::e#1 = bitmap_line_xdyi::$2 + bitmap_line_xdyi::$3 = bitmap_line_xdyi::xd#2 < bitmap_line_xdyi::e#1 + bitmap_line_xdyi::$4 = ! bitmap_line_xdyi::$3 + if(bitmap_line_xdyi::$4) goto bitmap_line_xdyi::@2 + to:bitmap_line_xdyi::@3 +bitmap_line_xdyi::@2: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4 + bitmap_line_xdyi::xd#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::xd#3, bitmap_line_xdyi::@4/bitmap_line_xdyi::xd#2 ) + bitmap_line_xdyi::yd#5 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::yd#6, bitmap_line_xdyi::@4/bitmap_line_xdyi::yd#3 ) + bitmap_line_xdyi::e#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::e#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::e#1 ) + bitmap_line_xdyi::c#4 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::c#5, bitmap_line_xdyi::@4/bitmap_line_xdyi::c#6 ) + bitmap_line_xdyi::y#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::y#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::y#7 ) + bitmap_line_xdyi::x#5 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::x#7, bitmap_line_xdyi::@4/bitmap_line_xdyi::x#2 ) + bitmap_line_xdyi::x1#2 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::x1#3, bitmap_line_xdyi::@4/bitmap_line_xdyi::x1#4 ) + bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#2 + 1 + bitmap_line_xdyi::$7 = bitmap_line_xdyi::x#5 != bitmap_line_xdyi::$6 + if(bitmap_line_xdyi::$7) goto bitmap_line_xdyi::@1 + to:bitmap_line_xdyi::@return +bitmap_line_xdyi::@3: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@4 + bitmap_line_xdyi::yd#6 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::yd#3 ) + bitmap_line_xdyi::c#5 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::c#6 ) + bitmap_line_xdyi::x#7 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::x#2 ) + bitmap_line_xdyi::x1#3 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::x1#4 ) + bitmap_line_xdyi::xd#3 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::xd#2 ) + bitmap_line_xdyi::e#4 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::e#1 ) + bitmap_line_xdyi::y#4 = phi( bitmap_line_xdyi::@4/bitmap_line_xdyi::y#7 ) + bitmap_line_xdyi::y#2 = ++ bitmap_line_xdyi::y#4 + bitmap_line_xdyi::$5 = bitmap_line_xdyi::e#4 - bitmap_line_xdyi::xd#3 + bitmap_line_xdyi::e#2 = bitmap_line_xdyi::$5 + to:bitmap_line_xdyi::@2 +bitmap_line_xdyi::@return: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@2 + return + to:@return + +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +bitmap_line_xdyd: scope:[bitmap_line_xdyd] from bitmap_line::@12 bitmap_line::@9 + bitmap_line_xdyd::x1#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x1#1, bitmap_line::@9/bitmap_line_xdyd::x1#0 ) + bitmap_line_xdyd::xd#5 = phi( bitmap_line::@12/bitmap_line_xdyd::xd#1, bitmap_line::@9/bitmap_line_xdyd::xd#0 ) + bitmap_line_xdyd::c#3 = phi( bitmap_line::@12/bitmap_line_xdyd::c#1, bitmap_line::@9/bitmap_line_xdyd::c#0 ) + bitmap_line_xdyd::y#5 = phi( bitmap_line::@12/bitmap_line_xdyd::y#1, bitmap_line::@9/bitmap_line_xdyd::y#0 ) + bitmap_line_xdyd::x#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x#1, bitmap_line::@9/bitmap_line_xdyd::x#0 ) + bitmap_line_xdyd::yd#2 = phi( bitmap_line::@12/bitmap_line_xdyd::yd#1, bitmap_line::@9/bitmap_line_xdyd::yd#0 ) + bitmap_line_xdyd::$0 = bitmap_line_xdyd::yd#2 >> 1 + bitmap_line_xdyd::e#0 = bitmap_line_xdyd::$0 + to:bitmap_line_xdyd::@1 +bitmap_line_xdyd::@1: scope:[bitmap_line_xdyd] from bitmap_line_xdyd bitmap_line_xdyd::@2 + bitmap_line_xdyd::x1#5 = phi( bitmap_line_xdyd/bitmap_line_xdyd::x1#6, bitmap_line_xdyd::@2/bitmap_line_xdyd::x1#2 ) + bitmap_line_xdyd::xd#4 = phi( bitmap_line_xdyd/bitmap_line_xdyd::xd#5, bitmap_line_xdyd::@2/bitmap_line_xdyd::xd#6 ) + bitmap_line_xdyd::yd#4 = phi( bitmap_line_xdyd/bitmap_line_xdyd::yd#2, bitmap_line_xdyd::@2/bitmap_line_xdyd::yd#5 ) + bitmap_line_xdyd::e#5 = phi( bitmap_line_xdyd/bitmap_line_xdyd::e#0, bitmap_line_xdyd::@2/bitmap_line_xdyd::e#6 ) + bitmap_line_xdyd::c#2 = phi( bitmap_line_xdyd/bitmap_line_xdyd::c#3, bitmap_line_xdyd::@2/bitmap_line_xdyd::c#4 ) + bitmap_line_xdyd::y#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::y#5, bitmap_line_xdyd::@2/bitmap_line_xdyd::y#6 ) + bitmap_line_xdyd::x#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::x#6, bitmap_line_xdyd::@2/bitmap_line_xdyd::x#5 ) + bitmap_plot::x#1 = bitmap_line_xdyd::x#3 + bitmap_plot::y#1 = bitmap_line_xdyd::y#3 + bitmap_plot::c#2 = bitmap_line_xdyd::c#2 + call bitmap_plot + to:bitmap_line_xdyd::@4 +bitmap_line_xdyd::@4: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@1 + bitmap_line_xdyd::c#6 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::c#2 ) + bitmap_line_xdyd::y#7 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::y#3 ) + bitmap_line_xdyd::x1#4 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::x1#5 ) + bitmap_line_xdyd::xd#2 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::xd#4 ) + bitmap_line_xdyd::yd#3 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::yd#4 ) + bitmap_line_xdyd::e#3 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::e#5 ) + bitmap_line_xdyd::x#4 = phi( bitmap_line_xdyd::@1/bitmap_line_xdyd::x#3 ) + bitmap_line_xdyd::x#2 = ++ bitmap_line_xdyd::x#4 + bitmap_line_xdyd::$2 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#3 + bitmap_line_xdyd::e#1 = bitmap_line_xdyd::$2 + bitmap_line_xdyd::$3 = bitmap_line_xdyd::xd#2 < bitmap_line_xdyd::e#1 + bitmap_line_xdyd::$4 = ! bitmap_line_xdyd::$3 + if(bitmap_line_xdyd::$4) goto bitmap_line_xdyd::@2 + to:bitmap_line_xdyd::@3 +bitmap_line_xdyd::@2: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4 + bitmap_line_xdyd::xd#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::xd#3, bitmap_line_xdyd::@4/bitmap_line_xdyd::xd#2 ) + bitmap_line_xdyd::yd#5 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::yd#6, bitmap_line_xdyd::@4/bitmap_line_xdyd::yd#3 ) + bitmap_line_xdyd::e#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::e#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::e#1 ) + bitmap_line_xdyd::c#4 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::c#5, bitmap_line_xdyd::@4/bitmap_line_xdyd::c#6 ) + bitmap_line_xdyd::y#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::y#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::y#7 ) + bitmap_line_xdyd::x#5 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::x#7, bitmap_line_xdyd::@4/bitmap_line_xdyd::x#2 ) + bitmap_line_xdyd::x1#2 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::x1#3, bitmap_line_xdyd::@4/bitmap_line_xdyd::x1#4 ) + bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#2 + 1 + bitmap_line_xdyd::$7 = bitmap_line_xdyd::x#5 != bitmap_line_xdyd::$6 + if(bitmap_line_xdyd::$7) goto bitmap_line_xdyd::@1 + to:bitmap_line_xdyd::@return +bitmap_line_xdyd::@3: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@4 + bitmap_line_xdyd::yd#6 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::yd#3 ) + bitmap_line_xdyd::c#5 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::c#6 ) + bitmap_line_xdyd::x#7 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::x#2 ) + bitmap_line_xdyd::x1#3 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::x1#4 ) + bitmap_line_xdyd::xd#3 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::xd#2 ) + bitmap_line_xdyd::e#4 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::e#1 ) + bitmap_line_xdyd::y#4 = phi( bitmap_line_xdyd::@4/bitmap_line_xdyd::y#7 ) + bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#4 + bitmap_line_xdyd::$5 = bitmap_line_xdyd::e#4 - bitmap_line_xdyd::xd#3 + bitmap_line_xdyd::e#2 = bitmap_line_xdyd::$5 + to:bitmap_line_xdyd::@2 +bitmap_line_xdyd::@return: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@2 + return + to:@return + +void bitmap_line_ydxi(word bitmap_line_ydxi::y , word bitmap_line_ydxi::x , word bitmap_line_ydxi::y1 , word bitmap_line_ydxi::yd , word bitmap_line_ydxi::xd , byte bitmap_line_ydxi::c) +bitmap_line_ydxi: scope:[bitmap_line_ydxi] from bitmap_line::@14 bitmap_line::@4 + bitmap_line_ydxi::y1#6 = phi( bitmap_line::@14/bitmap_line_ydxi::y1#1, bitmap_line::@4/bitmap_line_ydxi::y1#0 ) + bitmap_line_ydxi::yd#5 = phi( bitmap_line::@14/bitmap_line_ydxi::yd#1, bitmap_line::@4/bitmap_line_ydxi::yd#0 ) + bitmap_line_ydxi::c#3 = phi( bitmap_line::@14/bitmap_line_ydxi::c#1, bitmap_line::@4/bitmap_line_ydxi::c#0 ) + bitmap_line_ydxi::y#6 = phi( bitmap_line::@14/bitmap_line_ydxi::y#1, bitmap_line::@4/bitmap_line_ydxi::y#0 ) + bitmap_line_ydxi::x#5 = phi( bitmap_line::@14/bitmap_line_ydxi::x#1, bitmap_line::@4/bitmap_line_ydxi::x#0 ) + bitmap_line_ydxi::xd#2 = phi( bitmap_line::@14/bitmap_line_ydxi::xd#1, bitmap_line::@4/bitmap_line_ydxi::xd#0 ) + bitmap_line_ydxi::$0 = bitmap_line_ydxi::xd#2 >> 1 + bitmap_line_ydxi::e#0 = bitmap_line_ydxi::$0 + to:bitmap_line_ydxi::@1 +bitmap_line_ydxi::@1: scope:[bitmap_line_ydxi] from bitmap_line_ydxi bitmap_line_ydxi::@2 + bitmap_line_ydxi::y1#5 = phi( bitmap_line_ydxi/bitmap_line_ydxi::y1#6, bitmap_line_ydxi::@2/bitmap_line_ydxi::y1#2 ) + bitmap_line_ydxi::yd#4 = phi( bitmap_line_ydxi/bitmap_line_ydxi::yd#5, bitmap_line_ydxi::@2/bitmap_line_ydxi::yd#6 ) + bitmap_line_ydxi::xd#4 = phi( bitmap_line_ydxi/bitmap_line_ydxi::xd#2, bitmap_line_ydxi::@2/bitmap_line_ydxi::xd#5 ) + bitmap_line_ydxi::e#5 = phi( bitmap_line_ydxi/bitmap_line_ydxi::e#0, bitmap_line_ydxi::@2/bitmap_line_ydxi::e#6 ) + bitmap_line_ydxi::c#2 = phi( bitmap_line_ydxi/bitmap_line_ydxi::c#3, bitmap_line_ydxi::@2/bitmap_line_ydxi::c#4 ) + bitmap_line_ydxi::y#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::y#6, bitmap_line_ydxi::@2/bitmap_line_ydxi::y#5 ) + bitmap_line_ydxi::x#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::x#5, bitmap_line_ydxi::@2/bitmap_line_ydxi::x#6 ) + bitmap_plot::x#2 = bitmap_line_ydxi::x#3 + bitmap_plot::y#2 = bitmap_line_ydxi::y#3 + bitmap_plot::c#3 = bitmap_line_ydxi::c#2 + call bitmap_plot + to:bitmap_line_ydxi::@4 +bitmap_line_ydxi::@4: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@1 + bitmap_line_ydxi::c#6 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::c#2 ) + bitmap_line_ydxi::x#7 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::x#3 ) + bitmap_line_ydxi::y1#4 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::y1#5 ) + bitmap_line_ydxi::yd#2 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::yd#4 ) + bitmap_line_ydxi::xd#3 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::xd#4 ) + bitmap_line_ydxi::e#3 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::e#5 ) + bitmap_line_ydxi::y#4 = phi( bitmap_line_ydxi::@1/bitmap_line_ydxi::y#3 ) + bitmap_line_ydxi::y#2 = ++ bitmap_line_ydxi::y#4 + bitmap_line_ydxi::$2 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#3 + bitmap_line_ydxi::e#1 = bitmap_line_ydxi::$2 + bitmap_line_ydxi::$3 = bitmap_line_ydxi::yd#2 < bitmap_line_ydxi::e#1 + bitmap_line_ydxi::$4 = ! bitmap_line_ydxi::$3 + if(bitmap_line_ydxi::$4) goto bitmap_line_ydxi::@2 + to:bitmap_line_ydxi::@3 +bitmap_line_ydxi::@2: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4 + bitmap_line_ydxi::yd#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::yd#3, bitmap_line_ydxi::@4/bitmap_line_ydxi::yd#2 ) + bitmap_line_ydxi::xd#5 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::xd#6, bitmap_line_ydxi::@4/bitmap_line_ydxi::xd#3 ) + bitmap_line_ydxi::e#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::e#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::e#1 ) + bitmap_line_ydxi::c#4 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::c#5, bitmap_line_ydxi::@4/bitmap_line_ydxi::c#6 ) + bitmap_line_ydxi::x#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::x#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::x#7 ) + bitmap_line_ydxi::y#5 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::y#7, bitmap_line_ydxi::@4/bitmap_line_ydxi::y#2 ) + bitmap_line_ydxi::y1#2 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::y1#3, bitmap_line_ydxi::@4/bitmap_line_ydxi::y1#4 ) + bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#2 + 1 + bitmap_line_ydxi::$7 = bitmap_line_ydxi::y#5 != bitmap_line_ydxi::$6 + if(bitmap_line_ydxi::$7) goto bitmap_line_ydxi::@1 + to:bitmap_line_ydxi::@return +bitmap_line_ydxi::@3: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@4 + bitmap_line_ydxi::xd#6 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::xd#3 ) + bitmap_line_ydxi::c#5 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::c#6 ) + bitmap_line_ydxi::y#7 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::y#2 ) + bitmap_line_ydxi::y1#3 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::y1#4 ) + bitmap_line_ydxi::yd#3 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::yd#2 ) + bitmap_line_ydxi::e#4 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::e#1 ) + bitmap_line_ydxi::x#4 = phi( bitmap_line_ydxi::@4/bitmap_line_ydxi::x#7 ) + bitmap_line_ydxi::x#2 = ++ bitmap_line_ydxi::x#4 + bitmap_line_ydxi::$5 = bitmap_line_ydxi::e#4 - bitmap_line_ydxi::yd#3 + bitmap_line_ydxi::e#2 = bitmap_line_ydxi::$5 + to:bitmap_line_ydxi::@2 +bitmap_line_ydxi::@return: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@2 + return + to:@return + +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +bitmap_line_ydxd: scope:[bitmap_line_ydxd] from bitmap_line::@10 bitmap_line::@6 + bitmap_line_ydxd::y1#6 = phi( bitmap_line::@10/bitmap_line_ydxd::y1#0, bitmap_line::@6/bitmap_line_ydxd::y1#1 ) + bitmap_line_ydxd::yd#5 = phi( bitmap_line::@10/bitmap_line_ydxd::yd#0, bitmap_line::@6/bitmap_line_ydxd::yd#1 ) + bitmap_line_ydxd::c#3 = phi( bitmap_line::@10/bitmap_line_ydxd::c#0, bitmap_line::@6/bitmap_line_ydxd::c#1 ) + bitmap_line_ydxd::y#7 = phi( bitmap_line::@10/bitmap_line_ydxd::y#0, bitmap_line::@6/bitmap_line_ydxd::y#1 ) + bitmap_line_ydxd::x#5 = phi( bitmap_line::@10/bitmap_line_ydxd::x#0, bitmap_line::@6/bitmap_line_ydxd::x#1 ) + bitmap_line_ydxd::xd#2 = phi( bitmap_line::@10/bitmap_line_ydxd::xd#0, bitmap_line::@6/bitmap_line_ydxd::xd#1 ) + bitmap_line_ydxd::$0 = bitmap_line_ydxd::xd#2 >> 1 + bitmap_line_ydxd::e#0 = bitmap_line_ydxd::$0 + to:bitmap_line_ydxd::@1 +bitmap_line_ydxd::@1: scope:[bitmap_line_ydxd] from bitmap_line_ydxd bitmap_line_ydxd::@2 + bitmap_line_ydxd::y1#5 = phi( bitmap_line_ydxd/bitmap_line_ydxd::y1#6, bitmap_line_ydxd::@2/bitmap_line_ydxd::y1#2 ) + bitmap_line_ydxd::yd#4 = phi( bitmap_line_ydxd/bitmap_line_ydxd::yd#5, bitmap_line_ydxd::@2/bitmap_line_ydxd::yd#6 ) + bitmap_line_ydxd::xd#4 = phi( bitmap_line_ydxd/bitmap_line_ydxd::xd#2, bitmap_line_ydxd::@2/bitmap_line_ydxd::xd#5 ) + bitmap_line_ydxd::e#5 = phi( bitmap_line_ydxd/bitmap_line_ydxd::e#0, bitmap_line_ydxd::@2/bitmap_line_ydxd::e#6 ) + bitmap_line_ydxd::c#2 = phi( bitmap_line_ydxd/bitmap_line_ydxd::c#3, bitmap_line_ydxd::@2/bitmap_line_ydxd::c#4 ) + bitmap_line_ydxd::y#4 = phi( bitmap_line_ydxd/bitmap_line_ydxd::y#7, bitmap_line_ydxd::@2/bitmap_line_ydxd::y#6 ) + bitmap_line_ydxd::x#3 = phi( bitmap_line_ydxd/bitmap_line_ydxd::x#5, bitmap_line_ydxd::@2/bitmap_line_ydxd::x#6 ) + bitmap_plot::x#3 = bitmap_line_ydxd::x#3 + bitmap_plot::y#3 = bitmap_line_ydxd::y#4 + bitmap_plot::c#4 = bitmap_line_ydxd::c#2 + call bitmap_plot + to:bitmap_line_ydxd::@4 +bitmap_line_ydxd::@4: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@1 + bitmap_line_ydxd::c#6 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::c#2 ) + bitmap_line_ydxd::x#7 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::x#3 ) + bitmap_line_ydxd::y1#4 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::y1#5 ) + bitmap_line_ydxd::yd#2 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::yd#4 ) + bitmap_line_ydxd::xd#3 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::xd#4 ) + bitmap_line_ydxd::e#3 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::e#5 ) + bitmap_line_ydxd::y#5 = phi( bitmap_line_ydxd::@1/bitmap_line_ydxd::y#4 ) + bitmap_line_ydxd::y#2 = bitmap_line_ydxd::y#5 + bitmap_line_ydxd::y#3 = ++ bitmap_line_ydxd::y#2 + bitmap_line_ydxd::$2 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#3 + bitmap_line_ydxd::e#1 = bitmap_line_ydxd::$2 + bitmap_line_ydxd::$3 = bitmap_line_ydxd::yd#2 < bitmap_line_ydxd::e#1 + bitmap_line_ydxd::$4 = ! bitmap_line_ydxd::$3 + if(bitmap_line_ydxd::$4) goto bitmap_line_ydxd::@2 + to:bitmap_line_ydxd::@3 +bitmap_line_ydxd::@2: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4 + bitmap_line_ydxd::yd#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::yd#3, bitmap_line_ydxd::@4/bitmap_line_ydxd::yd#2 ) + bitmap_line_ydxd::xd#5 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::xd#6, bitmap_line_ydxd::@4/bitmap_line_ydxd::xd#3 ) + bitmap_line_ydxd::e#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::e#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::e#1 ) + bitmap_line_ydxd::c#4 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::c#5, bitmap_line_ydxd::@4/bitmap_line_ydxd::c#6 ) + bitmap_line_ydxd::x#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::x#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::x#7 ) + bitmap_line_ydxd::y#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::y#8, bitmap_line_ydxd::@4/bitmap_line_ydxd::y#3 ) + bitmap_line_ydxd::y1#2 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::y1#3, bitmap_line_ydxd::@4/bitmap_line_ydxd::y1#4 ) + bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#2 + 1 + bitmap_line_ydxd::$7 = bitmap_line_ydxd::y#6 != bitmap_line_ydxd::$6 + if(bitmap_line_ydxd::$7) goto bitmap_line_ydxd::@1 + to:bitmap_line_ydxd::@return +bitmap_line_ydxd::@3: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@4 + bitmap_line_ydxd::xd#6 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::xd#3 ) + bitmap_line_ydxd::c#5 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::c#6 ) + bitmap_line_ydxd::y#8 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::y#3 ) + bitmap_line_ydxd::y1#3 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::y1#4 ) + bitmap_line_ydxd::yd#3 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::yd#2 ) + bitmap_line_ydxd::e#4 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::e#1 ) + bitmap_line_ydxd::x#4 = phi( bitmap_line_ydxd::@4/bitmap_line_ydxd::x#7 ) + bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#4 + bitmap_line_ydxd::$5 = bitmap_line_ydxd::e#4 - bitmap_line_ydxd::yd#3 + bitmap_line_ydxd::e#2 = bitmap_line_ydxd::$5 + to:bitmap_line_ydxd::@2 +bitmap_line_ydxd::@return: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@2 + return + to:@return + +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +divr16u: scope:[divr16u] from modr16u + divr16u::divisor#5 = phi( modr16u/divr16u::divisor#0 ) + divr16u::dividend#4 = phi( modr16u/divr16u::dividend#1 ) + divr16u::rem#9 = phi( modr16u/divr16u::rem#3 ) + divr16u::quotient#0 = 0 + divr16u::i#0 = 0 + to:divr16u::@1 +divr16u::@1: scope:[divr16u] from divr16u divr16u::@3 + divr16u::i#5 = phi( divr16u/divr16u::i#0, divr16u::@3/divr16u::i#1 ) + divr16u::divisor#3 = phi( divr16u/divr16u::divisor#5, divr16u::@3/divr16u::divisor#6 ) + divr16u::quotient#6 = phi( divr16u/divr16u::quotient#0, divr16u::@3/divr16u::quotient#8 ) + divr16u::dividend#2 = phi( divr16u/divr16u::dividend#4, divr16u::@3/divr16u::dividend#5 ) + divr16u::rem#4 = phi( divr16u/divr16u::rem#9, divr16u::@3/divr16u::rem#10 ) + divr16u::$0 = divr16u::rem#4 << 1 + divr16u::rem#0 = divr16u::$0 + divr16u::$1 = > divr16u::dividend#2 + divr16u::$2 = divr16u::$1 & $80 + divr16u::$3 = divr16u::$2 != 0 + divr16u::$4 = ! divr16u::$3 + if(divr16u::$4) goto divr16u::@2 + to:divr16u::@4 +divr16u::@2: scope:[divr16u] from divr16u::@1 divr16u::@4 + divr16u::i#3 = phi( divr16u::@1/divr16u::i#5, divr16u::@4/divr16u::i#6 ) + divr16u::divisor#1 = phi( divr16u::@1/divr16u::divisor#3, divr16u::@4/divr16u::divisor#4 ) + divr16u::rem#5 = phi( divr16u::@1/divr16u::rem#0, divr16u::@4/divr16u::rem#1 ) + divr16u::quotient#3 = phi( divr16u::@1/divr16u::quotient#6, divr16u::@4/divr16u::quotient#7 ) + divr16u::dividend#3 = phi( divr16u::@1/divr16u::dividend#2, divr16u::@4/divr16u::dividend#6 ) + divr16u::$6 = divr16u::dividend#3 << 1 + divr16u::dividend#0 = divr16u::$6 + divr16u::$7 = divr16u::quotient#3 << 1 + divr16u::quotient#1 = divr16u::$7 + divr16u::$8 = divr16u::rem#5 >= divr16u::divisor#1 + divr16u::$9 = ! divr16u::$8 + if(divr16u::$9) goto divr16u::@3 + to:divr16u::@5 +divr16u::@4: scope:[divr16u] from divr16u::@1 + divr16u::i#6 = phi( divr16u::@1/divr16u::i#5 ) + divr16u::divisor#4 = phi( divr16u::@1/divr16u::divisor#3 ) + divr16u::quotient#7 = phi( divr16u::@1/divr16u::quotient#6 ) + divr16u::dividend#6 = phi( divr16u::@1/divr16u::dividend#2 ) + divr16u::rem#6 = phi( divr16u::@1/divr16u::rem#0 ) + divr16u::$5 = divr16u::rem#6 | 1 + divr16u::rem#1 = divr16u::$5 + to:divr16u::@2 +divr16u::@3: scope:[divr16u] from divr16u::@2 divr16u::@5 + divr16u::divisor#6 = phi( divr16u::@2/divr16u::divisor#1, divr16u::@5/divr16u::divisor#2 ) + divr16u::quotient#8 = phi( divr16u::@2/divr16u::quotient#1, divr16u::@5/divr16u::quotient#2 ) + divr16u::dividend#5 = phi( divr16u::@2/divr16u::dividend#0, divr16u::@5/divr16u::dividend#7 ) + divr16u::rem#10 = phi( divr16u::@2/divr16u::rem#5, divr16u::@5/divr16u::rem#2 ) + divr16u::i#2 = phi( divr16u::@2/divr16u::i#3, divr16u::@5/divr16u::i#4 ) + divr16u::i#1 = divr16u::i#2 + rangenext(0,$f) + divr16u::$11 = divr16u::i#1 != rangelast(0,$f) + if(divr16u::$11) goto divr16u::@1 + to:divr16u::@6 +divr16u::@5: scope:[divr16u] from divr16u::@2 + divr16u::dividend#7 = phi( divr16u::@2/divr16u::dividend#0 ) + divr16u::i#4 = phi( divr16u::@2/divr16u::i#3 ) + divr16u::divisor#2 = phi( divr16u::@2/divr16u::divisor#1 ) + divr16u::rem#7 = phi( divr16u::@2/divr16u::rem#5 ) + divr16u::quotient#4 = phi( divr16u::@2/divr16u::quotient#1 ) + divr16u::quotient#2 = ++ divr16u::quotient#4 + divr16u::$10 = divr16u::rem#7 - divr16u::divisor#2 + divr16u::rem#2 = divr16u::$10 + to:divr16u::@3 +divr16u::@6: scope:[divr16u] from divr16u::@3 + divr16u::quotient#5 = phi( divr16u::@3/divr16u::quotient#8 ) + divr16u::rem#8 = phi( divr16u::@3/divr16u::rem#10 ) + rem16u#0 = divr16u::rem#8 + divr16u::return#0 = divr16u::quotient#5 + to:divr16u::@return +divr16u::@return: scope:[divr16u] from divr16u::@6 + rem16u#12 = phi( divr16u::@6/rem16u#0 ) + divr16u::return#3 = phi( divr16u::@6/divr16u::return#0 ) + divr16u::return#1 = divr16u::return#3 + rem16u#1 = rem16u#12 + return + to:@return + +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +modr16u: scope:[modr16u] from main::@35 main::@37 main::@39 main::@41 + rem16u#22 = phi( main::@35/rem16u#23, main::@37/rem16u#24, main::@39/rem16u#25, main::@41/rem16u#26 ) + modr16u::rem#4 = phi( main::@35/modr16u::rem#0, main::@37/modr16u::rem#1, main::@39/modr16u::rem#2, main::@41/modr16u::rem#3 ) + modr16u::divisor#4 = phi( main::@35/modr16u::divisor#0, main::@37/modr16u::divisor#1, main::@39/modr16u::divisor#2, main::@41/modr16u::divisor#3 ) + modr16u::dividend#4 = phi( main::@35/modr16u::dividend#0, main::@37/modr16u::dividend#1, main::@39/modr16u::dividend#2, main::@41/modr16u::dividend#3 ) + divr16u::dividend#1 = modr16u::dividend#4 + divr16u::divisor#0 = modr16u::divisor#4 + divr16u::rem#3 = modr16u::rem#4 + call divr16u + divr16u::return#2 = divr16u::return#1 + to:modr16u::@1 +modr16u::@1: scope:[modr16u] from modr16u + rem16u#13 = phi( modr16u/rem16u#1 ) + rem16u#2 = rem16u#13 + modr16u::return#0 = rem16u#2 + to:modr16u::@return +modr16u::@return: scope:[modr16u] from modr16u::@1 + rem16u#14 = phi( modr16u::@1/rem16u#2 ) + modr16u::return#6 = phi( modr16u::@1/modr16u::return#0 ) + modr16u::return#1 = modr16u::return#6 + rem16u#3 = rem16u#14 + return + to:@return + +void main() +main: scope:[main] from __start::@1 + rem16u#88 = phi( __start::@1/rem16u#28 ) + rand_state#87 = phi( __start::@1/rand_state#29 ) + CONIO_SCREEN_TEXT#64 = phi( __start::@1/CONIO_SCREEN_TEXT#36 ) + CONIO_SCREEN_BANK#55 = phi( __start::@1/CONIO_SCREEN_BANK#30 ) + memcpy_in_vram::dest_bank#1 = 1 + memcpy_in_vram::dest#1 = (void*)$f000 + memcpy_in_vram::dest_increment#1 = VERA_INC_1 + memcpy_in_vram::src_bank#1 = 0 + memcpy_in_vram::src#1 = (void*)$f800 + memcpy_in_vram::src_increment#1 = VERA_INC_1 + memcpy_in_vram::num#1 = $100*8 + call memcpy_in_vram + to:main::@17 +main::@17: scope:[main] from main + rem16u#87 = phi( main/rem16u#88 ) + rand_state#86 = phi( main/rand_state#87 ) + CONIO_SCREEN_TEXT#54 = phi( main/CONIO_SCREEN_TEXT#64 ) + CONIO_SCREEN_BANK#47 = phi( main/CONIO_SCREEN_BANK#55 ) + vera_layer_mode_tile::layer#1 = 1 + vera_layer_mode_tile::mapbase_address#2 = $14000 + vera_layer_mode_tile::tilebase_address#2 = $1f000 + vera_layer_mode_tile::mapwidth#1 = $80 + vera_layer_mode_tile::mapheight#1 = $40 + vera_layer_mode_tile::tilewidth#1 = 8 + vera_layer_mode_tile::tileheight#1 = 8 + vera_layer_mode_tile::color_depth#1 = 1 + call vera_layer_mode_tile + to:main::@18 +main::@18: scope:[main] from main::@17 + rem16u#86 = phi( main::@17/rem16u#87 ) + rand_state#85 = phi( main::@17/rand_state#86 ) + CONIO_SCREEN_TEXT#43 = phi( main::@17/CONIO_SCREEN_TEXT#54 ) + CONIO_SCREEN_BANK#37 = phi( main::@17/CONIO_SCREEN_BANK#47 ) + vera_layer_mode_bitmap::layer#0 = 0 + vera_layer_mode_bitmap::bitmap_address#1 = (dword)0 + vera_layer_mode_bitmap::mapwidth#0 = $140 + vera_layer_mode_bitmap::color_depth#0 = 8 + call vera_layer_mode_bitmap + to:main::@19 +main::@19: scope:[main] from main::@18 + rem16u#85 = phi( main::@18/rem16u#86 ) + rand_state#83 = phi( main::@18/rand_state#85 ) + CONIO_SCREEN_TEXT#33 = phi( main::@18/CONIO_SCREEN_TEXT#43 ) + CONIO_SCREEN_BANK#27 = phi( main::@18/CONIO_SCREEN_BANK#37 ) + screenlayer::layer#1 = 1 + call screenlayer + to:main::@20 +main::@20: scope:[main] from main::@19 + rem16u#83 = phi( main::@19/rem16u#85 ) + rand_state#81 = phi( main::@19/rand_state#83 ) + CONIO_SCREEN_TEXT#18 = phi( main::@19/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#16 = phi( main::@19/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#4 = CONIO_SCREEN_BANK#16 + CONIO_SCREEN_TEXT#4 = CONIO_SCREEN_TEXT#18 + main::textcolor1_color#0 = WHITE + to:main::textcolor1 +main::textcolor1: scope:[main] from main::@20 + rem16u#81 = phi( main::@20/rem16u#83 ) + rand_state#79 = phi( main::@20/rand_state#81 ) + CONIO_SCREEN_BANK#99 = phi( main::@20/CONIO_SCREEN_BANK#4 ) + CONIO_SCREEN_TEXT#88 = phi( main::@20/CONIO_SCREEN_TEXT#4 ) + main::textcolor1_color#1 = phi( main::@20/main::textcolor1_color#0 ) + vera_layer_set_textcolor::layer#1 = conio_screen_layer + vera_layer_set_textcolor::color#1 = main::textcolor1_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#3 = vera_layer_set_textcolor::return#1 + to:main::@21 +main::@21: scope:[main] from main::textcolor1 + rem16u#79 = phi( main::textcolor1/rem16u#81 ) + rand_state#77 = phi( main::textcolor1/rand_state#79 ) + CONIO_SCREEN_BANK#95 = phi( main::textcolor1/CONIO_SCREEN_BANK#99 ) + CONIO_SCREEN_TEXT#81 = phi( main::textcolor1/CONIO_SCREEN_TEXT#88 ) + to:main::@8 +main::@8: scope:[main] from main::@21 + rem16u#77 = phi( main::@21/rem16u#79 ) + rand_state#75 = phi( main::@21/rand_state#77 ) + CONIO_SCREEN_BANK#90 = phi( main::@21/CONIO_SCREEN_BANK#95 ) + CONIO_SCREEN_TEXT#65 = phi( main::@21/CONIO_SCREEN_TEXT#81 ) + main::bgcolor1_color#0 = BLACK + to:main::bgcolor1 +main::bgcolor1: scope:[main] from main::@8 + rem16u#75 = phi( main::@8/rem16u#77 ) + rand_state#73 = phi( main::@8/rand_state#75 ) + CONIO_SCREEN_BANK#82 = phi( main::@8/CONIO_SCREEN_BANK#90 ) + CONIO_SCREEN_TEXT#55 = phi( main::@8/CONIO_SCREEN_TEXT#65 ) + main::bgcolor1_color#1 = phi( main::@8/main::bgcolor1_color#0 ) + vera_layer_set_backcolor::layer#1 = conio_screen_layer + vera_layer_set_backcolor::color#1 = main::bgcolor1_color#1 + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#3 = vera_layer_set_backcolor::return#1 + to:main::@22 +main::@22: scope:[main] from main::bgcolor1 + rem16u#73 = phi( main::bgcolor1/rem16u#75 ) + rand_state#71 = phi( main::bgcolor1/rand_state#73 ) + CONIO_SCREEN_BANK#77 = phi( main::bgcolor1/CONIO_SCREEN_BANK#82 ) + CONIO_SCREEN_TEXT#44 = phi( main::bgcolor1/CONIO_SCREEN_TEXT#55 ) + to:main::@9 +main::@9: scope:[main] from main::@22 + rem16u#71 = phi( main::@22/rem16u#73 ) + rand_state#69 = phi( main::@22/rand_state#71 ) + CONIO_SCREEN_BANK#62 = phi( main::@22/CONIO_SCREEN_BANK#77 ) + CONIO_SCREEN_TEXT#28 = phi( main::@22/CONIO_SCREEN_TEXT#44 ) + call clrscr + to:main::@23 +main::@23: scope:[main] from main::@9 + rem16u#69 = phi( main::@9/rem16u#71 ) + rand_state#67 = phi( main::@9/rand_state#69 ) + CONIO_SCREEN_BANK#83 = phi( main::@9/CONIO_SCREEN_BANK#62 ) + CONIO_SCREEN_TEXT#89 = phi( main::@9/CONIO_SCREEN_TEXT#28 ) + gotoxy::x#3 = 0 + gotoxy::y#3 = $19 + call gotoxy + to:main::@24 +main::@24: scope:[main] from main::@23 + rem16u#67 = phi( main::@23/rem16u#69 ) + rand_state#65 = phi( main::@23/rand_state#67 ) + CONIO_SCREEN_BANK#71 = phi( main::@23/CONIO_SCREEN_BANK#83 ) + CONIO_SCREEN_TEXT#75 = phi( main::@23/CONIO_SCREEN_TEXT#89 ) + cputs::s#1 = main::s + call cputs + to:main::@25 +main::@25: scope:[main] from main::@24 + rem16u#65 = phi( main::@24/rem16u#67 ) + rand_state#63 = phi( main::@24/rand_state#65 ) + CONIO_SCREEN_BANK#72 = phi( main::@24/CONIO_SCREEN_BANK#71 ) + CONIO_SCREEN_TEXT#76 = phi( main::@24/CONIO_SCREEN_TEXT#75 ) + cputs::s#2 = main::s1 + call cputs + to:main::@26 +main::@26: scope:[main] from main::@25 + rem16u#63 = phi( main::@25/rem16u#65 ) + rand_state#61 = phi( main::@25/rand_state#63 ) + CONIO_SCREEN_BANK#73 = phi( main::@25/CONIO_SCREEN_BANK#72 ) + CONIO_SCREEN_TEXT#77 = phi( main::@25/CONIO_SCREEN_TEXT#76 ) + cputs::s#3 = main::s2 + call cputs + to:main::@27 +main::@27: scope:[main] from main::@26 + rem16u#61 = phi( main::@26/rem16u#63 ) + rand_state#59 = phi( main::@26/rand_state#61 ) + CONIO_SCREEN_BANK#74 = phi( main::@26/CONIO_SCREEN_BANK#73 ) + CONIO_SCREEN_TEXT#78 = phi( main::@26/CONIO_SCREEN_TEXT#77 ) + cputs::s#4 = main::s3 + call cputs + to:main::@28 +main::@28: scope:[main] from main::@27 + rem16u#59 = phi( main::@27/rem16u#61 ) + CONIO_SCREEN_BANK#108 = phi( main::@27/CONIO_SCREEN_BANK#74 ) + rand_state#56 = phi( main::@27/rand_state#59 ) + CONIO_SCREEN_TEXT#119 = phi( main::@27/CONIO_SCREEN_TEXT#78 ) + main::vera_layer_show1_layer#0 = 0 + to:main::vera_layer_show1 +main::vera_layer_show1: scope:[main] from main::@28 + rem16u#56 = phi( main::@28/rem16u#59 ) + CONIO_SCREEN_BANK#106 = phi( main::@28/CONIO_SCREEN_BANK#108 ) + rand_state#52 = phi( main::@28/rand_state#56 ) + CONIO_SCREEN_TEXT#117 = phi( main::@28/CONIO_SCREEN_TEXT#119 ) + main::vera_layer_show1_layer#1 = phi( main::@28/main::vera_layer_show1_layer#0 ) + *VERA_DC_VIDEO = *VERA_DC_VIDEO | vera_layer_enable[main::vera_layer_show1_layer#1] + to:main::@10 +main::@10: scope:[main] from main::vera_layer_show1 + rem16u#52 = phi( main::vera_layer_show1/rem16u#56 ) + CONIO_SCREEN_BANK#104 = phi( main::vera_layer_show1/CONIO_SCREEN_BANK#106 ) + rand_state#50 = phi( main::vera_layer_show1/rand_state#52 ) + CONIO_SCREEN_TEXT#115 = phi( main::vera_layer_show1/CONIO_SCREEN_TEXT#117 ) + bitmap_init::layer#0 = 0 + bitmap_init::address#0 = 0 + call bitmap_init + to:main::@29 +main::@29: scope:[main] from main::@10 + rem16u#50 = phi( main::@10/rem16u#52 ) + CONIO_SCREEN_BANK#102 = phi( main::@10/CONIO_SCREEN_BANK#104 ) + rand_state#48 = phi( main::@10/rand_state#50 ) + CONIO_SCREEN_TEXT#112 = phi( main::@10/CONIO_SCREEN_TEXT#115 ) + call bitmap_clear + to:main::@30 +main::@30: scope:[main] from main::@29 + rem16u#48 = phi( main::@29/rem16u#50 ) + CONIO_SCREEN_BANK#100 = phi( main::@29/CONIO_SCREEN_BANK#102 ) + rand_state#46 = phi( main::@29/rand_state#48 ) + CONIO_SCREEN_TEXT#109 = phi( main::@29/CONIO_SCREEN_TEXT#112 ) + gotoxy::x#4 = 0 + gotoxy::y#4 = $1d + call gotoxy + to:main::@31 +main::@31: scope:[main] from main::@30 + rem16u#46 = phi( main::@30/rem16u#48 ) + CONIO_SCREEN_BANK#96 = phi( main::@30/CONIO_SCREEN_BANK#100 ) + rand_state#44 = phi( main::@30/rand_state#46 ) + CONIO_SCREEN_TEXT#105 = phi( main::@30/CONIO_SCREEN_TEXT#109 ) + main::textcolor2_color#0 = YELLOW + to:main::textcolor2 +main::textcolor2: scope:[main] from main::@31 + rem16u#44 = phi( main::@31/rem16u#46 ) + CONIO_SCREEN_BANK#91 = phi( main::@31/CONIO_SCREEN_BANK#96 ) + rand_state#42 = phi( main::@31/rand_state#44 ) + CONIO_SCREEN_TEXT#99 = phi( main::@31/CONIO_SCREEN_TEXT#105 ) + main::textcolor2_color#1 = phi( main::@31/main::textcolor2_color#0 ) + vera_layer_set_textcolor::layer#2 = conio_screen_layer + vera_layer_set_textcolor::color#2 = main::textcolor2_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#4 = vera_layer_set_textcolor::return#1 + to:main::@32 +main::@32: scope:[main] from main::textcolor2 + rem16u#42 = phi( main::textcolor2/rem16u#44 ) + CONIO_SCREEN_BANK#84 = phi( main::textcolor2/CONIO_SCREEN_BANK#91 ) + rand_state#40 = phi( main::textcolor2/rand_state#42 ) + CONIO_SCREEN_TEXT#90 = phi( main::textcolor2/CONIO_SCREEN_TEXT#99 ) + to:main::@11 +main::@11: scope:[main] from main::@32 + rem16u#39 = phi( main::@32/rem16u#42 ) + CONIO_SCREEN_BANK#70 = phi( main::@32/CONIO_SCREEN_BANK#84 ) + rand_state#38 = phi( main::@32/rand_state#40 ) + CONIO_SCREEN_TEXT#73 = phi( main::@32/CONIO_SCREEN_TEXT#90 ) + cputs::s#5 = main::s4 + call cputs + to:main::@33 +main::@33: scope:[main] from main::@11 + CONIO_SCREEN_BANK#109 = phi( main::@11/CONIO_SCREEN_BANK#70 ) + CONIO_SCREEN_TEXT#113 = phi( main::@11/CONIO_SCREEN_TEXT#73 ) + rem16u#36 = phi( main::@11/rem16u#39 ) + rand_state#35 = phi( main::@11/rand_state#38 ) + to:main::@1 +main::@1: scope:[main] from main::@33 main::@44 + CONIO_SCREEN_BANK#107 = phi( main::@33/CONIO_SCREEN_BANK#109, main::@44/CONIO_SCREEN_BANK#110 ) + CONIO_SCREEN_TEXT#110 = phi( main::@33/CONIO_SCREEN_TEXT#113, main::@44/CONIO_SCREEN_TEXT#114 ) + rem16u#34 = phi( main::@33/rem16u#36, main::@44/rem16u#37 ) + rand_state#33 = phi( main::@33/rand_state#35, main::@44/rand_state#36 ) + call kbhit + kbhit::return#2 = kbhit::return#1 + to:main::@34 +main::@34: scope:[main] from main::@1 + CONIO_SCREEN_BANK#105 = phi( main::@1/CONIO_SCREEN_BANK#107 ) + CONIO_SCREEN_TEXT#106 = phi( main::@1/CONIO_SCREEN_TEXT#110 ) + rem16u#32 = phi( main::@1/rem16u#34 ) + rand_state#30 = phi( main::@1/rand_state#33 ) + kbhit::return#5 = phi( main::@1/kbhit::return#2 ) + main::$30 = kbhit::return#5 + main::$48 = 0 != main::$30 + main::$31 = ! main::$48 + if(main::$31) goto main::@2 + to:main::@3 +main::@2: scope:[main] from main::@34 + CONIO_SCREEN_BANK#120 = phi( main::@34/CONIO_SCREEN_BANK#105 ) + CONIO_SCREEN_TEXT#127 = phi( main::@34/CONIO_SCREEN_TEXT#106 ) + rem16u#29 = phi( main::@34/rem16u#32 ) + rand_state#23 = phi( main::@34/rand_state#30 ) + call rand + rand::return#2 = rand::return#1 + to:main::@35 +main::@35: scope:[main] from main::@2 + CONIO_SCREEN_BANK#119 = phi( main::@2/CONIO_SCREEN_BANK#120 ) + CONIO_SCREEN_TEXT#126 = phi( main::@2/CONIO_SCREEN_TEXT#127 ) + rem16u#23 = phi( main::@2/rem16u#29 ) + rand_state#15 = phi( main::@2/rand_state#3 ) + rand::return#8 = phi( main::@2/rand::return#2 ) + main::$32 = rand::return#8 + rand_state#4 = rand_state#15 + modr16u::dividend#0 = main::$32 + modr16u::divisor#0 = $140 + modr16u::rem#0 = 0 + call modr16u + modr16u::return#2 = modr16u::return#1 + to:main::@36 +main::@36: scope:[main] from main::@35 + CONIO_SCREEN_BANK#118 = phi( main::@35/CONIO_SCREEN_BANK#119 ) + CONIO_SCREEN_TEXT#125 = phi( main::@35/CONIO_SCREEN_TEXT#126 ) + rand_state#24 = phi( main::@35/rand_state#4 ) + rem16u#15 = phi( main::@35/rem16u#3 ) + modr16u::return#7 = phi( main::@35/modr16u::return#2 ) + main::$33 = modr16u::return#7 + rem16u#4 = rem16u#15 + call rand + rand::return#3 = rand::return#1 + to:main::@37 +main::@37: scope:[main] from main::@36 + CONIO_SCREEN_BANK#117 = phi( main::@36/CONIO_SCREEN_BANK#118 ) + CONIO_SCREEN_TEXT#124 = phi( main::@36/CONIO_SCREEN_TEXT#125 ) + rem16u#24 = phi( main::@36/rem16u#4 ) + rand_state#16 = phi( main::@36/rand_state#3 ) + rand::return#9 = phi( main::@36/rand::return#3 ) + main::$34 = rand::return#9 + rand_state#5 = rand_state#16 + modr16u::dividend#1 = main::$34 + modr16u::divisor#1 = $140 + modr16u::rem#1 = 0 + call modr16u + modr16u::return#3 = modr16u::return#1 + to:main::@38 +main::@38: scope:[main] from main::@37 + CONIO_SCREEN_BANK#116 = phi( main::@37/CONIO_SCREEN_BANK#117 ) + CONIO_SCREEN_TEXT#123 = phi( main::@37/CONIO_SCREEN_TEXT#124 ) + rand_state#25 = phi( main::@37/rand_state#5 ) + rem16u#16 = phi( main::@37/rem16u#3 ) + modr16u::return#8 = phi( main::@37/modr16u::return#3 ) + main::$35 = modr16u::return#8 + rem16u#5 = rem16u#16 + call rand + rand::return#4 = rand::return#1 + to:main::@39 +main::@39: scope:[main] from main::@38 + CONIO_SCREEN_BANK#115 = phi( main::@38/CONIO_SCREEN_BANK#116 ) + CONIO_SCREEN_TEXT#122 = phi( main::@38/CONIO_SCREEN_TEXT#123 ) + rem16u#25 = phi( main::@38/rem16u#5 ) + rand_state#17 = phi( main::@38/rand_state#3 ) + rand::return#10 = phi( main::@38/rand::return#4 ) + main::$36 = rand::return#10 + rand_state#6 = rand_state#17 + modr16u::dividend#2 = main::$36 + modr16u::divisor#2 = $c8 + modr16u::rem#2 = 0 + call modr16u + modr16u::return#4 = modr16u::return#1 + to:main::@40 +main::@40: scope:[main] from main::@39 + CONIO_SCREEN_BANK#114 = phi( main::@39/CONIO_SCREEN_BANK#115 ) + CONIO_SCREEN_TEXT#121 = phi( main::@39/CONIO_SCREEN_TEXT#122 ) + rand_state#26 = phi( main::@39/rand_state#6 ) + rem16u#17 = phi( main::@39/rem16u#3 ) + modr16u::return#9 = phi( main::@39/modr16u::return#4 ) + main::$37 = modr16u::return#9 + rem16u#6 = rem16u#17 + call rand + rand::return#5 = rand::return#1 + to:main::@41 +main::@41: scope:[main] from main::@40 + CONIO_SCREEN_BANK#113 = phi( main::@40/CONIO_SCREEN_BANK#114 ) + CONIO_SCREEN_TEXT#120 = phi( main::@40/CONIO_SCREEN_TEXT#121 ) + rem16u#26 = phi( main::@40/rem16u#6 ) + rand_state#18 = phi( main::@40/rand_state#3 ) + rand::return#11 = phi( main::@40/rand::return#5 ) + main::$38 = rand::return#11 + rand_state#7 = rand_state#18 + modr16u::dividend#3 = main::$38 + modr16u::divisor#3 = $c8 + modr16u::rem#3 = 0 + call modr16u + modr16u::return#5 = modr16u::return#1 + to:main::@42 +main::@42: scope:[main] from main::@41 + CONIO_SCREEN_BANK#112 = phi( main::@41/CONIO_SCREEN_BANK#113 ) + CONIO_SCREEN_TEXT#118 = phi( main::@41/CONIO_SCREEN_TEXT#120 ) + rand_state#27 = phi( main::@41/rand_state#7 ) + rem16u#18 = phi( main::@41/rem16u#3 ) + modr16u::return#10 = phi( main::@41/modr16u::return#5 ) + main::$39 = modr16u::return#10 + rem16u#7 = rem16u#18 + call rand + rand::return#6 = rand::return#1 + to:main::@43 +main::@43: scope:[main] from main::@42 + CONIO_SCREEN_BANK#111 = phi( main::@42/CONIO_SCREEN_BANK#112 ) + CONIO_SCREEN_TEXT#116 = phi( main::@42/CONIO_SCREEN_TEXT#118 ) + rem16u#40 = phi( main::@42/rem16u#7 ) + rand_state#19 = phi( main::@42/rand_state#3 ) + rand::return#12 = phi( main::@42/rand::return#6 ) + main::$40 = rand::return#12 + rand_state#8 = rand_state#19 + main::$41 = main::$40 & $ff + bitmap_line::x0#0 = main::$33 + bitmap_line::x1#0 = main::$35 + bitmap_line::y0#0 = main::$37 + bitmap_line::y1#0 = main::$39 + bitmap_line::c#0 = main::$41 + call bitmap_line + to:main::@44 +main::@44: scope:[main] from main::@43 + CONIO_SCREEN_BANK#110 = phi( main::@43/CONIO_SCREEN_BANK#111 ) + CONIO_SCREEN_TEXT#114 = phi( main::@43/CONIO_SCREEN_TEXT#116 ) + rem16u#37 = phi( main::@43/rem16u#40 ) + rand_state#36 = phi( main::@43/rand_state#8 ) + to:main::@1 +main::@3: scope:[main] from main::@34 + rem16u#84 = phi( main::@34/rem16u#32 ) + rand_state#84 = phi( main::@34/rand_state#30 ) + CONIO_SCREEN_BANK#103 = phi( main::@34/CONIO_SCREEN_BANK#105 ) + CONIO_SCREEN_TEXT#100 = phi( main::@34/CONIO_SCREEN_TEXT#106 ) + main::textcolor3_color#0 = WHITE + to:main::textcolor3 +main::textcolor3: scope:[main] from main::@3 + rem16u#82 = phi( main::@3/rem16u#84 ) + rand_state#82 = phi( main::@3/rand_state#84 ) + CONIO_SCREEN_BANK#101 = phi( main::@3/CONIO_SCREEN_BANK#103 ) + CONIO_SCREEN_TEXT#91 = phi( main::@3/CONIO_SCREEN_TEXT#100 ) + main::textcolor3_color#1 = phi( main::@3/main::textcolor3_color#0 ) + vera_layer_set_textcolor::layer#3 = conio_screen_layer + vera_layer_set_textcolor::color#3 = main::textcolor3_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#5 = vera_layer_set_textcolor::return#1 + to:main::@45 +main::@45: scope:[main] from main::textcolor3 + rem16u#80 = phi( main::textcolor3/rem16u#82 ) + rand_state#80 = phi( main::textcolor3/rand_state#82 ) + CONIO_SCREEN_BANK#97 = phi( main::textcolor3/CONIO_SCREEN_BANK#101 ) + CONIO_SCREEN_TEXT#82 = phi( main::textcolor3/CONIO_SCREEN_TEXT#91 ) + to:main::@12 +main::@12: scope:[main] from main::@45 + rem16u#78 = phi( main::@45/rem16u#80 ) + rand_state#78 = phi( main::@45/rand_state#80 ) + CONIO_SCREEN_BANK#92 = phi( main::@45/CONIO_SCREEN_BANK#97 ) + CONIO_SCREEN_TEXT#66 = phi( main::@45/CONIO_SCREEN_TEXT#82 ) + main::bgcolor2_color#0 = BLACK + to:main::bgcolor2 +main::bgcolor2: scope:[main] from main::@12 + rem16u#76 = phi( main::@12/rem16u#78 ) + rand_state#76 = phi( main::@12/rand_state#78 ) + CONIO_SCREEN_BANK#85 = phi( main::@12/CONIO_SCREEN_BANK#92 ) + CONIO_SCREEN_TEXT#56 = phi( main::@12/CONIO_SCREEN_TEXT#66 ) + main::bgcolor2_color#1 = phi( main::@12/main::bgcolor2_color#0 ) + vera_layer_set_backcolor::layer#2 = conio_screen_layer + vera_layer_set_backcolor::color#2 = main::bgcolor2_color#1 + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#4 = vera_layer_set_backcolor::return#1 + to:main::@46 +main::@46: scope:[main] from main::bgcolor2 + rem16u#74 = phi( main::bgcolor2/rem16u#76 ) + rand_state#74 = phi( main::bgcolor2/rand_state#76 ) + CONIO_SCREEN_BANK#78 = phi( main::bgcolor2/CONIO_SCREEN_BANK#85 ) + CONIO_SCREEN_TEXT#45 = phi( main::bgcolor2/CONIO_SCREEN_TEXT#56 ) + to:main::@13 +main::@13: scope:[main] from main::@46 + rem16u#72 = phi( main::@46/rem16u#74 ) + rand_state#72 = phi( main::@46/rand_state#74 ) + CONIO_SCREEN_BANK#61 = phi( main::@46/CONIO_SCREEN_BANK#78 ) + CONIO_SCREEN_TEXT#26 = phi( main::@46/CONIO_SCREEN_TEXT#45 ) + call clrscr + to:main::@47 +main::@47: scope:[main] from main::@13 + rem16u#70 = phi( main::@13/rem16u#72 ) + rand_state#70 = phi( main::@13/rand_state#72 ) + CONIO_SCREEN_BANK#86 = phi( main::@13/CONIO_SCREEN_BANK#61 ) + CONIO_SCREEN_TEXT#92 = phi( main::@13/CONIO_SCREEN_TEXT#26 ) + gotoxy::x#5 = 0 + gotoxy::y#5 = $1a + call gotoxy + to:main::@48 +main::@48: scope:[main] from main::@47 + rem16u#68 = phi( main::@47/rem16u#70 ) + rand_state#68 = phi( main::@47/rand_state#70 ) + CONIO_SCREEN_BANK#75 = phi( main::@47/CONIO_SCREEN_BANK#86 ) + CONIO_SCREEN_TEXT#79 = phi( main::@47/CONIO_SCREEN_TEXT#92 ) + cputs::s#6 = main::s5 + call cputs + to:main::@49 +main::@49: scope:[main] from main::@48 + rem16u#66 = phi( main::@48/rem16u#68 ) + rand_state#66 = phi( main::@48/rand_state#68 ) + CONIO_SCREEN_BANK#98 = phi( main::@48/CONIO_SCREEN_BANK#75 ) + CONIO_SCREEN_TEXT#111 = phi( main::@48/CONIO_SCREEN_TEXT#79 ) + gotoxy::x#6 = 0 + gotoxy::y#6 = $1d + call gotoxy + to:main::@50 +main::@50: scope:[main] from main::@49 + rem16u#64 = phi( main::@49/rem16u#66 ) + rand_state#64 = phi( main::@49/rand_state#66 ) + CONIO_SCREEN_BANK#93 = phi( main::@49/CONIO_SCREEN_BANK#98 ) + CONIO_SCREEN_TEXT#107 = phi( main::@49/CONIO_SCREEN_TEXT#111 ) + main::textcolor4_color#0 = YELLOW + to:main::textcolor4 +main::textcolor4: scope:[main] from main::@50 + rem16u#62 = phi( main::@50/rem16u#64 ) + rand_state#62 = phi( main::@50/rand_state#64 ) + CONIO_SCREEN_BANK#87 = phi( main::@50/CONIO_SCREEN_BANK#93 ) + CONIO_SCREEN_TEXT#101 = phi( main::@50/CONIO_SCREEN_TEXT#107 ) + main::textcolor4_color#1 = phi( main::@50/main::textcolor4_color#0 ) + vera_layer_set_textcolor::layer#4 = conio_screen_layer + vera_layer_set_textcolor::color#4 = main::textcolor4_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#6 = vera_layer_set_textcolor::return#1 + to:main::@51 +main::@51: scope:[main] from main::textcolor4 + rem16u#60 = phi( main::textcolor4/rem16u#62 ) + rand_state#60 = phi( main::textcolor4/rand_state#62 ) + CONIO_SCREEN_BANK#79 = phi( main::textcolor4/CONIO_SCREEN_BANK#87 ) + CONIO_SCREEN_TEXT#93 = phi( main::textcolor4/CONIO_SCREEN_TEXT#101 ) + to:main::@14 +main::@14: scope:[main] from main::@51 + rem16u#57 = phi( main::@51/rem16u#60 ) + rand_state#57 = phi( main::@51/rand_state#60 ) + CONIO_SCREEN_BANK#66 = phi( main::@51/CONIO_SCREEN_BANK#79 ) + CONIO_SCREEN_TEXT#74 = phi( main::@51/CONIO_SCREEN_TEXT#93 ) + cputs::s#7 = main::s6 + call cputs + to:main::@52 +main::@52: scope:[main] from main::@14 + rem16u#53 = phi( main::@14/rem16u#57 ) + rand_state#53 = phi( main::@14/rand_state#57 ) + CONIO_SCREEN_TEXT#67 = phi( main::@14/CONIO_SCREEN_TEXT#74 ) + CONIO_SCREEN_BANK#56 = phi( main::@14/CONIO_SCREEN_BANK#66 ) + main::x#0 = 0 + main::color#0 = 0 + to:main::@4 +main::@4: scope:[main] from main::@52 main::@54 main::@7 + rem16u#51 = phi( main::@52/rem16u#53, main::@54/rem16u#54, main::@7/rem16u#55 ) + rand_state#51 = phi( main::@52/rand_state#53, main::@54/rand_state#54, main::@7/rand_state#55 ) + CONIO_SCREEN_TEXT#57 = phi( main::@52/CONIO_SCREEN_TEXT#67, main::@54/CONIO_SCREEN_TEXT#68, main::@7/CONIO_SCREEN_TEXT#69 ) + CONIO_SCREEN_BANK#48 = phi( main::@52/CONIO_SCREEN_BANK#56, main::@54/CONIO_SCREEN_BANK#57, main::@7/CONIO_SCREEN_BANK#58 ) + main::color#5 = phi( main::@52/main::color#0, main::@54/main::color#1, main::@7/main::color#6 ) + main::x#6 = phi( main::@52/main::x#0, main::@54/main::x#1, main::@7/main::x#2 ) + call kbhit + kbhit::return#3 = kbhit::return#1 + to:main::@53 +main::@53: scope:[main] from main::@4 + rem16u#49 = phi( main::@4/rem16u#51 ) + rand_state#49 = phi( main::@4/rand_state#51 ) + CONIO_SCREEN_TEXT#46 = phi( main::@4/CONIO_SCREEN_TEXT#57 ) + CONIO_SCREEN_BANK#38 = phi( main::@4/CONIO_SCREEN_BANK#48 ) + main::color#4 = phi( main::@4/main::color#5 ) + main::x#5 = phi( main::@4/main::x#6 ) + kbhit::return#6 = phi( main::@4/kbhit::return#3 ) + main::$43 = kbhit::return#6 + main::$49 = 0 != main::$43 + main::$44 = ! main::$49 + if(main::$44) goto main::@5 + to:main::@6 +main::@5: scope:[main] from main::@53 + rem16u#58 = phi( main::@53/rem16u#49 ) + rand_state#58 = phi( main::@53/rand_state#49 ) + CONIO_SCREEN_TEXT#83 = phi( main::@53/CONIO_SCREEN_TEXT#46 ) + CONIO_SCREEN_BANK#67 = phi( main::@53/CONIO_SCREEN_BANK#38 ) + main::color#2 = phi( main::@53/main::color#4 ) + main::x#3 = phi( main::@53/main::x#5 ) + bitmap_line::x0#1 = main::x#3 + bitmap_line::x1#1 = main::x#3 + bitmap_line::y0#1 = 0 + bitmap_line::y1#1 = $c7 + bitmap_line::c#1 = main::color#2 + call bitmap_line + to:main::@54 +main::@54: scope:[main] from main::@5 + rem16u#54 = phi( main::@5/rem16u#58 ) + rand_state#54 = phi( main::@5/rand_state#58 ) + CONIO_SCREEN_TEXT#68 = phi( main::@5/CONIO_SCREEN_TEXT#83 ) + CONIO_SCREEN_BANK#57 = phi( main::@5/CONIO_SCREEN_BANK#67 ) + main::x#4 = phi( main::@5/main::x#3 ) + main::color#3 = phi( main::@5/main::color#2 ) + main::color#1 = ++ main::color#3 + main::x#1 = ++ main::x#4 + main::$46 = main::x#1 > $13f + main::$47 = ! main::$46 + if(main::$47) goto main::@4 + to:main::@7 +main::@6: scope:[main] from main::@53 + rem16u#47 = phi( main::@53/rem16u#49 ) + rand_state#47 = phi( main::@53/rand_state#49 ) + CONIO_SCREEN_TEXT#34 = phi( main::@53/CONIO_SCREEN_TEXT#46 ) + CONIO_SCREEN_BANK#28 = phi( main::@53/CONIO_SCREEN_BANK#38 ) + screenlayer::layer#2 = 1 + call screenlayer + to:main::@55 +main::@55: scope:[main] from main::@6 + rem16u#45 = phi( main::@6/rem16u#47 ) + rand_state#45 = phi( main::@6/rand_state#47 ) + CONIO_SCREEN_TEXT#19 = phi( main::@6/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#17 = phi( main::@6/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#5 = CONIO_SCREEN_BANK#17 + CONIO_SCREEN_TEXT#5 = CONIO_SCREEN_TEXT#19 + main::textcolor5_color#0 = WHITE + to:main::textcolor5 +main::textcolor5: scope:[main] from main::@55 + rem16u#43 = phi( main::@55/rem16u#45 ) + rand_state#43 = phi( main::@55/rand_state#45 ) + CONIO_SCREEN_BANK#88 = phi( main::@55/CONIO_SCREEN_BANK#5 ) + CONIO_SCREEN_TEXT#94 = phi( main::@55/CONIO_SCREEN_TEXT#5 ) + main::textcolor5_color#1 = phi( main::@55/main::textcolor5_color#0 ) + vera_layer_set_textcolor::layer#5 = conio_screen_layer + vera_layer_set_textcolor::color#5 = main::textcolor5_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#7 = vera_layer_set_textcolor::return#1 + to:main::@56 +main::@56: scope:[main] from main::textcolor5 + rem16u#41 = phi( main::textcolor5/rem16u#43 ) + rand_state#41 = phi( main::textcolor5/rand_state#43 ) + CONIO_SCREEN_BANK#80 = phi( main::textcolor5/CONIO_SCREEN_BANK#88 ) + CONIO_SCREEN_TEXT#84 = phi( main::textcolor5/CONIO_SCREEN_TEXT#94 ) + to:main::@15 +main::@15: scope:[main] from main::@56 + rem16u#38 = phi( main::@56/rem16u#41 ) + rand_state#39 = phi( main::@56/rand_state#41 ) + CONIO_SCREEN_BANK#68 = phi( main::@56/CONIO_SCREEN_BANK#80 ) + CONIO_SCREEN_TEXT#70 = phi( main::@56/CONIO_SCREEN_TEXT#84 ) + main::bgcolor3_color#0 = BLUE + to:main::bgcolor3 +main::bgcolor3: scope:[main] from main::@15 + rem16u#35 = phi( main::@15/rem16u#38 ) + rand_state#37 = phi( main::@15/rand_state#39 ) + CONIO_SCREEN_BANK#59 = phi( main::@15/CONIO_SCREEN_BANK#68 ) + CONIO_SCREEN_TEXT#58 = phi( main::@15/CONIO_SCREEN_TEXT#70 ) + main::bgcolor3_color#1 = phi( main::@15/main::bgcolor3_color#0 ) + vera_layer_set_backcolor::layer#3 = conio_screen_layer + vera_layer_set_backcolor::color#3 = main::bgcolor3_color#1 + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#5 = vera_layer_set_backcolor::return#1 + to:main::@57 +main::@57: scope:[main] from main::bgcolor3 + rem16u#33 = phi( main::bgcolor3/rem16u#35 ) + rand_state#34 = phi( main::bgcolor3/rand_state#37 ) + CONIO_SCREEN_BANK#49 = phi( main::bgcolor3/CONIO_SCREEN_BANK#59 ) + CONIO_SCREEN_TEXT#47 = phi( main::bgcolor3/CONIO_SCREEN_TEXT#58 ) + to:main::@16 +main::@16: scope:[main] from main::@57 + rem16u#30 = phi( main::@57/rem16u#33 ) + rand_state#31 = phi( main::@57/rand_state#34 ) + CONIO_SCREEN_BANK#39 = phi( main::@57/CONIO_SCREEN_BANK#49 ) + CONIO_SCREEN_TEXT#27 = phi( main::@57/CONIO_SCREEN_TEXT#47 ) + call clrscr + to:main::@58 +main::@58: scope:[main] from main::@16 + rem16u#27 = phi( main::@16/rem16u#30 ) + rand_state#28 = phi( main::@16/rand_state#31 ) + CONIO_SCREEN_TEXT#35 = phi( main::@16/CONIO_SCREEN_TEXT#27 ) + CONIO_SCREEN_BANK#29 = phi( main::@16/CONIO_SCREEN_BANK#39 ) + to:main::@return +main::@7: scope:[main] from main::@54 + rem16u#55 = phi( main::@54/rem16u#54 ) + rand_state#55 = phi( main::@54/rand_state#54 ) + CONIO_SCREEN_TEXT#69 = phi( main::@54/CONIO_SCREEN_TEXT#68 ) + CONIO_SCREEN_BANK#58 = phi( main::@54/CONIO_SCREEN_BANK#57 ) + main::color#6 = phi( main::@54/main::color#1 ) + main::x#2 = 0 + to:main::@4 +main::@return: scope:[main] from main::@58 + rem16u#19 = phi( main::@58/rem16u#27 ) + rand_state#20 = phi( main::@58/rand_state#28 ) + CONIO_SCREEN_TEXT#20 = phi( main::@58/CONIO_SCREEN_TEXT#35 ) + CONIO_SCREEN_BANK#18 = phi( main::@58/CONIO_SCREEN_BANK#29 ) + CONIO_SCREEN_BANK#6 = CONIO_SCREEN_BANK#18 + CONIO_SCREEN_TEXT#6 = CONIO_SCREEN_TEXT#20 + rand_state#9 = rand_state#20 + rem16u#8 = rem16u#19 + return + to:@return + +void __start() +__start: scope:[__start] from + to:__start::__init1 +__start::__init1: scope:[__start] from __start + CONIO_SCREEN_TEXT#7 = DEFAULT_SCREEN + CONIO_SCREEN_BANK#7 = 0 + conio_screen_width = 0 + conio_screen_height = 0 + conio_screen_layer = 1 + conio_width = 0 + conio_height = 0 + conio_rowshift = 0 + conio_rowskip = 0 + rand_state#10 = 1 + __bitmap_address = 0 + __bitmap_layer = 0 + __bitmap_hscale = 0 + __bitmap_vscale = 0 + __bitmap_color_depth = 0 + rem16u#9 = 0 + call conio_x16_init + to:__start::@2 +__start::@2: scope:[__start] from __start::__init1 + rem16u#31 = phi( __start::__init1/rem16u#9 ) + rand_state#32 = phi( __start::__init1/rand_state#10 ) + CONIO_SCREEN_TEXT#21 = phi( __start::__init1/CONIO_SCREEN_TEXT#1 ) + CONIO_SCREEN_BANK#19 = phi( __start::__init1/CONIO_SCREEN_BANK#1 ) + CONIO_SCREEN_BANK#8 = CONIO_SCREEN_BANK#19 + CONIO_SCREEN_TEXT#8 = CONIO_SCREEN_TEXT#21 + to:__start::@1 +__start::@1: scope:[__start] from __start::@2 + rem16u#28 = phi( __start::@2/rem16u#31 ) + rand_state#29 = phi( __start::@2/rand_state#32 ) + CONIO_SCREEN_TEXT#36 = phi( __start::@2/CONIO_SCREEN_TEXT#8 ) + CONIO_SCREEN_BANK#30 = phi( __start::@2/CONIO_SCREEN_BANK#8 ) + call main + to:__start::@3 +__start::@3: scope:[__start] from __start::@1 + rem16u#20 = phi( __start::@1/rem16u#8 ) + rand_state#21 = phi( __start::@1/rand_state#9 ) + CONIO_SCREEN_TEXT#22 = phi( __start::@1/CONIO_SCREEN_TEXT#6 ) + CONIO_SCREEN_BANK#20 = phi( __start::@1/CONIO_SCREEN_BANK#6 ) + CONIO_SCREEN_BANK#9 = CONIO_SCREEN_BANK#20 + CONIO_SCREEN_TEXT#9 = CONIO_SCREEN_TEXT#22 + rand_state#11 = rand_state#21 + rem16u#10 = rem16u#20 + to:__start::@return +__start::@return: scope:[__start] from __start::@3 + rem16u#21 = phi( __start::@3/rem16u#10 ) + rand_state#22 = phi( __start::@3/rand_state#11 ) + CONIO_SCREEN_BANK#21 = phi( __start::@3/CONIO_SCREEN_BANK#9 ) + CONIO_SCREEN_TEXT#23 = phi( __start::@3/CONIO_SCREEN_TEXT#9 ) + CONIO_SCREEN_TEXT#10 = CONIO_SCREEN_TEXT#23 + CONIO_SCREEN_BANK#10 = CONIO_SCREEN_BANK#21 + rand_state#12 = rand_state#22 + rem16u#11 = rem16u#21 + return + to:@return + +SYMBOL TABLE SSA +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#0 +byte CONIO_SCREEN_BANK#1 +byte CONIO_SCREEN_BANK#10 +byte CONIO_SCREEN_BANK#100 +byte CONIO_SCREEN_BANK#101 +byte CONIO_SCREEN_BANK#102 +byte CONIO_SCREEN_BANK#103 +byte CONIO_SCREEN_BANK#104 +byte CONIO_SCREEN_BANK#105 +byte CONIO_SCREEN_BANK#106 +byte CONIO_SCREEN_BANK#107 +byte CONIO_SCREEN_BANK#108 +byte CONIO_SCREEN_BANK#109 +byte CONIO_SCREEN_BANK#11 +byte CONIO_SCREEN_BANK#110 +byte CONIO_SCREEN_BANK#111 +byte CONIO_SCREEN_BANK#112 +byte CONIO_SCREEN_BANK#113 +byte CONIO_SCREEN_BANK#114 +byte CONIO_SCREEN_BANK#115 +byte CONIO_SCREEN_BANK#116 +byte CONIO_SCREEN_BANK#117 +byte CONIO_SCREEN_BANK#118 +byte CONIO_SCREEN_BANK#119 +byte CONIO_SCREEN_BANK#12 +byte CONIO_SCREEN_BANK#120 +byte CONIO_SCREEN_BANK#13 +byte CONIO_SCREEN_BANK#14 +byte CONIO_SCREEN_BANK#15 +byte CONIO_SCREEN_BANK#16 +byte CONIO_SCREEN_BANK#17 +byte CONIO_SCREEN_BANK#18 +byte CONIO_SCREEN_BANK#19 +byte CONIO_SCREEN_BANK#2 +byte CONIO_SCREEN_BANK#20 +byte CONIO_SCREEN_BANK#21 +byte CONIO_SCREEN_BANK#22 +byte CONIO_SCREEN_BANK#23 +byte CONIO_SCREEN_BANK#24 +byte CONIO_SCREEN_BANK#25 +byte CONIO_SCREEN_BANK#26 +byte CONIO_SCREEN_BANK#27 +byte CONIO_SCREEN_BANK#28 +byte CONIO_SCREEN_BANK#29 +byte CONIO_SCREEN_BANK#3 +byte CONIO_SCREEN_BANK#30 +byte CONIO_SCREEN_BANK#31 +byte CONIO_SCREEN_BANK#32 +byte CONIO_SCREEN_BANK#33 +byte CONIO_SCREEN_BANK#34 +byte CONIO_SCREEN_BANK#35 +byte CONIO_SCREEN_BANK#36 +byte CONIO_SCREEN_BANK#37 +byte CONIO_SCREEN_BANK#38 +byte CONIO_SCREEN_BANK#39 +byte CONIO_SCREEN_BANK#4 +byte CONIO_SCREEN_BANK#40 +byte CONIO_SCREEN_BANK#41 +byte CONIO_SCREEN_BANK#42 +byte CONIO_SCREEN_BANK#43 +byte CONIO_SCREEN_BANK#44 +byte CONIO_SCREEN_BANK#45 +byte CONIO_SCREEN_BANK#46 +byte CONIO_SCREEN_BANK#47 +byte CONIO_SCREEN_BANK#48 +byte CONIO_SCREEN_BANK#49 +byte CONIO_SCREEN_BANK#5 +byte CONIO_SCREEN_BANK#50 +byte CONIO_SCREEN_BANK#51 +byte CONIO_SCREEN_BANK#52 +byte CONIO_SCREEN_BANK#53 +byte CONIO_SCREEN_BANK#54 +byte CONIO_SCREEN_BANK#55 +byte CONIO_SCREEN_BANK#56 +byte CONIO_SCREEN_BANK#57 +byte CONIO_SCREEN_BANK#58 +byte CONIO_SCREEN_BANK#59 +byte CONIO_SCREEN_BANK#6 +byte CONIO_SCREEN_BANK#60 +byte CONIO_SCREEN_BANK#61 +byte CONIO_SCREEN_BANK#62 +byte CONIO_SCREEN_BANK#63 +byte CONIO_SCREEN_BANK#64 +byte CONIO_SCREEN_BANK#65 +byte CONIO_SCREEN_BANK#66 +byte CONIO_SCREEN_BANK#67 +byte CONIO_SCREEN_BANK#68 +byte CONIO_SCREEN_BANK#69 +byte CONIO_SCREEN_BANK#7 +byte CONIO_SCREEN_BANK#70 +byte CONIO_SCREEN_BANK#71 +byte CONIO_SCREEN_BANK#72 +byte CONIO_SCREEN_BANK#73 +byte CONIO_SCREEN_BANK#74 +byte CONIO_SCREEN_BANK#75 +byte CONIO_SCREEN_BANK#76 +byte CONIO_SCREEN_BANK#77 +byte CONIO_SCREEN_BANK#78 +byte CONIO_SCREEN_BANK#79 +byte CONIO_SCREEN_BANK#8 +byte CONIO_SCREEN_BANK#80 +byte CONIO_SCREEN_BANK#81 +byte CONIO_SCREEN_BANK#82 +byte CONIO_SCREEN_BANK#83 +byte CONIO_SCREEN_BANK#84 +byte CONIO_SCREEN_BANK#85 +byte CONIO_SCREEN_BANK#86 +byte CONIO_SCREEN_BANK#87 +byte CONIO_SCREEN_BANK#88 +byte CONIO_SCREEN_BANK#89 +byte CONIO_SCREEN_BANK#9 +byte CONIO_SCREEN_BANK#90 +byte CONIO_SCREEN_BANK#91 +byte CONIO_SCREEN_BANK#92 +byte CONIO_SCREEN_BANK#93 +byte CONIO_SCREEN_BANK#94 +byte CONIO_SCREEN_BANK#95 +byte CONIO_SCREEN_BANK#96 +byte CONIO_SCREEN_BANK#97 +byte CONIO_SCREEN_BANK#98 +byte CONIO_SCREEN_BANK#99 +byte* CONIO_SCREEN_TEXT +byte* CONIO_SCREEN_TEXT#0 +byte* CONIO_SCREEN_TEXT#1 +byte* CONIO_SCREEN_TEXT#10 +byte* CONIO_SCREEN_TEXT#100 +byte* CONIO_SCREEN_TEXT#101 +byte* CONIO_SCREEN_TEXT#102 +byte* CONIO_SCREEN_TEXT#103 +byte* CONIO_SCREEN_TEXT#104 +byte* CONIO_SCREEN_TEXT#105 +byte* CONIO_SCREEN_TEXT#106 +byte* CONIO_SCREEN_TEXT#107 +byte* CONIO_SCREEN_TEXT#108 +byte* CONIO_SCREEN_TEXT#109 +byte* CONIO_SCREEN_TEXT#11 +byte* CONIO_SCREEN_TEXT#110 +byte* CONIO_SCREEN_TEXT#111 +byte* CONIO_SCREEN_TEXT#112 +byte* CONIO_SCREEN_TEXT#113 +byte* CONIO_SCREEN_TEXT#114 +byte* CONIO_SCREEN_TEXT#115 +byte* CONIO_SCREEN_TEXT#116 +byte* CONIO_SCREEN_TEXT#117 +byte* CONIO_SCREEN_TEXT#118 +byte* CONIO_SCREEN_TEXT#119 +byte* CONIO_SCREEN_TEXT#12 +byte* CONIO_SCREEN_TEXT#120 +byte* CONIO_SCREEN_TEXT#121 +byte* CONIO_SCREEN_TEXT#122 +byte* CONIO_SCREEN_TEXT#123 +byte* CONIO_SCREEN_TEXT#124 +byte* CONIO_SCREEN_TEXT#125 +byte* CONIO_SCREEN_TEXT#126 +byte* CONIO_SCREEN_TEXT#127 +byte* CONIO_SCREEN_TEXT#13 +byte* CONIO_SCREEN_TEXT#14 +byte* CONIO_SCREEN_TEXT#15 +byte* CONIO_SCREEN_TEXT#16 +byte* CONIO_SCREEN_TEXT#17 +byte* CONIO_SCREEN_TEXT#18 +byte* CONIO_SCREEN_TEXT#19 +byte* CONIO_SCREEN_TEXT#2 +byte* CONIO_SCREEN_TEXT#20 +byte* CONIO_SCREEN_TEXT#21 +byte* CONIO_SCREEN_TEXT#22 +byte* CONIO_SCREEN_TEXT#23 +byte* CONIO_SCREEN_TEXT#24 +byte* CONIO_SCREEN_TEXT#25 +byte* CONIO_SCREEN_TEXT#26 +byte* CONIO_SCREEN_TEXT#27 +byte* CONIO_SCREEN_TEXT#28 +byte* CONIO_SCREEN_TEXT#29 +byte* CONIO_SCREEN_TEXT#3 +byte* CONIO_SCREEN_TEXT#30 +byte* CONIO_SCREEN_TEXT#31 +byte* CONIO_SCREEN_TEXT#32 +byte* CONIO_SCREEN_TEXT#33 +byte* CONIO_SCREEN_TEXT#34 +byte* CONIO_SCREEN_TEXT#35 +byte* CONIO_SCREEN_TEXT#36 +byte* CONIO_SCREEN_TEXT#37 +byte* CONIO_SCREEN_TEXT#38 +byte* CONIO_SCREEN_TEXT#39 +byte* CONIO_SCREEN_TEXT#4 +byte* CONIO_SCREEN_TEXT#40 +byte* CONIO_SCREEN_TEXT#41 +byte* CONIO_SCREEN_TEXT#42 +byte* CONIO_SCREEN_TEXT#43 +byte* CONIO_SCREEN_TEXT#44 +byte* CONIO_SCREEN_TEXT#45 +byte* CONIO_SCREEN_TEXT#46 +byte* CONIO_SCREEN_TEXT#47 +byte* CONIO_SCREEN_TEXT#48 +byte* CONIO_SCREEN_TEXT#49 +byte* CONIO_SCREEN_TEXT#5 +byte* CONIO_SCREEN_TEXT#50 +byte* CONIO_SCREEN_TEXT#51 +byte* CONIO_SCREEN_TEXT#52 +byte* CONIO_SCREEN_TEXT#53 +byte* CONIO_SCREEN_TEXT#54 +byte* CONIO_SCREEN_TEXT#55 +byte* CONIO_SCREEN_TEXT#56 +byte* CONIO_SCREEN_TEXT#57 +byte* CONIO_SCREEN_TEXT#58 +byte* CONIO_SCREEN_TEXT#59 +byte* CONIO_SCREEN_TEXT#6 +byte* CONIO_SCREEN_TEXT#60 +byte* CONIO_SCREEN_TEXT#61 +byte* CONIO_SCREEN_TEXT#62 +byte* CONIO_SCREEN_TEXT#63 +byte* CONIO_SCREEN_TEXT#64 +byte* CONIO_SCREEN_TEXT#65 +byte* CONIO_SCREEN_TEXT#66 +byte* CONIO_SCREEN_TEXT#67 +byte* CONIO_SCREEN_TEXT#68 +byte* CONIO_SCREEN_TEXT#69 +byte* CONIO_SCREEN_TEXT#7 +byte* CONIO_SCREEN_TEXT#70 +byte* CONIO_SCREEN_TEXT#71 +byte* CONIO_SCREEN_TEXT#72 +byte* CONIO_SCREEN_TEXT#73 +byte* CONIO_SCREEN_TEXT#74 +byte* CONIO_SCREEN_TEXT#75 +byte* CONIO_SCREEN_TEXT#76 +byte* CONIO_SCREEN_TEXT#77 +byte* CONIO_SCREEN_TEXT#78 +byte* CONIO_SCREEN_TEXT#79 +byte* CONIO_SCREEN_TEXT#8 +byte* CONIO_SCREEN_TEXT#80 +byte* CONIO_SCREEN_TEXT#81 +byte* CONIO_SCREEN_TEXT#82 +byte* CONIO_SCREEN_TEXT#83 +byte* CONIO_SCREEN_TEXT#84 +byte* CONIO_SCREEN_TEXT#85 +byte* CONIO_SCREEN_TEXT#86 +byte* CONIO_SCREEN_TEXT#87 +byte* CONIO_SCREEN_TEXT#88 +byte* CONIO_SCREEN_TEXT#89 +byte* CONIO_SCREEN_TEXT#9 +byte* CONIO_SCREEN_TEXT#90 +byte* CONIO_SCREEN_TEXT#91 +byte* CONIO_SCREEN_TEXT#92 +byte* CONIO_SCREEN_TEXT#93 +byte* CONIO_SCREEN_TEXT#94 +byte* CONIO_SCREEN_TEXT#95 +byte* CONIO_SCREEN_TEXT#96 +byte* CONIO_SCREEN_TEXT#97 +byte* CONIO_SCREEN_TEXT#98 +byte* CONIO_SCREEN_TEXT#99 +const nomodify byte* DEFAULT_SCREEN = (byte*)0 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_DWORD = 4 +const byte SIZEOF_POINTER = 2 +const byte SIZEOF_WORD = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*)$9f22 +const nomodify byte* VERA_ADDRX_L = (byte*)$9f20 +const nomodify byte* VERA_ADDRX_M = (byte*)$9f21 +const nomodify byte* VERA_CTRL = (byte*)$9f25 +const nomodify byte* VERA_DATA0 = (byte*)$9f23 +const nomodify byte* VERA_DATA1 = (byte*)$9f24 +const nomodify byte* VERA_DC_HSCALE = (byte*)$9f2a +const nomodify byte* VERA_DC_VIDEO = (byte*)$9f29 +const nomodify byte* VERA_DC_VSCALE = (byte*)$9f2b +const nomodify byte VERA_INC_0 = 0 +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*)$9f2d +const nomodify byte* VERA_L0_MAPBASE = (byte*)$9f2e +const nomodify byte* VERA_L0_TILEBASE = (byte*)$9f2f +const nomodify byte* VERA_L1_CONFIG = (byte*)$9f34 +const nomodify byte* VERA_L1_MAPBASE = (byte*)$9f35 +const nomodify byte* VERA_L1_TILEBASE = (byte*)$9f36 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_2BPP = 1 +const nomodify byte VERA_LAYER_COLOR_DEPTH_4BPP = 2 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_COLOR_DEPTH_MASK = 3 +const nomodify byte VERA_LAYER_CONFIG_16C = 0 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const nomodify byte VERA_LAYER_CONFIG_MODE_BITMAP = 4 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_32 = 0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_32 = 0 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_HEIGHT_8 = 0 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte VERA_TILEBASE_WIDTH_8 = 0 +const nomodify byte WHITE = 1 +const nomodify byte YELLOW = 7 +dword __bitmap_address loadstore +byte __bitmap_color_depth loadstore +byte __bitmap_hscale loadstore +byte __bitmap_layer loadstore +const to_nomodify byte* __bitmap_plot_bitmask[$280] = { fill( $280, 0) } +const to_nomodify byte* __bitmap_plot_bitshift[$280] = { fill( $280, 0) } +const to_nomodify word* __bitmap_plot_x[$280] = { fill( $280, 0) } +const to_nomodify dword* __bitmap_plot_y[$1e0] = { fill( $1e0, 0) } +byte __bitmap_vscale loadstore +void __start() +void bitmap_clear() +byte~ bitmap_clear::$0 +byte~ bitmap_clear::$1 +dword~ bitmap_clear::$2 +word~ bitmap_clear::$3 +byte~ bitmap_clear::$4 +word~ bitmap_clear::$5 +byte~ bitmap_clear::$7 +byte~ bitmap_clear::$8 +dword bitmap_clear::count +dword bitmap_clear::count#0 +word bitmap_clear::hdelta +word bitmap_clear::hdelta#0 +byte bitmap_clear::vbank +byte bitmap_clear::vbank#0 +word bitmap_clear::vdelta +word bitmap_clear::vdelta#0 +void* bitmap_clear::vdest +void* bitmap_clear::vdest#0 +void bitmap_init(byte bitmap_init::layer , dword bitmap_init::address) +byte~ bitmap_init::$0 +byte~ bitmap_init::$1 +word~ bitmap_init::$10 +bool~ bitmap_init::$11 +bool~ bitmap_init::$12 +word~ bitmap_init::$13 +bool~ bitmap_init::$14 +bool~ bitmap_init::$15 +bool~ bitmap_init::$16 +bool~ bitmap_init::$17 +bool~ bitmap_init::$18 +bool~ bitmap_init::$19 +byte~ bitmap_init::$2 +bool~ bitmap_init::$20 +dword~ bitmap_init::$21 +bool~ bitmap_init::$22 +word~ bitmap_init::$23 +word~ bitmap_init::$24 +word~ bitmap_init::$25 +word~ bitmap_init::$26 +byte~ bitmap_init::$27 +word~ bitmap_init::$28 +byte~ bitmap_init::$3 +byte~ bitmap_init::$4 +bool~ bitmap_init::$5 +bool~ bitmap_init::$6 +word~ bitmap_init::$7 +bool~ bitmap_init::$8 +bool~ bitmap_init::$9 +dword bitmap_init::address +dword bitmap_init::address#0 +dword bitmap_init::address#1 +byte bitmap_init::bitmask +byte bitmap_init::bitmask#0 +byte bitmap_init::bitmask#1 +byte bitmap_init::bitmask#10 +byte bitmap_init::bitmask#11 +byte bitmap_init::bitmask#12 +byte bitmap_init::bitmask#13 +byte bitmap_init::bitmask#14 +byte bitmap_init::bitmask#15 +byte bitmap_init::bitmask#16 +byte bitmap_init::bitmask#2 +byte bitmap_init::bitmask#3 +byte bitmap_init::bitmask#4 +byte bitmap_init::bitmask#5 +byte bitmap_init::bitmask#6 +byte bitmap_init::bitmask#7 +byte bitmap_init::bitmask#8 +byte bitmap_init::bitmask#9 +signed byte bitmap_init::bitshift +signed byte bitmap_init::bitshift#0 +signed byte bitmap_init::bitshift#1 +signed byte bitmap_init::bitshift#10 +signed byte bitmap_init::bitshift#11 +signed byte bitmap_init::bitshift#12 +signed byte bitmap_init::bitshift#13 +signed byte bitmap_init::bitshift#14 +signed byte bitmap_init::bitshift#15 +signed byte bitmap_init::bitshift#16 +signed byte bitmap_init::bitshift#2 +signed byte bitmap_init::bitshift#3 +signed byte bitmap_init::bitshift#4 +signed byte bitmap_init::bitshift#5 +signed byte bitmap_init::bitshift#6 +signed byte bitmap_init::bitshift#7 +signed byte bitmap_init::bitshift#8 +signed byte bitmap_init::bitshift#9 +word bitmap_init::hdelta +word bitmap_init::hdelta#0 +word bitmap_init::hdelta#1 +byte bitmap_init::layer +byte bitmap_init::layer#0 +byte bitmap_init::layer#1 +byte~ bitmap_init::vera_layer_get_color_depth1_$0 +byte~ bitmap_init::vera_layer_get_color_depth1_$1 +byte* bitmap_init::vera_layer_get_color_depth1_config +byte* bitmap_init::vera_layer_get_color_depth1_config#0 +byte bitmap_init::vera_layer_get_color_depth1_layer +byte bitmap_init::vera_layer_get_color_depth1_layer#0 +byte bitmap_init::vera_layer_get_color_depth1_layer#1 +byte bitmap_init::vera_layer_get_color_depth1_return +byte bitmap_init::vera_layer_get_color_depth1_return#0 +byte bitmap_init::vera_layer_get_color_depth1_return#1 +byte bitmap_init::vera_layer_get_color_depth1_return#2 +byte bitmap_init::vera_layer_get_color_depth1_return#3 +word bitmap_init::x +word bitmap_init::x#0 +word bitmap_init::x#1 +word bitmap_init::x#10 +word bitmap_init::x#11 +word bitmap_init::x#12 +word bitmap_init::x#13 +word bitmap_init::x#14 +word bitmap_init::x#2 +word bitmap_init::x#3 +word bitmap_init::x#4 +word bitmap_init::x#5 +word bitmap_init::x#6 +word bitmap_init::x#7 +word bitmap_init::x#8 +word bitmap_init::x#9 +word bitmap_init::y +word bitmap_init::y#0 +word bitmap_init::y#1 +word bitmap_init::y#2 +dword bitmap_init::yoffs +dword bitmap_init::yoffs#0 +dword bitmap_init::yoffs#1 +dword bitmap_init::yoffs#2 +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +bool~ bitmap_line::$0 +word~ bitmap_line::$1 +word~ bitmap_line::$11 +bool~ bitmap_line::$12 +word~ bitmap_line::$13 +bool~ bitmap_line::$14 +word~ bitmap_line::$17 +bool~ bitmap_line::$18 +bool~ bitmap_line::$2 +word~ bitmap_line::$3 +bool~ bitmap_line::$4 +word~ bitmap_line::$7 +bool~ bitmap_line::$8 +byte bitmap_line::c +byte bitmap_line::c#0 +byte bitmap_line::c#1 +byte bitmap_line::c#10 +byte bitmap_line::c#11 +byte bitmap_line::c#12 +byte bitmap_line::c#13 +byte bitmap_line::c#14 +byte bitmap_line::c#15 +byte bitmap_line::c#16 +byte bitmap_line::c#2 +byte bitmap_line::c#3 +byte bitmap_line::c#4 +byte bitmap_line::c#5 +byte bitmap_line::c#6 +byte bitmap_line::c#7 +byte bitmap_line::c#8 +byte bitmap_line::c#9 +word bitmap_line::x0 +word bitmap_line::x0#0 +word bitmap_line::x0#1 +word bitmap_line::x0#10 +word bitmap_line::x0#11 +word bitmap_line::x0#12 +word bitmap_line::x0#13 +word bitmap_line::x0#14 +word bitmap_line::x0#2 +word bitmap_line::x0#3 +word bitmap_line::x0#4 +word bitmap_line::x0#5 +word bitmap_line::x0#6 +word bitmap_line::x0#7 +word bitmap_line::x0#8 +word bitmap_line::x0#9 +word bitmap_line::x1 +word bitmap_line::x1#0 +word bitmap_line::x1#1 +word bitmap_line::x1#10 +word bitmap_line::x1#11 +word bitmap_line::x1#12 +word bitmap_line::x1#13 +word bitmap_line::x1#14 +word bitmap_line::x1#2 +word bitmap_line::x1#3 +word bitmap_line::x1#4 +word bitmap_line::x1#5 +word bitmap_line::x1#6 +word bitmap_line::x1#7 +word bitmap_line::x1#8 +word bitmap_line::x1#9 +word bitmap_line::xd +word bitmap_line::xd#0 +word bitmap_line::xd#1 +word bitmap_line::xd#10 +word bitmap_line::xd#11 +word bitmap_line::xd#12 +word bitmap_line::xd#13 +word bitmap_line::xd#14 +word bitmap_line::xd#2 +word bitmap_line::xd#3 +word bitmap_line::xd#4 +word bitmap_line::xd#5 +word bitmap_line::xd#6 +word bitmap_line::xd#7 +word bitmap_line::xd#8 +word bitmap_line::xd#9 +word bitmap_line::y0 +word bitmap_line::y0#0 +word bitmap_line::y0#1 +word bitmap_line::y0#10 +word bitmap_line::y0#11 +word bitmap_line::y0#12 +word bitmap_line::y0#13 +word bitmap_line::y0#14 +word bitmap_line::y0#2 +word bitmap_line::y0#3 +word bitmap_line::y0#4 +word bitmap_line::y0#5 +word bitmap_line::y0#6 +word bitmap_line::y0#7 +word bitmap_line::y0#8 +word bitmap_line::y0#9 +word bitmap_line::y1 +word bitmap_line::y1#0 +word bitmap_line::y1#1 +word bitmap_line::y1#10 +word bitmap_line::y1#11 +word bitmap_line::y1#12 +word bitmap_line::y1#13 +word bitmap_line::y1#14 +word bitmap_line::y1#2 +word bitmap_line::y1#3 +word bitmap_line::y1#4 +word bitmap_line::y1#5 +word bitmap_line::y1#6 +word bitmap_line::y1#7 +word bitmap_line::y1#8 +word bitmap_line::y1#9 +word bitmap_line::yd +word bitmap_line::yd#0 +word bitmap_line::yd#1 +word bitmap_line::yd#10 +word bitmap_line::yd#11 +word bitmap_line::yd#12 +word bitmap_line::yd#2 +word bitmap_line::yd#3 +word bitmap_line::yd#4 +word bitmap_line::yd#5 +word bitmap_line::yd#6 +word bitmap_line::yd#7 +word bitmap_line::yd#8 +word bitmap_line::yd#9 +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +word~ bitmap_line_xdyd::$0 +word~ bitmap_line_xdyd::$2 +bool~ bitmap_line_xdyd::$3 +bool~ bitmap_line_xdyd::$4 +word~ bitmap_line_xdyd::$5 +number~ bitmap_line_xdyd::$6 +bool~ bitmap_line_xdyd::$7 +byte bitmap_line_xdyd::c +byte bitmap_line_xdyd::c#0 +byte bitmap_line_xdyd::c#1 +byte bitmap_line_xdyd::c#2 +byte bitmap_line_xdyd::c#3 +byte bitmap_line_xdyd::c#4 +byte bitmap_line_xdyd::c#5 +byte bitmap_line_xdyd::c#6 +word bitmap_line_xdyd::e +word bitmap_line_xdyd::e#0 +word bitmap_line_xdyd::e#1 +word bitmap_line_xdyd::e#2 +word bitmap_line_xdyd::e#3 +word bitmap_line_xdyd::e#4 +word bitmap_line_xdyd::e#5 +word bitmap_line_xdyd::e#6 +word bitmap_line_xdyd::x +word bitmap_line_xdyd::x#0 +word bitmap_line_xdyd::x#1 +word bitmap_line_xdyd::x#2 +word bitmap_line_xdyd::x#3 +word bitmap_line_xdyd::x#4 +word bitmap_line_xdyd::x#5 +word bitmap_line_xdyd::x#6 +word bitmap_line_xdyd::x#7 +word bitmap_line_xdyd::x1 +word bitmap_line_xdyd::x1#0 +word bitmap_line_xdyd::x1#1 +word bitmap_line_xdyd::x1#2 +word bitmap_line_xdyd::x1#3 +word bitmap_line_xdyd::x1#4 +word bitmap_line_xdyd::x1#5 +word bitmap_line_xdyd::x1#6 +word bitmap_line_xdyd::xd +word bitmap_line_xdyd::xd#0 +word bitmap_line_xdyd::xd#1 +word bitmap_line_xdyd::xd#2 +word bitmap_line_xdyd::xd#3 +word bitmap_line_xdyd::xd#4 +word bitmap_line_xdyd::xd#5 +word bitmap_line_xdyd::xd#6 +word bitmap_line_xdyd::y +word bitmap_line_xdyd::y#0 +word bitmap_line_xdyd::y#1 +word bitmap_line_xdyd::y#2 +word bitmap_line_xdyd::y#3 +word bitmap_line_xdyd::y#4 +word bitmap_line_xdyd::y#5 +word bitmap_line_xdyd::y#6 +word bitmap_line_xdyd::y#7 +word bitmap_line_xdyd::yd +word bitmap_line_xdyd::yd#0 +word bitmap_line_xdyd::yd#1 +word bitmap_line_xdyd::yd#2 +word bitmap_line_xdyd::yd#3 +word bitmap_line_xdyd::yd#4 +word bitmap_line_xdyd::yd#5 +word bitmap_line_xdyd::yd#6 +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +word~ bitmap_line_xdyi::$0 +word~ bitmap_line_xdyi::$2 +bool~ bitmap_line_xdyi::$3 +bool~ bitmap_line_xdyi::$4 +word~ bitmap_line_xdyi::$5 +number~ bitmap_line_xdyi::$6 +bool~ bitmap_line_xdyi::$7 +byte bitmap_line_xdyi::c +byte bitmap_line_xdyi::c#0 +byte bitmap_line_xdyi::c#1 +byte bitmap_line_xdyi::c#2 +byte bitmap_line_xdyi::c#3 +byte bitmap_line_xdyi::c#4 +byte bitmap_line_xdyi::c#5 +byte bitmap_line_xdyi::c#6 +word bitmap_line_xdyi::e +word bitmap_line_xdyi::e#0 +word bitmap_line_xdyi::e#1 +word bitmap_line_xdyi::e#2 +word bitmap_line_xdyi::e#3 +word bitmap_line_xdyi::e#4 +word bitmap_line_xdyi::e#5 +word bitmap_line_xdyi::e#6 +word bitmap_line_xdyi::x +word bitmap_line_xdyi::x#0 +word bitmap_line_xdyi::x#1 +word bitmap_line_xdyi::x#2 +word bitmap_line_xdyi::x#3 +word bitmap_line_xdyi::x#4 +word bitmap_line_xdyi::x#5 +word bitmap_line_xdyi::x#6 +word bitmap_line_xdyi::x#7 +word bitmap_line_xdyi::x1 +word bitmap_line_xdyi::x1#0 +word bitmap_line_xdyi::x1#1 +word bitmap_line_xdyi::x1#2 +word bitmap_line_xdyi::x1#3 +word bitmap_line_xdyi::x1#4 +word bitmap_line_xdyi::x1#5 +word bitmap_line_xdyi::x1#6 +word bitmap_line_xdyi::xd +word bitmap_line_xdyi::xd#0 +word bitmap_line_xdyi::xd#1 +word bitmap_line_xdyi::xd#2 +word bitmap_line_xdyi::xd#3 +word bitmap_line_xdyi::xd#4 +word bitmap_line_xdyi::xd#5 +word bitmap_line_xdyi::xd#6 +word bitmap_line_xdyi::y +word bitmap_line_xdyi::y#0 +word bitmap_line_xdyi::y#1 +word bitmap_line_xdyi::y#2 +word bitmap_line_xdyi::y#3 +word bitmap_line_xdyi::y#4 +word bitmap_line_xdyi::y#5 +word bitmap_line_xdyi::y#6 +word bitmap_line_xdyi::y#7 +word bitmap_line_xdyi::yd +word bitmap_line_xdyi::yd#0 +word bitmap_line_xdyi::yd#1 +word bitmap_line_xdyi::yd#2 +word bitmap_line_xdyi::yd#3 +word bitmap_line_xdyi::yd#4 +word bitmap_line_xdyi::yd#5 +word bitmap_line_xdyi::yd#6 +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +word~ bitmap_line_ydxd::$0 +word~ bitmap_line_ydxd::$2 +bool~ bitmap_line_ydxd::$3 +bool~ bitmap_line_ydxd::$4 +word~ bitmap_line_ydxd::$5 +number~ bitmap_line_ydxd::$6 +bool~ bitmap_line_ydxd::$7 +byte bitmap_line_ydxd::c +byte bitmap_line_ydxd::c#0 +byte bitmap_line_ydxd::c#1 +byte bitmap_line_ydxd::c#2 +byte bitmap_line_ydxd::c#3 +byte bitmap_line_ydxd::c#4 +byte bitmap_line_ydxd::c#5 +byte bitmap_line_ydxd::c#6 +word bitmap_line_ydxd::e +word bitmap_line_ydxd::e#0 +word bitmap_line_ydxd::e#1 +word bitmap_line_ydxd::e#2 +word bitmap_line_ydxd::e#3 +word bitmap_line_ydxd::e#4 +word bitmap_line_ydxd::e#5 +word bitmap_line_ydxd::e#6 +word bitmap_line_ydxd::x +word bitmap_line_ydxd::x#0 +word bitmap_line_ydxd::x#1 +word bitmap_line_ydxd::x#2 +word bitmap_line_ydxd::x#3 +word bitmap_line_ydxd::x#4 +word bitmap_line_ydxd::x#5 +word bitmap_line_ydxd::x#6 +word bitmap_line_ydxd::x#7 +word bitmap_line_ydxd::xd +word bitmap_line_ydxd::xd#0 +word bitmap_line_ydxd::xd#1 +word bitmap_line_ydxd::xd#2 +word bitmap_line_ydxd::xd#3 +word bitmap_line_ydxd::xd#4 +word bitmap_line_ydxd::xd#5 +word bitmap_line_ydxd::xd#6 +word bitmap_line_ydxd::y +word bitmap_line_ydxd::y#0 +word bitmap_line_ydxd::y#1 +word bitmap_line_ydxd::y#2 +word bitmap_line_ydxd::y#3 +word bitmap_line_ydxd::y#4 +word bitmap_line_ydxd::y#5 +word bitmap_line_ydxd::y#6 +word bitmap_line_ydxd::y#7 +word bitmap_line_ydxd::y#8 +word bitmap_line_ydxd::y1 +word bitmap_line_ydxd::y1#0 +word bitmap_line_ydxd::y1#1 +word bitmap_line_ydxd::y1#2 +word bitmap_line_ydxd::y1#3 +word bitmap_line_ydxd::y1#4 +word bitmap_line_ydxd::y1#5 +word bitmap_line_ydxd::y1#6 +word bitmap_line_ydxd::yd +word bitmap_line_ydxd::yd#0 +word bitmap_line_ydxd::yd#1 +word bitmap_line_ydxd::yd#2 +word bitmap_line_ydxd::yd#3 +word bitmap_line_ydxd::yd#4 +word bitmap_line_ydxd::yd#5 +word bitmap_line_ydxd::yd#6 +void bitmap_line_ydxi(word bitmap_line_ydxi::y , word bitmap_line_ydxi::x , word bitmap_line_ydxi::y1 , word bitmap_line_ydxi::yd , word bitmap_line_ydxi::xd , byte bitmap_line_ydxi::c) +word~ bitmap_line_ydxi::$0 +word~ bitmap_line_ydxi::$2 +bool~ bitmap_line_ydxi::$3 +bool~ bitmap_line_ydxi::$4 +word~ bitmap_line_ydxi::$5 +number~ bitmap_line_ydxi::$6 +bool~ bitmap_line_ydxi::$7 +byte bitmap_line_ydxi::c +byte bitmap_line_ydxi::c#0 +byte bitmap_line_ydxi::c#1 +byte bitmap_line_ydxi::c#2 +byte bitmap_line_ydxi::c#3 +byte bitmap_line_ydxi::c#4 +byte bitmap_line_ydxi::c#5 +byte bitmap_line_ydxi::c#6 +word bitmap_line_ydxi::e +word bitmap_line_ydxi::e#0 +word bitmap_line_ydxi::e#1 +word bitmap_line_ydxi::e#2 +word bitmap_line_ydxi::e#3 +word bitmap_line_ydxi::e#4 +word bitmap_line_ydxi::e#5 +word bitmap_line_ydxi::e#6 +word bitmap_line_ydxi::x +word bitmap_line_ydxi::x#0 +word bitmap_line_ydxi::x#1 +word bitmap_line_ydxi::x#2 +word bitmap_line_ydxi::x#3 +word bitmap_line_ydxi::x#4 +word bitmap_line_ydxi::x#5 +word bitmap_line_ydxi::x#6 +word bitmap_line_ydxi::x#7 +word bitmap_line_ydxi::xd +word bitmap_line_ydxi::xd#0 +word bitmap_line_ydxi::xd#1 +word bitmap_line_ydxi::xd#2 +word bitmap_line_ydxi::xd#3 +word bitmap_line_ydxi::xd#4 +word bitmap_line_ydxi::xd#5 +word bitmap_line_ydxi::xd#6 +word bitmap_line_ydxi::y +word bitmap_line_ydxi::y#0 +word bitmap_line_ydxi::y#1 +word bitmap_line_ydxi::y#2 +word bitmap_line_ydxi::y#3 +word bitmap_line_ydxi::y#4 +word bitmap_line_ydxi::y#5 +word bitmap_line_ydxi::y#6 +word bitmap_line_ydxi::y#7 +word bitmap_line_ydxi::y1 +word bitmap_line_ydxi::y1#0 +word bitmap_line_ydxi::y1#1 +word bitmap_line_ydxi::y1#2 +word bitmap_line_ydxi::y1#3 +word bitmap_line_ydxi::y1#4 +word bitmap_line_ydxi::y1#5 +word bitmap_line_ydxi::y1#6 +word bitmap_line_ydxi::yd +word bitmap_line_ydxi::yd#0 +word bitmap_line_ydxi::yd#1 +word bitmap_line_ydxi::yd#2 +word bitmap_line_ydxi::yd#3 +word bitmap_line_ydxi::yd#4 +word bitmap_line_ydxi::yd#5 +word bitmap_line_ydxi::yd#6 +void bitmap_plot(word bitmap_plot::x , word bitmap_plot::y , byte bitmap_plot::c) +dword~ bitmap_plot::$0 +byte~ bitmap_plot::$1 +word~ bitmap_plot::$10 +bool~ bitmap_plot::$11 +byte~ bitmap_plot::$2 +byte~ bitmap_plot::$3 +byte~ bitmap_plot::$4 +byte~ bitmap_plot::$6 +byte~ bitmap_plot::$7 +byte~ bitmap_plot::$8 +word~ bitmap_plot::$9 +byte bitmap_plot::bitshift +byte bitmap_plot::bitshift#0 +byte bitmap_plot::bitshift#1 +byte bitmap_plot::c +byte bitmap_plot::c#0 +byte bitmap_plot::c#1 +byte bitmap_plot::c#2 +byte bitmap_plot::c#3 +byte bitmap_plot::c#4 +byte bitmap_plot::c#5 +byte bitmap_plot::c#6 +byte bitmap_plot::c#7 +byte bitmap_plot::c#8 +byte bitmap_plot::c#9 +dword bitmap_plot::plot_x +dword bitmap_plot::plot_x#0 +dword bitmap_plot::plot_y +dword bitmap_plot::plot_y#0 +dword bitmap_plot::plotter +dword bitmap_plot::plotter#0 +dword bitmap_plot::plotter#1 +dword bitmap_plot::plotter#2 +dword bitmap_plot::plotter#3 +word~ bitmap_plot::vera_vram_address01_$0 +byte~ bitmap_plot::vera_vram_address01_$1 +word~ bitmap_plot::vera_vram_address01_$2 +byte~ bitmap_plot::vera_vram_address01_$3 +word~ bitmap_plot::vera_vram_address01_$4 +byte~ bitmap_plot::vera_vram_address01_$5 +byte~ bitmap_plot::vera_vram_address01_$6 +dword bitmap_plot::vera_vram_address01_bankaddr +dword bitmap_plot::vera_vram_address01_bankaddr#0 +dword bitmap_plot::vera_vram_address01_bankaddr#1 +byte bitmap_plot::vera_vram_address01_incr +byte bitmap_plot::vera_vram_address01_incr#0 +byte bitmap_plot::vera_vram_address01_incr#1 +word bitmap_plot::x +word bitmap_plot::x#0 +word bitmap_plot::x#1 +word bitmap_plot::x#2 +word bitmap_plot::x#3 +word bitmap_plot::x#4 +word bitmap_plot::x#5 +word bitmap_plot::x#6 +word bitmap_plot::x#7 +word bitmap_plot::x#8 +word bitmap_plot::x#9 +word bitmap_plot::y +word bitmap_plot::y#0 +word bitmap_plot::y#1 +word bitmap_plot::y#2 +word bitmap_plot::y#3 +word bitmap_plot::y#4 +const to_nomodify byte* bitmasks[5] = { $80, $c0, $f0, $ff } +const to_nomodify signed byte* bitshifts[5] = { 7, 6, 4, 0 } +void clearline() +byte*~ clearline::$0 +byte~ clearline::$1 +byte~ clearline::$2 +byte~ clearline::$3 +bool~ clearline::$4 +byte~ clearline::$5 +byte* clearline::addr +byte* clearline::addr#0 +word clearline::c +word clearline::c#0 +word clearline::c#1 +word clearline::c#2 +word clearline::c#3 +byte clearline::color +byte clearline::color#0 +byte clearline::color#1 +byte clearline::color#2 +void clrscr() +byte~ clrscr::$0 +byte~ clrscr::$1 +byte~ clrscr::$2 +byte~ clrscr::$3 +bool~ clrscr::$4 +byte~ clrscr::$5 +byte~ clrscr::$6 +byte~ clrscr::$7 +bool~ clrscr::$8 +byte~ clrscr::$9 +byte clrscr::c +byte clrscr::c#0 +byte clrscr::c#1 +byte clrscr::c#2 +byte clrscr::c#3 +byte* clrscr::ch +byte* clrscr::ch#0 +byte clrscr::color +byte clrscr::color#0 +byte clrscr::color#1 +byte clrscr::color#2 +byte clrscr::color#3 +byte clrscr::color#4 +byte clrscr::color#5 +byte clrscr::l +byte clrscr::l#0 +byte clrscr::l#1 +byte clrscr::l#2 +byte clrscr::l#3 +byte clrscr::l#4 +byte clrscr::l#5 +byte clrscr::l#6 +byte* clrscr::line_text +byte* clrscr::line_text#0 +byte* clrscr::line_text#1 +byte* clrscr::line_text#2 +byte* clrscr::line_text#3 +byte* clrscr::line_text#4 +byte* clrscr::line_text#5 +byte* clrscr::line_text#6 +byte* clrscr::line_text#7 +byte* clrscr::line_text#8 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore +word conio_rowskip loadstore +volatile byte conio_screen_height loadstore +byte conio_screen_layer loadstore +volatile byte conio_screen_width loadstore +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore +void conio_x16_init() +bool~ conio_x16_init::$7 +bool~ conio_x16_init::$8 +number~ conio_x16_init::$9 +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*)$d6 +byte conio_x16_init::line +byte conio_x16_init::line#0 +byte conio_x16_init::line#1 +byte conio_x16_init::line#2 +byte conio_x16_init::line#3 +byte conio_x16_init::line#4 +byte conio_x16_init::line#5 +byte conio_x16_init::line#6 +byte conio_x16_init::line#7 +byte conio_x16_init::line#8 +byte conio_x16_init::line#9 +void cputc(byte cputc::c) +byte~ cputc::$0 +byte*~ cputc::$1 +bool~ cputc::$11 +bool~ cputc::$12 +byte~ cputc::$15 +word~ cputc::$16 +bool~ cputc::$17 +byte~ cputc::$2 +bool~ cputc::$3 +byte~ cputc::$4 +byte~ cputc::$5 +byte~ cputc::$6 +bool~ cputc::$8 +bool~ cputc::$9 +byte cputc::c +byte cputc::c#0 +byte cputc::c#1 +byte cputc::c#2 +byte cputc::c#3 +byte cputc::color +byte cputc::color#0 +byte cputc::color#1 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 +byte* cputc::conio_addr#1 +byte* cputc::conio_addr#2 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 +void cputln() +byte~ cputln::$2 +byte~ cputln::$3 +word cputln::temp +word cputln::temp#0 +word cputln::temp#1 +void cputs(to_nomodify byte* cputs::s) +byte~ cputs::$0 +bool~ cputs::$2 +byte cputs::c +byte cputs::c#0 +byte cputs::c#1 +byte cputs::c#2 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 +to_nomodify byte* cputs::s#1 +to_nomodify byte* cputs::s#10 +to_nomodify byte* cputs::s#11 +to_nomodify byte* cputs::s#2 +to_nomodify byte* cputs::s#3 +to_nomodify byte* cputs::s#4 +to_nomodify byte* cputs::s#5 +to_nomodify byte* cputs::s#6 +to_nomodify byte* cputs::s#7 +to_nomodify byte* cputs::s#8 +to_nomodify byte* cputs::s#9 +void cscroll() +bool~ cscroll::$0 +bool~ cscroll::$1 +bool~ cscroll::$2 +bool~ cscroll::$3 +number~ cscroll::$5 +bool~ cscroll::$7 +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +word~ divr16u::$0 +byte~ divr16u::$1 +word~ divr16u::$10 +bool~ divr16u::$11 +number~ divr16u::$2 +bool~ divr16u::$3 +bool~ divr16u::$4 +number~ divr16u::$5 +word~ divr16u::$6 +word~ divr16u::$7 +bool~ divr16u::$8 +bool~ divr16u::$9 +word divr16u::dividend +word divr16u::dividend#0 +word divr16u::dividend#1 +word divr16u::dividend#2 +word divr16u::dividend#3 +word divr16u::dividend#4 +word divr16u::dividend#5 +word divr16u::dividend#6 +word divr16u::dividend#7 +word divr16u::divisor +word divr16u::divisor#0 +word divr16u::divisor#1 +word divr16u::divisor#2 +word divr16u::divisor#3 +word divr16u::divisor#4 +word divr16u::divisor#5 +word divr16u::divisor#6 +byte divr16u::i +byte divr16u::i#0 +byte divr16u::i#1 +byte divr16u::i#2 +byte divr16u::i#3 +byte divr16u::i#4 +byte divr16u::i#5 +byte divr16u::i#6 +word divr16u::quotient +word divr16u::quotient#0 +word divr16u::quotient#1 +word divr16u::quotient#2 +word divr16u::quotient#3 +word divr16u::quotient#4 +word divr16u::quotient#5 +word divr16u::quotient#6 +word divr16u::quotient#7 +word divr16u::quotient#8 +word divr16u::rem +word divr16u::rem#0 +word divr16u::rem#1 +word divr16u::rem#10 +word divr16u::rem#2 +word divr16u::rem#3 +word divr16u::rem#4 +word divr16u::rem#5 +word divr16u::rem#6 +word divr16u::rem#7 +word divr16u::rem#8 +word divr16u::rem#9 +word divr16u::return +word divr16u::return#0 +word divr16u::return#1 +word divr16u::return#2 +word divr16u::return#3 +void gotoxy(byte gotoxy::x , byte gotoxy::y) +bool~ gotoxy::$0 +bool~ gotoxy::$1 +bool~ gotoxy::$2 +bool~ gotoxy::$3 +word~ gotoxy::$4 +byte~ gotoxy::$5 +word~ gotoxy::$6 +word gotoxy::line_offset +word gotoxy::line_offset#0 +byte gotoxy::x +byte gotoxy::x#0 +byte gotoxy::x#1 +byte gotoxy::x#10 +byte gotoxy::x#2 +byte gotoxy::x#3 +byte gotoxy::x#4 +byte gotoxy::x#5 +byte gotoxy::x#6 +byte gotoxy::x#7 +byte gotoxy::x#8 +byte gotoxy::x#9 +byte gotoxy::y +byte gotoxy::y#0 +byte gotoxy::y#1 +byte gotoxy::y#10 +byte gotoxy::y#2 +byte gotoxy::y#3 +byte gotoxy::y#4 +byte gotoxy::y#5 +byte gotoxy::y#6 +byte gotoxy::y#7 +byte gotoxy::y#8 +byte gotoxy::y#9 +const word* hdeltas[$10] = { 0, $50, $28, $14, 0, $a0, $50, $28, 0, $140, $a0, $50, 0, $280, $140, $a0 } +void insertup() +number~ insertup::$0 +bool~ insertup::$2 +number~ insertup::$3 +number~ insertup::$4 +byte*~ insertup::$5 +byte*~ insertup::$6 +byte insertup::cy +byte insertup::cy#0 +byte insertup::cy#1 +byte insertup::cy#2 +byte insertup::cy#3 +byte insertup::i +byte insertup::i#0 +byte insertup::i#1 +byte insertup::i#2 +byte insertup::i#3 +byte insertup::i#4 +word insertup::line +word insertup::line#0 +byte* insertup::start +byte* insertup::start#0 +byte insertup::width +byte insertup::width#0 +byte insertup::width#1 +byte insertup::width#2 +byte insertup::width#3 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*)$ffe4 +const nomodify byte* kbhit::IN_DEV = (byte*)$28a +volatile byte kbhit::ch loadstore +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 +byte kbhit::return#1 +byte kbhit::return#2 +byte kbhit::return#3 +byte kbhit::return#4 +byte kbhit::return#5 +byte kbhit::return#6 +void main() +byte~ main::$30 +bool~ main::$31 +word~ main::$32 +word~ main::$33 +word~ main::$34 +word~ main::$35 +word~ main::$36 +word~ main::$37 +word~ main::$38 +word~ main::$39 +word~ main::$40 +number~ main::$41 +byte~ main::$43 +bool~ main::$44 +bool~ main::$46 +bool~ main::$47 +bool~ main::$48 +bool~ main::$49 +byte main::bgcolor1_color +byte main::bgcolor1_color#0 +byte main::bgcolor1_color#1 +byte main::bgcolor2_color +byte main::bgcolor2_color#0 +byte main::bgcolor2_color#1 +byte main::bgcolor3_color +byte main::bgcolor3_color#0 +byte main::bgcolor3_color#1 +byte main::color +byte main::color#0 +byte main::color#1 +byte main::color#2 +byte main::color#3 +byte main::color#4 +byte main::color#5 +byte main::color#6 +const byte* main::s[$16] = "vera in bitmap mode, +" +const byte* main::s1[$1f] = "color depth 8 bits per pixel. +" +const byte* main::s2[$29] = "in this mode, it is possible to display +" +const byte* main::s3[$19] = "graphics in 256 colors. +" +const byte* main::s4[$10] = "press a key ..." +const byte* main::s5[$27] = "here you see all the colors possible. +" +const byte* main::s6[$10] = "press a key ..." +byte main::textcolor1_color +byte main::textcolor1_color#0 +byte main::textcolor1_color#1 +byte main::textcolor2_color +byte main::textcolor2_color#0 +byte main::textcolor2_color#1 +byte main::textcolor3_color +byte main::textcolor3_color#0 +byte main::textcolor3_color#1 +byte main::textcolor4_color +byte main::textcolor4_color#0 +byte main::textcolor4_color#1 +byte main::textcolor5_color +byte main::textcolor5_color#0 +byte main::textcolor5_color#1 +byte main::vera_layer_show1_layer +byte main::vera_layer_show1_layer#0 +byte main::vera_layer_show1_layer#1 +word main::x +word main::x#0 +word main::x#1 +word main::x#2 +word main::x#3 +word main::x#4 +word main::x#5 +word main::x#6 +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 +byte~ memcpy_in_vram::$1 +byte~ memcpy_in_vram::$2 +byte~ memcpy_in_vram::$3 +byte~ memcpy_in_vram::$4 +byte~ memcpy_in_vram::$5 +bool~ memcpy_in_vram::$6 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 +void* memcpy_in_vram::dest#1 +void* memcpy_in_vram::dest#2 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#0 +byte memcpy_in_vram::dest_bank#1 +byte memcpy_in_vram::dest_bank#2 +byte memcpy_in_vram::dest_increment +byte memcpy_in_vram::dest_increment#0 +byte memcpy_in_vram::dest_increment#1 +byte memcpy_in_vram::dest_increment#2 +word memcpy_in_vram::i +word memcpy_in_vram::i#0 +word memcpy_in_vram::i#1 +word memcpy_in_vram::i#2 +word memcpy_in_vram::i#3 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 +word memcpy_in_vram::num#1 +word memcpy_in_vram::num#2 +word memcpy_in_vram::num#3 +word memcpy_in_vram::num#4 +void* memcpy_in_vram::src +void* memcpy_in_vram::src#0 +void* memcpy_in_vram::src#1 +void* memcpy_in_vram::src#2 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_bank#0 +byte memcpy_in_vram::src_bank#1 +byte memcpy_in_vram::src_bank#2 +byte memcpy_in_vram::src_increment +byte memcpy_in_vram::src_increment#0 +byte memcpy_in_vram::src_increment#1 +byte memcpy_in_vram::src_increment#2 +void memset_vram(byte memset_vram::vbank , void* memset_vram::vdest , byte memset_vram::data , dword memset_vram::num) +byte~ memset_vram::$0 +byte~ memset_vram::$1 +byte~ memset_vram::$2 +bool~ memset_vram::$3 +byte memset_vram::data +byte memset_vram::data#0 +byte memset_vram::data#1 +byte memset_vram::data#2 +byte memset_vram::data#3 +dword memset_vram::i +dword memset_vram::i#0 +dword memset_vram::i#1 +dword memset_vram::i#2 +dword memset_vram::i#3 +dword memset_vram::num +dword memset_vram::num#0 +dword memset_vram::num#1 +dword memset_vram::num#2 +dword memset_vram::num#3 +byte memset_vram::vbank +byte memset_vram::vbank#0 +byte memset_vram::vbank#1 +void* memset_vram::vdest +void* memset_vram::vdest#0 +void* memset_vram::vdest#1 +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +word modr16u::dividend +word modr16u::dividend#0 +word modr16u::dividend#1 +word modr16u::dividend#2 +word modr16u::dividend#3 +word modr16u::dividend#4 +word modr16u::divisor +word modr16u::divisor#0 +word modr16u::divisor#1 +word modr16u::divisor#2 +word modr16u::divisor#3 +word modr16u::divisor#4 +word modr16u::rem +word modr16u::rem#0 +word modr16u::rem#1 +word modr16u::rem#2 +word modr16u::rem#3 +word modr16u::rem#4 +word modr16u::return +word modr16u::return#0 +word modr16u::return#1 +word modr16u::return#10 +word modr16u::return#2 +word modr16u::return#3 +word modr16u::return#4 +word modr16u::return#5 +word modr16u::return#6 +word modr16u::return#7 +word modr16u::return#8 +word modr16u::return#9 +dword mul16u(word mul16u::a , word mul16u::b) +bool~ mul16u::$0 +number~ mul16u::$1 +bool~ mul16u::$2 +bool~ mul16u::$3 +dword~ mul16u::$4 +word~ mul16u::$5 +dword~ mul16u::$6 +word mul16u::a +word mul16u::a#0 +word mul16u::a#1 +word mul16u::a#2 +word mul16u::a#3 +word mul16u::a#4 +word mul16u::a#5 +word mul16u::a#6 +word mul16u::b +word mul16u::b#0 +word mul16u::b#1 +dword mul16u::mb +dword mul16u::mb#0 +dword mul16u::mb#1 +dword mul16u::mb#2 +dword mul16u::mb#3 +dword mul16u::mb#4 +dword mul16u::mb#5 +dword mul16u::res +dword mul16u::res#0 +dword mul16u::res#1 +dword mul16u::res#2 +dword mul16u::res#3 +dword mul16u::res#4 +dword mul16u::res#5 +dword mul16u::res#6 +dword mul16u::return +dword mul16u::return#0 +dword mul16u::return#1 +dword mul16u::return#2 +dword mul16u::return#3 +dword mul16u::return#4 +word rand() +word~ rand::$0 +word~ rand::$1 +word~ rand::$2 +word rand::return +word rand::return#0 +word rand::return#1 +word rand::return#10 +word rand::return#11 +word rand::return#12 +word rand::return#2 +word rand::return#3 +word rand::return#4 +word rand::return#5 +word rand::return#6 +word rand::return#7 +word rand::return#8 +word rand::return#9 +word rand_state +word rand_state#0 +word rand_state#1 +word rand_state#10 +word rand_state#11 +word rand_state#12 +word rand_state#13 +word rand_state#14 +word rand_state#15 +word rand_state#16 +word rand_state#17 +word rand_state#18 +word rand_state#19 +word rand_state#2 +word rand_state#20 +word rand_state#21 +word rand_state#22 +word rand_state#23 +word rand_state#24 +word rand_state#25 +word rand_state#26 +word rand_state#27 +word rand_state#28 +word rand_state#29 +word rand_state#3 +word rand_state#30 +word rand_state#31 +word rand_state#32 +word rand_state#33 +word rand_state#34 +word rand_state#35 +word rand_state#36 +word rand_state#37 +word rand_state#38 +word rand_state#39 +word rand_state#4 +word rand_state#40 +word rand_state#41 +word rand_state#42 +word rand_state#43 +word rand_state#44 +word rand_state#45 +word rand_state#46 +word rand_state#47 +word rand_state#48 +word rand_state#49 +word rand_state#5 +word rand_state#50 +word rand_state#51 +word rand_state#52 +word rand_state#53 +word rand_state#54 +word rand_state#55 +word rand_state#56 +word rand_state#57 +word rand_state#58 +word rand_state#59 +word rand_state#6 +word rand_state#60 +word rand_state#61 +word rand_state#62 +word rand_state#63 +word rand_state#64 +word rand_state#65 +word rand_state#66 +word rand_state#67 +word rand_state#68 +word rand_state#69 +word rand_state#7 +word rand_state#70 +word rand_state#71 +word rand_state#72 +word rand_state#73 +word rand_state#74 +word rand_state#75 +word rand_state#76 +word rand_state#77 +word rand_state#78 +word rand_state#79 +word rand_state#8 +word rand_state#80 +word rand_state#81 +word rand_state#82 +word rand_state#83 +word rand_state#84 +word rand_state#85 +word rand_state#86 +word rand_state#87 +word rand_state#9 +word rem16u +word rem16u#0 +word rem16u#1 +word rem16u#10 +word rem16u#11 +word rem16u#12 +word rem16u#13 +word rem16u#14 +word rem16u#15 +word rem16u#16 +word rem16u#17 +word rem16u#18 +word rem16u#19 +word rem16u#2 +word rem16u#20 +word rem16u#21 +word rem16u#22 +word rem16u#23 +word rem16u#24 +word rem16u#25 +word rem16u#26 +word rem16u#27 +word rem16u#28 +word rem16u#29 +word rem16u#3 +word rem16u#30 +word rem16u#31 +word rem16u#32 +word rem16u#33 +word rem16u#34 +word rem16u#35 +word rem16u#36 +word rem16u#37 +word rem16u#38 +word rem16u#39 +word rem16u#4 +word rem16u#40 +word rem16u#41 +word rem16u#42 +word rem16u#43 +word rem16u#44 +word rem16u#45 +word rem16u#46 +word rem16u#47 +word rem16u#48 +word rem16u#49 +word rem16u#5 +word rem16u#50 +word rem16u#51 +word rem16u#52 +word rem16u#53 +word rem16u#54 +word rem16u#55 +word rem16u#56 +word rem16u#57 +word rem16u#58 +word rem16u#59 +word rem16u#6 +word rem16u#60 +word rem16u#61 +word rem16u#62 +word rem16u#63 +word rem16u#64 +word rem16u#65 +word rem16u#66 +word rem16u#67 +word rem16u#68 +word rem16u#69 +word rem16u#7 +word rem16u#70 +word rem16u#71 +word rem16u#72 +word rem16u#73 +word rem16u#74 +word rem16u#75 +word rem16u#76 +word rem16u#77 +word rem16u#78 +word rem16u#79 +word rem16u#8 +word rem16u#80 +word rem16u#81 +word rem16u#82 +word rem16u#83 +word rem16u#84 +word rem16u#85 +word rem16u#86 +word rem16u#87 +word rem16u#88 +word rem16u#9 +void screenlayer(byte screenlayer::layer) +byte~ screenlayer::$0 +word~ screenlayer::$1 +word~ screenlayer::$2 +byte~ screenlayer::$3 +word~ screenlayer::$4 +word~ screenlayer::$5 +byte screenlayer::layer +byte screenlayer::layer#0 +byte screenlayer::layer#1 +byte screenlayer::layer#2 +byte screenlayer::layer#3 +byte~ screenlayer::vera_layer_get_height1_$0 +byte~ screenlayer::vera_layer_get_height1_$1 +byte~ screenlayer::vera_layer_get_height1_$2 +byte~ screenlayer::vera_layer_get_height1_$3 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 +byte screenlayer::vera_layer_get_height1_layer#1 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 +word screenlayer::vera_layer_get_height1_return#1 +word screenlayer::vera_layer_get_height1_return#2 +word screenlayer::vera_layer_get_height1_return#3 +byte~ screenlayer::vera_layer_get_width1_$0 +byte~ screenlayer::vera_layer_get_width1_$1 +byte~ screenlayer::vera_layer_get_width1_$2 +byte~ screenlayer::vera_layer_get_width1_$3 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 +byte screenlayer::vera_layer_get_width1_layer#1 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 +word screenlayer::vera_layer_get_width1_return#1 +word screenlayer::vera_layer_get_width1_return#2 +word screenlayer::vera_layer_get_width1_return#3 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$0 +number~ screensize::$1 +byte~ screensize::$2 +number~ screensize::$3 +byte screensize::hscale +byte screensize::hscale#0 +byte screensize::vscale +byte screensize::vscale#0 +byte* screensize::x +byte* screensize::x#0 +byte* screensize::x#1 +byte* screensize::y +byte* screensize::y#0 +byte* screensize::y#1 +const to_nomodify word* vdeltas[4] = { 0, $1e0, $f0, $a0 } +byte vera_display_get_hscale() +bool~ vera_display_get_hscale::$0 +bool~ vera_display_get_hscale::$1 +bool~ vera_display_get_hscale::$2 +const byte* vera_display_get_hscale::hscale[4] = { 0, $80, $40, $20 } +byte vera_display_get_hscale::return +byte vera_display_get_hscale::return#0 +byte vera_display_get_hscale::return#1 +byte vera_display_get_hscale::return#2 +byte vera_display_get_hscale::return#3 +byte vera_display_get_hscale::return#4 +byte vera_display_get_hscale::s +byte vera_display_get_hscale::s#0 +byte vera_display_get_hscale::s#1 +byte vera_display_get_hscale::s#2 +byte vera_display_get_hscale::s#3 +byte vera_display_get_hscale::s#4 +byte vera_display_get_hscale::scale +byte vera_display_get_hscale::scale#0 +byte vera_display_get_hscale::scale#1 +byte vera_display_get_hscale::scale#2 +byte vera_display_get_hscale::scale#3 +byte vera_display_get_hscale::scale#4 +byte vera_display_get_vscale() +bool~ vera_display_get_vscale::$0 +bool~ vera_display_get_vscale::$1 +bool~ vera_display_get_vscale::$2 +byte vera_display_get_vscale::return +byte vera_display_get_vscale::return#0 +byte vera_display_get_vscale::return#1 +byte vera_display_get_vscale::return#2 +byte vera_display_get_vscale::return#3 +byte vera_display_get_vscale::return#4 +byte vera_display_get_vscale::s +byte vera_display_get_vscale::s#0 +byte vera_display_get_vscale::s#1 +byte vera_display_get_vscale::s#2 +byte vera_display_get_vscale::s#3 +byte vera_display_get_vscale::s#4 +byte vera_display_get_vscale::scale +byte vera_display_get_vscale::scale#0 +byte vera_display_get_vscale::scale#1 +byte vera_display_get_vscale::scale#2 +byte vera_display_get_vscale::scale#3 +byte vera_display_get_vscale::scale#4 +const byte* vera_display_get_vscale::vscale[4] = { 0, $80, $40, $20 } +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 +byte vera_layer_get_backcolor::layer#1 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 +byte vera_layer_get_backcolor::return#1 +byte vera_layer_get_backcolor::return#2 +byte vera_layer_get_backcolor::return#3 +byte vera_layer_get_backcolor::return#4 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 +byte~ vera_layer_get_color::$1 +byte~ vera_layer_get_color::$2 +byte~ vera_layer_get_color::$3 +bool~ vera_layer_get_color::$4 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 +byte vera_layer_get_color::layer#1 +byte vera_layer_get_color::layer#2 +byte vera_layer_get_color::layer#3 +byte vera_layer_get_color::layer#4 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 +byte vera_layer_get_color::return#1 +byte vera_layer_get_color::return#2 +byte vera_layer_get_color::return#3 +byte vera_layer_get_color::return#4 +byte vera_layer_get_color::return#5 +byte vera_layer_get_color::return#6 +byte vera_layer_get_color::return#7 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 +byte vera_layer_get_mapbase_bank::layer#1 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 +byte vera_layer_get_mapbase_bank::return#1 +byte vera_layer_get_mapbase_bank::return#2 +byte vera_layer_get_mapbase_bank::return#3 +byte vera_layer_get_mapbase_bank::return#4 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 +byte vera_layer_get_mapbase_offset::layer#1 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 +word vera_layer_get_mapbase_offset::return#1 +word vera_layer_get_mapbase_offset::return#2 +word vera_layer_get_mapbase_offset::return#3 +word vera_layer_get_mapbase_offset::return#4 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 +byte vera_layer_get_rowshift::layer#1 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 +byte vera_layer_get_rowshift::return#1 +byte vera_layer_get_rowshift::return#2 +byte vera_layer_get_rowshift::return#3 +byte vera_layer_get_rowshift::return#4 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 +byte vera_layer_get_rowskip::layer#1 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 +word vera_layer_get_rowskip::return#1 +word vera_layer_get_rowskip::return#2 +word vera_layer_get_rowskip::return#3 +word vera_layer_get_rowskip::return#4 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 +byte vera_layer_get_textcolor::layer#1 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 +byte vera_layer_get_textcolor::return#1 +byte vera_layer_get_textcolor::return#2 +byte vera_layer_get_textcolor::return#3 +byte vera_layer_get_textcolor::return#4 +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +byte~ vera_layer_mode_bitmap::$0 +word~ vera_layer_mode_bitmap::$1 +byte~ vera_layer_mode_bitmap::$10 +byte~ vera_layer_mode_bitmap::$11 +word~ vera_layer_mode_bitmap::$2 +dword~ vera_layer_mode_bitmap::$3 +word~ vera_layer_mode_bitmap::$4 +byte~ vera_layer_mode_bitmap::$5 +dword vera_layer_mode_bitmap::bitmap_address +dword vera_layer_mode_bitmap::bitmap_address#0 +dword vera_layer_mode_bitmap::bitmap_address#1 +dword vera_layer_mode_bitmap::bitmap_address#10 +dword vera_layer_mode_bitmap::bitmap_address#2 +dword vera_layer_mode_bitmap::bitmap_address#3 +dword vera_layer_mode_bitmap::bitmap_address#4 +dword vera_layer_mode_bitmap::bitmap_address#5 +dword vera_layer_mode_bitmap::bitmap_address#6 +dword vera_layer_mode_bitmap::bitmap_address#7 +dword vera_layer_mode_bitmap::bitmap_address#8 +dword vera_layer_mode_bitmap::bitmap_address#9 +word vera_layer_mode_bitmap::color_depth +word vera_layer_mode_bitmap::color_depth#0 +word vera_layer_mode_bitmap::color_depth#1 +word vera_layer_mode_bitmap::color_depth#2 +word vera_layer_mode_bitmap::color_depth#3 +word vera_layer_mode_bitmap::color_depth#4 +byte vera_layer_mode_bitmap::config +byte vera_layer_mode_bitmap::config#0 +byte vera_layer_mode_bitmap::config#1 +byte vera_layer_mode_bitmap::config#10 +byte vera_layer_mode_bitmap::config#11 +byte vera_layer_mode_bitmap::config#12 +byte vera_layer_mode_bitmap::config#13 +byte vera_layer_mode_bitmap::config#14 +byte vera_layer_mode_bitmap::config#15 +byte vera_layer_mode_bitmap::config#16 +byte vera_layer_mode_bitmap::config#17 +byte vera_layer_mode_bitmap::config#18 +byte vera_layer_mode_bitmap::config#19 +byte vera_layer_mode_bitmap::config#2 +byte vera_layer_mode_bitmap::config#3 +byte vera_layer_mode_bitmap::config#4 +byte vera_layer_mode_bitmap::config#5 +byte vera_layer_mode_bitmap::config#6 +byte vera_layer_mode_bitmap::config#7 +byte vera_layer_mode_bitmap::config#8 +byte vera_layer_mode_bitmap::config#9 +byte vera_layer_mode_bitmap::layer +byte vera_layer_mode_bitmap::layer#0 +byte vera_layer_mode_bitmap::layer#1 +byte vera_layer_mode_bitmap::layer#10 +byte vera_layer_mode_bitmap::layer#11 +byte vera_layer_mode_bitmap::layer#12 +byte vera_layer_mode_bitmap::layer#13 +byte vera_layer_mode_bitmap::layer#14 +byte vera_layer_mode_bitmap::layer#15 +byte vera_layer_mode_bitmap::layer#16 +byte vera_layer_mode_bitmap::layer#2 +byte vera_layer_mode_bitmap::layer#3 +byte vera_layer_mode_bitmap::layer#4 +byte vera_layer_mode_bitmap::layer#5 +byte vera_layer_mode_bitmap::layer#6 +byte vera_layer_mode_bitmap::layer#7 +byte vera_layer_mode_bitmap::layer#8 +byte vera_layer_mode_bitmap::layer#9 +word vera_layer_mode_bitmap::mapwidth +word vera_layer_mode_bitmap::mapwidth#0 +word vera_layer_mode_bitmap::mapwidth#1 +word vera_layer_mode_bitmap::mapwidth#10 +word vera_layer_mode_bitmap::mapwidth#2 +word vera_layer_mode_bitmap::mapwidth#3 +word vera_layer_mode_bitmap::mapwidth#4 +word vera_layer_mode_bitmap::mapwidth#5 +word vera_layer_mode_bitmap::mapwidth#6 +word vera_layer_mode_bitmap::mapwidth#7 +word vera_layer_mode_bitmap::mapwidth#8 +word vera_layer_mode_bitmap::mapwidth#9 +byte vera_layer_mode_bitmap::tilebase +byte vera_layer_mode_bitmap::tilebase#0 +byte vera_layer_mode_bitmap::tilebase#1 +byte vera_layer_mode_bitmap::tilebase#10 +byte vera_layer_mode_bitmap::tilebase#2 +byte vera_layer_mode_bitmap::tilebase#3 +byte vera_layer_mode_bitmap::tilebase#4 +byte vera_layer_mode_bitmap::tilebase#5 +byte vera_layer_mode_bitmap::tilebase#6 +byte vera_layer_mode_bitmap::tilebase#7 +byte vera_layer_mode_bitmap::tilebase#8 +byte vera_layer_mode_bitmap::tilebase#9 +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +word vera_layer_mode_text::color_mode#0 +word vera_layer_mode_text::color_mode#1 +word vera_layer_mode_text::color_mode#2 +word vera_layer_mode_text::color_mode#3 +byte vera_layer_mode_text::layer +byte vera_layer_mode_text::layer#0 +byte vera_layer_mode_text::layer#1 +byte vera_layer_mode_text::layer#2 +byte vera_layer_mode_text::layer#3 +byte vera_layer_mode_text::layer#4 +byte vera_layer_mode_text::layer#5 +dword vera_layer_mode_text::mapbase_address +dword vera_layer_mode_text::mapbase_address#0 +dword vera_layer_mode_text::mapbase_address#1 +word vera_layer_mode_text::mapheight +word vera_layer_mode_text::mapheight#0 +word vera_layer_mode_text::mapheight#1 +word vera_layer_mode_text::mapwidth +word vera_layer_mode_text::mapwidth#0 +word vera_layer_mode_text::mapwidth#1 +dword vera_layer_mode_text::tilebase_address +dword vera_layer_mode_text::tilebase_address#0 +dword vera_layer_mode_text::tilebase_address#1 +byte vera_layer_mode_text::tileheight +byte vera_layer_mode_text::tileheight#0 +byte vera_layer_mode_text::tileheight#1 +byte vera_layer_mode_text::tilewidth +byte vera_layer_mode_text::tilewidth#0 +byte vera_layer_mode_text::tilewidth#1 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 +word~ vera_layer_mode_tile::$10 +byte~ vera_layer_mode_tile::$11 +byte~ vera_layer_mode_tile::$13 +byte~ vera_layer_mode_tile::$14 +byte~ vera_layer_mode_tile::$15 +byte~ vera_layer_mode_tile::$16 +byte~ vera_layer_mode_tile::$17 +byte~ vera_layer_mode_tile::$18 +byte~ vera_layer_mode_tile::$19 +word~ vera_layer_mode_tile::$2 +byte~ vera_layer_mode_tile::$20 +dword~ vera_layer_mode_tile::$3 +word~ vera_layer_mode_tile::$4 +byte~ vera_layer_mode_tile::$5 +word~ vera_layer_mode_tile::$7 +word~ vera_layer_mode_tile::$8 +dword~ vera_layer_mode_tile::$9 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::color_depth#0 +byte vera_layer_mode_tile::color_depth#1 +byte vera_layer_mode_tile::color_depth#2 +byte vera_layer_mode_tile::color_depth#3 +byte vera_layer_mode_tile::color_depth#4 +byte vera_layer_mode_tile::color_depth#5 +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#0 +byte vera_layer_mode_tile::config#1 +byte vera_layer_mode_tile::config#10 +byte vera_layer_mode_tile::config#11 +byte vera_layer_mode_tile::config#12 +byte vera_layer_mode_tile::config#13 +byte vera_layer_mode_tile::config#14 +byte vera_layer_mode_tile::config#15 +byte vera_layer_mode_tile::config#16 +byte vera_layer_mode_tile::config#17 +byte vera_layer_mode_tile::config#18 +byte vera_layer_mode_tile::config#19 +byte vera_layer_mode_tile::config#2 +byte vera_layer_mode_tile::config#20 +byte vera_layer_mode_tile::config#21 +byte vera_layer_mode_tile::config#22 +byte vera_layer_mode_tile::config#23 +byte vera_layer_mode_tile::config#24 +byte vera_layer_mode_tile::config#25 +byte vera_layer_mode_tile::config#26 +byte vera_layer_mode_tile::config#27 +byte vera_layer_mode_tile::config#28 +byte vera_layer_mode_tile::config#29 +byte vera_layer_mode_tile::config#3 +byte vera_layer_mode_tile::config#30 +byte vera_layer_mode_tile::config#31 +byte vera_layer_mode_tile::config#32 +byte vera_layer_mode_tile::config#33 +byte vera_layer_mode_tile::config#34 +byte vera_layer_mode_tile::config#35 +byte vera_layer_mode_tile::config#36 +byte vera_layer_mode_tile::config#4 +byte vera_layer_mode_tile::config#5 +byte vera_layer_mode_tile::config#6 +byte vera_layer_mode_tile::config#7 +byte vera_layer_mode_tile::config#8 +byte vera_layer_mode_tile::config#9 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#0 +byte vera_layer_mode_tile::layer#1 +byte vera_layer_mode_tile::layer#10 +byte vera_layer_mode_tile::layer#11 +byte vera_layer_mode_tile::layer#12 +byte vera_layer_mode_tile::layer#13 +byte vera_layer_mode_tile::layer#14 +byte vera_layer_mode_tile::layer#15 +byte vera_layer_mode_tile::layer#16 +byte vera_layer_mode_tile::layer#17 +byte vera_layer_mode_tile::layer#18 +byte vera_layer_mode_tile::layer#19 +byte vera_layer_mode_tile::layer#2 +byte vera_layer_mode_tile::layer#20 +byte vera_layer_mode_tile::layer#21 +byte vera_layer_mode_tile::layer#22 +byte vera_layer_mode_tile::layer#23 +byte vera_layer_mode_tile::layer#24 +byte vera_layer_mode_tile::layer#25 +byte vera_layer_mode_tile::layer#26 +byte vera_layer_mode_tile::layer#27 +byte vera_layer_mode_tile::layer#28 +byte vera_layer_mode_tile::layer#29 +byte vera_layer_mode_tile::layer#3 +byte vera_layer_mode_tile::layer#30 +byte vera_layer_mode_tile::layer#31 +byte vera_layer_mode_tile::layer#32 +byte vera_layer_mode_tile::layer#33 +byte vera_layer_mode_tile::layer#34 +byte vera_layer_mode_tile::layer#35 +byte vera_layer_mode_tile::layer#36 +byte vera_layer_mode_tile::layer#4 +byte vera_layer_mode_tile::layer#5 +byte vera_layer_mode_tile::layer#6 +byte vera_layer_mode_tile::layer#7 +byte vera_layer_mode_tile::layer#8 +byte vera_layer_mode_tile::layer#9 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 +dword vera_layer_mode_tile::mapbase_address#1 +dword vera_layer_mode_tile::mapbase_address#10 +dword vera_layer_mode_tile::mapbase_address#11 +dword vera_layer_mode_tile::mapbase_address#12 +dword vera_layer_mode_tile::mapbase_address#13 +dword vera_layer_mode_tile::mapbase_address#14 +dword vera_layer_mode_tile::mapbase_address#15 +dword vera_layer_mode_tile::mapbase_address#16 +dword vera_layer_mode_tile::mapbase_address#17 +dword vera_layer_mode_tile::mapbase_address#18 +dword vera_layer_mode_tile::mapbase_address#19 +dword vera_layer_mode_tile::mapbase_address#2 +dword vera_layer_mode_tile::mapbase_address#20 +dword vera_layer_mode_tile::mapbase_address#21 +dword vera_layer_mode_tile::mapbase_address#22 +dword vera_layer_mode_tile::mapbase_address#23 +dword vera_layer_mode_tile::mapbase_address#24 +dword vera_layer_mode_tile::mapbase_address#25 +dword vera_layer_mode_tile::mapbase_address#26 +dword vera_layer_mode_tile::mapbase_address#27 +dword vera_layer_mode_tile::mapbase_address#28 +dword vera_layer_mode_tile::mapbase_address#3 +dword vera_layer_mode_tile::mapbase_address#4 +dword vera_layer_mode_tile::mapbase_address#5 +dword vera_layer_mode_tile::mapbase_address#6 +dword vera_layer_mode_tile::mapbase_address#7 +dword vera_layer_mode_tile::mapbase_address#8 +dword vera_layer_mode_tile::mapbase_address#9 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#0 +word vera_layer_mode_tile::mapheight#1 +word vera_layer_mode_tile::mapheight#10 +word vera_layer_mode_tile::mapheight#11 +word vera_layer_mode_tile::mapheight#12 +word vera_layer_mode_tile::mapheight#13 +word vera_layer_mode_tile::mapheight#14 +word vera_layer_mode_tile::mapheight#15 +word vera_layer_mode_tile::mapheight#16 +word vera_layer_mode_tile::mapheight#17 +word vera_layer_mode_tile::mapheight#18 +word vera_layer_mode_tile::mapheight#19 +word vera_layer_mode_tile::mapheight#2 +word vera_layer_mode_tile::mapheight#20 +word vera_layer_mode_tile::mapheight#21 +word vera_layer_mode_tile::mapheight#3 +word vera_layer_mode_tile::mapheight#4 +word vera_layer_mode_tile::mapheight#5 +word vera_layer_mode_tile::mapheight#6 +word vera_layer_mode_tile::mapheight#7 +word vera_layer_mode_tile::mapheight#8 +word vera_layer_mode_tile::mapheight#9 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#0 +word vera_layer_mode_tile::mapwidth#1 +word vera_layer_mode_tile::mapwidth#10 +word vera_layer_mode_tile::mapwidth#11 +word vera_layer_mode_tile::mapwidth#12 +word vera_layer_mode_tile::mapwidth#13 +word vera_layer_mode_tile::mapwidth#2 +word vera_layer_mode_tile::mapwidth#3 +word vera_layer_mode_tile::mapwidth#4 +word vera_layer_mode_tile::mapwidth#5 +word vera_layer_mode_tile::mapwidth#6 +word vera_layer_mode_tile::mapwidth#7 +word vera_layer_mode_tile::mapwidth#8 +word vera_layer_mode_tile::mapwidth#9 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 +byte vera_layer_mode_tile::tilebase#1 +byte vera_layer_mode_tile::tilebase#10 +byte vera_layer_mode_tile::tilebase#11 +byte vera_layer_mode_tile::tilebase#12 +byte vera_layer_mode_tile::tilebase#13 +byte vera_layer_mode_tile::tilebase#2 +byte vera_layer_mode_tile::tilebase#3 +byte vera_layer_mode_tile::tilebase#4 +byte vera_layer_mode_tile::tilebase#5 +byte vera_layer_mode_tile::tilebase#6 +byte vera_layer_mode_tile::tilebase#7 +byte vera_layer_mode_tile::tilebase#8 +byte vera_layer_mode_tile::tilebase#9 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 +dword vera_layer_mode_tile::tilebase_address#1 +dword vera_layer_mode_tile::tilebase_address#10 +dword vera_layer_mode_tile::tilebase_address#11 +dword vera_layer_mode_tile::tilebase_address#12 +dword vera_layer_mode_tile::tilebase_address#13 +dword vera_layer_mode_tile::tilebase_address#14 +dword vera_layer_mode_tile::tilebase_address#15 +dword vera_layer_mode_tile::tilebase_address#16 +dword vera_layer_mode_tile::tilebase_address#17 +dword vera_layer_mode_tile::tilebase_address#18 +dword vera_layer_mode_tile::tilebase_address#19 +dword vera_layer_mode_tile::tilebase_address#2 +dword vera_layer_mode_tile::tilebase_address#20 +dword vera_layer_mode_tile::tilebase_address#21 +dword vera_layer_mode_tile::tilebase_address#22 +dword vera_layer_mode_tile::tilebase_address#23 +dword vera_layer_mode_tile::tilebase_address#24 +dword vera_layer_mode_tile::tilebase_address#25 +dword vera_layer_mode_tile::tilebase_address#26 +dword vera_layer_mode_tile::tilebase_address#27 +dword vera_layer_mode_tile::tilebase_address#28 +dword vera_layer_mode_tile::tilebase_address#29 +dword vera_layer_mode_tile::tilebase_address#3 +dword vera_layer_mode_tile::tilebase_address#4 +dword vera_layer_mode_tile::tilebase_address#5 +dword vera_layer_mode_tile::tilebase_address#6 +dword vera_layer_mode_tile::tilebase_address#7 +dword vera_layer_mode_tile::tilebase_address#8 +dword vera_layer_mode_tile::tilebase_address#9 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#0 +byte vera_layer_mode_tile::tileheight#1 +byte vera_layer_mode_tile::tileheight#10 +byte vera_layer_mode_tile::tileheight#11 +byte vera_layer_mode_tile::tileheight#12 +byte vera_layer_mode_tile::tileheight#13 +byte vera_layer_mode_tile::tileheight#14 +byte vera_layer_mode_tile::tileheight#15 +byte vera_layer_mode_tile::tileheight#16 +byte vera_layer_mode_tile::tileheight#17 +byte vera_layer_mode_tile::tileheight#18 +byte vera_layer_mode_tile::tileheight#19 +byte vera_layer_mode_tile::tileheight#2 +byte vera_layer_mode_tile::tileheight#20 +byte vera_layer_mode_tile::tileheight#21 +byte vera_layer_mode_tile::tileheight#22 +byte vera_layer_mode_tile::tileheight#23 +byte vera_layer_mode_tile::tileheight#24 +byte vera_layer_mode_tile::tileheight#25 +byte vera_layer_mode_tile::tileheight#26 +byte vera_layer_mode_tile::tileheight#27 +byte vera_layer_mode_tile::tileheight#28 +byte vera_layer_mode_tile::tileheight#29 +byte vera_layer_mode_tile::tileheight#3 +byte vera_layer_mode_tile::tileheight#30 +byte vera_layer_mode_tile::tileheight#31 +byte vera_layer_mode_tile::tileheight#32 +byte vera_layer_mode_tile::tileheight#33 +byte vera_layer_mode_tile::tileheight#4 +byte vera_layer_mode_tile::tileheight#5 +byte vera_layer_mode_tile::tileheight#6 +byte vera_layer_mode_tile::tileheight#7 +byte vera_layer_mode_tile::tileheight#8 +byte vera_layer_mode_tile::tileheight#9 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#0 +byte vera_layer_mode_tile::tilewidth#1 +byte vera_layer_mode_tile::tilewidth#10 +byte vera_layer_mode_tile::tilewidth#11 +byte vera_layer_mode_tile::tilewidth#12 +byte vera_layer_mode_tile::tilewidth#13 +byte vera_layer_mode_tile::tilewidth#14 +byte vera_layer_mode_tile::tilewidth#15 +byte vera_layer_mode_tile::tilewidth#16 +byte vera_layer_mode_tile::tilewidth#17 +byte vera_layer_mode_tile::tilewidth#18 +byte vera_layer_mode_tile::tilewidth#19 +byte vera_layer_mode_tile::tilewidth#2 +byte vera_layer_mode_tile::tilewidth#20 +byte vera_layer_mode_tile::tilewidth#21 +byte vera_layer_mode_tile::tilewidth#22 +byte vera_layer_mode_tile::tilewidth#23 +byte vera_layer_mode_tile::tilewidth#24 +byte vera_layer_mode_tile::tilewidth#25 +byte vera_layer_mode_tile::tilewidth#26 +byte vera_layer_mode_tile::tilewidth#27 +byte vera_layer_mode_tile::tilewidth#28 +byte vera_layer_mode_tile::tilewidth#29 +byte vera_layer_mode_tile::tilewidth#3 +byte vera_layer_mode_tile::tilewidth#4 +byte vera_layer_mode_tile::tilewidth#5 +byte vera_layer_mode_tile::tilewidth#6 +byte vera_layer_mode_tile::tilewidth#7 +byte vera_layer_mode_tile::tilewidth#8 +byte vera_layer_mode_tile::tilewidth#9 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#0 +byte vera_layer_set_backcolor::color#1 +byte vera_layer_set_backcolor::color#2 +byte vera_layer_set_backcolor::color#3 +byte vera_layer_set_backcolor::color#4 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#0 +byte vera_layer_set_backcolor::layer#1 +byte vera_layer_set_backcolor::layer#2 +byte vera_layer_set_backcolor::layer#3 +byte vera_layer_set_backcolor::layer#4 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::old#0 +byte vera_layer_set_backcolor::return +byte vera_layer_set_backcolor::return#0 +byte vera_layer_set_backcolor::return#1 +byte vera_layer_set_backcolor::return#2 +byte vera_layer_set_backcolor::return#3 +byte vera_layer_set_backcolor::return#4 +byte vera_layer_set_backcolor::return#5 +byte vera_layer_set_backcolor::return#6 +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 +byte vera_layer_set_config::config#1 +byte vera_layer_set_config::config#2 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 +byte vera_layer_set_config::layer#1 +byte vera_layer_set_config::layer#2 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 +byte vera_layer_set_mapbase::layer#1 +byte vera_layer_set_mapbase::layer#2 +byte vera_layer_set_mapbase::layer#3 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 +byte vera_layer_set_mapbase::mapbase#1 +byte vera_layer_set_mapbase::mapbase#2 +byte vera_layer_set_mapbase::mapbase#3 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte~ vera_layer_set_text_color_mode::$0 +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::color_mode#0 +byte vera_layer_set_text_color_mode::color_mode#1 +byte vera_layer_set_text_color_mode::color_mode#2 +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_text_color_mode::layer#0 +byte vera_layer_set_text_color_mode::layer#1 +byte vera_layer_set_text_color_mode::layer#2 +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::color#0 +byte vera_layer_set_textcolor::color#1 +byte vera_layer_set_textcolor::color#2 +byte vera_layer_set_textcolor::color#3 +byte vera_layer_set_textcolor::color#4 +byte vera_layer_set_textcolor::color#5 +byte vera_layer_set_textcolor::color#6 +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#0 +byte vera_layer_set_textcolor::layer#1 +byte vera_layer_set_textcolor::layer#2 +byte vera_layer_set_textcolor::layer#3 +byte vera_layer_set_textcolor::layer#4 +byte vera_layer_set_textcolor::layer#5 +byte vera_layer_set_textcolor::layer#6 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::old#0 +byte vera_layer_set_textcolor::return +byte vera_layer_set_textcolor::return#0 +byte vera_layer_set_textcolor::return#1 +byte vera_layer_set_textcolor::return#2 +byte vera_layer_set_textcolor::return#3 +byte vera_layer_set_textcolor::return#4 +byte vera_layer_set_textcolor::return#5 +byte vera_layer_set_textcolor::return#6 +byte vera_layer_set_textcolor::return#7 +byte vera_layer_set_textcolor::return#8 +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 +byte vera_layer_set_tilebase::layer#1 +byte vera_layer_set_tilebase::layer#2 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 +byte vera_layer_set_tilebase::tilebase#1 +byte vera_layer_set_tilebase::tilebase#2 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +Adding number conversion cast (unumber) 0 in vera_layer_get_color::$4 = 0 != vera_layer_get_color::$0 +Adding number conversion cast (unumber) 4 in vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#4] << 4 +Adding number conversion cast (unumber) 1 in if(vera_layer_mode_tile::color_depth#2==1) goto vera_layer_mode_tile::@4 +Adding number conversion cast (unumber) 2 in if(vera_layer_mode_tile::color_depth#3==2) goto vera_layer_mode_tile::@5 +Adding number conversion cast (unumber) 4 in if(vera_layer_mode_tile::color_depth#4==4) goto vera_layer_mode_tile::@6 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::color_depth#5==8) goto vera_layer_mode_tile::@7 +Adding number conversion cast (unumber) $20 in if(vera_layer_mode_tile::mapwidth#2==$20) goto vera_layer_mode_tile::@12 +Adding number conversion cast (unumber) 6 in vera_layer_rowshift[vera_layer_mode_tile::layer#2] = 6 +Adding number conversion cast (unumber) $40 in vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 +Adding number conversion cast (unumber) $40 in if(vera_layer_mode_tile::mapwidth#3==$40) goto vera_layer_mode_tile::@13 +Adding number conversion cast (unumber) 7 in vera_layer_rowshift[vera_layer_mode_tile::layer#3] = 7 +Adding number conversion cast (unumber) $80 in vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 +Adding number conversion cast (unumber) $80 in if(vera_layer_mode_tile::mapwidth#4==$80) goto vera_layer_mode_tile::@14 +Adding number conversion cast (unumber) 8 in vera_layer_rowshift[vera_layer_mode_tile::layer#4] = 8 +Adding number conversion cast (unumber) $100 in vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_tile::mapwidth#5==$100) goto vera_layer_mode_tile::@15 +Adding number conversion cast (unumber) 9 in vera_layer_rowshift[vera_layer_mode_tile::layer#5] = 9 +Adding number conversion cast (unumber) $200 in vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 +Adding number conversion cast (unumber) $20 in if(vera_layer_mode_tile::mapheight#2==$20) goto vera_layer_mode_tile::@20 +Adding number conversion cast (unumber) $40 in if(vera_layer_mode_tile::mapheight#3==$40) goto vera_layer_mode_tile::@21 +Adding number conversion cast (unumber) $80 in if(vera_layer_mode_tile::mapheight#4==$80) goto vera_layer_mode_tile::@22 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_tile::mapheight#5==$100) goto vera_layer_mode_tile::@23 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::$3 = vera_layer_mode_tile::mapbase_address#3 >> 1 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::$9 = vera_layer_mode_tile::tilebase_address#3 >> 1 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::tilewidth#2==8) goto vera_layer_mode_tile::@26 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_tile::tilewidth#3==$10) goto vera_layer_mode_tile::@27 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::tileheight#2==8) goto vera_layer_mode_tile::@30 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_tile::tileheight#3==$10) goto vera_layer_mode_tile::@31 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#0 = 1 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_text::color_mode#1==$10) goto vera_layer_mode_text::@2 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_text::color_mode#2==$100) goto vera_layer_mode_text::@3 +Adding number conversion cast (unumber) 1 in if(vera_layer_mode_bitmap::color_depth#1==1) goto vera_layer_mode_bitmap::@4 +Adding number conversion cast (unumber) 2 in if(vera_layer_mode_bitmap::color_depth#2==2) goto vera_layer_mode_bitmap::@5 +Adding number conversion cast (unumber) 4 in if(vera_layer_mode_bitmap::color_depth#3==4) goto vera_layer_mode_bitmap::@6 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_bitmap::color_depth#4==8) goto vera_layer_mode_bitmap::@7 +Adding number conversion cast (unumber) 1 in vera_layer_mode_bitmap::$3 = vera_layer_mode_bitmap::bitmap_address#2 >> 1 +Adding number conversion cast (unumber) $140 in if(vera_layer_mode_bitmap::mapwidth#1==$140) goto vera_layer_mode_bitmap::vera_display_set_scale_double1 +Adding number conversion cast (unumber) $40 in *VERA_DC_HSCALE = $40 +Adding number conversion cast (unumber) $40 in *VERA_DC_VSCALE = $40 +Adding number conversion cast (unumber) $280 in if(vera_layer_mode_bitmap::mapwidth#2==$280) goto vera_layer_mode_bitmap::vera_display_set_scale_none1 +Adding number conversion cast (unumber) $80 in *VERA_DC_HSCALE = $80 +Adding number conversion cast (unumber) $80 in *VERA_DC_VSCALE = $80 +Adding number conversion cast (unumber) 1 in vera_layer_mode_text::layer#0 = 1 +Adding number conversion cast (unumber) $80 in vera_layer_mode_text::mapwidth#0 = $80 +Adding number conversion cast (unumber) $40 in vera_layer_mode_text::mapheight#0 = $40 +Adding number conversion cast (unumber) 8 in vera_layer_mode_text::tilewidth#0 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_text::tileheight#0 = 8 +Adding number conversion cast (unumber) $10 in vera_layer_mode_text::color_mode#0 = $10 +Adding number conversion cast (unumber) 1 in screenlayer::layer#0 = 1 +Adding number conversion cast (unumber) 1 in vera_layer_set_textcolor::layer#0 = 1 +Adding number conversion cast (unumber) 1 in vera_layer_set_backcolor::layer#0 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_set_mapbase::layer#1 = 0 +Adding number conversion cast (unumber) $20 in vera_layer_set_mapbase::mapbase#1 = $20 +Adding number conversion cast (unumber) 1 in vera_layer_set_mapbase::layer#2 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_set_mapbase::mapbase#2 = 0 +Adding number conversion cast (unumber) 0 in gotoxy::x#0 = 0 +Adding number conversion cast (unumber) 1 in conio_x16_init::$9 = conio_screen_height - 1 +Adding number conversion cast (unumber) conio_x16_init::$9 in conio_x16_init::$9 = conio_screen_height - (unumber)1 +Adding number conversion cast (unumber) 4 in clrscr::$1 = clrscr::$0 << 4 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_cursor_y[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_line_text[clrscr::$9] = 0 +Adding number conversion cast (unumber) 0 in gotoxy::y#1 = 0 +Adding number conversion cast (unumber) 0 in gotoxy::x#1 = 0 +Adding number conversion cast (unumber) 7 in screensize::$0 = *VERA_DC_HSCALE >> 7 +Adding number conversion cast (unumber) $28 in screensize::$1 = $28 << screensize::hscale#0 +Adding number conversion cast (unumber) screensize::$1 in screensize::$1 = (unumber)$28 << screensize::hscale#0 +Adding number conversion cast (unumber) 7 in screensize::$2 = *VERA_DC_VSCALE >> 7 +Adding number conversion cast (unumber) $1e in screensize::$3 = $1e << screensize::vscale#0 +Adding number conversion cast (unumber) screensize::$3 in screensize::$3 = (unumber)$1e << screensize::vscale#0 +Adding number conversion cast (unumber) 1 in cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 +Adding number conversion cast (unumber) 0 in cputc::$17 = 0 != cputc::scroll_enable#0 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 2 in insertup::$0 = conio_screen_width * 2 +Adding number conversion cast (unumber) insertup::$0 in insertup::$0 = conio_screen_width * (unumber)2 +Adding number conversion cast (unumber) 1 in insertup::$3 = insertup::i#3 - 1 +Adding number conversion cast (unumber) insertup::$3 in insertup::$3 = insertup::i#3 - (unumber)1 +Adding number conversion cast (unumber) insertup::$4 in insertup::$4 = insertup::$3 << conio_rowshift +Adding number conversion cast (unumber) 0 in memcpy_in_vram::dest_bank#0 = 0 +Adding number conversion cast (unumber) 0 in memcpy_in_vram::src_bank#0 = 0 +Adding number conversion cast (unumber) 0 in cscroll::$7 = 0 != conio_scroll_enable[conio_screen_layer] +Adding number conversion cast (unumber) 1 in cscroll::$5 = conio_screen_height - 1 +Adding number conversion cast (unumber) cscroll::$5 in cscroll::$5 = conio_screen_height - (unumber)1 +Adding number conversion cast (unumber) 0 in gotoxy::x#2 = 0 +Adding number conversion cast (unumber) 0 in cputs::$2 = 0 != cputs::$0 +Adding number conversion cast (unumber) 4 in screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 +Adding number conversion cast (unumber) 6 in screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 +Adding number conversion cast (unumber) 7 in rand::$0 = rand_state#13 << 7 +Adding number conversion cast (unumber) 9 in rand::$1 = rand_state#0 >> 9 +Adding number conversion cast (unumber) 8 in rand::$2 = rand_state#1 << 8 +Adding number conversion cast (unumber) 0 in mul16u::$0 = mul16u::a#2 != 0 +Adding number conversion cast (unumber) 1 in mul16u::$1 = mul16u::a#3 & 1 +Adding number conversion cast (unumber) mul16u::$1 in mul16u::$1 = mul16u::a#3 & (unumber)1 +Adding number conversion cast (unumber) 0 in mul16u::$2 = mul16u::$1 != 0 +Adding number conversion cast (unumber) 1 in mul16u::$5 = mul16u::a#4 >> 1 +Adding number conversion cast (unumber) 1 in mul16u::$6 = mul16u::mb#2 << 1 +Adding number conversion cast (unumber) 0 in bitmap_init::$5 = __bitmap_color_depth == 0 +Adding number conversion cast (unumber) 1 in bitmap_init::$8 = __bitmap_color_depth == 1 +Adding number conversion cast (unumber) 3 in bitmap_init::$7 = bitmap_init::x#2 >> 3 +Adding number conversion cast (snumber) 1 in bitmap_init::bitshift#1 = bitmap_init::bitshift#5 - 1 +Adding number conversion cast (unumber) 1 in bitmap_init::bitmask#1 = bitmap_init::bitmask#5 >> 1 +Adding number conversion cast (unumber) 2 in bitmap_init::$11 = __bitmap_color_depth == 2 +Adding number conversion cast (unumber) 2 in bitmap_init::$10 = bitmap_init::x#3 >> 2 +Adding number conversion cast (snumber) 2 in bitmap_init::bitshift#2 = bitmap_init::bitshift#6 - 2 +Adding number conversion cast (unumber) 2 in bitmap_init::bitmask#2 = bitmap_init::bitmask#6 >> 2 +Adding number conversion cast (unumber) 3 in bitmap_init::$14 = __bitmap_color_depth == 3 +Adding number conversion cast (unumber) 1 in bitmap_init::$13 = bitmap_init::x#4 >> 1 +Adding number conversion cast (snumber) 4 in bitmap_init::bitshift#3 = bitmap_init::bitshift#7 - 4 +Adding number conversion cast (unumber) 4 in bitmap_init::bitmask#3 = bitmap_init::bitmask#7 >> 4 +Adding number conversion cast (snumber) 0 in bitmap_init::$16 = bitmap_init::bitshift#8 < 0 +Adding number conversion cast (unumber) 0 in bitmap_init::$18 = bitmap_init::bitmask#9 == 0 +Adding number conversion cast (unumber) 2 in bitmap_init::$3 = __bitmap_color_depth << 2 +Adding number conversion cast (unumber) 2 in bitmap_clear::$0 = __bitmap_color_depth << 2 +Adding number conversion cast (unumber) 0 in memset_vram::data#0 = 0 +Adding number conversion cast (unumber) 0 in bitmap_plot::$11 = 0 != bitmap_plot::bitshift#0 +Adding number conversion cast (unumber) 1 in bitmap_line_xdyi::$0 = bitmap_line_xdyi::yd#2 >> 1 +Adding number conversion cast (unumber) 1 in bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#2 + 1 +Adding number conversion cast (unumber) bitmap_line_xdyi::$6 in bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#2 + (unumber)1 +Adding number conversion cast (unumber) 1 in bitmap_line_xdyd::$0 = bitmap_line_xdyd::yd#2 >> 1 +Adding number conversion cast (unumber) 1 in bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#2 + 1 +Adding number conversion cast (unumber) bitmap_line_xdyd::$6 in bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#2 + (unumber)1 +Adding number conversion cast (unumber) 1 in bitmap_line_ydxi::$0 = bitmap_line_ydxi::xd#2 >> 1 +Adding number conversion cast (unumber) 1 in bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#2 + 1 +Adding number conversion cast (unumber) bitmap_line_ydxi::$6 in bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#2 + (unumber)1 +Adding number conversion cast (unumber) 1 in bitmap_line_ydxd::$0 = bitmap_line_ydxd::xd#2 >> 1 +Adding number conversion cast (unumber) 1 in bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#2 + 1 +Adding number conversion cast (unumber) bitmap_line_ydxd::$6 in bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#2 + (unumber)1 +Adding number conversion cast (unumber) 1 in divr16u::$0 = divr16u::rem#4 << 1 +Adding number conversion cast (unumber) $80 in divr16u::$2 = divr16u::$1 & $80 +Adding number conversion cast (unumber) divr16u::$2 in divr16u::$2 = divr16u::$1 & (unumber)$80 +Adding number conversion cast (unumber) 0 in divr16u::$3 = divr16u::$2 != 0 +Adding number conversion cast (unumber) 1 in divr16u::$6 = divr16u::dividend#3 << 1 +Adding number conversion cast (unumber) 1 in divr16u::$7 = divr16u::quotient#3 << 1 +Adding number conversion cast (unumber) 1 in divr16u::$5 = divr16u::rem#6 | 1 +Adding number conversion cast (unumber) divr16u::$5 in divr16u::$5 = divr16u::rem#6 | (unumber)1 +Adding number conversion cast (unumber) 1 in memcpy_in_vram::dest_bank#1 = 1 +Adding number conversion cast (unumber) 0 in memcpy_in_vram::src_bank#1 = 0 +Adding number conversion cast (unumber) $100*8 in memcpy_in_vram::num#1 = $100*8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::layer#1 = 1 +Adding number conversion cast (unumber) $14000 in vera_layer_mode_tile::mapbase_address#2 = $14000 +Adding number conversion cast (unumber) $1f000 in vera_layer_mode_tile::tilebase_address#2 = $1f000 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapwidth#1 = $80 +Adding number conversion cast (unumber) $40 in vera_layer_mode_tile::mapheight#1 = $40 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tilewidth#1 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tileheight#1 = 8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#1 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_mode_bitmap::layer#0 = 0 +Adding number conversion cast (unumber) $140 in vera_layer_mode_bitmap::mapwidth#0 = $140 +Adding number conversion cast (unumber) 8 in vera_layer_mode_bitmap::color_depth#0 = 8 +Adding number conversion cast (unumber) 1 in screenlayer::layer#1 = 1 +Adding number conversion cast (unumber) 0 in gotoxy::x#3 = 0 +Adding number conversion cast (unumber) $19 in gotoxy::y#3 = $19 +Adding number conversion cast (unumber) 0 in main::vera_layer_show1_layer#0 = 0 +Adding number conversion cast (unumber) 0 in bitmap_init::layer#0 = 0 +Adding number conversion cast (unumber) 0 in bitmap_init::address#0 = 0 +Adding number conversion cast (unumber) 0 in gotoxy::x#4 = 0 +Adding number conversion cast (unumber) $1d in gotoxy::y#4 = $1d +Adding number conversion cast (unumber) 0 in main::$48 = 0 != main::$30 +Adding number conversion cast (unumber) $140 in modr16u::divisor#0 = $140 +Adding number conversion cast (unumber) 0 in modr16u::rem#0 = 0 +Adding number conversion cast (unumber) $140 in modr16u::divisor#1 = $140 +Adding number conversion cast (unumber) 0 in modr16u::rem#1 = 0 +Adding number conversion cast (unumber) $c8 in modr16u::divisor#2 = $c8 +Adding number conversion cast (unumber) 0 in modr16u::rem#2 = 0 +Adding number conversion cast (unumber) $c8 in modr16u::divisor#3 = $c8 +Adding number conversion cast (unumber) 0 in modr16u::rem#3 = 0 +Adding number conversion cast (unumber) $ff in main::$41 = main::$40 & $ff +Adding number conversion cast (unumber) main::$41 in main::$41 = main::$40 & (unumber)$ff +Adding number conversion cast (unumber) 0 in gotoxy::x#5 = 0 +Adding number conversion cast (unumber) $1a in gotoxy::y#5 = $1a +Adding number conversion cast (unumber) 0 in gotoxy::x#6 = 0 +Adding number conversion cast (unumber) $1d in gotoxy::y#6 = $1d +Adding number conversion cast (unumber) 0 in main::$49 = 0 != main::$43 +Adding number conversion cast (unumber) 0 in bitmap_line::y0#1 = 0 +Adding number conversion cast (unumber) $c7 in bitmap_line::y1#1 = $c7 +Adding number conversion cast (unumber) $13f in main::$46 = main::x#1 > $13f +Adding number conversion cast (unumber) 1 in screenlayer::layer#2 = 1 +Adding number conversion cast (unumber) 0 in main::x#2 = 0 +Successful SSA optimization PassNAddNumberTypeConversions +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#2] = (unumber)6 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$13] = (unumber)$40 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#3] = (unumber)7 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$14] = (unumber)$80 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#4] = (unumber)8 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$15] = (unumber)$100 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#5] = (unumber)9 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$16] = (unumber)$200 +Inlining cast vera_layer_mode_tile::color_depth#0 = (unumber)1 +Inlining cast *VERA_DC_HSCALE = (unumber)$40 +Inlining cast *VERA_DC_VSCALE = (unumber)$40 +Inlining cast *VERA_DC_HSCALE = (unumber)$80 +Inlining cast *VERA_DC_VSCALE = (unumber)$80 +Inlining cast vera_layer_mode_text::layer#0 = (unumber)1 +Inlining cast vera_layer_mode_text::mapwidth#0 = (unumber)$80 +Inlining cast vera_layer_mode_text::mapheight#0 = (unumber)$40 +Inlining cast vera_layer_mode_text::tilewidth#0 = (unumber)8 +Inlining cast vera_layer_mode_text::tileheight#0 = (unumber)8 +Inlining cast vera_layer_mode_text::color_mode#0 = (unumber)$10 +Inlining cast screenlayer::layer#0 = (unumber)1 +Inlining cast vera_layer_set_textcolor::layer#0 = (unumber)1 +Inlining cast vera_layer_set_backcolor::layer#0 = (unumber)1 +Inlining cast vera_layer_set_mapbase::layer#1 = (unumber)0 +Inlining cast vera_layer_set_mapbase::mapbase#1 = (unumber)$20 +Inlining cast vera_layer_set_mapbase::layer#2 = (unumber)1 +Inlining cast vera_layer_set_mapbase::mapbase#2 = (unumber)0 +Inlining cast gotoxy::x#0 = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast conio_cursor_y[conio_screen_layer] = (unumber)0 +Inlining cast conio_line_text[clrscr::$9] = (unumber)0 +Inlining cast gotoxy::y#1 = (unumber)0 +Inlining cast gotoxy::x#1 = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast memcpy_in_vram::dest_bank#0 = (unumber)0 +Inlining cast memcpy_in_vram::src_bank#0 = (unumber)0 +Inlining cast gotoxy::x#2 = (unumber)0 +Inlining cast CONIO_SCREEN_TEXT#2 = (byte*)screenlayer::$1 +Inlining cast bitmap_clear::vdest#0 = (void*)bitmap_clear::$5 +Inlining cast memset_vram::data#0 = (unumber)0 +Inlining cast memcpy_in_vram::dest_bank#1 = (unumber)1 +Inlining cast memcpy_in_vram::src_bank#1 = (unumber)0 +Inlining cast memcpy_in_vram::num#1 = (unumber)$100*8 +Inlining cast vera_layer_mode_tile::layer#1 = (unumber)1 +Inlining cast vera_layer_mode_tile::mapbase_address#2 = (unumber)$14000 +Inlining cast vera_layer_mode_tile::tilebase_address#2 = (unumber)$1f000 +Inlining cast vera_layer_mode_tile::mapwidth#1 = (unumber)$80 +Inlining cast vera_layer_mode_tile::mapheight#1 = (unumber)$40 +Inlining cast vera_layer_mode_tile::tilewidth#1 = (unumber)8 +Inlining cast vera_layer_mode_tile::tileheight#1 = (unumber)8 +Inlining cast vera_layer_mode_tile::color_depth#1 = (unumber)1 +Inlining cast vera_layer_mode_bitmap::layer#0 = (unumber)0 +Inlining cast vera_layer_mode_bitmap::mapwidth#0 = (unumber)$140 +Inlining cast vera_layer_mode_bitmap::color_depth#0 = (unumber)8 +Inlining cast screenlayer::layer#1 = (unumber)1 +Inlining cast gotoxy::x#3 = (unumber)0 +Inlining cast gotoxy::y#3 = (unumber)$19 +Inlining cast main::vera_layer_show1_layer#0 = (unumber)0 +Inlining cast bitmap_init::layer#0 = (unumber)0 +Inlining cast bitmap_init::address#0 = (unumber)0 +Inlining cast gotoxy::x#4 = (unumber)0 +Inlining cast gotoxy::y#4 = (unumber)$1d +Inlining cast modr16u::divisor#0 = (unumber)$140 +Inlining cast modr16u::rem#0 = (unumber)0 +Inlining cast modr16u::divisor#1 = (unumber)$140 +Inlining cast modr16u::rem#1 = (unumber)0 +Inlining cast modr16u::divisor#2 = (unumber)$c8 +Inlining cast modr16u::rem#2 = (unumber)0 +Inlining cast modr16u::divisor#3 = (unumber)$c8 +Inlining cast modr16u::rem#3 = (unumber)0 +Inlining cast gotoxy::x#5 = (unumber)0 +Inlining cast gotoxy::y#5 = (unumber)$1a +Inlining cast gotoxy::x#6 = (unumber)0 +Inlining cast gotoxy::y#6 = (unumber)$1d +Inlining cast bitmap_line::y0#1 = (unumber)0 +Inlining cast bitmap_line::y1#1 = (unumber)$c7 +Inlining cast screenlayer::layer#2 = (unumber)1 +Inlining cast main::x#2 = (unumber)0 +Successful SSA optimization Pass2InlineCast +Simplifying constant pointer cast (byte*) 40736 +Simplifying constant pointer cast (byte*) 40737 +Simplifying constant pointer cast (byte*) 40738 +Simplifying constant pointer cast (byte*) 40739 +Simplifying constant pointer cast (byte*) 40740 +Simplifying constant pointer cast (byte*) 40741 +Simplifying constant pointer cast (byte*) 40745 +Simplifying constant pointer cast (byte*) 40746 +Simplifying constant pointer cast (byte*) 40747 +Simplifying constant pointer cast (byte*) 40749 +Simplifying constant pointer cast (byte*) 40750 +Simplifying constant pointer cast (byte*) 40751 +Simplifying constant pointer cast (byte*) 40756 +Simplifying constant pointer cast (byte*) 40757 +Simplifying constant pointer cast (byte*) 40758 +Simplifying constant pointer cast (byte*) 0 +Simplifying constant pointer cast (byte*) 214 +Simplifying constant pointer cast (byte*) 650 +Simplifying constant pointer cast (byte*) 65508 +Simplifying constant integer cast 0 +Simplifying constant integer cast 4 +Simplifying constant integer cast 1 +Simplifying constant integer cast 2 +Simplifying constant integer cast 4 +Simplifying constant integer cast 8 +Simplifying constant integer cast $20 +Simplifying constant integer cast 6 +Simplifying constant integer cast $40 +Simplifying constant integer cast $40 +Simplifying constant integer cast 7 +Simplifying constant integer cast $80 +Simplifying constant integer cast $80 +Simplifying constant integer cast 8 +Simplifying constant integer cast $100 +Simplifying constant integer cast $100 +Simplifying constant integer cast 9 +Simplifying constant integer cast $200 +Simplifying constant integer cast $20 +Simplifying constant integer cast $40 +Simplifying constant integer cast $80 +Simplifying constant integer cast $100 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 1 +Simplifying constant integer cast $10 +Simplifying constant integer cast $100 +Simplifying constant integer cast 1 +Simplifying constant integer cast 2 +Simplifying constant integer cast 4 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast $140 +Simplifying constant integer cast $40 +Simplifying constant integer cast $40 +Simplifying constant integer cast $280 +Simplifying constant integer cast $80 +Simplifying constant integer cast $80 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $f800 +Simplifying constant integer cast $80 +Simplifying constant integer cast $40 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $20 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 4 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 7 +Simplifying constant integer cast $28 +Simplifying constant integer cast 7 +Simplifying constant integer cast $1e +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 4 +Simplifying constant integer cast 6 +Simplifying constant integer cast 7 +Simplifying constant integer cast 9 +Simplifying constant integer cast 8 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 3 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 2 +Simplifying constant integer cast 2 +Simplifying constant integer cast 2 +Simplifying constant integer cast 2 +Simplifying constant integer cast 3 +Simplifying constant integer cast 1 +Simplifying constant integer cast 4 +Simplifying constant integer cast 4 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast 2 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast $80 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant pointer cast (void*) 61440 +Simplifying constant integer cast 0 +Simplifying constant pointer cast (void*) 63488 +Simplifying constant integer cast 1 +Simplifying constant integer cast $14000 +Simplifying constant integer cast $1f000 +Simplifying constant integer cast $80 +Simplifying constant integer cast $40 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $140 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $19 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $1d +Simplifying constant integer cast 0 +Simplifying constant integer cast $140 +Simplifying constant integer cast 0 +Simplifying constant integer cast $140 +Simplifying constant integer cast 0 +Simplifying constant integer cast $c8 +Simplifying constant integer cast 0 +Simplifying constant integer cast $c8 +Simplifying constant integer cast 0 +Simplifying constant integer cast $ff +Simplifying constant integer cast 0 +Simplifying constant integer cast $1a +Simplifying constant integer cast 0 +Simplifying constant integer cast $1d +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $c7 +Simplifying constant integer cast $13f +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Successful SSA optimization PassNCastSimplification +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) 6 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 9 +Finalized unsigned number type (word) $200 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (word) $140 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $28 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $1e +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 6 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) 9 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 3 +Finalized signed number type (signed byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized signed number type (signed byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 3 +Finalized unsigned number type (byte) 1 +Finalized signed number type (signed byte) 4 +Finalized unsigned number type (byte) 4 +Finalized signed number type (signed byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (dword) $14000 +Finalized unsigned number type (dword) $1f000 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $140 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $19 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $1d +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $140 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $140 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $c8 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $c8 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $ff +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $1a +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $1d +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $c7 +Finalized unsigned number type (word) $13f +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Successful SSA optimization PassNFinalizeNumberTypeConversions +Inferred type updated to byte in conio_x16_init::$9 = conio_screen_height - 1 +Inferred type updated to byte in screensize::$1 = $28 << screensize::hscale#0 +Inferred type updated to byte in screensize::$3 = $1e << screensize::vscale#0 +Inferred type updated to byte in insertup::$0 = conio_screen_width * 2 +Inferred type updated to byte in insertup::$3 = insertup::i#3 - 1 +Inferred type updated to byte in insertup::$4 = insertup::$3 << conio_rowshift +Inferred type updated to byte in cscroll::$5 = conio_screen_height - 1 +Inferred type updated to byte in mul16u::$1 = mul16u::a#3 & 1 +Inferred type updated to word in bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#2 + 1 +Inferred type updated to word in bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#2 + 1 +Inferred type updated to word in bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#2 + 1 +Inferred type updated to word in bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#2 + 1 +Inferred type updated to byte in divr16u::$2 = divr16u::$1 & $80 +Inferred type updated to word in divr16u::$5 = divr16u::rem#6 | 1 +Inferred type updated to byte in main::$41 = main::$40 & $ff +Inversing boolean not [43] vera_display_get_hscale::$1 = *VERA_DC_HSCALE != vera_display_get_hscale::hscale[vera_display_get_hscale::s#2] from [42] vera_display_get_hscale::$0 = *VERA_DC_HSCALE == vera_display_get_hscale::hscale[vera_display_get_hscale::s#2] +Inversing boolean not [60] vera_display_get_vscale::$1 = *VERA_DC_VSCALE != vera_display_get_vscale::vscale[vera_display_get_vscale::s#2] from [59] vera_display_get_vscale::$0 = *VERA_DC_VSCALE == vera_display_get_vscale::vscale[vera_display_get_vscale::s#2] +Inversing boolean not [388] conio_x16_init::$8 = conio_x16_init::line#2 < conio_screen_height from [387] conio_x16_init::$7 = conio_x16_init::line#2 >= conio_screen_height +Inversing boolean not [454] gotoxy::$1 = gotoxy::y#7 <= conio_screen_height from [453] gotoxy::$0 = gotoxy::y#7 > conio_screen_height +Inversing boolean not [458] gotoxy::$3 = gotoxy::x#7 < conio_screen_width from [457] gotoxy::$2 = gotoxy::x#7 >= conio_screen_width +Inversing boolean not [515] cputc::$12 = conio_cursor_x[conio_screen_layer] != conio_screen_width from [514] cputc::$11 = conio_cursor_x[conio_screen_layer] == conio_screen_width +Inversing boolean not [520] cputc::$9 = cputc::$16 != conio_width from [519] cputc::$8 = cputc::$16 == conio_width +Inversing boolean not [593] cscroll::$1 = conio_cursor_y[conio_screen_layer] < conio_screen_height from [592] cscroll::$0 = conio_cursor_y[conio_screen_layer] >= conio_screen_height +Inversing boolean not [605] cscroll::$3 = conio_cursor_y[conio_screen_layer] < conio_height from [604] cscroll::$2 = conio_cursor_y[conio_screen_layer] >= conio_height +Inversing boolean not [698] mul16u::$3 = mul16u::$1 == 0 from [697] mul16u::$2 = mul16u::$1 != 0 +Inversing boolean not [742] bitmap_init::$6 = __bitmap_color_depth != 0 from [741] bitmap_init::$5 = __bitmap_color_depth == 0 +Inversing boolean not [746] bitmap_init::$9 = __bitmap_color_depth != 1 from [745] bitmap_init::$8 = __bitmap_color_depth == 1 +Inversing boolean not [758] bitmap_init::$12 = __bitmap_color_depth != 2 from [757] bitmap_init::$11 = __bitmap_color_depth == 2 +Inversing boolean not [770] bitmap_init::$15 = __bitmap_color_depth != 3 from [769] bitmap_init::$14 = __bitmap_color_depth == 3 +Inversing boolean not [782] bitmap_init::$17 = bitmap_init::bitshift#8 >= 0 from [781] bitmap_init::$16 = bitmap_init::bitshift#8 < 0 +Inversing boolean not [791] bitmap_init::$19 = bitmap_init::bitmask#9 != 0 from [790] bitmap_init::$18 = bitmap_init::bitmask#9 == 0 +Inversing boolean not [990] bitmap_line_xdyi::$4 = bitmap_line_xdyi::xd#2 >= bitmap_line_xdyi::e#1 from [989] bitmap_line_xdyi::$3 = bitmap_line_xdyi::xd#2 < bitmap_line_xdyi::e#1 +Inversing boolean not [1014] bitmap_line_xdyd::$4 = bitmap_line_xdyd::xd#2 >= bitmap_line_xdyd::e#1 from [1013] bitmap_line_xdyd::$3 = bitmap_line_xdyd::xd#2 < bitmap_line_xdyd::e#1 +Inversing boolean not [1038] bitmap_line_ydxi::$4 = bitmap_line_ydxi::yd#2 >= bitmap_line_ydxi::e#1 from [1037] bitmap_line_ydxi::$3 = bitmap_line_ydxi::yd#2 < bitmap_line_ydxi::e#1 +Inversing boolean not [1063] bitmap_line_ydxd::$4 = bitmap_line_ydxd::yd#2 >= bitmap_line_ydxd::e#1 from [1062] bitmap_line_ydxd::$3 = bitmap_line_ydxd::yd#2 < bitmap_line_ydxd::e#1 +Inversing boolean not [1083] divr16u::$4 = divr16u::$2 == 0 from [1082] divr16u::$3 = divr16u::$2 != 0 +Inversing boolean not [1091] divr16u::$9 = divr16u::rem#5 < divr16u::divisor#1 from [1090] divr16u::$8 = divr16u::rem#5 >= divr16u::divisor#1 +Inversing boolean not [1220] main::$31 = 0 == main::$30 from [1219] main::$48 = 0 != main::$30 +Inversing boolean not [1337] main::$44 = 0 == main::$43 from [1336] main::$49 = 0 != main::$43 +Inversing boolean not [1350] main::$47 = main::x#1 <= $13f from [1349] main::$46 = main::x#1 > $13f +Successful SSA optimization Pass2UnaryNotSimplification +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#2 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::vera_layer_get_color_depth1_return#3 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Alias memset_vram::data#1 = memset_vram::data#2 +Alias memset_vram::i#2 = memset_vram::i#3 +Alias memset_vram::num#1 = memset_vram::num#3 +Alias memcpy_in_vram::i#2 = memcpy_in_vram::i#3 +Alias memcpy_in_vram::num#2 = memcpy_in_vram::num#4 +Alias vera_display_get_hscale::s#2 = vera_display_get_hscale::s#3 vera_display_get_hscale::s#4 vera_display_get_hscale::scale#1 +Alias vera_display_get_hscale::scale#3 = vera_display_get_hscale::scale#4 +Alias vera_display_get_hscale::return#0 = vera_display_get_hscale::scale#2 vera_display_get_hscale::return#3 vera_display_get_hscale::return#1 +Alias vera_display_get_vscale::s#2 = vera_display_get_vscale::s#3 vera_display_get_vscale::s#4 vera_display_get_vscale::scale#1 +Alias vera_display_get_vscale::scale#3 = vera_display_get_vscale::scale#4 +Alias vera_display_get_vscale::return#0 = vera_display_get_vscale::scale#2 vera_display_get_vscale::return#3 vera_display_get_vscale::return#1 +Alias vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#3 vera_layer_get_mapbase_bank::return#1 +Alias vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#3 vera_layer_get_mapbase_offset::return#1 +Alias vera_layer_set_textcolor::return#0 = vera_layer_set_textcolor::old#0 vera_layer_set_textcolor::return#8 vera_layer_set_textcolor::return#1 +Alias vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#3 vera_layer_get_textcolor::return#1 +Alias vera_layer_set_backcolor::return#0 = vera_layer_set_backcolor::old#0 vera_layer_set_backcolor::return#6 vera_layer_set_backcolor::return#1 +Alias vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#3 vera_layer_get_backcolor::return#1 +Alias vera_layer_get_color::layer#2 = vera_layer_get_color::layer#3 vera_layer_get_color::layer#4 +Alias vera_layer_get_color::return#1 = vera_layer_get_color::$2 +Alias vera_layer_get_color::return#2 = vera_layer_get_color::return#5 +Alias vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#3 vera_layer_get_rowshift::return#1 +Alias vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#3 vera_layer_get_rowskip::return#1 +Alias vera_layer_mode_tile::config#0 = vera_layer_mode_tile::config#13 vera_layer_mode_tile::config#26 vera_layer_mode_tile::config#14 vera_layer_mode_tile::config#27 vera_layer_mode_tile::config#15 vera_layer_mode_tile::config#28 vera_layer_mode_tile::config#16 +Alias vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_tile::mapwidth#7 vera_layer_mode_tile::mapwidth#11 vera_layer_mode_tile::mapwidth#12 vera_layer_mode_tile::mapwidth#8 vera_layer_mode_tile::mapwidth#13 vera_layer_mode_tile::mapwidth#9 vera_layer_mode_tile::mapwidth#6 +Alias vera_layer_mode_tile::layer#22 = vera_layer_mode_tile::layer#23 vera_layer_mode_tile::layer#31 vera_layer_mode_tile::layer#32 vera_layer_mode_tile::layer#24 vera_layer_mode_tile::layer#33 vera_layer_mode_tile::layer#25 vera_layer_mode_tile::layer#26 +Alias vera_layer_mode_tile::mapheight#14 = vera_layer_mode_tile::mapheight#15 vera_layer_mode_tile::mapheight#19 vera_layer_mode_tile::mapheight#20 vera_layer_mode_tile::mapheight#16 vera_layer_mode_tile::mapheight#21 vera_layer_mode_tile::mapheight#17 vera_layer_mode_tile::mapheight#18 +Alias vera_layer_mode_tile::mapbase_address#21 = vera_layer_mode_tile::mapbase_address#22 vera_layer_mode_tile::mapbase_address#26 vera_layer_mode_tile::mapbase_address#27 vera_layer_mode_tile::mapbase_address#23 vera_layer_mode_tile::mapbase_address#28 vera_layer_mode_tile::mapbase_address#24 vera_layer_mode_tile::mapbase_address#25 +Alias vera_layer_mode_tile::tilebase_address#22 = vera_layer_mode_tile::tilebase_address#23 vera_layer_mode_tile::tilebase_address#27 vera_layer_mode_tile::tilebase_address#28 vera_layer_mode_tile::tilebase_address#24 vera_layer_mode_tile::tilebase_address#29 vera_layer_mode_tile::tilebase_address#25 vera_layer_mode_tile::tilebase_address#26 +Alias vera_layer_mode_tile::tilewidth#22 = vera_layer_mode_tile::tilewidth#23 vera_layer_mode_tile::tilewidth#27 vera_layer_mode_tile::tilewidth#28 vera_layer_mode_tile::tilewidth#24 vera_layer_mode_tile::tilewidth#29 vera_layer_mode_tile::tilewidth#25 vera_layer_mode_tile::tilewidth#26 +Alias vera_layer_mode_tile::tileheight#26 = vera_layer_mode_tile::tileheight#27 vera_layer_mode_tile::tileheight#31 vera_layer_mode_tile::tileheight#32 vera_layer_mode_tile::tileheight#28 vera_layer_mode_tile::tileheight#33 vera_layer_mode_tile::tileheight#29 vera_layer_mode_tile::tileheight#30 +Alias vera_layer_mode_tile::color_depth#2 = vera_layer_mode_tile::color_depth#3 vera_layer_mode_tile::color_depth#4 vera_layer_mode_tile::color_depth#5 +Alias vera_layer_mode_tile::config#17 = vera_layer_mode_tile::config#29 vera_layer_mode_tile::config#30 vera_layer_mode_tile::config#18 vera_layer_mode_tile::config#31 vera_layer_mode_tile::config#19 vera_layer_mode_tile::config#32 vera_layer_mode_tile::config#20 +Alias vera_layer_mode_tile::layer#10 = vera_layer_mode_tile::layer#2 vera_layer_mode_tile::layer#11 vera_layer_mode_tile::layer#3 vera_layer_mode_tile::layer#12 vera_layer_mode_tile::layer#4 vera_layer_mode_tile::layer#13 vera_layer_mode_tile::layer#5 +Alias vera_layer_mode_tile::mapheight#10 = vera_layer_mode_tile::mapheight#7 vera_layer_mode_tile::mapheight#11 vera_layer_mode_tile::mapheight#12 vera_layer_mode_tile::mapheight#8 vera_layer_mode_tile::mapheight#13 vera_layer_mode_tile::mapheight#9 vera_layer_mode_tile::mapheight#6 +Alias vera_layer_mode_tile::mapbase_address#13 = vera_layer_mode_tile::mapbase_address#14 vera_layer_mode_tile::mapbase_address#18 vera_layer_mode_tile::mapbase_address#19 vera_layer_mode_tile::mapbase_address#15 vera_layer_mode_tile::mapbase_address#20 vera_layer_mode_tile::mapbase_address#16 vera_layer_mode_tile::mapbase_address#17 +Alias vera_layer_mode_tile::tilebase_address#14 = vera_layer_mode_tile::tilebase_address#15 vera_layer_mode_tile::tilebase_address#19 vera_layer_mode_tile::tilebase_address#20 vera_layer_mode_tile::tilebase_address#16 vera_layer_mode_tile::tilebase_address#21 vera_layer_mode_tile::tilebase_address#17 vera_layer_mode_tile::tilebase_address#18 +Alias vera_layer_mode_tile::tilewidth#14 = vera_layer_mode_tile::tilewidth#15 vera_layer_mode_tile::tilewidth#19 vera_layer_mode_tile::tilewidth#20 vera_layer_mode_tile::tilewidth#16 vera_layer_mode_tile::tilewidth#21 vera_layer_mode_tile::tilewidth#17 vera_layer_mode_tile::tilewidth#18 +Alias vera_layer_mode_tile::tileheight#18 = vera_layer_mode_tile::tileheight#19 vera_layer_mode_tile::tileheight#23 vera_layer_mode_tile::tileheight#24 vera_layer_mode_tile::tileheight#20 vera_layer_mode_tile::tileheight#25 vera_layer_mode_tile::tileheight#21 vera_layer_mode_tile::tileheight#22 +Alias vera_layer_mode_tile::mapwidth#2 = vera_layer_mode_tile::mapwidth#3 vera_layer_mode_tile::mapwidth#4 vera_layer_mode_tile::mapwidth#5 +Alias vera_layer_mode_tile::config#21 = vera_layer_mode_tile::config#33 vera_layer_mode_tile::config#34 vera_layer_mode_tile::config#22 vera_layer_mode_tile::config#35 vera_layer_mode_tile::config#23 vera_layer_mode_tile::config#36 vera_layer_mode_tile::config#24 +Alias vera_layer_mode_tile::layer#14 = vera_layer_mode_tile::layer#15 vera_layer_mode_tile::layer#27 vera_layer_mode_tile::layer#28 vera_layer_mode_tile::layer#16 vera_layer_mode_tile::layer#29 vera_layer_mode_tile::layer#17 vera_layer_mode_tile::layer#18 +Alias vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_tile::mapbase_address#6 vera_layer_mode_tile::mapbase_address#11 vera_layer_mode_tile::mapbase_address#7 vera_layer_mode_tile::mapbase_address#12 vera_layer_mode_tile::mapbase_address#8 vera_layer_mode_tile::mapbase_address#5 vera_layer_mode_tile::mapbase_address#9 +Alias vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_tile::tilebase_address#7 vera_layer_mode_tile::tilebase_address#11 vera_layer_mode_tile::tilebase_address#12 vera_layer_mode_tile::tilebase_address#8 vera_layer_mode_tile::tilebase_address#13 vera_layer_mode_tile::tilebase_address#9 vera_layer_mode_tile::tilebase_address#6 +Alias vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_tile::tilewidth#7 vera_layer_mode_tile::tilewidth#11 vera_layer_mode_tile::tilewidth#12 vera_layer_mode_tile::tilewidth#8 vera_layer_mode_tile::tilewidth#13 vera_layer_mode_tile::tilewidth#9 vera_layer_mode_tile::tilewidth#6 +Alias vera_layer_mode_tile::tileheight#10 = vera_layer_mode_tile::tileheight#11 vera_layer_mode_tile::tileheight#15 vera_layer_mode_tile::tileheight#16 vera_layer_mode_tile::tileheight#12 vera_layer_mode_tile::tileheight#17 vera_layer_mode_tile::tileheight#13 vera_layer_mode_tile::tileheight#14 +Alias vera_layer_mode_tile::mapheight#2 = vera_layer_mode_tile::mapheight#3 vera_layer_mode_tile::mapheight#4 vera_layer_mode_tile::mapheight#5 +Alias vera_layer_mode_tile::mapbase_address#3 = vera_layer_mode_tile::mapbase_address#4 +Alias vera_layer_mode_tile::layer#34 = vera_layer_mode_tile::layer#7 vera_layer_mode_tile::layer#6 vera_layer_mode_tile::layer#8 vera_layer_mode_tile::layer#35 vera_layer_mode_tile::layer#36 +Alias vera_layer_mode_tile::tilebase_address#3 = vera_layer_mode_tile::tilebase_address#4 vera_layer_mode_tile::tilebase_address#5 +Alias vera_layer_mode_tile::tilewidth#2 = vera_layer_mode_tile::tilewidth#4 vera_layer_mode_tile::tilewidth#5 vera_layer_mode_tile::tilewidth#3 +Alias vera_layer_mode_tile::tileheight#4 = vera_layer_mode_tile::tileheight#8 vera_layer_mode_tile::tileheight#9 vera_layer_mode_tile::tileheight#7 vera_layer_mode_tile::tileheight#5 vera_layer_mode_tile::tileheight#6 +Alias vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::$3 +Alias vera_layer_mode_tile::mapbase#0 = vera_layer_mode_tile::$5 +Alias vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::$9 +Alias vera_layer_mode_tile::tilebase#0 = vera_layer_mode_tile::$11 +Alias vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#6 vera_layer_mode_tile::tilebase#11 vera_layer_mode_tile::tilebase#7 +Alias vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#8 vera_layer_mode_tile::tilebase#13 vera_layer_mode_tile::tilebase#9 +Alias vera_layer_mode_tile::layer#19 = vera_layer_mode_tile::layer#20 vera_layer_mode_tile::layer#30 vera_layer_mode_tile::layer#21 +Alias vera_layer_mode_tile::tileheight#2 = vera_layer_mode_tile::tileheight#3 +Alias vera_layer_mode_text::color_mode#1 = vera_layer_mode_text::color_mode#3 vera_layer_mode_text::color_mode#2 +Alias vera_layer_mode_text::layer#1 = vera_layer_mode_text::layer#4 vera_layer_mode_text::layer#2 vera_layer_mode_text::layer#5 vera_layer_mode_text::layer#3 +Alias vera_layer_mode_bitmap::config#0 = vera_layer_mode_bitmap::config#6 vera_layer_mode_bitmap::config#12 vera_layer_mode_bitmap::config#7 vera_layer_mode_bitmap::config#13 vera_layer_mode_bitmap::config#8 vera_layer_mode_bitmap::config#14 vera_layer_mode_bitmap::config#9 +Alias vera_layer_mode_bitmap::bitmap_address#10 = vera_layer_mode_bitmap::bitmap_address#4 vera_layer_mode_bitmap::bitmap_address#8 vera_layer_mode_bitmap::bitmap_address#9 vera_layer_mode_bitmap::bitmap_address#5 vera_layer_mode_bitmap::bitmap_address#6 vera_layer_mode_bitmap::bitmap_address#3 vera_layer_mode_bitmap::bitmap_address#7 +Alias vera_layer_mode_bitmap::layer#12 = vera_layer_mode_bitmap::layer#5 vera_layer_mode_bitmap::layer#13 vera_layer_mode_bitmap::layer#6 vera_layer_mode_bitmap::layer#14 vera_layer_mode_bitmap::layer#7 vera_layer_mode_bitmap::layer#4 vera_layer_mode_bitmap::layer#8 +Alias vera_layer_mode_bitmap::mapwidth#10 = vera_layer_mode_bitmap::mapwidth#4 vera_layer_mode_bitmap::mapwidth#8 vera_layer_mode_bitmap::mapwidth#9 vera_layer_mode_bitmap::mapwidth#5 vera_layer_mode_bitmap::mapwidth#6 vera_layer_mode_bitmap::mapwidth#3 vera_layer_mode_bitmap::mapwidth#7 +Alias vera_layer_mode_bitmap::color_depth#1 = vera_layer_mode_bitmap::color_depth#2 vera_layer_mode_bitmap::color_depth#3 vera_layer_mode_bitmap::color_depth#4 +Alias vera_layer_mode_bitmap::config#15 = vera_layer_mode_bitmap::config#5 vera_layer_mode_bitmap::$0 vera_layer_mode_bitmap::config#18 vera_layer_mode_bitmap::config#17 vera_layer_mode_bitmap::config#19 vera_layer_mode_bitmap::config#16 +Alias vera_layer_mode_bitmap::bitmap_address#0 = vera_layer_mode_bitmap::$3 +Alias vera_layer_mode_bitmap::tilebase#0 = vera_layer_mode_bitmap::$5 +Alias vera_layer_mode_bitmap::tilebase#1 = vera_layer_mode_bitmap::tilebase#7 vera_layer_mode_bitmap::tilebase#4 vera_layer_mode_bitmap::tilebase#10 vera_layer_mode_bitmap::tilebase#8 vera_layer_mode_bitmap::tilebase#5 +Alias vera_layer_mode_bitmap::layer#1 = vera_layer_mode_bitmap::layer#15 vera_layer_mode_bitmap::layer#9 vera_layer_mode_bitmap::layer#11 vera_layer_mode_bitmap::layer#16 vera_layer_mode_bitmap::layer#10 +Alias vera_layer_mode_bitmap::mapwidth#1 = vera_layer_mode_bitmap::mapwidth#2 +Alias vera_layer_mode_bitmap::layer#2 = vera_layer_mode_bitmap::layer#3 +Alias vera_layer_mode_bitmap::tilebase#6 = vera_layer_mode_bitmap::tilebase#9 +Alias CONIO_SCREEN_BANK#22 = CONIO_SCREEN_BANK#31 CONIO_SCREEN_BANK#40 +Alias CONIO_SCREEN_TEXT#24 = CONIO_SCREEN_TEXT#37 CONIO_SCREEN_TEXT#48 +Alias conio_x16_init::line#0 = conio_x16_init::line#9 conio_x16_init::line#8 conio_x16_init::line#7 conio_x16_init::line#6 conio_x16_init::line#5 conio_x16_init::line#4 conio_x16_init::line#2 +Alias CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#11 CONIO_SCREEN_BANK#69 CONIO_SCREEN_BANK#60 CONIO_SCREEN_BANK#50 CONIO_SCREEN_BANK#42 CONIO_SCREEN_BANK#41 +Alias CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#11 CONIO_SCREEN_TEXT#85 CONIO_SCREEN_TEXT#71 CONIO_SCREEN_TEXT#59 CONIO_SCREEN_TEXT#50 CONIO_SCREEN_TEXT#49 +Alias CONIO_SCREEN_BANK#1 = CONIO_SCREEN_BANK#23 CONIO_SCREEN_BANK#32 CONIO_SCREEN_BANK#12 +Alias CONIO_SCREEN_TEXT#1 = CONIO_SCREEN_TEXT#25 CONIO_SCREEN_TEXT#38 CONIO_SCREEN_TEXT#12 +Alias conio_x16_init::line#1 = conio_x16_init::$9 +Alias vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#4 +Alias clrscr::line_text#0 = clrscr::line_text#8 clrscr::line_text#6 +Alias CONIO_SCREEN_BANK#34 = CONIO_SCREEN_BANK#43 CONIO_SCREEN_BANK#51 +Alias vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#4 +Alias clrscr::color#0 = clrscr::$3 +Alias clrscr::line_text#2 = clrscr::line_text#4 clrscr::ch#0 +Alias CONIO_SCREEN_BANK#13 = CONIO_SCREEN_BANK#24 +Alias clrscr::color#3 = clrscr::color#4 +Alias clrscr::l#2 = clrscr::l#5 +Alias clrscr::color#1 = clrscr::color#2 clrscr::color#5 +Alias clrscr::c#2 = clrscr::c#3 +Alias clrscr::line_text#3 = clrscr::line_text#7 clrscr::line_text#5 +Alias clrscr::l#3 = clrscr::l#6 clrscr::l#4 +Alias CONIO_SCREEN_BANK#33 = CONIO_SCREEN_BANK#52 CONIO_SCREEN_BANK#44 +Alias gotoxy::x#10 = gotoxy::x#9 +Alias gotoxy::line_offset#0 = gotoxy::$4 +Alias gotoxy::y#10 = gotoxy::y#9 +Alias screensize::hscale#0 = screensize::$0 +Alias screensize::vscale#0 = screensize::$2 +Alias vera_layer_get_color::return#3 = vera_layer_get_color::return#6 +Alias CONIO_SCREEN_TEXT#102 = CONIO_SCREEN_TEXT#14 CONIO_SCREEN_TEXT#29 CONIO_SCREEN_TEXT#95 CONIO_SCREEN_TEXT#108 CONIO_SCREEN_TEXT#103 CONIO_SCREEN_TEXT#96 CONIO_SCREEN_TEXT#97 +Alias cputc::c#1 = cputc::c#3 cputc::c#2 +Alias CONIO_SCREEN_BANK#14 = CONIO_SCREEN_BANK#25 CONIO_SCREEN_BANK#35 +Alias cputc::color#0 = cputc::$0 cputc::color#1 +Alias cputc::conio_addr#0 = cputc::$1 +Alias cputc::conio_addr#1 = cputc::conio_addr#2 +Alias clearline::addr#0 = clearline::$0 +Alias vera_layer_get_color::return#4 = vera_layer_get_color::return#7 +Alias clearline::color#0 = clearline::$3 +Alias clearline::color#1 = clearline::color#2 +Alias clearline::c#2 = clearline::c#3 +Alias insertup::width#0 = insertup::$0 +Alias insertup::i#2 = insertup::i#3 insertup::i#4 +Alias CONIO_SCREEN_TEXT#16 = CONIO_SCREEN_TEXT#31 CONIO_SCREEN_TEXT#41 CONIO_SCREEN_TEXT#30 +Alias insertup::width#1 = insertup::width#2 insertup::width#3 +Alias insertup::cy#1 = insertup::cy#3 insertup::cy#2 +Alias insertup::line#0 = insertup::$4 +Alias insertup::start#0 = insertup::$5 +Alias CONIO_SCREEN_TEXT#51 = CONIO_SCREEN_TEXT#60 CONIO_SCREEN_TEXT#72 +Alias gotoxy::y#2 = cscroll::$5 +Alias cputs::c#1 = cputs::$0 cputs::c#2 +Alias CONIO_SCREEN_TEXT#39 = CONIO_SCREEN_TEXT#52 CONIO_SCREEN_TEXT#62 +Alias cputs::s#0 = cputs::s#11 cputs::s#10 +Alias CONIO_SCREEN_BANK#45 = CONIO_SCREEN_BANK#53 CONIO_SCREEN_BANK#64 +Alias vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#4 +Alias CONIO_SCREEN_BANK#15 = CONIO_SCREEN_BANK#2 screenlayer::$0 CONIO_SCREEN_BANK#94 CONIO_SCREEN_BANK#89 CONIO_SCREEN_BANK#81 CONIO_SCREEN_BANK#76 CONIO_SCREEN_BANK#65 CONIO_SCREEN_BANK#54 CONIO_SCREEN_BANK#46 CONIO_SCREEN_BANK#36 CONIO_SCREEN_BANK#26 CONIO_SCREEN_BANK#3 +Alias vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#4 +Alias screenlayer::vera_layer_get_width1_layer#0 = screenlayer::vera_layer_get_width1_layer#1 +Alias CONIO_SCREEN_TEXT#104 = CONIO_SCREEN_TEXT#2 CONIO_SCREEN_TEXT#98 CONIO_SCREEN_TEXT#87 CONIO_SCREEN_TEXT#80 CONIO_SCREEN_TEXT#63 CONIO_SCREEN_TEXT#53 CONIO_SCREEN_TEXT#42 CONIO_SCREEN_TEXT#32 CONIO_SCREEN_TEXT#17 CONIO_SCREEN_TEXT#3 +Alias vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#4 +Alias vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#4 +Alias screenlayer::vera_layer_get_height1_layer#0 = screenlayer::vera_layer_get_height1_layer#1 +Alias rand::return#0 = rand::return#7 rand::return#1 +Alias rand_state#14 = rand_state#2 rand_state#3 +Alias mul16u::a#2 = mul16u::a#3 mul16u::a#6 +Alias mul16u::mb#3 = mul16u::mb#4 mul16u::mb#5 +Alias mul16u::res#2 = mul16u::res#5 mul16u::res#4 mul16u::return#0 mul16u::res#3 mul16u::return#3 mul16u::return#1 +Alias mul16u::a#0 = mul16u::$5 +Alias mul16u::mb#1 = mul16u::$6 +Alias mul16u::res#1 = mul16u::$4 +Alias bitmap_init::vera_layer_get_color_depth1_layer#0 = bitmap_init::vera_layer_get_color_depth1_layer#1 +Alias vera_display_get_hscale::return#2 = vera_display_get_hscale::return#4 +Alias vera_display_get_vscale::return#2 = vera_display_get_vscale::return#4 +Alias bitmap_init::x#2 = bitmap_init::x#7 +Alias bitmap_init::bitmask#10 = bitmap_init::bitmask#5 +Alias bitmap_init::bitshift#10 = bitmap_init::bitshift#5 +Alias bitmap_init::x#3 = bitmap_init::x#8 +Alias bitmap_init::bitmask#11 = bitmap_init::bitmask#6 +Alias bitmap_init::bitshift#11 = bitmap_init::bitshift#6 +Alias bitmap_init::x#4 = bitmap_init::x#9 +Alias bitmap_init::bitmask#12 = bitmap_init::bitmask#7 +Alias bitmap_init::bitshift#12 = bitmap_init::bitshift#7 +Alias bitmap_init::x#10 = bitmap_init::x#5 +Alias bitmap_init::bitmask#13 = bitmap_init::bitmask#8 +Alias bitmap_init::bitshift#13 = bitmap_init::bitshift#9 +Alias bitmap_init::bitmask#14 = bitmap_init::bitmask#15 +Alias bitmap_init::x#13 = bitmap_init::x#14 +Alias bitmap_init::x#11 = bitmap_init::x#12 +Alias bitmap_init::bitshift#15 = bitmap_init::bitshift#16 +Alias bitmap_init::yoffs#1 = bitmap_init::$21 +Alias mul16u::return#2 = mul16u::return#4 +Alias bitmap_clear::count#0 = bitmap_clear::$2 +Alias bitmap_clear::vbank#0 = bitmap_clear::$4 +Alias bitmap_plot::plotter#0 = bitmap_plot::$0 bitmap_plot::plotter#2 bitmap_plot::plotter#3 +Alias bitmap_plot::c#5 = bitmap_plot::c#8 bitmap_plot::c#6 bitmap_plot::$1 +Alias bitmap_plot::bitshift#0 = bitmap_plot::bitshift#1 +Alias bitmap_plot::x#4 = bitmap_plot::x#8 bitmap_plot::x#9 +Alias bitmap_plot::$3 = bitmap_plot::$2 +Alias bitmap_plot::c#0 = bitmap_plot::$4 bitmap_plot::c#9 bitmap_plot::c#7 +Alias bitmap_plot::vera_vram_address01_bankaddr#0 = bitmap_plot::plotter#1 bitmap_plot::vera_vram_address01_bankaddr#1 +Alias bitmap_plot::vera_vram_address01_incr#0 = bitmap_plot::vera_vram_address01_incr#1 +Alias bitmap_plot::x#5 = bitmap_plot::x#6 bitmap_plot::x#7 +Alias bitmap_line::x1#10 = bitmap_line::x1#3 bitmap_line::x1#2 bitmap_line::x1#4 bitmap_line::x1#12 bitmap_line::x1#11 bitmap_line::x1#5 bitmap_line::x1#6 bitmap_line::x1#7 bitmap_line::x1#14 bitmap_line::x1#13 bitmap_line::x1#8 bitmap_line::x1#9 +Alias bitmap_line::x0#10 = bitmap_line::x0#3 bitmap_line::x0#2 bitmap_line::x0#4 bitmap_line::x0#12 bitmap_line::x0#11 bitmap_line::x0#5 bitmap_line::x0#6 bitmap_line::x0#7 bitmap_line::x0#14 bitmap_line::x0#13 bitmap_line::x0#8 bitmap_line::x0#9 +Alias bitmap_line::y0#10 = bitmap_line::y0#2 bitmap_line::y0#14 bitmap_line::y0#3 bitmap_line::y0#4 bitmap_line::y0#5 bitmap_line::y0#6 bitmap_line::y0#7 bitmap_line::y0#8 bitmap_line::y0#9 bitmap_line::y0#11 bitmap_line::y0#12 bitmap_line::y0#13 +Alias bitmap_line::y1#10 = bitmap_line::y1#2 bitmap_line::y1#14 bitmap_line::y1#3 bitmap_line::y1#4 bitmap_line::y1#5 bitmap_line::y1#6 bitmap_line::y1#7 bitmap_line::y1#8 bitmap_line::y1#9 bitmap_line::y1#11 bitmap_line::y1#12 bitmap_line::y1#13 +Alias bitmap_line::c#10 = bitmap_line::c#15 bitmap_line::c#16 bitmap_line::c#14 bitmap_line::c#11 bitmap_line::c#2 bitmap_line::c#3 bitmap_line::c#4 bitmap_line::c#5 bitmap_line::c#13 bitmap_line::c#12 bitmap_line::c#6 bitmap_line::c#7 bitmap_line::c#8 bitmap_line::c#9 +Alias bitmap_line::xd#1 = bitmap_line::$11 bitmap_line::xd#9 bitmap_line::xd#10 bitmap_line::xd#11 bitmap_line::xd#12 bitmap_line::xd#13 bitmap_line::xd#14 +Alias bitmap_line::xd#2 = bitmap_line::$1 bitmap_line::xd#3 bitmap_line::xd#4 bitmap_line::xd#5 bitmap_line::xd#6 bitmap_line::xd#7 bitmap_line::xd#8 +Alias bitmap_line::yd#1 = bitmap_line::$7 bitmap_line::yd#7 bitmap_line::yd#8 +Alias bitmap_line::yd#2 = bitmap_line::$3 bitmap_line::yd#5 bitmap_line::yd#6 +Alias bitmap_line::yd#11 = bitmap_line::yd#3 bitmap_line::$17 bitmap_line::yd#12 +Alias bitmap_line::yd#10 = bitmap_line::yd#4 bitmap_line::$13 bitmap_line::yd#9 +Alias bitmap_line_xdyi::e#0 = bitmap_line_xdyi::$0 +Alias bitmap_line_xdyi::x#3 = bitmap_line_xdyi::x#4 +Alias bitmap_line_xdyi::e#3 = bitmap_line_xdyi::e#5 +Alias bitmap_line_xdyi::yd#3 = bitmap_line_xdyi::yd#4 bitmap_line_xdyi::yd#6 +Alias bitmap_line_xdyi::xd#2 = bitmap_line_xdyi::xd#4 bitmap_line_xdyi::xd#3 +Alias bitmap_line_xdyi::x1#3 = bitmap_line_xdyi::x1#4 bitmap_line_xdyi::x1#5 +Alias bitmap_line_xdyi::y#3 = bitmap_line_xdyi::y#7 bitmap_line_xdyi::y#4 +Alias bitmap_line_xdyi::c#2 = bitmap_line_xdyi::c#6 bitmap_line_xdyi::c#5 +Alias bitmap_line_xdyi::e#1 = bitmap_line_xdyi::$2 bitmap_line_xdyi::e#4 +Alias bitmap_line_xdyi::x#2 = bitmap_line_xdyi::x#7 +Alias bitmap_line_xdyi::e#2 = bitmap_line_xdyi::$5 +Alias bitmap_line_xdyd::e#0 = bitmap_line_xdyd::$0 +Alias bitmap_line_xdyd::x#3 = bitmap_line_xdyd::x#4 +Alias bitmap_line_xdyd::e#3 = bitmap_line_xdyd::e#5 +Alias bitmap_line_xdyd::yd#3 = bitmap_line_xdyd::yd#4 bitmap_line_xdyd::yd#6 +Alias bitmap_line_xdyd::xd#2 = bitmap_line_xdyd::xd#4 bitmap_line_xdyd::xd#3 +Alias bitmap_line_xdyd::x1#3 = bitmap_line_xdyd::x1#4 bitmap_line_xdyd::x1#5 +Alias bitmap_line_xdyd::y#3 = bitmap_line_xdyd::y#7 bitmap_line_xdyd::y#4 +Alias bitmap_line_xdyd::c#2 = bitmap_line_xdyd::c#6 bitmap_line_xdyd::c#5 +Alias bitmap_line_xdyd::e#1 = bitmap_line_xdyd::$2 bitmap_line_xdyd::e#4 +Alias bitmap_line_xdyd::x#2 = bitmap_line_xdyd::x#7 +Alias bitmap_line_xdyd::e#2 = bitmap_line_xdyd::$5 +Alias bitmap_line_ydxi::e#0 = bitmap_line_ydxi::$0 +Alias bitmap_line_ydxi::y#3 = bitmap_line_ydxi::y#4 +Alias bitmap_line_ydxi::e#3 = bitmap_line_ydxi::e#5 +Alias bitmap_line_ydxi::xd#3 = bitmap_line_ydxi::xd#4 bitmap_line_ydxi::xd#6 +Alias bitmap_line_ydxi::yd#2 = bitmap_line_ydxi::yd#4 bitmap_line_ydxi::yd#3 +Alias bitmap_line_ydxi::y1#3 = bitmap_line_ydxi::y1#4 bitmap_line_ydxi::y1#5 +Alias bitmap_line_ydxi::x#3 = bitmap_line_ydxi::x#7 bitmap_line_ydxi::x#4 +Alias bitmap_line_ydxi::c#2 = bitmap_line_ydxi::c#6 bitmap_line_ydxi::c#5 +Alias bitmap_line_ydxi::e#1 = bitmap_line_ydxi::$2 bitmap_line_ydxi::e#4 +Alias bitmap_line_ydxi::y#2 = bitmap_line_ydxi::y#7 +Alias bitmap_line_ydxi::e#2 = bitmap_line_ydxi::$5 +Alias bitmap_line_ydxd::e#0 = bitmap_line_ydxd::$0 +Alias bitmap_line_ydxd::y#2 = bitmap_line_ydxd::y#5 bitmap_line_ydxd::y#4 +Alias bitmap_line_ydxd::e#3 = bitmap_line_ydxd::e#5 +Alias bitmap_line_ydxd::xd#3 = bitmap_line_ydxd::xd#4 bitmap_line_ydxd::xd#6 +Alias bitmap_line_ydxd::yd#2 = bitmap_line_ydxd::yd#4 bitmap_line_ydxd::yd#3 +Alias bitmap_line_ydxd::y1#3 = bitmap_line_ydxd::y1#4 bitmap_line_ydxd::y1#5 +Alias bitmap_line_ydxd::x#3 = bitmap_line_ydxd::x#7 bitmap_line_ydxd::x#4 +Alias bitmap_line_ydxd::c#2 = bitmap_line_ydxd::c#6 bitmap_line_ydxd::c#5 +Alias bitmap_line_ydxd::e#1 = bitmap_line_ydxd::$2 bitmap_line_ydxd::e#4 +Alias bitmap_line_ydxd::y#3 = bitmap_line_ydxd::y#8 +Alias bitmap_line_ydxd::e#2 = bitmap_line_ydxd::$5 +Alias divr16u::rem#0 = divr16u::$0 divr16u::rem#6 +Alias divr16u::dividend#0 = divr16u::$6 divr16u::dividend#7 +Alias divr16u::quotient#1 = divr16u::$7 divr16u::quotient#4 +Alias divr16u::dividend#2 = divr16u::dividend#6 +Alias divr16u::quotient#6 = divr16u::quotient#7 +Alias divr16u::divisor#3 = divr16u::divisor#4 +Alias divr16u::i#5 = divr16u::i#6 +Alias divr16u::rem#1 = divr16u::$5 +Alias divr16u::rem#5 = divr16u::rem#7 +Alias divr16u::divisor#1 = divr16u::divisor#2 +Alias divr16u::i#3 = divr16u::i#4 +Alias divr16u::rem#2 = divr16u::$10 +Alias divr16u::rem#10 = divr16u::rem#8 +Alias divr16u::return#0 = divr16u::quotient#5 divr16u::quotient#8 divr16u::return#3 divr16u::return#1 +Alias rem16u#0 = rem16u#12 rem16u#1 +Alias rem16u#13 = rem16u#2 rem16u#14 rem16u#3 +Alias modr16u::return#0 = modr16u::return#6 modr16u::return#1 +Alias CONIO_SCREEN_BANK#27 = CONIO_SCREEN_BANK#47 CONIO_SCREEN_BANK#55 CONIO_SCREEN_BANK#37 +Alias CONIO_SCREEN_TEXT#33 = CONIO_SCREEN_TEXT#54 CONIO_SCREEN_TEXT#64 CONIO_SCREEN_TEXT#43 +Alias rand_state#35 = rand_state#86 rand_state#87 rand_state#85 rand_state#83 rand_state#81 rand_state#79 rand_state#77 rand_state#75 rand_state#73 rand_state#71 rand_state#69 rand_state#67 rand_state#65 rand_state#63 rand_state#61 rand_state#59 rand_state#56 rand_state#52 rand_state#50 rand_state#48 rand_state#46 rand_state#44 rand_state#42 rand_state#40 rand_state#38 +Alias rem16u#36 = rem16u#87 rem16u#88 rem16u#86 rem16u#85 rem16u#83 rem16u#81 rem16u#79 rem16u#77 rem16u#75 rem16u#73 rem16u#71 rem16u#69 rem16u#67 rem16u#65 rem16u#63 rem16u#61 rem16u#59 rem16u#56 rem16u#52 rem16u#50 rem16u#48 rem16u#46 rem16u#44 rem16u#42 rem16u#39 +Alias CONIO_SCREEN_BANK#100 = CONIO_SCREEN_BANK#4 CONIO_SCREEN_BANK#16 CONIO_SCREEN_BANK#99 CONIO_SCREEN_BANK#95 CONIO_SCREEN_BANK#90 CONIO_SCREEN_BANK#82 CONIO_SCREEN_BANK#77 CONIO_SCREEN_BANK#62 CONIO_SCREEN_BANK#83 CONIO_SCREEN_BANK#71 CONIO_SCREEN_BANK#72 CONIO_SCREEN_BANK#73 CONIO_SCREEN_BANK#74 CONIO_SCREEN_BANK#108 CONIO_SCREEN_BANK#106 CONIO_SCREEN_BANK#104 CONIO_SCREEN_BANK#102 CONIO_SCREEN_BANK#96 CONIO_SCREEN_BANK#91 CONIO_SCREEN_BANK#84 CONIO_SCREEN_BANK#70 CONIO_SCREEN_BANK#109 +Alias CONIO_SCREEN_TEXT#105 = CONIO_SCREEN_TEXT#4 CONIO_SCREEN_TEXT#18 CONIO_SCREEN_TEXT#88 CONIO_SCREEN_TEXT#81 CONIO_SCREEN_TEXT#65 CONIO_SCREEN_TEXT#55 CONIO_SCREEN_TEXT#44 CONIO_SCREEN_TEXT#28 CONIO_SCREEN_TEXT#89 CONIO_SCREEN_TEXT#75 CONIO_SCREEN_TEXT#76 CONIO_SCREEN_TEXT#77 CONIO_SCREEN_TEXT#78 CONIO_SCREEN_TEXT#119 CONIO_SCREEN_TEXT#117 CONIO_SCREEN_TEXT#115 CONIO_SCREEN_TEXT#112 CONIO_SCREEN_TEXT#109 CONIO_SCREEN_TEXT#99 CONIO_SCREEN_TEXT#90 CONIO_SCREEN_TEXT#73 CONIO_SCREEN_TEXT#113 +Alias main::textcolor1_color#0 = main::textcolor1_color#1 +Alias main::bgcolor1_color#0 = main::bgcolor1_color#1 +Alias main::vera_layer_show1_layer#0 = main::vera_layer_show1_layer#1 +Alias main::textcolor2_color#0 = main::textcolor2_color#1 +Alias kbhit::return#2 = kbhit::return#5 +Alias rand_state#23 = rand_state#30 rand_state#33 rand_state#84 rand_state#82 rand_state#80 rand_state#78 rand_state#76 rand_state#74 rand_state#72 rand_state#70 rand_state#68 rand_state#66 rand_state#64 rand_state#62 rand_state#60 rand_state#57 rand_state#53 +Alias rem16u#23 = rem16u#32 rem16u#34 rem16u#29 rem16u#84 rem16u#82 rem16u#80 rem16u#78 rem16u#76 rem16u#74 rem16u#72 rem16u#70 rem16u#68 rem16u#66 rem16u#64 rem16u#62 rem16u#60 rem16u#57 rem16u#53 +Alias CONIO_SCREEN_TEXT#100 = CONIO_SCREEN_TEXT#106 CONIO_SCREEN_TEXT#110 CONIO_SCREEN_TEXT#127 CONIO_SCREEN_TEXT#126 CONIO_SCREEN_TEXT#125 CONIO_SCREEN_TEXT#124 CONIO_SCREEN_TEXT#123 CONIO_SCREEN_TEXT#122 CONIO_SCREEN_TEXT#121 CONIO_SCREEN_TEXT#120 CONIO_SCREEN_TEXT#118 CONIO_SCREEN_TEXT#116 CONIO_SCREEN_TEXT#114 CONIO_SCREEN_TEXT#91 CONIO_SCREEN_TEXT#82 CONIO_SCREEN_TEXT#66 CONIO_SCREEN_TEXT#56 CONIO_SCREEN_TEXT#45 CONIO_SCREEN_TEXT#26 CONIO_SCREEN_TEXT#92 CONIO_SCREEN_TEXT#79 CONIO_SCREEN_TEXT#111 CONIO_SCREEN_TEXT#107 CONIO_SCREEN_TEXT#101 CONIO_SCREEN_TEXT#93 CONIO_SCREEN_TEXT#74 CONIO_SCREEN_TEXT#67 +Alias CONIO_SCREEN_BANK#101 = CONIO_SCREEN_BANK#105 CONIO_SCREEN_BANK#107 CONIO_SCREEN_BANK#120 CONIO_SCREEN_BANK#119 CONIO_SCREEN_BANK#118 CONIO_SCREEN_BANK#117 CONIO_SCREEN_BANK#116 CONIO_SCREEN_BANK#115 CONIO_SCREEN_BANK#114 CONIO_SCREEN_BANK#113 CONIO_SCREEN_BANK#112 CONIO_SCREEN_BANK#111 CONIO_SCREEN_BANK#110 CONIO_SCREEN_BANK#103 CONIO_SCREEN_BANK#97 CONIO_SCREEN_BANK#92 CONIO_SCREEN_BANK#85 CONIO_SCREEN_BANK#78 CONIO_SCREEN_BANK#61 CONIO_SCREEN_BANK#86 CONIO_SCREEN_BANK#75 CONIO_SCREEN_BANK#98 CONIO_SCREEN_BANK#93 CONIO_SCREEN_BANK#87 CONIO_SCREEN_BANK#79 CONIO_SCREEN_BANK#66 CONIO_SCREEN_BANK#56 +Alias rand::return#2 = rand::return#8 +Alias rand_state#15 = rand_state#4 rand_state#24 +Alias modr16u::dividend#0 = main::$32 +Alias modr16u::return#2 = modr16u::return#7 +Alias rem16u#15 = rem16u#4 rem16u#24 +Alias rand::return#3 = rand::return#9 +Alias rand_state#16 = rand_state#5 rand_state#25 +Alias modr16u::dividend#1 = main::$34 +Alias modr16u::return#3 = modr16u::return#8 +Alias rem16u#16 = rem16u#5 rem16u#25 +Alias rand::return#10 = rand::return#4 +Alias rand_state#17 = rand_state#6 rand_state#26 +Alias modr16u::dividend#2 = main::$36 +Alias modr16u::return#4 = modr16u::return#9 +Alias rem16u#17 = rem16u#6 rem16u#26 +Alias rand::return#11 = rand::return#5 +Alias rand_state#18 = rand_state#7 rand_state#27 +Alias modr16u::dividend#3 = main::$38 +Alias modr16u::return#10 = modr16u::return#5 +Alias rem16u#18 = rem16u#7 rem16u#40 rem16u#37 +Alias rand::return#12 = rand::return#6 +Alias rand_state#19 = rand_state#8 rand_state#36 +Alias bitmap_line::x0#0 = main::$33 +Alias bitmap_line::x1#0 = main::$35 +Alias bitmap_line::y0#0 = main::$37 +Alias bitmap_line::y1#0 = main::$39 +Alias bitmap_line::c#0 = main::$41 +Alias main::textcolor3_color#0 = main::textcolor3_color#1 +Alias main::bgcolor2_color#0 = main::bgcolor2_color#1 +Alias main::textcolor4_color#0 = main::textcolor4_color#1 +Alias kbhit::return#3 = kbhit::return#6 +Alias main::x#3 = main::x#5 main::x#6 main::x#4 +Alias main::color#2 = main::color#4 main::color#5 main::color#3 +Alias CONIO_SCREEN_BANK#28 = CONIO_SCREEN_BANK#38 CONIO_SCREEN_BANK#48 CONIO_SCREEN_BANK#67 CONIO_SCREEN_BANK#57 CONIO_SCREEN_BANK#58 +Alias CONIO_SCREEN_TEXT#34 = CONIO_SCREEN_TEXT#46 CONIO_SCREEN_TEXT#57 CONIO_SCREEN_TEXT#83 CONIO_SCREEN_TEXT#68 CONIO_SCREEN_TEXT#69 +Alias rand_state#20 = rand_state#49 rand_state#51 rand_state#58 rand_state#54 rand_state#47 rand_state#45 rand_state#43 rand_state#41 rand_state#39 rand_state#37 rand_state#34 rand_state#31 rand_state#28 rand_state#55 rand_state#9 +Alias rem16u#19 = rem16u#49 rem16u#51 rem16u#58 rem16u#54 rem16u#47 rem16u#45 rem16u#43 rem16u#41 rem16u#38 rem16u#35 rem16u#33 rem16u#30 rem16u#27 rem16u#55 rem16u#8 +Alias CONIO_SCREEN_BANK#17 = CONIO_SCREEN_BANK#5 CONIO_SCREEN_BANK#88 CONIO_SCREEN_BANK#80 CONIO_SCREEN_BANK#68 CONIO_SCREEN_BANK#59 CONIO_SCREEN_BANK#49 CONIO_SCREEN_BANK#39 CONIO_SCREEN_BANK#29 CONIO_SCREEN_BANK#18 CONIO_SCREEN_BANK#6 +Alias CONIO_SCREEN_TEXT#19 = CONIO_SCREEN_TEXT#5 CONIO_SCREEN_TEXT#94 CONIO_SCREEN_TEXT#84 CONIO_SCREEN_TEXT#70 CONIO_SCREEN_TEXT#58 CONIO_SCREEN_TEXT#47 CONIO_SCREEN_TEXT#27 CONIO_SCREEN_TEXT#35 CONIO_SCREEN_TEXT#20 CONIO_SCREEN_TEXT#6 +Alias main::textcolor5_color#0 = main::textcolor5_color#1 +Alias main::bgcolor3_color#0 = main::bgcolor3_color#1 +Alias main::color#1 = main::color#6 +Alias rand_state#10 = rand_state#32 rand_state#29 +Alias rem16u#28 = rem16u#31 rem16u#9 +Alias CONIO_SCREEN_BANK#19 = CONIO_SCREEN_BANK#8 CONIO_SCREEN_BANK#30 +Alias CONIO_SCREEN_TEXT#21 = CONIO_SCREEN_TEXT#8 CONIO_SCREEN_TEXT#36 +Alias CONIO_SCREEN_BANK#10 = CONIO_SCREEN_BANK#9 CONIO_SCREEN_BANK#20 CONIO_SCREEN_BANK#21 +Alias CONIO_SCREEN_TEXT#10 = CONIO_SCREEN_TEXT#9 CONIO_SCREEN_TEXT#22 CONIO_SCREEN_TEXT#23 +Alias rand_state#11 = rand_state#21 rand_state#22 rand_state#12 +Alias rem16u#10 = rem16u#20 rem16u#21 rem16u#11 +Successful SSA optimization Pass2AliasElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#2 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::vera_layer_get_color_depth1_return#3 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Alias vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_tile::mapwidth#2 +Alias vera_layer_mode_tile::layer#10 = vera_layer_mode_tile::layer#22 vera_layer_mode_tile::layer#14 vera_layer_mode_tile::layer#34 vera_layer_mode_tile::layer#19 vera_layer_mode_tile::layer#9 +Alias vera_layer_mode_tile::mapheight#10 = vera_layer_mode_tile::mapheight#14 vera_layer_mode_tile::mapheight#2 +Alias vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_tile::mapbase_address#13 vera_layer_mode_tile::mapbase_address#21 vera_layer_mode_tile::mapbase_address#3 +Alias vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_tile::tilebase_address#14 vera_layer_mode_tile::tilebase_address#22 vera_layer_mode_tile::tilebase_address#3 +Alias vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_tile::tilewidth#14 vera_layer_mode_tile::tilewidth#22 vera_layer_mode_tile::tilewidth#2 +Alias vera_layer_mode_tile::tileheight#10 = vera_layer_mode_tile::tileheight#18 vera_layer_mode_tile::tileheight#26 vera_layer_mode_tile::tileheight#4 vera_layer_mode_tile::tileheight#2 +Alias vera_layer_mode_bitmap::bitmap_address#10 = vera_layer_mode_bitmap::bitmap_address#2 +Alias vera_layer_mode_bitmap::layer#1 = vera_layer_mode_bitmap::layer#12 vera_layer_mode_bitmap::layer#2 +Alias vera_layer_mode_bitmap::mapwidth#1 = vera_layer_mode_bitmap::mapwidth#10 +Alias vera_layer_mode_bitmap::config#11 = vera_layer_mode_bitmap::config#15 +Alias CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#1 +Alias CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#1 +Alias gotoxy::x#10 = gotoxy::x#7 +Alias gotoxy::y#10 = gotoxy::y#8 +Alias mul16u::a#2 = mul16u::a#4 +Alias mul16u::mb#2 = mul16u::mb#3 +Alias bitmap_init::x#10 = bitmap_init::x#3 bitmap_init::x#2 bitmap_init::x#4 bitmap_init::x#13 bitmap_init::x#11 bitmap_init::x#6 +Alias bitmap_init::bitshift#13 = bitmap_init::bitshift#8 +Alias bitmap_init::bitmask#13 = bitmap_init::bitmask#14 bitmap_init::bitmask#9 +Alias bitmap_init::bitshift#14 = bitmap_init::bitshift#15 +Alias bitmap_plot::vera_vram_address01_bankaddr#0 = bitmap_plot::plotter#0 +Alias bitmap_plot::x#4 = bitmap_plot::x#5 +Alias bitmap_line_xdyi::x1#2 = bitmap_line_xdyi::x1#3 +Alias bitmap_line_xdyi::x#2 = bitmap_line_xdyi::x#5 +Alias bitmap_line_xdyi::c#2 = bitmap_line_xdyi::c#4 +Alias bitmap_line_xdyi::yd#3 = bitmap_line_xdyi::yd#5 +Alias bitmap_line_xdyi::xd#2 = bitmap_line_xdyi::xd#6 +Alias bitmap_line_xdyd::x1#2 = bitmap_line_xdyd::x1#3 +Alias bitmap_line_xdyd::x#2 = bitmap_line_xdyd::x#5 +Alias bitmap_line_xdyd::c#2 = bitmap_line_xdyd::c#4 +Alias bitmap_line_xdyd::yd#3 = bitmap_line_xdyd::yd#5 +Alias bitmap_line_xdyd::xd#2 = bitmap_line_xdyd::xd#6 +Alias bitmap_line_ydxi::y1#2 = bitmap_line_ydxi::y1#3 +Alias bitmap_line_ydxi::y#2 = bitmap_line_ydxi::y#5 +Alias bitmap_line_ydxi::c#2 = bitmap_line_ydxi::c#4 +Alias bitmap_line_ydxi::xd#3 = bitmap_line_ydxi::xd#5 +Alias bitmap_line_ydxi::yd#2 = bitmap_line_ydxi::yd#6 +Alias bitmap_line_ydxd::y1#2 = bitmap_line_ydxd::y1#3 +Alias bitmap_line_ydxd::y#3 = bitmap_line_ydxd::y#6 +Alias bitmap_line_ydxd::c#2 = bitmap_line_ydxd::c#4 +Alias bitmap_line_ydxd::xd#3 = bitmap_line_ydxd::xd#5 +Alias bitmap_line_ydxd::yd#2 = bitmap_line_ydxd::yd#6 +Alias divr16u::dividend#2 = divr16u::dividend#3 +Alias divr16u::quotient#3 = divr16u::quotient#6 +Alias divr16u::divisor#1 = divr16u::divisor#3 divr16u::divisor#6 +Alias divr16u::i#2 = divr16u::i#3 divr16u::i#5 +Alias divr16u::dividend#0 = divr16u::dividend#5 +Successful SSA optimization Pass2AliasElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#2 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::vera_layer_get_color_depth1_return#3 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Identical Phi Values memset_vram::vdest#1 memset_vram::vdest#0 +Identical Phi Values memset_vram::vbank#1 memset_vram::vbank#0 +Identical Phi Values memset_vram::num#2 memset_vram::num#0 +Identical Phi Values memset_vram::data#3 memset_vram::data#0 +Identical Phi Values memset_vram::num#1 memset_vram::num#2 +Identical Phi Values memset_vram::data#1 memset_vram::data#3 +Identical Phi Values memcpy_in_vram::num#2 memcpy_in_vram::num#3 +Identical Phi Values vera_display_get_hscale::scale#3 vera_display_get_hscale::scale#0 +Identical Phi Values vera_display_get_vscale::scale#3 vera_display_get_vscale::scale#0 +Identical Phi Values vera_layer_get_mapbase_bank::layer#1 vera_layer_get_mapbase_bank::layer#0 +Identical Phi Values vera_layer_get_mapbase_offset::layer#1 vera_layer_get_mapbase_offset::layer#0 +Identical Phi Values vera_layer_get_textcolor::layer#1 vera_layer_get_textcolor::layer#0 +Identical Phi Values vera_layer_get_backcolor::layer#1 vera_layer_get_backcolor::layer#0 +Identical Phi Values vera_layer_get_rowshift::layer#1 vera_layer_get_rowshift::layer#0 +Identical Phi Values vera_layer_get_rowskip::layer#1 vera_layer_get_rowskip::layer#0 +Identical Phi Values vera_layer_mode_text::layer#1 vera_layer_mode_text::layer#0 +Identical Phi Values vera_layer_mode_text::mapbase_address#1 vera_layer_mode_text::mapbase_address#0 +Identical Phi Values vera_layer_mode_text::tilebase_address#1 vera_layer_mode_text::tilebase_address#0 +Identical Phi Values vera_layer_mode_text::mapwidth#1 vera_layer_mode_text::mapwidth#0 +Identical Phi Values vera_layer_mode_text::mapheight#1 vera_layer_mode_text::mapheight#0 +Identical Phi Values vera_layer_mode_text::tilewidth#1 vera_layer_mode_text::tilewidth#0 +Identical Phi Values vera_layer_mode_text::tileheight#1 vera_layer_mode_text::tileheight#0 +Identical Phi Values vera_layer_mode_text::color_mode#1 vera_layer_mode_text::color_mode#0 +Identical Phi Values vera_layer_mode_bitmap::color_depth#1 vera_layer_mode_bitmap::color_depth#0 +Identical Phi Values vera_layer_mode_bitmap::bitmap_address#10 vera_layer_mode_bitmap::bitmap_address#1 +Identical Phi Values vera_layer_mode_bitmap::layer#1 vera_layer_mode_bitmap::layer#0 +Identical Phi Values vera_layer_mode_bitmap::mapwidth#1 vera_layer_mode_bitmap::mapwidth#0 +Identical Phi Values CONIO_SCREEN_BANK#22 CONIO_SCREEN_BANK#7 +Identical Phi Values CONIO_SCREEN_TEXT#24 CONIO_SCREEN_TEXT#7 +Identical Phi Values CONIO_SCREEN_BANK#0 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#0 CONIO_SCREEN_TEXT#104 +Identical Phi Values kbhit::return#4 kbhit::return#0 +Identical Phi Values clrscr::color#1 clrscr::color#3 +Identical Phi Values clrscr::line_text#3 clrscr::line_text#2 +Identical Phi Values clrscr::l#3 clrscr::l#2 +Identical Phi Values CONIO_SCREEN_BANK#33 CONIO_SCREEN_BANK#13 +Identical Phi Values screensize::x#1 screensize::x#0 +Identical Phi Values screensize::y#1 screensize::y#0 +Identical Phi Values CONIO_SCREEN_TEXT#102 CONIO_SCREEN_TEXT#39 +Identical Phi Values cputc::c#1 cputc::c#0 +Identical Phi Values CONIO_SCREEN_BANK#14 CONIO_SCREEN_BANK#45 +Identical Phi Values CONIO_SCREEN_TEXT#86 CONIO_SCREEN_TEXT#102 +Identical Phi Values CONIO_SCREEN_TEXT#15 CONIO_SCREEN_TEXT#16 +Identical Phi Values clearline::color#1 clearline::color#0 +Identical Phi Values CONIO_SCREEN_TEXT#40 CONIO_SCREEN_TEXT#51 +Identical Phi Values insertup::cy#1 insertup::cy#0 +Identical Phi Values CONIO_SCREEN_TEXT#16 CONIO_SCREEN_TEXT#40 +Identical Phi Values insertup::width#1 insertup::width#0 +Identical Phi Values CONIO_SCREEN_TEXT#51 CONIO_SCREEN_TEXT#86 +Identical Phi Values CONIO_SCREEN_TEXT#39 CONIO_SCREEN_TEXT#61 +Identical Phi Values CONIO_SCREEN_BANK#45 CONIO_SCREEN_BANK#63 +Identical Phi Values screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#0 +Identical Phi Values screenlayer::vera_layer_get_width1_return#3 screenlayer::vera_layer_get_width1_return#1 +Identical Phi Values screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#0 +Identical Phi Values screenlayer::vera_layer_get_height1_return#3 screenlayer::vera_layer_get_height1_return#1 +Identical Phi Values mul16u::b#1 mul16u::b#0 +Identical Phi Values mul16u::a#5 mul16u::a#1 +Identical Phi Values bitmap_init::address#1 bitmap_init::address#0 +Identical Phi Values bitmap_init::layer#1 bitmap_init::layer#0 +Identical Phi Values bitmap_init::vera_layer_get_color_depth1_return#2 bitmap_init::vera_layer_get_color_depth1_return#0 +Identical Phi Values bitmap_init::vera_layer_get_color_depth1_return#3 bitmap_init::vera_layer_get_color_depth1_return#1 +Identical Phi Values bitmap_init::hdelta#1 bitmap_init::hdelta#0 +Identical Phi Values bitmap_line_xdyi::c#2 bitmap_line_xdyi::c#3 +Identical Phi Values bitmap_line_xdyi::yd#3 bitmap_line_xdyi::yd#2 +Identical Phi Values bitmap_line_xdyi::xd#2 bitmap_line_xdyi::xd#5 +Identical Phi Values bitmap_line_xdyi::x1#2 bitmap_line_xdyi::x1#6 +Identical Phi Values bitmap_line_xdyd::c#2 bitmap_line_xdyd::c#3 +Identical Phi Values bitmap_line_xdyd::yd#3 bitmap_line_xdyd::yd#2 +Identical Phi Values bitmap_line_xdyd::xd#2 bitmap_line_xdyd::xd#5 +Identical Phi Values bitmap_line_xdyd::x1#2 bitmap_line_xdyd::x1#6 +Identical Phi Values bitmap_line_ydxi::c#2 bitmap_line_ydxi::c#3 +Identical Phi Values bitmap_line_ydxi::xd#3 bitmap_line_ydxi::xd#2 +Identical Phi Values bitmap_line_ydxi::yd#2 bitmap_line_ydxi::yd#5 +Identical Phi Values bitmap_line_ydxi::y1#2 bitmap_line_ydxi::y1#6 +Identical Phi Values bitmap_line_ydxd::c#2 bitmap_line_ydxd::c#3 +Identical Phi Values bitmap_line_ydxd::xd#3 bitmap_line_ydxd::xd#2 +Identical Phi Values bitmap_line_ydxd::yd#2 bitmap_line_ydxd::yd#5 +Identical Phi Values bitmap_line_ydxd::y1#2 bitmap_line_ydxd::y1#6 +Identical Phi Values divr16u::rem#9 divr16u::rem#3 +Identical Phi Values divr16u::dividend#4 divr16u::dividend#1 +Identical Phi Values divr16u::divisor#5 divr16u::divisor#0 +Identical Phi Values divr16u::divisor#1 divr16u::divisor#5 +Identical Phi Values rem16u#13 rem16u#0 +Identical Phi Values CONIO_SCREEN_BANK#27 CONIO_SCREEN_BANK#19 +Identical Phi Values CONIO_SCREEN_TEXT#33 CONIO_SCREEN_TEXT#21 +Identical Phi Values rand_state#35 rand_state#10 +Identical Phi Values rem16u#36 rem16u#28 +Identical Phi Values CONIO_SCREEN_BANK#100 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#105 CONIO_SCREEN_TEXT#104 +Identical Phi Values CONIO_SCREEN_TEXT#100 CONIO_SCREEN_TEXT#105 +Identical Phi Values CONIO_SCREEN_BANK#101 CONIO_SCREEN_BANK#100 +Identical Phi Values rand_state#15 rand_state#14 +Identical Phi Values rem16u#15 rem16u#13 +Identical Phi Values rand_state#16 rand_state#14 +Identical Phi Values rem16u#16 rem16u#13 +Identical Phi Values rand_state#17 rand_state#14 +Identical Phi Values rem16u#17 rem16u#13 +Identical Phi Values rand_state#18 rand_state#14 +Identical Phi Values rem16u#18 rem16u#13 +Identical Phi Values rand_state#19 rand_state#14 +Identical Phi Values CONIO_SCREEN_BANK#28 CONIO_SCREEN_BANK#101 +Identical Phi Values CONIO_SCREEN_TEXT#34 CONIO_SCREEN_TEXT#100 +Identical Phi Values rand_state#20 rand_state#23 +Identical Phi Values rem16u#19 rem16u#23 +Identical Phi Values CONIO_SCREEN_BANK#17 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#19 CONIO_SCREEN_TEXT#104 +Identical Phi Values CONIO_SCREEN_BANK#19 CONIO_SCREEN_BANK#0 +Identical Phi Values CONIO_SCREEN_TEXT#21 CONIO_SCREEN_TEXT#0 +Identical Phi Values CONIO_SCREEN_BANK#10 CONIO_SCREEN_BANK#17 +Identical Phi Values CONIO_SCREEN_TEXT#10 CONIO_SCREEN_TEXT#19 +Identical Phi Values rand_state#11 rand_state#20 +Identical Phi Values rem16u#10 rem16u#19 +Successful SSA optimization Pass2IdenticalPhiElimination +Identical Phi Values CONIO_SCREEN_TEXT#13 CONIO_SCREEN_TEXT#104 +Identical Phi Values CONIO_SCREEN_BANK#34 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_BANK#13 CONIO_SCREEN_BANK#34 +Identical Phi Values clrscr::color#3 clrscr::color#0 +Identical Phi Values CONIO_SCREEN_TEXT#61 CONIO_SCREEN_TEXT#104 +Identical Phi Values CONIO_SCREEN_BANK#63 CONIO_SCREEN_BANK#15 +Successful SSA optimization Pass2IdenticalPhiElimination +Simple Condition memset_vram::$3 [11] if(memset_vram::i#2=0) goto bitmap_init::@6 +Simple Condition bitmap_init::$19 [606] if(bitmap_init::bitmask#13!=0) goto bitmap_init::@7 +Simple Condition bitmap_init::$20 [611] if(bitmap_init::x#1!=rangelast(0,$27f)) goto bitmap_init::@1 +Simple Condition bitmap_init::$22 [625] if(bitmap_init::y#1!=rangelast(0,$1df)) goto bitmap_init::@15 +Simple Condition bitmap_plot::$11 [656] if(0!=bitmap_plot::bitshift#0) goto bitmap_plot::@1 +Simple Condition bitmap_line::$0 [680] if(bitmap_line::x0#10=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 +Simple Condition bitmap_line_xdyi::$7 [770] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 +Simple Condition bitmap_line_xdyd::$4 [784] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 +Simple Condition bitmap_line_xdyd::$7 [788] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 +Simple Condition bitmap_line_ydxi::$4 [802] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 +Simple Condition bitmap_line_ydxi::$7 [806] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 +Simple Condition bitmap_line_ydxd::$4 [820] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 +Simple Condition bitmap_line_ydxd::$7 [824] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 +Simple Condition divr16u::$4 [836] if(divr16u::$2==0) goto divr16u::@2 +Simple Condition divr16u::$9 [841] if(divr16u::rem#5 vera_layer_mode_bitmap::bitmap_address#1 +Constant right-side identified [182] vera_layer_mode_bitmap::$11 = vera_layer_mode_bitmap::layer#0 * SIZEOF_DWORD +Constant right-side identified [184] vera_layer_mode_bitmap::bitmap_address#0 = vera_layer_mode_bitmap::bitmap_address#1 >> 1 +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant vera_layer_set_text_color_mode::$0 = vera_layer_set_text_color_mode::layer#0*SIZEOF_POINTER +Constant vera_layer_mode_tile::config#1 = VERA_LAYER_COLOR_DEPTH_1BPP +Constant vera_layer_mode_tile::config#2 = VERA_LAYER_COLOR_DEPTH_2BPP +Constant vera_layer_mode_tile::config#3 = VERA_LAYER_COLOR_DEPTH_4BPP +Constant vera_layer_mode_tile::config#4 = VERA_LAYER_COLOR_DEPTH_8BPP +Constant vera_layer_mode_bitmap::config#10 = VERA_LAYER_COLOR_DEPTH_8BPP +Constant vera_layer_mode_bitmap::$1 = vera_layer_mode_bitmap::bitmap_address#1 +Constant vera_layer_mode_bitmap::$11 = vera_layer_mode_bitmap::layer#0*SIZEOF_DWORD +Constant vera_layer_mode_bitmap::bitmap_address#0 = vera_layer_mode_bitmap::bitmap_address#1>>1 +Successful SSA optimization Pass2ConstantIdentification +Constant value identified (byte)vera_layer_mode_bitmap::$2 in [181] *vera_tilebase_bank = (byte)vera_layer_mode_bitmap::$2 +Successful SSA optimization Pass2ConstantValues +Simplifying constant evaluating to zero vera_layer_mode_bitmap::bitmap_address#1 in +Simplifying constant evaluating to zero vera_layer_mode_bitmap::layer#0*SIZEOF_DWORD in +Simplifying constant evaluating to zero vera_layer_mode_bitmap::bitmap_address#1>>1 in +Simplifying constant evaluating to zero (byte)vera_layer_mode_bitmap::$2 in [181] *vera_tilebase_bank = (byte)vera_layer_mode_bitmap::$2 +Successful SSA optimization PassNSimplifyConstantZero +Simplifying expression containing zero *vera_layer_set_text_color_mode::addr#0 in [53] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 | vera_layer_set_text_color_mode::color_mode#0 +Simplifying expression containing zero vera_tilebase_offset in [179] vera_tilebase_offset[vera_layer_mode_bitmap::$10] = vera_layer_mode_bitmap::$1 +Simplifying expression containing zero vera_tilebase_address in [183] vera_tilebase_address[vera_layer_mode_bitmap::$11] = vera_layer_mode_bitmap::bitmap_address#1 +Successful SSA optimization PassNSimplifyExpressionWithZero +Eliminating unused constant vera_layer_set_text_color_mode::color_mode#0 +Eliminating unused constant vera_layer_set_text_color_mode::color_mode#1 +Eliminating unused constant vera_layer_set_text_color_mode::layer#1 +Eliminating unused constant vera_layer_mode_bitmap::$10 +Eliminating unused constant vera_layer_mode_bitmap::$2 +Eliminating unused constant vera_layer_mode_bitmap::$11 +Successful SSA optimization PassNEliminateUnusedVars +Eliminating unused constant VERA_LAYER_CONFIG_16C +Successful SSA optimization PassNEliminateUnusedVars +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Constant right-side identified [169] vera_layer_mode_bitmap::config#11 = vera_layer_mode_bitmap::config#10 | VERA_LAYER_CONFIG_MODE_BITMAP +Constant right-side identified [173] vera_layer_mode_bitmap::$4 = < vera_layer_mode_bitmap::bitmap_address#0 +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant vera_layer_mode_bitmap::config#11 = vera_layer_mode_bitmap::config#10|VERA_LAYER_CONFIG_MODE_BITMAP +Constant vera_layer_mode_bitmap::$4 = vera_layer_mode_bitmap::$4 +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant vera_layer_mode_bitmap::tilebase#0 = >vera_layer_mode_bitmap::$4 +Successful SSA optimization Pass2ConstantIdentification +Simplifying constant evaluating to zero >vera_layer_mode_bitmap::$4 in +Successful SSA optimization PassNSimplifyConstantZero +Eliminating unused constant vera_layer_mode_bitmap::$4 +Successful SSA optimization PassNEliminateUnusedVars +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Constant right-side identified [172] vera_layer_mode_bitmap::tilebase#1 = vera_layer_mode_bitmap::tilebase#0 & VERA_LAYER_TILEBASE_MASK +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant vera_layer_mode_bitmap::tilebase#1 = vera_layer_mode_bitmap::tilebase#0&VERA_LAYER_TILEBASE_MASK +Successful SSA optimization Pass2ConstantIdentification +Constant vera_layer_set_tilebase::tilebase#1 = vera_layer_mode_bitmap::tilebase#1 +Successful SSA optimization Pass2ConstantIdentification +Simplifying constant evaluating to zero vera_layer_mode_bitmap::tilebase#0&VERA_LAYER_TILEBASE_MASK in +Successful SSA optimization PassNSimplifyConstantZero +Eliminating unused constant vera_layer_mode_bitmap::tilebase#0 +Successful SSA optimization PassNEliminateUnusedVars +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Inlining Noop Cast [312] memcpy_in_vram::src#0 = (void*)insertup::$6 keeping memcpy_in_vram::src#0 +Inlining Noop Cast [343] CONIO_SCREEN_TEXT#104 = (byte*)screenlayer::$1 keeping CONIO_SCREEN_TEXT#104 +Inlining Noop Cast [494] bitmap_clear::vdest#0 = (void*)bitmap_clear::$5 keeping bitmap_clear::vdest#0 +Successful SSA optimization Pass2NopCastInlining +Rewriting multiplication to use shift [45] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 * SIZEOF_POINTER +Rewriting multiplication to use shift [54] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 * SIZEOF_POINTER +Rewriting multiplication to use shift [60] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 * SIZEOF_WORD +Rewriting multiplication to use shift [64] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 * SIZEOF_POINTER +Rewriting multiplication to use shift [79] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 * SIZEOF_POINTER +Rewriting multiplication to use shift [90] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 * SIZEOF_WORD +Rewriting multiplication to use shift [101] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [106] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [111] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [116] vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [131] vera_layer_mode_tile::$17 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [135] vera_layer_mode_tile::$18 = vera_layer_mode_tile::layer#10 * SIZEOF_DWORD +Rewriting multiplication to use shift [144] vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD +Rewriting multiplication to use shift [148] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 * SIZEOF_DWORD +Rewriting multiplication to use shift [218] clrscr::$9 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [237] gotoxy::$5 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [251] cputc::$15 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [275] cputln::$2 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [278] cputln::$3 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [285] clearline::$5 = conio_screen_layer * SIZEOF_WORD +Rewriting multiplication to use shift [304] insertup::width#0 = conio_screen_width * 2 +Rewriting multiplication to use shift [345] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 * SIZEOF_POINTER +Rewriting multiplication to use shift [349] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 * SIZEOF_WORD +Rewriting multiplication to use shift [365] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 * SIZEOF_POINTER +Rewriting multiplication to use shift [369] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 * SIZEOF_WORD +Rewriting multiplication to use shift [397] bitmap_init::vera_layer_get_color_depth1_$1 = bitmap_init::vera_layer_get_color_depth1_layer#0 * SIZEOF_POINTER +Rewriting multiplication to use shift [419] bitmap_init::$23 = bitmap_init::x#10 * SIZEOF_WORD +Rewriting multiplication to use shift [431] bitmap_init::$24 = bitmap_init::x#10 * SIZEOF_WORD +Rewriting multiplication to use shift [443] bitmap_init::$25 = bitmap_init::x#10 * SIZEOF_WORD +Rewriting multiplication to use shift [453] bitmap_init::$26 = bitmap_init::x#10 * SIZEOF_WORD +Rewriting multiplication to use shift [469] bitmap_init::$27 = bitmap_init::$4 * SIZEOF_WORD +Rewriting multiplication to use shift [473] bitmap_init::$28 = bitmap_init::y#2 * SIZEOF_DWORD +Rewriting multiplication to use shift [480] bitmap_clear::$7 = __bitmap_vscale * SIZEOF_WORD +Rewriting multiplication to use shift [484] bitmap_clear::$8 = bitmap_clear::$1 * SIZEOF_WORD +Rewriting multiplication to use shift [501] bitmap_plot::$9 = bitmap_plot::x#4 * SIZEOF_WORD +Rewriting multiplication to use shift [504] bitmap_plot::$10 = bitmap_plot::y#4 * SIZEOF_DWORD +Successful SSA optimization Pass2MultiplyToShiftRewriting +Inlining constant with var siblings memset_vram::i#0 +Inlining constant with var siblings memcpy_in_vram::i#0 +Inlining constant with var siblings memcpy_in_vram::dest_bank#0 +Inlining constant with var siblings memcpy_in_vram::dest_increment#0 +Inlining constant with var siblings memcpy_in_vram::src_bank#0 +Inlining constant with var siblings memcpy_in_vram::src_increment#0 +Inlining constant with var siblings memcpy_in_vram::dest_bank#1 +Inlining constant with var siblings memcpy_in_vram::dest#1 +Inlining constant with var siblings memcpy_in_vram::dest_increment#1 +Inlining constant with var siblings memcpy_in_vram::src_bank#1 +Inlining constant with var siblings memcpy_in_vram::src#1 +Inlining constant with var siblings memcpy_in_vram::src_increment#1 +Inlining constant with var siblings memcpy_in_vram::num#1 +Inlining constant with var siblings vera_display_get_hscale::s#0 +Inlining constant with var siblings vera_display_get_vscale::s#0 +Inlining constant with var siblings vera_layer_set_config::layer#1 +Inlining constant with var siblings vera_layer_set_config::config#1 +Inlining constant with var siblings vera_layer_set_mapbase::layer#1 +Inlining constant with var siblings vera_layer_set_mapbase::mapbase#1 +Inlining constant with var siblings vera_layer_set_mapbase::layer#2 +Inlining constant with var siblings vera_layer_set_mapbase::mapbase#2 +Inlining constant with var siblings vera_layer_set_tilebase::layer#1 +Inlining constant with var siblings vera_layer_set_tilebase::tilebase#1 +Inlining constant with var siblings vera_layer_set_textcolor::layer#0 +Inlining constant with var siblings vera_layer_set_textcolor::color#0 +Inlining constant with var siblings vera_layer_set_textcolor::color#1 +Inlining constant with var siblings vera_layer_set_textcolor::color#2 +Inlining constant with var siblings vera_layer_set_textcolor::color#3 +Inlining constant with var siblings vera_layer_set_textcolor::color#4 +Inlining constant with var siblings vera_layer_set_textcolor::color#5 +Inlining constant with var siblings vera_layer_set_backcolor::layer#0 +Inlining constant with var siblings vera_layer_set_backcolor::color#0 +Inlining constant with var siblings vera_layer_set_backcolor::color#1 +Inlining constant with var siblings vera_layer_set_backcolor::color#2 +Inlining constant with var siblings vera_layer_set_backcolor::color#3 +Inlining constant with var siblings vera_layer_mode_tile::config#0 +Inlining constant with var siblings vera_layer_mode_tile::color_depth#0 +Inlining constant with var siblings vera_layer_mode_tile::layer#1 +Inlining constant with var siblings vera_layer_mode_tile::mapbase_address#2 +Inlining constant with var siblings vera_layer_mode_tile::tilebase_address#2 +Inlining constant with var siblings vera_layer_mode_tile::mapwidth#1 +Inlining constant with var siblings vera_layer_mode_tile::mapheight#1 +Inlining constant with var siblings vera_layer_mode_tile::tilewidth#1 +Inlining constant with var siblings vera_layer_mode_tile::tileheight#1 +Inlining constant with var siblings vera_layer_mode_tile::color_depth#1 +Inlining constant with var siblings vera_layer_mode_tile::layer#0 +Inlining constant with var siblings vera_layer_mode_tile::mapbase_address#1 +Inlining constant with var siblings vera_layer_mode_tile::tilebase_address#1 +Inlining constant with var siblings vera_layer_mode_tile::mapwidth#0 +Inlining constant with var siblings vera_layer_mode_tile::mapheight#0 +Inlining constant with var siblings vera_layer_mode_tile::tilewidth#0 +Inlining constant with var siblings vera_layer_mode_tile::tileheight#0 +Inlining constant with var siblings vera_layer_mode_tile::config#1 +Inlining constant with var siblings vera_layer_mode_tile::config#2 +Inlining constant with var siblings vera_layer_mode_tile::config#3 +Inlining constant with var siblings vera_layer_mode_tile::config#4 +Inlining constant with different constant siblings vera_layer_mode_bitmap::config#10 +Inlining constant with var siblings clrscr::l#0 +Inlining constant with var siblings clrscr::c#0 +Inlining constant with var siblings gotoxy::x#0 +Inlining constant with var siblings gotoxy::y#1 +Inlining constant with var siblings gotoxy::x#1 +Inlining constant with var siblings gotoxy::x#2 +Inlining constant with var siblings gotoxy::x#3 +Inlining constant with var siblings gotoxy::y#3 +Inlining constant with var siblings gotoxy::x#4 +Inlining constant with var siblings gotoxy::y#4 +Inlining constant with var siblings gotoxy::x#5 +Inlining constant with var siblings gotoxy::y#5 +Inlining constant with var siblings gotoxy::x#6 +Inlining constant with var siblings gotoxy::y#6 +Inlining constant with var siblings clearline::c#0 +Inlining constant with var siblings insertup::i#0 +Inlining constant with var siblings cputs::s#1 +Inlining constant with var siblings cputs::s#2 +Inlining constant with var siblings cputs::s#3 +Inlining constant with var siblings cputs::s#4 +Inlining constant with var siblings cputs::s#5 +Inlining constant with var siblings cputs::s#6 +Inlining constant with var siblings cputs::s#7 +Inlining constant with var siblings screenlayer::layer#0 +Inlining constant with var siblings screenlayer::layer#1 +Inlining constant with var siblings screenlayer::layer#2 +Inlining constant with var siblings mul16u::res#0 +Inlining constant with var siblings bitmap_init::x#0 +Inlining constant with var siblings bitmap_init::y#0 +Inlining constant with var siblings bitmap_line::y0#1 +Inlining constant with var siblings bitmap_line::y1#1 +Inlining constant with var siblings divr16u::quotient#0 +Inlining constant with var siblings divr16u::i#0 +Inlining constant with var siblings modr16u::divisor#0 +Inlining constant with var siblings modr16u::rem#0 +Inlining constant with var siblings modr16u::divisor#1 +Inlining constant with var siblings modr16u::rem#1 +Inlining constant with var siblings modr16u::divisor#2 +Inlining constant with var siblings modr16u::rem#2 +Inlining constant with var siblings modr16u::divisor#3 +Inlining constant with var siblings modr16u::rem#3 +Inlining constant with var siblings main::x#0 +Inlining constant with var siblings main::color#0 +Inlining constant with var siblings main::x#2 +Inlining constant with var siblings rand_state#10 +Constant inlined cputs::s#5 = main::s4 +Constant inlined vera_layer_set_config::layer#1 = vera_layer_mode_bitmap::layer#0 +Constant inlined cputs::s#6 = main::s5 +Constant inlined vera_layer_set_textcolor::color#1 = WHITE +Constant inlined cputs::s#3 = main::s2 +Constant inlined vera_layer_set_textcolor::color#0 = WHITE +Constant inlined cputs::s#4 = main::s3 +Constant inlined cputs::s#1 = main::s +Constant inlined cputs::s#2 = main::s1 +Constant inlined main::textcolor5_color#0 = WHITE +Constant inlined vera_layer_set_textcolor::color#3 = WHITE +Constant inlined clrscr::l#0 = 0 +Constant inlined vera_layer_set_textcolor::color#2 = YELLOW +Constant inlined vera_layer_set_textcolor::color#5 = WHITE +Constant inlined vera_layer_set_textcolor::color#4 = YELLOW +Constant inlined modr16u::divisor#0 = $140 +Constant inlined modr16u::divisor#3 = $c8 +Constant inlined modr16u::divisor#2 = $c8 +Constant inlined modr16u::divisor#1 = $140 +Constant inlined vera_layer_set_tilebase::tilebase#1 = vera_layer_mode_bitmap::tilebase#1 +Constant inlined memcpy_in_vram::src_increment#1 = VERA_INC_1 +Constant inlined vera_layer_mode_tile::layer#0 = vera_layer_mode_text::layer#0 +Constant inlined memcpy_in_vram::src_increment#0 = VERA_INC_1 +Constant inlined insertup::i#0 = 1 +Constant inlined vera_layer_mode_tile::layer#1 = 1 +Constant inlined vera_layer_set_config::config#1 = vera_layer_mode_bitmap::config#11 +Constant inlined main::bgcolor2_color#0 = BLACK +Constant inlined bitmap_line::y0#1 = 0 +Constant inlined main::textcolor1_color#0 = WHITE +Constant inlined vera_layer_mode_tile::color_depth#0 = 1 +Constant inlined cputs::s#7 = main::s4 +Constant inlined vera_layer_mode_tile::color_depth#1 = 1 +Constant inlined main::textcolor4_color#0 = YELLOW +Constant inlined divr16u::i#0 = 0 +Constant inlined vera_layer_mode_tile::tileheight#0 = vera_layer_mode_text::tileheight#0 +Constant inlined vera_layer_mode_tile::tileheight#1 = 8 +Constant inlined vera_layer_set_mapbase::mapbase#1 = $20 +Constant inlined vera_layer_set_mapbase::mapbase#2 = 0 +Constant inlined vera_layer_mode_tile::tilewidth#1 = 8 +Constant inlined vera_layer_mode_tile::tilewidth#0 = vera_layer_mode_text::tilewidth#0 +Constant inlined memset_vram::i#0 = 0 +Constant inlined memcpy_in_vram::i#0 = 0 +Constant inlined vera_layer_set_text_color_mode::$0 = vera_layer_mode_text::layer#0*SIZEOF_POINTER +Constant inlined vera_layer_mode_tile::mapbase_address#2 = $14000 +Constant inlined vera_layer_mode_tile::mapbase_address#1 = vera_layer_mode_text::mapbase_address#0 +Constant inlined main::x#2 = 0 +Constant inlined main::x#0 = 0 +Constant inlined vera_layer_set_backcolor::color#2 = BLACK +Constant inlined main::bgcolor3_color#0 = BLUE +Constant inlined vera_layer_set_backcolor::color#3 = BLUE +Constant inlined vera_layer_set_backcolor::color#0 = BLUE +Constant inlined vera_layer_set_backcolor::color#1 = BLACK +Constant inlined modr16u::rem#3 = 0 +Constant inlined gotoxy::y#3 = $19 +Constant inlined memcpy_in_vram::dest_bank#1 = 1 +Constant inlined gotoxy::y#4 = $1d +Constant inlined bitmap_line::y1#1 = $c7 +Constant inlined modr16u::rem#1 = 0 +Constant inlined memcpy_in_vram::dest_bank#0 = 0 +Constant inlined gotoxy::y#5 = $1a +Constant inlined modr16u::rem#2 = 0 +Constant inlined vera_layer_set_text_color_mode::layer#0 = vera_layer_mode_text::layer#0 +Constant inlined gotoxy::y#1 = 0 +Constant inlined bitmap_init::y#0 = 0 +Constant inlined gotoxy::y#6 = $1d +Constant inlined modr16u::rem#0 = 0 +Constant inlined main::textcolor3_color#0 = WHITE +Constant inlined vera_layer_set_tilebase::layer#1 = vera_layer_mode_bitmap::layer#0 +Constant inlined vera_layer_mode_tile::mapheight#0 = vera_layer_mode_text::mapheight#0 +Constant inlined vera_layer_mode_tile::mapheight#1 = $40 +Constant inlined memcpy_in_vram::dest#1 = (void*) 61440 +Constant inlined memcpy_in_vram::dest_increment#0 = VERA_INC_1 +Constant inlined memcpy_in_vram::dest_increment#1 = VERA_INC_1 +Constant inlined vera_layer_mode_bitmap::$1 = 0 +Constant inlined vera_layer_set_textcolor::layer#0 = 1 +Constant inlined memcpy_in_vram::num#1 = (word)$100*8 +Constant inlined vera_display_get_vscale::s#0 = 1 +Constant inlined vera_layer_mode_bitmap::config#10 = VERA_LAYER_COLOR_DEPTH_8BPP +Constant inlined memcpy_in_vram::src_bank#1 = 0 +Constant inlined main::color#0 = 0 +Constant inlined memcpy_in_vram::src_bank#0 = 0 +Constant inlined gotoxy::x#3 = 0 +Constant inlined gotoxy::x#4 = 0 +Constant inlined vera_layer_set_mapbase::layer#2 = 1 +Constant inlined gotoxy::x#5 = 0 +Constant inlined vera_layer_set_mapbase::layer#1 = 0 +Constant inlined gotoxy::x#6 = 0 +Constant inlined gotoxy::x#0 = 0 +Constant inlined gotoxy::x#1 = 0 +Constant inlined gotoxy::x#2 = 0 +Constant inlined rand_state#10 = 1 +Constant inlined vera_layer_mode_tile::tilebase_address#1 = vera_layer_mode_text::tilebase_address#0 +Constant inlined vera_layer_mode_tile::tilebase_address#2 = $1f000 +Constant inlined vera_layer_set_backcolor::layer#0 = 1 +Constant inlined bitmap_init::x#0 = 0 +Constant inlined main::textcolor2_color#0 = YELLOW +Constant inlined vera_layer_mode_tile::mapwidth#0 = vera_layer_mode_text::mapwidth#0 +Constant inlined divr16u::quotient#0 = 0 +Constant inlined vera_layer_mode_tile::mapwidth#1 = $80 +Constant inlined mul16u::res#0 = 0 +Constant inlined clearline::c#0 = 0 +Constant inlined vera_layer_mode_tile::config#0 = 0 +Constant inlined vera_layer_mode_tile::config#1 = VERA_LAYER_COLOR_DEPTH_1BPP +Constant inlined vera_layer_mode_tile::config#2 = VERA_LAYER_COLOR_DEPTH_2BPP +Constant inlined vera_layer_mode_tile::config#3 = VERA_LAYER_COLOR_DEPTH_4BPP +Constant inlined vera_layer_mode_tile::config#4 = VERA_LAYER_COLOR_DEPTH_8BPP +Constant inlined main::s6 = main::s4 +Constant inlined vera_display_get_hscale::s#0 = 1 +Constant inlined memcpy_in_vram::src#1 = (void*) 63488 +Constant inlined screenlayer::layer#0 = 1 +Constant inlined screenlayer::layer#1 = 1 +Constant inlined screenlayer::layer#2 = 1 +Constant inlined main::bgcolor1_color#0 = BLACK +Constant inlined clrscr::c#0 = 0 +Successful SSA optimization Pass2ConstantInlining +Consolidated array index constant in *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) +Successful SSA optimization Pass2ConstantAdditionElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Identical Phi Values memcpy_in_vram::src_increment#2 VERA_INC_1 +Identical Phi Values memcpy_in_vram::src_bank#2 0 +Identical Phi Values memcpy_in_vram::dest_increment#2 VERA_INC_1 +Identical Phi Values vera_layer_mode_tile::color_depth#2 1 +Identical Phi Values gotoxy::x#10 0 +Identical Phi Values screenlayer::layer#3 1 +Identical Phi Values modr16u::rem#4 0 +Successful SSA optimization Pass2IdenticalPhiElimination +Identical Phi Values gotoxy::x#8 0 +Successful SSA optimization Pass2IdenticalPhiElimination +Identified duplicate assignment right side [144] vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#10 << 1 +Identified duplicate assignment right side [148] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 +Successful SSA optimization Pass2DuplicateRValueIdentification +Constant right-side identified [18] memcpy_in_vram::$2 = VERA_INC_1 | 0 +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant memcpy_in_vram::$2 = VERA_INC_1|0 +Constant divr16u::rem#3 = 0 +Successful SSA optimization Pass2ConstantIdentification +if() condition always true - replacing block destination [94] if(1==1) goto vera_layer_mode_tile::@4 +if() condition always false - eliminating [95] if(1==2) goto vera_layer_mode_tile::@5 +if() condition always false - eliminating [96] if(1==4) goto vera_layer_mode_tile::@6 +if() condition always true - replacing block destination [97] if(1!=8) goto vera_layer_mode_tile::@8 +Successful SSA optimization Pass2ConstantIfs +Simplifying expression containing zero VERA_INC_1 in +Successful SSA optimization PassNSimplifyExpressionWithZero +Eliminating unused constant SIZEOF_WORD +Eliminating unused constant SIZEOF_DWORD +Successful SSA optimization PassNEliminateUnusedVars +Removing unused block vera_layer_mode_tile::@1 +Removing PHI-reference to removed block (vera_layer_mode_tile::@5) in block vera_layer_mode_tile::@8 +Removing unused block vera_layer_mode_tile::@5 +Removing unused block vera_layer_mode_tile::@2 +Removing PHI-reference to removed block (vera_layer_mode_tile::@6) in block vera_layer_mode_tile::@8 +Removing unused block vera_layer_mode_tile::@6 +Removing PHI-reference to removed block (vera_layer_mode_tile::@3) in block vera_layer_mode_tile::@8 +Removing unused block vera_layer_mode_tile::@3 +Removing PHI-reference to removed block (vera_layer_mode_tile::@7) in block vera_layer_mode_tile::@8 +Removing unused block vera_layer_mode_tile::@7 +Successful SSA optimization Pass2EliminateUnusedBlocks +Inlining constant with var siblings divr16u::rem#3 +Constant inlined memcpy_in_vram::$2 = VERA_INC_1 +Constant inlined divr16u::rem#3 = 0 +Successful SSA optimization Pass2ConstantInlining +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Alias vera_layer_mode_tile::$19 = vera_layer_mode_tile::$17 +Alias vera_layer_mode_tile::$20 = vera_layer_mode_tile::$18 +Successful SSA optimization Pass2AliasElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Identical Phi Values vera_layer_mode_tile::config#17 VERA_LAYER_COLOR_DEPTH_1BPP +Successful SSA optimization Pass2IdenticalPhiElimination +Constant right-side identified [99] vera_layer_mode_tile::config#6 = VERA_LAYER_COLOR_DEPTH_1BPP | VERA_LAYER_WIDTH_64 +Constant right-side identified [104] vera_layer_mode_tile::config#7 = VERA_LAYER_COLOR_DEPTH_1BPP | VERA_LAYER_WIDTH_128 +Constant right-side identified [109] vera_layer_mode_tile::config#8 = VERA_LAYER_COLOR_DEPTH_1BPP | VERA_LAYER_WIDTH_256 +Successful SSA optimization Pass2ConstantRValueConsolidation +Constant vera_layer_mode_tile::config#6 = VERA_LAYER_COLOR_DEPTH_1BPP|VERA_LAYER_WIDTH_64 +Constant vera_layer_mode_tile::config#7 = VERA_LAYER_COLOR_DEPTH_1BPP|VERA_LAYER_WIDTH_128 +Constant vera_layer_mode_tile::config#8 = VERA_LAYER_COLOR_DEPTH_1BPP|VERA_LAYER_WIDTH_256 +Successful SSA optimization Pass2ConstantIdentification +Simplifying expression containing zero VERA_LAYER_WIDTH_64 in +Simplifying expression containing zero VERA_LAYER_WIDTH_128 in +Simplifying expression containing zero VERA_LAYER_WIDTH_256 in +Successful SSA optimization PassNSimplifyExpressionWithZero +Eliminating unused constant VERA_LAYER_COLOR_DEPTH_2BPP +Eliminating unused constant VERA_LAYER_COLOR_DEPTH_4BPP +Successful SSA optimization PassNEliminateUnusedVars +Inlining constant with var siblings vera_layer_mode_tile::config#6 +Inlining constant with var siblings vera_layer_mode_tile::config#7 +Inlining constant with var siblings vera_layer_mode_tile::config#8 +Constant inlined vera_layer_mode_tile::config#6 = VERA_LAYER_WIDTH_64 +Constant inlined vera_layer_mode_tile::config#7 = VERA_LAYER_WIDTH_128 +Constant inlined vera_layer_mode_tile::config#8 = VERA_LAYER_WIDTH_256 +Successful SSA optimization Pass2ConstantInlining +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $a +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) $b +Finalized unsigned number type (byte) $b +Finalized unsigned number type (word) $280 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (word) $1e0 +Finalized unsigned number type (word) $1e0 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (word) $280 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 5 +Finalized unsigned number type (byte) 5 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 8 +Successful SSA optimization PassNFinalizeNumberTypeConversions +Simplifying constant integer cast $100*8 +Successful SSA optimization PassNCastSimplification +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 conio_height +Alias candidate removed (volatile)bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 bitmap_init::vera_layer_get_color_depth1_return#1 bitmap_init::$0 __bitmap_color_depth +Alias candidate removed (volatile)__bitmap_hscale = bitmap_init::$1 +Alias candidate removed (volatile)__bitmap_vscale = bitmap_init::$2 +Added new block during phi lifting vera_display_get_hscale::@5(between vera_display_get_hscale::@2 and vera_display_get_hscale::@1) +Added new block during phi lifting vera_display_get_vscale::@5(between vera_display_get_vscale::@2 and vera_display_get_vscale::@1) +Added new block during phi lifting vera_layer_mode_tile::@36(between vera_layer_mode_tile::@19 and vera_layer_mode_tile::@24) +Added new block during phi lifting vera_layer_mode_tile::@37(between vera_layer_mode_tile::@25 and vera_layer_mode_tile::@28) +Added new block during phi lifting vera_layer_mode_tile::@38(between vera_layer_mode_tile::@29 and vera_layer_mode_tile::@32) +Added new block during phi lifting conio_x16_init::@11(between conio_x16_init::@9 and conio_x16_init::@1) +Added new block during phi lifting gotoxy::@5(between gotoxy and gotoxy::@1) +Added new block during phi lifting mul16u::@6(between mul16u::@2 and mul16u::@4) +Added new block during phi lifting bitmap_init::@19(between bitmap_init::@7 and bitmap_init::@1) +Added new block during phi lifting bitmap_init::@20(between bitmap_init::@1 and bitmap_init::@2) +Added new block during phi lifting bitmap_init::@21(between bitmap_init::@2 and bitmap_init::@3) +Added new block during phi lifting bitmap_init::@22(between bitmap_init::@3 and bitmap_init::@4) +Added new block during phi lifting bitmap_init::@23(between bitmap_init::@5 and bitmap_init::@6) +Added new block during phi lifting bitmap_init::@24(between bitmap_init::@6 and bitmap_init::@7) +Added new block during phi lifting bitmap_init::@25(between bitmap_init::@15 and bitmap_init::@15) +Added new block during phi lifting bitmap_line_xdyi::@5(between bitmap_line_xdyi::@2 and bitmap_line_xdyi::@1) +Added new block during phi lifting bitmap_line_xdyi::@6(between bitmap_line_xdyi::@4 and bitmap_line_xdyi::@2) +Added new block during phi lifting bitmap_line_xdyd::@5(between bitmap_line_xdyd::@2 and bitmap_line_xdyd::@1) +Added new block during phi lifting bitmap_line_xdyd::@6(between bitmap_line_xdyd::@4 and bitmap_line_xdyd::@2) +Added new block during phi lifting bitmap_line_ydxi::@5(between bitmap_line_ydxi::@2 and bitmap_line_ydxi::@1) +Added new block during phi lifting bitmap_line_ydxi::@6(between bitmap_line_ydxi::@4 and bitmap_line_ydxi::@2) +Added new block during phi lifting bitmap_line_ydxd::@5(between bitmap_line_ydxd::@2 and bitmap_line_ydxd::@1) +Added new block during phi lifting bitmap_line_ydxd::@6(between bitmap_line_ydxd::@4 and bitmap_line_ydxd::@2) +Added new block during phi lifting divr16u::@7(between divr16u::@3 and divr16u::@1) +Added new block during phi lifting divr16u::@8(between divr16u::@1 and divr16u::@2) +Added new block during phi lifting divr16u::@9(between divr16u::@2 and divr16u::@3) +Added new block during phi lifting main::@59(between main::@54 and main::@4) +Adding NOP phi() at start of __start +Adding NOP phi() at start of __start::@2 +Adding NOP phi() at start of __start::@1 +Adding NOP phi() at start of __start::@3 +Adding NOP phi() at start of conio_x16_init::@3 +Adding NOP phi() at start of conio_x16_init::@4 +Adding NOP phi() at start of conio_x16_init::@5 +Adding NOP phi() at start of conio_x16_init::@6 +Adding NOP phi() at start of conio_x16_init::@7 +Adding NOP phi() at start of conio_x16_init::@8 +Adding NOP phi() at start of conio_x16_init::@10 +Adding NOP phi() at start of main +Adding NOP phi() at start of main::@17 +Adding NOP phi() at start of main::@18 +Adding NOP phi() at start of main::@19 +Adding NOP phi() at start of main::@20 +Adding NOP phi() at start of main::@21 +Adding NOP phi() at start of main::@8 +Adding NOP phi() at start of main::@22 +Adding NOP phi() at start of main::@9 +Adding NOP phi() at start of main::@23 +Adding NOP phi() at start of main::@24 +Adding NOP phi() at start of main::@25 +Adding NOP phi() at start of main::@26 +Adding NOP phi() at start of main::@27 +Adding NOP phi() at start of main::@28 +Adding NOP phi() at start of main::@10 +Adding NOP phi() at start of main::@29 +Adding NOP phi() at start of main::@30 +Adding NOP phi() at start of main::@31 +Adding NOP phi() at start of main::@32 +Adding NOP phi() at start of main::@11 +Adding NOP phi() at start of main::@33 +Adding NOP phi() at start of main::@3 +Adding NOP phi() at start of main::@45 +Adding NOP phi() at start of main::@12 +Adding NOP phi() at start of main::@46 +Adding NOP phi() at start of main::@13 +Adding NOP phi() at start of main::@47 +Adding NOP phi() at start of main::@48 +Adding NOP phi() at start of main::@49 +Adding NOP phi() at start of main::@50 +Adding NOP phi() at start of main::@51 +Adding NOP phi() at start of main::@14 +Adding NOP phi() at start of main::@52 +Adding NOP phi() at start of main::@6 +Adding NOP phi() at start of main::@55 +Adding NOP phi() at start of main::@56 +Adding NOP phi() at start of main::@15 +Adding NOP phi() at start of main::@57 +Adding NOP phi() at start of main::@16 +Adding NOP phi() at start of main::@58 +Adding NOP phi() at start of vera_layer_mode_text +Adding NOP phi() at start of vera_layer_mode_text::@4 +Adding NOP phi() at start of vera_layer_mode_text::@2 +Adding NOP phi() at start of vera_layer_mode_text::@5 +Adding NOP phi() at start of gotoxy::@3 +Adding NOP phi() at start of gotoxy::@4 +Adding NOP phi() at start of vera_layer_mode_tile::@4 +Adding NOP phi() at start of vera_layer_mode_tile::@35 +Adding NOP phi() at start of vera_layer_mode_bitmap +Adding NOP phi() at start of vera_layer_mode_bitmap::@1 +Adding NOP phi() at start of vera_layer_mode_bitmap::@2 +Adding NOP phi() at start of vera_layer_mode_bitmap::@3 +Adding NOP phi() at start of vera_layer_mode_bitmap::@7 +Adding NOP phi() at start of vera_layer_mode_bitmap::@11 +Adding NOP phi() at start of vera_layer_mode_bitmap::@10 +Adding NOP phi() at start of vera_layer_mode_bitmap::@13 +Adding NOP phi() at start of vera_layer_mode_bitmap::@14 +Adding NOP phi() at start of bitmap_clear::@2 +Adding NOP phi() at start of bitmap_line::@16 +Adding NOP phi() at start of bitmap_line::@15 +Adding NOP phi() at start of bitmap_line::@18 +Adding NOP phi() at start of bitmap_line::@17 +Adding NOP phi() at start of bitmap_line::@20 +Adding NOP phi() at start of bitmap_line::@19 +Adding NOP phi() at start of bitmap_line::@22 +Adding NOP phi() at start of bitmap_line::@21 +Adding NOP phi() at start of cputc::@4 +Adding NOP phi() at start of cputc::@9 +Adding NOP phi() at start of cputc::@6 +Adding NOP phi() at start of cputc::@10 +Adding NOP phi() at start of cputc::@1 +Adding NOP phi() at start of cputc::@8 +Adding NOP phi() at start of vera_display_get_hscale +Adding NOP phi() at start of vera_display_get_vscale +Adding NOP phi() at start of mul16u::@3 +Adding NOP phi() at start of cputln::@1 +Adding NOP phi() at start of cscroll::@3 +Adding NOP phi() at start of cscroll::@4 +Adding NOP phi() at start of cscroll::@6 +Adding NOP phi() at start of insertup::@3 +Adding NOP phi() at start of insertup::@5 +CALL GRAPH +Calls in [__start] to conio_x16_init:13 main:16 +Calls in [conio_x16_init] to vera_layer_mode_text:20 screensize:22 screenlayer:24 vera_layer_set_textcolor:26 vera_layer_set_backcolor:28 vera_layer_set_mapbase:30 vera_layer_set_mapbase:32 gotoxy:39 +Calls in [main] to memcpy_in_vram:44 vera_layer_mode_tile:46 vera_layer_mode_bitmap:48 screenlayer:50 vera_layer_set_textcolor:54 vera_layer_set_backcolor:59 clrscr:62 gotoxy:64 cputs:66 cputs:68 cputs:70 cputs:72 bitmap_init:76 bitmap_clear:78 gotoxy:80 vera_layer_set_textcolor:84 cputs:87 kbhit:90 vera_layer_set_textcolor:97 vera_layer_set_backcolor:102 clrscr:105 gotoxy:107 cputs:109 gotoxy:111 vera_layer_set_textcolor:115 cputs:118 kbhit:121 screenlayer:126 vera_layer_set_textcolor:130 vera_layer_set_backcolor:135 clrscr:138 bitmap_line:147 rand:155 modr16u:159 rand:163 modr16u:167 rand:171 modr16u:175 rand:179 modr16u:183 rand:187 bitmap_line:196 +Calls in [vera_layer_mode_text] to vera_layer_mode_tile:199 vera_layer_set_text_color_mode:202 +Calls in [screenlayer] to vera_layer_get_mapbase_bank:214 vera_layer_get_mapbase_offset:218 vera_layer_get_rowshift:232 vera_layer_get_rowskip:237 +Calls in [vera_layer_mode_tile] to vera_layer_set_config:318 vera_layer_set_mapbase:333 vera_layer_set_tilebase:357 +Calls in [vera_layer_mode_bitmap] to vera_layer_set_config:391 vera_layer_set_tilebase:393 +Calls in [clrscr] to vera_layer_get_backcolor:398 vera_layer_get_textcolor:403 +Calls in [cputs] to cputc:440 +Calls in [bitmap_init] to vera_display_get_hscale:452 vera_display_get_vscale:456 +Calls in [bitmap_clear] to mul16u:560 memset_vram:569 +Calls in [bitmap_line] to bitmap_line_ydxi:595 bitmap_line_xdyi:610 bitmap_line_ydxd:626 bitmap_line_xdyd:640 bitmap_line_ydxd:658 bitmap_line_xdyd:672 bitmap_line_ydxi:688 bitmap_line_xdyi:702 +Calls in [modr16u] to divr16u:716 +Calls in [cputc] to vera_layer_get_color:749 cputln:772 cputln:777 cputln:780 +Calls in [bitmap_line_ydxi] to bitmap_plot:843 +Calls in [bitmap_line_xdyi] to bitmap_plot:872 +Calls in [bitmap_line_ydxd] to bitmap_plot:901 +Calls in [bitmap_line_xdyd] to bitmap_plot:930 +Calls in [cputln] to cscroll:994 +Calls in [cscroll] to insertup:1034 gotoxy:1037 +Calls in [insertup] to clearline:1044 memcpy_in_vram:1056 +Calls in [clearline] to vera_layer_get_color:1069 + +Created 126 initial phi equivalence classes +Coalesced [35] conio_x16_init::line#10 = conio_x16_init::line#1 +Coalesced [38] gotoxy::y#11 = gotoxy::y#0 +Coalesced [42] conio_x16_init::line#11 = conio_x16_init::line#0 +Coalesced [53] vera_layer_set_textcolor::layer#7 = vera_layer_set_textcolor::layer#1 +Coalesced [58] vera_layer_set_backcolor::layer#5 = vera_layer_set_backcolor::layer#1 +Coalesced [83] vera_layer_set_textcolor::layer#8 = vera_layer_set_textcolor::layer#2 +Coalesced [96] vera_layer_set_textcolor::layer#9 = vera_layer_set_textcolor::layer#3 +Coalesced [101] vera_layer_set_backcolor::layer#6 = vera_layer_set_backcolor::layer#2 +Coalesced [114] vera_layer_set_textcolor::layer#10 = vera_layer_set_textcolor::layer#4 +Coalesced [129] vera_layer_set_textcolor::layer#11 = vera_layer_set_textcolor::layer#5 +Coalesced [134] vera_layer_set_backcolor::layer#7 = vera_layer_set_backcolor::layer#3 +Coalesced [144] bitmap_line::x0#16 = bitmap_line::x0#1 +Coalesced [145] bitmap_line::x1#16 = bitmap_line::x1#1 +Coalesced [146] bitmap_line::c#18 = bitmap_line::c#1 +Coalesced [151] main::color#8 = main::color#1 +Coalesced [152] main::x#7 = main::x#1 +Coalesced (already) [153] main::color#7 = main::color#1 +Coalesced [154] rand_state#88 = rand_state#23 +Coalesced [158] modr16u::dividend#5 = modr16u::dividend#0 +Coalesced [162] rand_state#89 = rand_state#14 +Coalesced [166] modr16u::dividend#6 = modr16u::dividend#1 +Coalesced (already) [170] rand_state#90 = rand_state#14 +Coalesced [174] modr16u::dividend#7 = modr16u::dividend#2 +Coalesced (already) [178] rand_state#91 = rand_state#14 +Coalesced [182] modr16u::dividend#8 = modr16u::dividend#3 +Coalesced (already) [186] rand_state#92 = rand_state#14 +Coalesced [191] bitmap_line::x0#15 = bitmap_line::x0#0 +Coalesced [192] bitmap_line::x1#15 = bitmap_line::x1#0 +Coalesced [193] bitmap_line::y0#15 = bitmap_line::y0#0 +Coalesced [194] bitmap_line::y1#15 = bitmap_line::y1#0 +Coalesced [195] bitmap_line::c#17 = bitmap_line::c#0 +Coalesced (already) [197] rand_state#93 = rand_state#14 +Coalesced [276] gotoxy::y#13 = gotoxy::y#7 +Coalesced [296] memcpy_in_vram::i#4 = memcpy_in_vram::i#1 +Coalesced [312] vera_layer_mode_tile::config#41 = vera_layer_mode_tile::config#12 +Coalesced [316] vera_layer_set_config::layer#3 = vera_layer_set_config::layer#0 +Coalesced [317] vera_layer_set_config::config#3 = vera_layer_set_config::config#0 +Coalesced [331] vera_layer_set_mapbase::layer#4 = vera_layer_set_mapbase::layer#0 +Coalesced [332] vera_layer_set_mapbase::mapbase#4 = vera_layer_set_mapbase::mapbase#0 +Coalesced [346] vera_layer_mode_tile::tilebase#16 = vera_layer_mode_tile::tilebase#3 +Coalesced [351] vera_layer_mode_tile::tilebase#19 = vera_layer_mode_tile::tilebase#5 +Coalesced [355] vera_layer_set_tilebase::layer#3 = vera_layer_set_tilebase::layer#0 +Coalesced [356] vera_layer_set_tilebase::tilebase#3 = vera_layer_set_tilebase::tilebase#0 +Coalesced [360] vera_layer_mode_tile::tilebase#17 = vera_layer_mode_tile::tilebase#12 +Coalesced (already) [361] vera_layer_mode_tile::tilebase#18 = vera_layer_mode_tile::tilebase#12 +Coalesced [362] vera_layer_mode_tile::tilebase#14 = vera_layer_mode_tile::tilebase#1 +Coalesced (already) [363] vera_layer_mode_tile::tilebase#15 = vera_layer_mode_tile::tilebase#1 +Coalesced [364] vera_layer_mode_tile::config#37 = vera_layer_mode_tile::config#21 +Coalesced [366] vera_layer_mode_tile::config#40 = vera_layer_mode_tile::config#11 +Coalesced [368] vera_layer_mode_tile::config#39 = vera_layer_mode_tile::config#10 +Coalesced (already) [369] vera_layer_mode_tile::config#38 = vera_layer_mode_tile::config#21 +Coalesced [407] clrscr::line_text#10 = clrscr::line_text#0 +Coalesced [426] clrscr::l#7 = clrscr::l#1 +Coalesced [427] clrscr::line_text#9 = clrscr::line_text#1 +Coalesced [431] clrscr::c#4 = clrscr::c#1 +Coalesced [433] cputs::s#12 = cputs::s#9 +Coalesced [441] cputs::s#13 = cputs::s#0 +Coalesced [462] bitmap_init::bitmask#17 = bitmap_init::bitmask#0 +Coalesced [463] bitmap_init::bitshift#17 = bitmap_init::bitshift#0 +Coalesced [476] bitmap_init::bitmask#20 = bitmap_init::bitmask#1 +Coalesced [477] bitmap_init::bitshift#20 = bitmap_init::bitshift#1 +Coalesced [490] bitmap_init::bitmask#22 = bitmap_init::bitmask#2 +Coalesced [491] bitmap_init::bitshift#22 = bitmap_init::bitshift#2 +Coalesced [504] bitmap_init::bitshift#23 = bitmap_init::bitshift#3 +Coalesced [505] bitmap_init::bitmask#23 = bitmap_init::bitmask#3 +Coalesced [517] bitmap_init::bitshift#25 = bitmap_init::bitshift#4 +Coalesced [521] bitmap_init::bitmask#25 = bitmap_init::bitmask#4 +Coalesced [530] bitmap_init::yoffs#3 = bitmap_init::yoffs#0 +Coalesced [539] bitmap_init::y#3 = bitmap_init::y#1 +Coalesced [540] bitmap_init::yoffs#4 = bitmap_init::yoffs#1 +Coalesced [541] bitmap_init::x#15 = bitmap_init::x#1 +Coalesced [542] bitmap_init::bitmask#18 = bitmap_init::bitmask#16 +Coalesced [543] bitmap_init::bitshift#18 = bitmap_init::bitshift#14 +Coalesced [544] bitmap_init::bitmask#26 = bitmap_init::bitmask#13 +Coalesced [545] bitmap_init::bitshift#26 = bitmap_init::bitshift#13 +Coalesced [546] bitmap_init::bitshift#24 = bitmap_init::bitshift#12 +Coalesced [547] bitmap_init::bitmask#24 = bitmap_init::bitmask#12 +Coalesced [548] bitmap_init::bitmask#21 = bitmap_init::bitmask#11 +Coalesced [549] bitmap_init::bitshift#21 = bitmap_init::bitshift#11 +Coalesced (already) [550] bitmap_init::bitmask#19 = bitmap_init::bitmask#10 +Coalesced (already) [551] bitmap_init::bitshift#19 = bitmap_init::bitshift#10 +Coalesced [589] bitmap_line_ydxi::xd#8 = bitmap_line_ydxi::xd#0 +Coalesced [590] bitmap_line_ydxi::x#9 = bitmap_line_ydxi::x#0 +Coalesced [591] bitmap_line_ydxi::y#9 = bitmap_line_ydxi::y#0 +Coalesced [592] bitmap_line_ydxi::c#8 = bitmap_line_ydxi::c#0 +Coalesced [593] bitmap_line_ydxi::yd#8 = bitmap_line_ydxi::yd#0 +Coalesced [594] bitmap_line_ydxi::y1#8 = bitmap_line_ydxi::y1#0 +Coalesced [604] bitmap_line_xdyi::yd#8 = bitmap_line_xdyi::yd#0 +Coalesced [605] bitmap_line_xdyi::x#9 = bitmap_line_xdyi::x#0 +Coalesced [606] bitmap_line_xdyi::y#9 = bitmap_line_xdyi::y#0 +Coalesced [607] bitmap_line_xdyi::c#8 = bitmap_line_xdyi::c#0 +Coalesced [608] bitmap_line_xdyi::xd#8 = bitmap_line_xdyi::xd#0 +Coalesced [609] bitmap_line_xdyi::x1#8 = bitmap_line_xdyi::x1#0 +Coalesced [620] bitmap_line_ydxd::xd#7 = bitmap_line_ydxd::xd#0 +Coalesced [621] bitmap_line_ydxd::x#8 = bitmap_line_ydxd::x#0 +Coalesced [622] bitmap_line_ydxd::y#9 = bitmap_line_ydxd::y#0 +Coalesced [623] bitmap_line_ydxd::c#7 = bitmap_line_ydxd::c#0 +Coalesced [624] bitmap_line_ydxd::yd#7 = bitmap_line_ydxd::yd#0 +Coalesced [625] bitmap_line_ydxd::y1#7 = bitmap_line_ydxd::y1#0 +Coalesced [634] bitmap_line_xdyd::yd#8 = bitmap_line_xdyd::yd#0 +Coalesced [635] bitmap_line_xdyd::x#9 = bitmap_line_xdyd::x#0 +Coalesced [636] bitmap_line_xdyd::y#9 = bitmap_line_xdyd::y#0 +Coalesced [637] bitmap_line_xdyd::c#8 = bitmap_line_xdyd::c#0 +Coalesced [638] bitmap_line_xdyd::xd#8 = bitmap_line_xdyd::xd#0 +Coalesced [639] bitmap_line_xdyd::x1#8 = bitmap_line_xdyd::x1#0 +Coalesced [652] bitmap_line_ydxd::xd#8 = bitmap_line_ydxd::xd#1 +Coalesced [653] bitmap_line_ydxd::x#9 = bitmap_line_ydxd::x#1 +Coalesced [654] bitmap_line_ydxd::y#10 = bitmap_line_ydxd::y#1 +Coalesced [655] bitmap_line_ydxd::c#8 = bitmap_line_ydxd::c#1 +Coalesced [656] bitmap_line_ydxd::yd#8 = bitmap_line_ydxd::yd#1 +Coalesced [657] bitmap_line_ydxd::y1#8 = bitmap_line_ydxd::y1#1 +Coalesced [666] bitmap_line_xdyd::yd#7 = bitmap_line_xdyd::yd#1 +Coalesced [667] bitmap_line_xdyd::x#8 = bitmap_line_xdyd::x#1 +Coalesced [668] bitmap_line_xdyd::y#8 = bitmap_line_xdyd::y#1 +Coalesced [669] bitmap_line_xdyd::c#7 = bitmap_line_xdyd::c#1 +Coalesced [670] bitmap_line_xdyd::xd#7 = bitmap_line_xdyd::xd#1 +Coalesced [671] bitmap_line_xdyd::x1#7 = bitmap_line_xdyd::x1#1 +Coalesced [682] bitmap_line_ydxi::xd#7 = bitmap_line_ydxi::xd#1 +Coalesced [683] bitmap_line_ydxi::x#8 = bitmap_line_ydxi::x#1 +Coalesced [684] bitmap_line_ydxi::y#8 = bitmap_line_ydxi::y#1 +Coalesced [685] bitmap_line_ydxi::c#7 = bitmap_line_ydxi::c#1 +Coalesced [686] bitmap_line_ydxi::yd#7 = bitmap_line_ydxi::yd#1 +Coalesced [687] bitmap_line_ydxi::y1#7 = bitmap_line_ydxi::y1#1 +Coalesced [696] bitmap_line_xdyi::yd#7 = bitmap_line_xdyi::yd#1 +Coalesced [697] bitmap_line_xdyi::x#8 = bitmap_line_xdyi::x#1 +Coalesced [698] bitmap_line_xdyi::y#8 = bitmap_line_xdyi::y#1 +Coalesced [699] bitmap_line_xdyi::c#7 = bitmap_line_xdyi::c#1 +Coalesced [700] bitmap_line_xdyi::xd#7 = bitmap_line_xdyi::xd#1 +Coalesced [701] bitmap_line_xdyi::x1#7 = bitmap_line_xdyi::x1#1 +Coalesced [748] vera_layer_get_color::layer#6 = vera_layer_get_color::layer#0 +Coalesced [785] vera_display_get_hscale::return#5 = vera_display_get_hscale::s#2 +Coalesced [790] vera_display_get_hscale::s#5 = vera_display_get_hscale::s#1 +Coalesced [794] vera_display_get_vscale::return#5 = vera_display_get_vscale::s#2 +Coalesced [799] vera_display_get_vscale::s#5 = vera_display_get_vscale::s#1 +Coalesced [801] mul16u::a#7 = mul16u::a#1 +Coalesced [802] mul16u::mb#6 = mul16u::mb#0 +Coalesced [810] mul16u::res#9 = mul16u::res#1 +Coalesced [814] mul16u::a#8 = mul16u::a#0 +Coalesced [815] mul16u::res#7 = mul16u::res#6 +Coalesced [816] mul16u::mb#7 = mul16u::mb#1 +Coalesced (already) [817] mul16u::res#8 = mul16u::res#2 +Coalesced [830] memset_vram::i#4 = memset_vram::i#1 +Coalesced [833] bitmap_line_ydxi::x#10 = bitmap_line_ydxi::x#5 +Coalesced [834] bitmap_line_ydxi::y#10 = bitmap_line_ydxi::y#6 +Coalesced [835] bitmap_line_ydxi::e#7 = bitmap_line_ydxi::e#0 +Coalesced [840] bitmap_plot::x#13 = bitmap_plot::x#2 +Coalesced [841] bitmap_plot::y#8 = bitmap_plot::y#2 +Coalesced [842] bitmap_plot::c#13 = bitmap_plot::c#3 +Coalesced [849] bitmap_line_ydxi::x#12 = bitmap_line_ydxi::x#2 +Coalesced [850] bitmap_line_ydxi::e#9 = bitmap_line_ydxi::e#2 +Coalesced [855] bitmap_line_ydxi::x#11 = bitmap_line_ydxi::x#6 +Coalesced [856] bitmap_line_ydxi::y#11 = bitmap_line_ydxi::y#2 +Coalesced [857] bitmap_line_ydxi::e#8 = bitmap_line_ydxi::e#6 +Coalesced (already) [858] bitmap_line_ydxi::x#13 = bitmap_line_ydxi::x#3 +Coalesced [859] bitmap_line_ydxi::e#10 = bitmap_line_ydxi::e#1 +Coalesced [862] bitmap_line_xdyi::x#10 = bitmap_line_xdyi::x#6 +Coalesced [863] bitmap_line_xdyi::y#10 = bitmap_line_xdyi::y#5 +Coalesced [864] bitmap_line_xdyi::e#7 = bitmap_line_xdyi::e#0 +Coalesced [869] bitmap_plot::x#11 = bitmap_plot::x#0 +Coalesced [870] bitmap_plot::y#6 = bitmap_plot::y#0 +Coalesced [871] bitmap_plot::c#11 = bitmap_plot::c#1 +Coalesced [878] bitmap_line_xdyi::y#12 = bitmap_line_xdyi::y#2 +Coalesced [879] bitmap_line_xdyi::e#9 = bitmap_line_xdyi::e#2 +Coalesced [884] bitmap_line_xdyi::x#11 = bitmap_line_xdyi::x#2 +Coalesced [885] bitmap_line_xdyi::y#11 = bitmap_line_xdyi::y#6 +Coalesced [886] bitmap_line_xdyi::e#8 = bitmap_line_xdyi::e#6 +Coalesced (already) [887] bitmap_line_xdyi::y#13 = bitmap_line_xdyi::y#3 +Coalesced [888] bitmap_line_xdyi::e#10 = bitmap_line_xdyi::e#1 +Coalesced [891] bitmap_line_ydxd::x#10 = bitmap_line_ydxd::x#5 +Coalesced [892] bitmap_line_ydxd::y#11 = bitmap_line_ydxd::y#7 +Coalesced [893] bitmap_line_ydxd::e#7 = bitmap_line_ydxd::e#0 +Coalesced [898] bitmap_plot::x#12 = bitmap_plot::x#3 +Coalesced [899] bitmap_plot::y#7 = bitmap_plot::y#3 +Coalesced [900] bitmap_plot::c#12 = bitmap_plot::c#4 +Coalesced [907] bitmap_line_ydxd::x#12 = bitmap_line_ydxd::x#2 +Coalesced [908] bitmap_line_ydxd::e#9 = bitmap_line_ydxd::e#2 +Coalesced [913] bitmap_line_ydxd::x#11 = bitmap_line_ydxd::x#6 +Coalesced [914] bitmap_line_ydxd::y#12 = bitmap_line_ydxd::y#3 +Coalesced [915] bitmap_line_ydxd::e#8 = bitmap_line_ydxd::e#6 +Coalesced (already) [916] bitmap_line_ydxd::x#13 = bitmap_line_ydxd::x#3 +Coalesced [917] bitmap_line_ydxd::e#10 = bitmap_line_ydxd::e#1 +Coalesced [920] bitmap_line_xdyd::x#10 = bitmap_line_xdyd::x#6 +Coalesced [921] bitmap_line_xdyd::y#10 = bitmap_line_xdyd::y#5 +Coalesced [922] bitmap_line_xdyd::e#7 = bitmap_line_xdyd::e#0 +Coalesced [927] bitmap_plot::x#10 = bitmap_plot::x#1 +Coalesced [928] bitmap_plot::y#5 = bitmap_plot::y#1 +Coalesced [929] bitmap_plot::c#10 = bitmap_plot::c#2 +Coalesced [936] bitmap_line_xdyd::y#12 = bitmap_line_xdyd::y#2 +Coalesced [937] bitmap_line_xdyd::e#9 = bitmap_line_xdyd::e#2 +Coalesced [942] bitmap_line_xdyd::x#11 = bitmap_line_xdyd::x#2 +Coalesced [943] bitmap_line_xdyd::y#11 = bitmap_line_xdyd::y#6 +Coalesced [944] bitmap_line_xdyd::e#8 = bitmap_line_xdyd::e#6 +Coalesced (already) [945] bitmap_line_xdyd::y#13 = bitmap_line_xdyd::y#3 +Coalesced [946] bitmap_line_xdyd::e#10 = bitmap_line_xdyd::e#1 +Coalesced [947] divr16u::dividend#8 = divr16u::dividend#1 +Coalesced [954] divr16u::rem#13 = divr16u::rem#1 +Coalesced [961] divr16u::rem#15 = divr16u::rem#2 +Coalesced [962] divr16u::return#5 = divr16u::quotient#2 +Coalesced [968] divr16u::rem#11 = divr16u::rem#10 +Coalesced [969] divr16u::dividend#9 = divr16u::dividend#0 +Coalesced [970] divr16u::quotient#9 = divr16u::return#0 +Coalesced [971] divr16u::i#7 = divr16u::i#1 +Coalesced [972] divr16u::rem#14 = divr16u::rem#5 +Coalesced [973] divr16u::return#4 = divr16u::quotient#1 +Coalesced [974] divr16u::rem#12 = divr16u::rem#0 +Coalesced [982] vera_layer_get_color::return#9 = vera_layer_get_color::return#1 +Coalesced [986] vera_layer_get_color::return#8 = vera_layer_get_color::return#0 +Coalesced [1008] bitmap_plot::c#15 = bitmap_plot::c#5 +Coalesced [1027] bitmap_plot::c#14 = bitmap_plot::$3 +Coalesced [1036] gotoxy::y#12 = gotoxy::y#2 +Coalesced [1054] memcpy_in_vram::dest#3 = memcpy_in_vram::dest#0 +Coalesced [1055] memcpy_in_vram::num#5 = memcpy_in_vram::num#0 +Coalesced [1058] insertup::i#5 = insertup::i#1 +Coalesced [1068] vera_layer_get_color::layer#5 = vera_layer_get_color::layer#1 +Coalesced [1079] clearline::c#4 = clearline::c#1 +Coalesced down to 90 phi equivalence classes +Culled Empty Block label __start::@2 +Culled Empty Block label __start::@3 +Culled Empty Block label conio_x16_init::@10 +Culled Empty Block label conio_x16_init::@11 +Culled Empty Block label main::@20 +Culled Empty Block label main::@21 +Culled Empty Block label main::@8 +Culled Empty Block label main::@22 +Culled Empty Block label main::@28 +Culled Empty Block label main::@31 +Culled Empty Block label main::@32 +Culled Empty Block label main::@33 +Culled Empty Block label main::@3 +Culled Empty Block label main::@45 +Culled Empty Block label main::@12 +Culled Empty Block label main::@46 +Culled Empty Block label main::@50 +Culled Empty Block label main::@51 +Culled Empty Block label main::@52 +Culled Empty Block label main::@55 +Culled Empty Block label main::@56 +Culled Empty Block label main::@15 +Culled Empty Block label main::@57 +Culled Empty Block label main::@58 +Culled Empty Block label main::@7 +Culled Empty Block label main::@44 +Culled Empty Block label vera_layer_mode_text::@4 +Culled Empty Block label vera_layer_mode_text::@5 +Culled Empty Block label gotoxy::@3 +Culled Empty Block label vera_layer_mode_tile::@4 +Culled Empty Block label vera_layer_mode_tile::@35 +Culled Empty Block label vera_layer_mode_tile::@38 +Culled Empty Block label vera_layer_mode_tile::@30 +Culled Empty Block label vera_layer_mode_tile::@37 +Culled Empty Block label vera_layer_mode_tile::@26 +Culled Empty Block label vera_layer_mode_tile::@36 +Culled Empty Block label vera_layer_mode_tile::@20 +Culled Empty Block label vera_layer_mode_bitmap::@1 +Culled Empty Block label vera_layer_mode_bitmap::@2 +Culled Empty Block label vera_layer_mode_bitmap::@3 +Culled Empty Block label vera_layer_mode_bitmap::@7 +Culled Empty Block label vera_layer_mode_bitmap::@11 +Culled Empty Block label vera_layer_mode_bitmap::@14 +Culled Empty Block label cputs::@3 +Culled Empty Block label bitmap_init::@25 +Culled Empty Block label bitmap_init::@19 +Culled Empty Block label bitmap_init::@24 +Culled Empty Block label bitmap_init::@23 +Culled Empty Block label bitmap_init::@22 +Culled Empty Block label bitmap_init::@21 +Culled Empty Block label bitmap_init::@20 +Culled Empty Block label bitmap_clear::@2 +Culled Empty Block label bitmap_line::@16 +Culled Empty Block label bitmap_line::@15 +Culled Empty Block label bitmap_line::@18 +Culled Empty Block label bitmap_line::@17 +Culled Empty Block label bitmap_line::@20 +Culled Empty Block label bitmap_line::@19 +Culled Empty Block label bitmap_line::@22 +Culled Empty Block label bitmap_line::@21 +Culled Empty Block label cputc::@9 +Culled Empty Block label cputc::@10 +Culled Empty Block label cputc::@8 +Culled Empty Block label vera_display_get_hscale::@4 +Culled Empty Block label vera_display_get_hscale::@5 +Culled Empty Block label vera_display_get_vscale::@4 +Culled Empty Block label vera_display_get_vscale::@5 +Culled Empty Block label mul16u::@3 +Culled Empty Block label mul16u::@6 +Culled Empty Block label bitmap_line_ydxi::@5 +Culled Empty Block label bitmap_line_ydxi::@6 +Culled Empty Block label bitmap_line_xdyi::@5 +Culled Empty Block label bitmap_line_xdyi::@6 +Culled Empty Block label bitmap_line_ydxd::@5 +Culled Empty Block label bitmap_line_ydxd::@6 +Culled Empty Block label bitmap_line_xdyd::@5 +Culled Empty Block label bitmap_line_xdyd::@6 +Culled Empty Block label divr16u::@7 +Culled Empty Block label divr16u::@9 +Culled Empty Block label divr16u::@8 +Culled Empty Block label cputln::@1 +Culled Empty Block label bitmap_plot::@2 +Culled Empty Block label cscroll::@6 +Culled Empty Block label insertup::@5 +Renumbering block vera_layer_mode_tile::@8 to vera_layer_mode_tile::@1 +Renumbering block vera_layer_mode_tile::@9 to vera_layer_mode_tile::@2 +Renumbering block vera_layer_mode_tile::@10 to vera_layer_mode_tile::@3 +Renumbering block vera_layer_mode_tile::@11 to vera_layer_mode_tile::@4 +Renumbering block vera_layer_mode_tile::@12 to vera_layer_mode_tile::@5 +Renumbering block vera_layer_mode_tile::@13 to vera_layer_mode_tile::@6 +Renumbering block vera_layer_mode_tile::@14 to vera_layer_mode_tile::@7 +Renumbering block vera_layer_mode_tile::@15 to vera_layer_mode_tile::@8 +Renumbering block vera_layer_mode_tile::@16 to vera_layer_mode_tile::@9 +Renumbering block vera_layer_mode_tile::@17 to vera_layer_mode_tile::@10 +Renumbering block vera_layer_mode_tile::@18 to vera_layer_mode_tile::@11 +Renumbering block vera_layer_mode_tile::@19 to vera_layer_mode_tile::@12 +Renumbering block vera_layer_mode_tile::@21 to vera_layer_mode_tile::@13 +Renumbering block vera_layer_mode_tile::@22 to vera_layer_mode_tile::@14 +Renumbering block vera_layer_mode_tile::@23 to vera_layer_mode_tile::@15 +Renumbering block vera_layer_mode_tile::@24 to vera_layer_mode_tile::@16 +Renumbering block vera_layer_mode_tile::@25 to vera_layer_mode_tile::@17 +Renumbering block vera_layer_mode_tile::@27 to vera_layer_mode_tile::@18 +Renumbering block vera_layer_mode_tile::@28 to vera_layer_mode_tile::@19 +Renumbering block vera_layer_mode_tile::@29 to vera_layer_mode_tile::@20 +Renumbering block vera_layer_mode_tile::@31 to vera_layer_mode_tile::@21 +Renumbering block vera_layer_mode_tile::@32 to vera_layer_mode_tile::@22 +Renumbering block vera_layer_mode_tile::@33 to vera_layer_mode_tile::@23 +Renumbering block vera_layer_mode_tile::@34 to vera_layer_mode_tile::@24 +Renumbering block vera_layer_mode_text::@2 to vera_layer_mode_text::@1 +Renumbering block vera_layer_mode_bitmap::@8 to vera_layer_mode_bitmap::@1 +Renumbering block vera_layer_mode_bitmap::@10 to vera_layer_mode_bitmap::@2 +Renumbering block vera_layer_mode_bitmap::@13 to vera_layer_mode_bitmap::@3 +Renumbering block gotoxy::@4 to gotoxy::@3 +Renumbering block gotoxy::@5 to gotoxy::@4 +Renumbering block mul16u::@4 to mul16u::@3 +Renumbering block mul16u::@5 to mul16u::@4 +Renumbering block bitmap_plot::@3 to bitmap_plot::@2 +Renumbering block bitmap_plot::@4 to bitmap_plot::@3 +Renumbering block main::@4 to main::@3 +Renumbering block main::@5 to main::@4 +Renumbering block main::@6 to main::@5 +Renumbering block main::@9 to main::@6 +Renumbering block main::@10 to main::@7 +Renumbering block main::@11 to main::@8 +Renumbering block main::@13 to main::@9 +Renumbering block main::@14 to main::@10 +Renumbering block main::@16 to main::@11 +Renumbering block main::@17 to main::@12 +Renumbering block main::@18 to main::@13 +Renumbering block main::@19 to main::@14 +Renumbering block main::@23 to main::@15 +Renumbering block main::@24 to main::@16 +Renumbering block main::@25 to main::@17 +Renumbering block main::@26 to main::@18 +Renumbering block main::@27 to main::@19 +Renumbering block main::@29 to main::@20 +Renumbering block main::@30 to main::@21 +Renumbering block main::@34 to main::@22 +Renumbering block main::@35 to main::@23 +Renumbering block main::@36 to main::@24 +Renumbering block main::@37 to main::@25 +Renumbering block main::@38 to main::@26 +Renumbering block main::@39 to main::@27 +Renumbering block main::@40 to main::@28 +Renumbering block main::@41 to main::@29 +Renumbering block main::@42 to main::@30 +Renumbering block main::@43 to main::@31 +Renumbering block main::@47 to main::@32 +Renumbering block main::@48 to main::@33 +Renumbering block main::@49 to main::@34 +Renumbering block main::@53 to main::@35 +Renumbering block main::@54 to main::@36 +Renumbering block main::@59 to main::@37 +Adding NOP phi() at start of __start +Adding NOP phi() at start of __start::@1 +Adding NOP phi() at start of conio_x16_init::@3 +Adding NOP phi() at start of conio_x16_init::@4 +Adding NOP phi() at start of conio_x16_init::@5 +Adding NOP phi() at start of conio_x16_init::@6 +Adding NOP phi() at start of conio_x16_init::@7 +Adding NOP phi() at start of conio_x16_init::@8 +Adding NOP phi() at start of main +Adding NOP phi() at start of main::@12 +Adding NOP phi() at start of main::@13 +Adding NOP phi() at start of main::@14 +Adding NOP phi() at start of main::@6 +Adding NOP phi() at start of main::@15 +Adding NOP phi() at start of main::@16 +Adding NOP phi() at start of main::@17 +Adding NOP phi() at start of main::@18 +Adding NOP phi() at start of main::@19 +Adding NOP phi() at start of main::@7 +Adding NOP phi() at start of main::@20 +Adding NOP phi() at start of main::@21 +Adding NOP phi() at start of main::@8 +Adding NOP phi() at start of main::@9 +Adding NOP phi() at start of main::@32 +Adding NOP phi() at start of main::@33 +Adding NOP phi() at start of main::@34 +Adding NOP phi() at start of main::@10 +Adding NOP phi() at start of main::@5 +Adding NOP phi() at start of main::@11 +Adding NOP phi() at start of main::@37 +Adding NOP phi() at start of main::@2 +Adding NOP phi() at start of vera_layer_mode_text +Adding NOP phi() at start of vera_layer_mode_text::@1 +Adding NOP phi() at start of gotoxy::@4 +Adding NOP phi() at start of gotoxy::@3 +Adding NOP phi() at start of vera_layer_mode_bitmap +Adding NOP phi() at start of vera_layer_mode_bitmap::@2 +Adding NOP phi() at start of vera_layer_mode_bitmap::@3 +Adding NOP phi() at start of cputc::@4 +Adding NOP phi() at start of cputc::@6 +Adding NOP phi() at start of cputc::@1 +Adding NOP phi() at start of vera_display_get_hscale +Adding NOP phi() at start of vera_display_get_vscale +Adding NOP phi() at start of divr16u +Adding NOP phi() at start of cscroll::@3 +Adding NOP phi() at start of cscroll::@4 +Adding NOP phi() at start of insertup::@3 + +FINAL CONTROL FLOW GRAPH + +void __start() +__start: scope:[__start] from + [0] phi() + to:__start::__init1 +__start::__init1: scope:[__start] from __start + [1] conio_screen_width = 0 + [2] conio_screen_height = 0 + [3] conio_screen_layer = 1 + [4] conio_width = 0 + [5] conio_height = 0 + [6] conio_rowshift = 0 + [7] conio_rowskip = 0 + [8] __bitmap_address = 0 + [9] __bitmap_layer = 0 + [10] __bitmap_hscale = 0 + [11] __bitmap_vscale = 0 + [12] __bitmap_color_depth = 0 + [13] call conio_x16_init + to:__start::@1 +__start::@1: scope:[__start] from __start::__init1 + [14] phi() + [15] call main + to:__start::@return +__start::@return: scope:[__start] from __start::@1 + [16] return + to:@return + +void conio_x16_init() +conio_x16_init: scope:[conio_x16_init] from __start::__init1 + [17] conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE + [18] call vera_layer_mode_text + to:conio_x16_init::@3 +conio_x16_init::@3: scope:[conio_x16_init] from conio_x16_init + [19] phi() + [20] call screensize + to:conio_x16_init::@4 +conio_x16_init::@4: scope:[conio_x16_init] from conio_x16_init::@3 + [21] phi() + [22] call screenlayer + to:conio_x16_init::@5 +conio_x16_init::@5: scope:[conio_x16_init] from conio_x16_init::@4 + [23] phi() + [24] call vera_layer_set_textcolor + to:conio_x16_init::@6 +conio_x16_init::@6: scope:[conio_x16_init] from conio_x16_init::@5 + [25] phi() + [26] call vera_layer_set_backcolor + to:conio_x16_init::@7 +conio_x16_init::@7: scope:[conio_x16_init] from conio_x16_init::@6 + [27] phi() + [28] call vera_layer_set_mapbase + to:conio_x16_init::@8 +conio_x16_init::@8: scope:[conio_x16_init] from conio_x16_init::@7 + [29] phi() + [30] call vera_layer_set_mapbase + to:conio_x16_init::@9 +conio_x16_init::@9: scope:[conio_x16_init] from conio_x16_init::@8 + [31] if(conio_x16_init::line#0> 7 + [151] screensize::$1 = $28 << screensize::hscale#0 + [152] *screensize::x#0 = screensize::$1 + [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 + [154] screensize::$3 = $1e << screensize::vscale#0 + [155] *screensize::y#0 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + [156] return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@14 main::@5 + [157] conio_screen_layer = 1 + [158] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + [159] call vera_layer_get_mapbase_bank + [160] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + [161] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 + [162] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + [163] call vera_layer_get_mapbase_offset + [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 + [166] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 + [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 + [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + [175] conio_width = screenlayer::$2 + [176] vera_layer_get_rowshift::layer#0 = conio_screen_layer + [177] call vera_layer_get_rowshift + [178] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + [179] screenlayer::$3 = vera_layer_get_rowshift::return#2 + [180] conio_rowshift = screenlayer::$3 + [181] vera_layer_get_rowskip::layer#0 = conio_screen_layer + [182] call vera_layer_get_rowskip + [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 + [185] conio_rowskip = screenlayer::$4 + [186] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 + [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 + [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + [195] conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + [196] return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 main::textcolor3 main::textcolor4 main::textcolor5 + [197] vera_layer_set_textcolor::color#6 = phi( conio_x16_init::@5/WHITE, main::textcolor1/WHITE, main::textcolor2/YELLOW, main::textcolor3/WHITE, main::textcolor4/YELLOW, main::textcolor5/WHITE ) + [197] vera_layer_set_textcolor::layer#6 = phi( conio_x16_init::@5/1, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2, main::textcolor3/vera_layer_set_textcolor::layer#3, main::textcolor4/vera_layer_set_textcolor::layer#4, main::textcolor5/vera_layer_set_textcolor::layer#5 ) + [198] vera_layer_textcolor[vera_layer_set_textcolor::layer#6] = vera_layer_set_textcolor::color#6 + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + [199] return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 main::bgcolor3 + [200] vera_layer_set_backcolor::color#4 = phi( conio_x16_init::@6/BLUE, main::bgcolor1/BLACK, main::bgcolor2/BLACK, main::bgcolor3/BLUE ) + [200] vera_layer_set_backcolor::layer#4 = phi( conio_x16_init::@6/1, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2, main::bgcolor3/vera_layer_set_backcolor::layer#3 ) + [201] vera_layer_backcolor[vera_layer_set_backcolor::layer#4] = vera_layer_set_backcolor::color#4 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + [202] return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@23 + [203] vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/$20, conio_x16_init::@8/0, vera_layer_mode_tile::@23/vera_layer_set_mapbase::mapbase#0 ) + [203] vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/0, conio_x16_init::@8/1, vera_layer_mode_tile::@23/vera_layer_set_mapbase::layer#0 ) + [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 + [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + [207] return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@15 main::@21 main::@32 main::@34 + [208] gotoxy::y#7 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@15/$19, main::@21/$1d, main::@32/$1a, main::@34/$1d ) + [209] if(gotoxy::y#7<=conio_screen_height) goto gotoxy::@4 + to:gotoxy::@1 +gotoxy::@4: scope:[gotoxy] from gotoxy + [210] phi() + to:gotoxy::@1 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@4 + [211] gotoxy::y#10 = phi( gotoxy::@4/gotoxy::y#7, gotoxy/0 ) + [212] if(0 memcpy_in_vram::src#2 + [226] *VERA_ADDRX_M = memcpy_in_vram::$1 + [227] *VERA_ADDRX_H = VERA_INC_1 + [228] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + [229] memcpy_in_vram::$3 = < memcpy_in_vram::dest#2 + [230] *VERA_ADDRX_L = memcpy_in_vram::$3 + [231] memcpy_in_vram::$4 = > memcpy_in_vram::dest#2 + [232] *VERA_ADDRX_M = memcpy_in_vram::$4 + [233] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#2 + [234] *VERA_ADDRX_H = memcpy_in_vram::$5 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + [235] memcpy_in_vram::i#2 = phi( memcpy_in_vram/0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + [236] if(memcpy_in_vram::i#2 vera_layer_mode_tile::mapbase_address#10 + [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 + [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 + [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 + [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 + [266] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + [267] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 + [268] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 + [269] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + [270] call vera_layer_set_mapbase + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 + [271] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 + [272] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 + [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 + [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 + [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 + [277] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + [278] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 + [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + [280] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@19 + to:vera_layer_mode_tile::@17 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + [281] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@19 + to:vera_layer_mode_tile::@18 +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@19 +vera_layer_mode_tile::@19: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@24 + [283] vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase#3 ) + [284] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@20: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 + [285] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@21 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@20 + [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@22 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 + [287] vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@20/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase#5 ) + [288] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 + [289] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + [290] call vera_layer_set_tilebase + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@22 + [291] return + to:@return +vera_layer_mode_tile::@14: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 + [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@13: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@7: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 + [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 + [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 + [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@6: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 + [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 + [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@5: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 + [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 + [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@9 + +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +vera_layer_mode_bitmap: scope:[vera_layer_mode_bitmap] from main::@13 + [303] phi() + to:vera_layer_mode_bitmap::@1 +vera_layer_mode_bitmap::@1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap + [304] *vera_tilebase_offset = 0 + [305] *vera_tilebase_bank = 0 + [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 + to:vera_layer_mode_bitmap::vera_display_set_scale_double1 +vera_layer_mode_bitmap::vera_display_set_scale_double1: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@1 + [307] *VERA_DC_HSCALE = $40 + [308] *VERA_DC_VSCALE = $40 + to:vera_layer_mode_bitmap::@2 +vera_layer_mode_bitmap::@2: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::vera_display_set_scale_double1 + [309] phi() + [310] call vera_layer_set_config + to:vera_layer_mode_bitmap::@3 +vera_layer_mode_bitmap::@3: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@2 + [311] phi() + [312] call vera_layer_set_tilebase + to:vera_layer_mode_bitmap::@return +vera_layer_mode_bitmap::@return: scope:[vera_layer_mode_bitmap] from vera_layer_mode_bitmap::@3 + [313] return + to:@return + +void clrscr() +clrscr: scope:[clrscr] from main::@11 main::@6 main::@9 + [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 + [315] vera_layer_get_backcolor::layer#0 = conio_screen_layer + [316] call vera_layer_get_backcolor + [317] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + [318] clrscr::$0 = vera_layer_get_backcolor::return#2 + [319] clrscr::$1 = clrscr::$0 << 4 + [320] vera_layer_get_textcolor::layer#0 = conio_screen_layer + [321] call vera_layer_get_textcolor + [322] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + [323] clrscr::$2 = vera_layer_get_textcolor::return#2 + [324] clrscr::color#0 = clrscr::$1 | clrscr::$2 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + [325] clrscr::line_text#2 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#0 ) + [325] clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/0 ) + [326] if(clrscr::l#2 clrscr::line_text#2 + [336] *VERA_ADDRX_M = clrscr::$6 + [337] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [338] *VERA_ADDRX_H = clrscr::$7 + to:clrscr::@4 +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + [339] clrscr::c#2 = phi( clrscr::@2/0, clrscr::@5/clrscr::c#1 ) + [340] if(clrscr::c#2> 3 + [377] bitmap_init::$23 = bitmap_init::x#10 << 1 + [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 + [379] *bitmap_init::$29 = bitmap_init::$7 + [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 + [381] *bitmap_init::$30 = bitmap_init::bitmask#10 + [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 + [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 + [384] bitmap_init::bitshift#1 = bitmap_init::bitshift#10 - 1 + [385] bitmap_init::bitmask#1 = bitmap_init::bitmask#10 >> 1 + to:bitmap_init::@2 +bitmap_init::@2: scope:[bitmap_init] from bitmap_init::@1 bitmap_init::@8 + [386] bitmap_init::bitshift#11 = phi( bitmap_init::@1/bitmap_init::bitshift#10, bitmap_init::@8/bitmap_init::bitshift#1 ) + [386] bitmap_init::bitmask#11 = phi( bitmap_init::@1/bitmap_init::bitmask#10, bitmap_init::@8/bitmap_init::bitmask#1 ) + [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 + to:bitmap_init::@9 +bitmap_init::@9: scope:[bitmap_init] from bitmap_init::@2 + [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 + [389] bitmap_init::$24 = bitmap_init::x#10 << 1 + [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 + [391] *bitmap_init::$32 = bitmap_init::$10 + [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 + [393] *bitmap_init::$33 = bitmap_init::bitmask#11 + [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 + [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 + [396] bitmap_init::bitshift#2 = bitmap_init::bitshift#11 - 2 + [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 + to:bitmap_init::@3 +bitmap_init::@3: scope:[bitmap_init] from bitmap_init::@2 bitmap_init::@9 + [398] bitmap_init::bitshift#12 = phi( bitmap_init::@2/bitmap_init::bitshift#11, bitmap_init::@9/bitmap_init::bitshift#2 ) + [398] bitmap_init::bitmask#12 = phi( bitmap_init::@2/bitmap_init::bitmask#11, bitmap_init::@9/bitmap_init::bitmask#2 ) + [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 + to:bitmap_init::@10 +bitmap_init::@10: scope:[bitmap_init] from bitmap_init::@3 + [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 + [401] bitmap_init::$25 = bitmap_init::x#10 << 1 + [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 + [403] *bitmap_init::$35 = bitmap_init::$13 + [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 + [405] *bitmap_init::$36 = bitmap_init::bitmask#12 + [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 + [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 + [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 + [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 + to:bitmap_init::@4 +bitmap_init::@4: scope:[bitmap_init] from bitmap_init::@10 bitmap_init::@3 + [410] bitmap_init::bitmask#13 = phi( bitmap_init::@10/bitmap_init::bitmask#3, bitmap_init::@3/bitmap_init::bitmask#12 ) + [410] bitmap_init::bitshift#13 = phi( bitmap_init::@10/bitmap_init::bitshift#3, bitmap_init::@3/bitmap_init::bitshift#12 ) + [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 + to:bitmap_init::@11 +bitmap_init::@11: scope:[bitmap_init] from bitmap_init::@4 + [412] bitmap_init::$26 = bitmap_init::x#10 << 1 + [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 + [414] *bitmap_init::$38 = bitmap_init::x#10 + [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 + [416] *bitmap_init::$39 = bitmap_init::bitmask#13 + [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 + [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 + to:bitmap_init::@5 +bitmap_init::@5: scope:[bitmap_init] from bitmap_init::@11 bitmap_init::@4 + [419] if(bitmap_init::bitshift#13>=0) goto bitmap_init::@6 + to:bitmap_init::@12 +bitmap_init::@12: scope:[bitmap_init] from bitmap_init::@5 + [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] + to:bitmap_init::@6 +bitmap_init::@6: scope:[bitmap_init] from bitmap_init::@12 bitmap_init::@5 + [421] bitmap_init::bitshift#14 = phi( bitmap_init::@12/bitmap_init::bitshift#4, bitmap_init::@5/bitmap_init::bitshift#13 ) + [422] if(bitmap_init::bitmask#13!=0) goto bitmap_init::@7 + to:bitmap_init::@13 +bitmap_init::@13: scope:[bitmap_init] from bitmap_init::@6 + [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] + to:bitmap_init::@7 +bitmap_init::@7: scope:[bitmap_init] from bitmap_init::@13 bitmap_init::@6 + [424] bitmap_init::bitmask#16 = phi( bitmap_init::@13/bitmap_init::bitmask#4, bitmap_init::@6/bitmap_init::bitmask#13 ) + [425] bitmap_init::x#1 = ++ bitmap_init::x#10 + [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 + to:bitmap_init::@14 +bitmap_init::@14: scope:[bitmap_init] from bitmap_init::@7 + [427] bitmap_init::$3 = __bitmap_color_depth << 2 + [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale + [429] bitmap_init::$27 = bitmap_init::$4 << 1 + [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] + [431] bitmap_init::yoffs#0 = __bitmap_address + to:bitmap_init::@15 +bitmap_init::@15: scope:[bitmap_init] from bitmap_init::@14 bitmap_init::@15 + [432] bitmap_init::yoffs#2 = phi( bitmap_init::@14/bitmap_init::yoffs#0, bitmap_init::@15/bitmap_init::yoffs#1 ) + [432] bitmap_init::y#2 = phi( bitmap_init::@14/0, bitmap_init::@15/bitmap_init::y#1 ) + [433] bitmap_init::$28 = bitmap_init::y#2 << 2 + [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 + [435] *bitmap_init::$41 = bitmap_init::yoffs#2 + [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 + [437] bitmap_init::y#1 = ++ bitmap_init::y#2 + [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 + to:bitmap_init::@return +bitmap_init::@return: scope:[bitmap_init] from bitmap_init::@15 + [439] return + to:@return + +void bitmap_clear() +bitmap_clear: scope:[bitmap_clear] from main::@20 + [440] bitmap_clear::$7 = __bitmap_vscale << 1 + [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] + [442] bitmap_clear::$0 = __bitmap_color_depth << 2 + [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale + [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 + [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] + [446] mul16u::a#1 = bitmap_clear::hdelta#0 + [447] mul16u::b#0 = bitmap_clear::vdelta#0 + [448] call mul16u + [449] mul16u::return#2 = mul16u::res#2 + to:bitmap_clear::@1 +bitmap_clear::@1: scope:[bitmap_clear] from bitmap_clear + [450] bitmap_clear::count#0 = mul16u::return#2 + [451] bitmap_clear::$3 = > __bitmap_address + [452] bitmap_clear::vbank#0 = < bitmap_clear::$3 + [453] bitmap_clear::vdest#0 = < __bitmap_address + [454] memset_vram::vbank#0 = bitmap_clear::vbank#0 + [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 + [456] memset_vram::num#0 = bitmap_clear::count#0 + [457] call memset_vram + to:bitmap_clear::@return +bitmap_clear::@return: scope:[bitmap_clear] from bitmap_clear::@1 + [458] return + to:@return + +byte kbhit() +kbhit: scope:[kbhit] from main::@1 main::@3 + [459] kbhit::ch = 0 + kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + }} + [461] kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + [462] kbhit::return#1 = kbhit::return#0 + [463] return + to:@return + +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +bitmap_line: scope:[bitmap_line] from main::@31 main::@4 + [464] bitmap_line::c#10 = phi( main::@31/bitmap_line::c#0, main::@4/bitmap_line::c#1 ) + [464] bitmap_line::y1#10 = phi( main::@31/bitmap_line::y1#0, main::@4/$c7 ) + [464] bitmap_line::y0#10 = phi( main::@31/bitmap_line::y0#0, main::@4/0 ) + [464] bitmap_line::x1#10 = phi( main::@31/bitmap_line::x1#0, main::@4/bitmap_line::x1#1 ) + [464] bitmap_line::x0#10 = phi( main::@31/bitmap_line::x0#0, main::@4/bitmap_line::x0#1 ) + [465] if(bitmap_line::x0#10> 9 + [539] rand_state#1 = rand_state#0 ^ rand::$1 + [540] rand::$2 = rand_state#1 << 8 + [541] rand_state#14 = rand_state#1 ^ rand::$2 + [542] rand::return#0 = rand_state#14 + to:rand::@return +rand::@return: scope:[rand] from rand + [543] return + to:@return + +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +modr16u: scope:[modr16u] from main::@23 main::@25 main::@27 main::@29 + [544] modr16u::divisor#4 = phi( main::@23/$140, main::@25/$140, main::@27/$c8, main::@29/$c8 ) + [544] modr16u::dividend#4 = phi( main::@23/modr16u::dividend#0, main::@25/modr16u::dividend#1, main::@27/modr16u::dividend#2, main::@29/modr16u::dividend#3 ) + [545] divr16u::dividend#1 = modr16u::dividend#4 + [546] divr16u::divisor#0 = modr16u::divisor#4 + [547] call divr16u + to:modr16u::@1 +modr16u::@1: scope:[modr16u] from modr16u + [548] modr16u::return#0 = rem16u#0 + to:modr16u::@return +modr16u::@return: scope:[modr16u] from modr16u::@1 + [549] return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@1 + [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) + [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + [553] return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + [554] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + [555] return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 + [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + [558] return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + [559] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + [560] return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 + [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + [563] return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_bitmap::@2 vera_layer_mode_tile::@16 + [564] vera_layer_set_config::config#2 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::config#11, vera_layer_mode_tile::@16/vera_layer_set_config::config#0 ) + [564] vera_layer_set_config::layer#2 = phi( vera_layer_mode_bitmap::@2/vera_layer_mode_bitmap::layer#0, vera_layer_mode_tile::@16/vera_layer_set_config::layer#0 ) + [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 + [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + [568] return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_bitmap::@3 vera_layer_mode_tile::@22 + [569] vera_layer_set_tilebase::tilebase#2 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::tilebase#1, vera_layer_mode_tile::@22/vera_layer_set_tilebase::tilebase#0 ) + [569] vera_layer_set_tilebase::layer#2 = phi( vera_layer_mode_bitmap::@3/vera_layer_mode_bitmap::layer#0, vera_layer_mode_tile::@22/vera_layer_set_tilebase::layer#0 ) + [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 + [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + [573] return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + [574] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + [575] return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + [576] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + [577] return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + [578] vera_layer_get_color::layer#0 = conio_screen_layer + [579] call vera_layer_get_color + [580] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + [581] cputc::color#0 = vera_layer_get_color::return#3 + [582] cputc::$15 = conio_screen_layer << 1 + [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] + [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + [586] if(cputc::c#0==' +') goto cputc::@1 + to:cputc::@2 +cputc::@2: scope:[cputc] from cputc::@7 + [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [588] cputc::$4 = < cputc::conio_addr#1 + [589] *VERA_ADDRX_L = cputc::$4 + [590] cputc::$5 = > cputc::conio_addr#1 + [591] *VERA_ADDRX_M = cputc::$5 + [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [593] *VERA_ADDRX_H = cputc::$6 + [594] *VERA_DATA0 = cputc::c#0 + [595] *VERA_DATA0 = cputc::color#0 + [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + [598] if(0!=cputc::scroll_enable#0) goto cputc::@5 + to:cputc::@3 +cputc::@3: scope:[cputc] from cputc::@2 + [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + [600] if(cputc::$16!=conio_width) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + [601] phi() + [602] call cputln + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@1 cputc::@3 cputc::@4 cputc::@5 cputc::@6 + [603] return + to:@return +cputc::@5: scope:[cputc] from cputc::@2 + [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return + to:cputc::@6 +cputc::@6: scope:[cputc] from cputc::@5 + [605] phi() + [606] call cputln + to:cputc::@return +cputc::@1: scope:[cputc] from cputc::@7 + [607] phi() + [608] call cputln + to:cputc::@return + +byte vera_display_get_hscale() +vera_display_get_hscale: scope:[vera_display_get_hscale] from bitmap_init::@16 + [609] phi() + to:vera_display_get_hscale::@1 +vera_display_get_hscale::@1: scope:[vera_display_get_hscale] from vera_display_get_hscale vera_display_get_hscale::@2 + [610] vera_display_get_hscale::s#2 = phi( vera_display_get_hscale/1, vera_display_get_hscale::@2/vera_display_get_hscale::s#1 ) + [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@2: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 + [612] vera_display_get_hscale::s#1 = ++ vera_display_get_hscale::s#2 + [613] if(vera_display_get_hscale::s#1!=4) goto vera_display_get_hscale::@1 + to:vera_display_get_hscale::@3 +vera_display_get_hscale::@3: scope:[vera_display_get_hscale] from vera_display_get_hscale::@1 vera_display_get_hscale::@2 + [614] vera_display_get_hscale::return#0 = phi( vera_display_get_hscale::@2/vera_display_get_hscale::scale#0, vera_display_get_hscale::@1/vera_display_get_hscale::s#2 ) + to:vera_display_get_hscale::@return +vera_display_get_hscale::@return: scope:[vera_display_get_hscale] from vera_display_get_hscale::@3 + [615] return + to:@return + +byte vera_display_get_vscale() +vera_display_get_vscale: scope:[vera_display_get_vscale] from bitmap_init::@17 + [616] phi() + to:vera_display_get_vscale::@1 +vera_display_get_vscale::@1: scope:[vera_display_get_vscale] from vera_display_get_vscale vera_display_get_vscale::@2 + [617] vera_display_get_vscale::s#2 = phi( vera_display_get_vscale/1, vera_display_get_vscale::@2/vera_display_get_vscale::s#1 ) + [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@2: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 + [619] vera_display_get_vscale::s#1 = ++ vera_display_get_vscale::s#2 + [620] if(vera_display_get_vscale::s#1!=4) goto vera_display_get_vscale::@1 + to:vera_display_get_vscale::@3 +vera_display_get_vscale::@3: scope:[vera_display_get_vscale] from vera_display_get_vscale::@1 vera_display_get_vscale::@2 + [621] vera_display_get_vscale::return#0 = phi( vera_display_get_vscale::@2/vera_display_get_vscale::scale#0, vera_display_get_vscale::@1/vera_display_get_vscale::s#2 ) + to:vera_display_get_vscale::@return +vera_display_get_vscale::@return: scope:[vera_display_get_vscale] from vera_display_get_vscale::@3 + [622] return + to:@return + +dword mul16u(word mul16u::a , word mul16u::b) +mul16u: scope:[mul16u] from bitmap_clear + [623] mul16u::mb#0 = (dword)mul16u::b#0 + to:mul16u::@1 +mul16u::@1: scope:[mul16u] from mul16u mul16u::@3 + [624] mul16u::mb#2 = phi( mul16u/mul16u::mb#0, mul16u::@3/mul16u::mb#1 ) + [624] mul16u::res#2 = phi( mul16u/0, mul16u::@3/mul16u::res#6 ) + [624] mul16u::a#2 = phi( mul16u/mul16u::a#1, mul16u::@3/mul16u::a#0 ) + [625] if(mul16u::a#2!=0) goto mul16u::@2 + to:mul16u::@return +mul16u::@return: scope:[mul16u] from mul16u::@1 + [626] return + to:@return +mul16u::@2: scope:[mul16u] from mul16u::@1 + [627] mul16u::$1 = mul16u::a#2 & 1 + [628] if(mul16u::$1==0) goto mul16u::@3 + to:mul16u::@4 +mul16u::@4: scope:[mul16u] from mul16u::@2 + [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 + to:mul16u::@3 +mul16u::@3: scope:[mul16u] from mul16u::@2 mul16u::@4 + [630] mul16u::res#6 = phi( mul16u::@2/mul16u::res#2, mul16u::@4/mul16u::res#1 ) + [631] mul16u::a#0 = mul16u::a#2 >> 1 + [632] mul16u::mb#1 = mul16u::mb#2 << 1 + to:mul16u::@1 + +void memset_vram(byte memset_vram::vbank , void* memset_vram::vdest , byte memset_vram::data , dword memset_vram::num) +memset_vram: scope:[memset_vram] from bitmap_clear::@1 + [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [634] memset_vram::$0 = < memset_vram::vdest#0 + [635] *VERA_ADDRX_L = memset_vram::$0 + [636] memset_vram::$1 = > memset_vram::vdest#0 + [637] *VERA_ADDRX_M = memset_vram::$1 + [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 + [639] *VERA_ADDRX_H = memset_vram::$2 + to:memset_vram::@1 +memset_vram::@1: scope:[memset_vram] from memset_vram memset_vram::@2 + [640] memset_vram::i#2 = phi( memset_vram/0, memset_vram::@2/memset_vram::i#1 ) + [641] if(memset_vram::i#2> 1 + to:bitmap_line_ydxi::@1 +bitmap_line_ydxi::@1: scope:[bitmap_line_ydxi] from bitmap_line_ydxi bitmap_line_ydxi::@2 + [647] bitmap_line_ydxi::e#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::e#0, bitmap_line_ydxi::@2/bitmap_line_ydxi::e#6 ) + [647] bitmap_line_ydxi::y#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::y#6, bitmap_line_ydxi::@2/bitmap_line_ydxi::y#2 ) + [647] bitmap_line_ydxi::x#3 = phi( bitmap_line_ydxi/bitmap_line_ydxi::x#5, bitmap_line_ydxi::@2/bitmap_line_ydxi::x#6 ) + [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 + [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 + [650] bitmap_plot::c#3 = bitmap_line_ydxi::c#3 + [651] call bitmap_plot + to:bitmap_line_ydxi::@4 +bitmap_line_ydxi::@4: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@1 + [652] bitmap_line_ydxi::y#2 = ++ bitmap_line_ydxi::y#3 + [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 + [654] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 + to:bitmap_line_ydxi::@3 +bitmap_line_ydxi::@3: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@4 + [655] bitmap_line_ydxi::x#2 = ++ bitmap_line_ydxi::x#3 + [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 + to:bitmap_line_ydxi::@2 +bitmap_line_ydxi::@2: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4 + [657] bitmap_line_ydxi::e#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::e#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::e#1 ) + [657] bitmap_line_ydxi::x#6 = phi( bitmap_line_ydxi::@3/bitmap_line_ydxi::x#2, bitmap_line_ydxi::@4/bitmap_line_ydxi::x#3 ) + [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 + [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 + to:bitmap_line_ydxi::@return +bitmap_line_ydxi::@return: scope:[bitmap_line_ydxi] from bitmap_line_ydxi::@2 + [660] return + to:@return + +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +bitmap_line_xdyi: scope:[bitmap_line_xdyi] from bitmap_line::@13 bitmap_line::@8 + [661] bitmap_line_xdyi::x1#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x1#1, bitmap_line::@8/bitmap_line_xdyi::x1#0 ) + [661] bitmap_line_xdyi::xd#5 = phi( bitmap_line::@13/bitmap_line_xdyi::xd#1, bitmap_line::@8/bitmap_line_xdyi::xd#0 ) + [661] bitmap_line_xdyi::c#3 = phi( bitmap_line::@13/bitmap_line_xdyi::c#1, bitmap_line::@8/bitmap_line_xdyi::c#0 ) + [661] bitmap_line_xdyi::y#5 = phi( bitmap_line::@13/bitmap_line_xdyi::y#1, bitmap_line::@8/bitmap_line_xdyi::y#0 ) + [661] bitmap_line_xdyi::x#6 = phi( bitmap_line::@13/bitmap_line_xdyi::x#1, bitmap_line::@8/bitmap_line_xdyi::x#0 ) + [661] bitmap_line_xdyi::yd#2 = phi( bitmap_line::@13/bitmap_line_xdyi::yd#1, bitmap_line::@8/bitmap_line_xdyi::yd#0 ) + [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 + to:bitmap_line_xdyi::@1 +bitmap_line_xdyi::@1: scope:[bitmap_line_xdyi] from bitmap_line_xdyi bitmap_line_xdyi::@2 + [663] bitmap_line_xdyi::e#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::e#0, bitmap_line_xdyi::@2/bitmap_line_xdyi::e#6 ) + [663] bitmap_line_xdyi::y#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::y#5, bitmap_line_xdyi::@2/bitmap_line_xdyi::y#6 ) + [663] bitmap_line_xdyi::x#3 = phi( bitmap_line_xdyi/bitmap_line_xdyi::x#6, bitmap_line_xdyi::@2/bitmap_line_xdyi::x#2 ) + [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 + [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 + [666] bitmap_plot::c#1 = bitmap_line_xdyi::c#3 + [667] call bitmap_plot + to:bitmap_line_xdyi::@4 +bitmap_line_xdyi::@4: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@1 + [668] bitmap_line_xdyi::x#2 = ++ bitmap_line_xdyi::x#3 + [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 + [670] if(bitmap_line_xdyi::xd#5>=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 + to:bitmap_line_xdyi::@3 +bitmap_line_xdyi::@3: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@4 + [671] bitmap_line_xdyi::y#2 = ++ bitmap_line_xdyi::y#3 + [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 + to:bitmap_line_xdyi::@2 +bitmap_line_xdyi::@2: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4 + [673] bitmap_line_xdyi::e#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::e#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::e#1 ) + [673] bitmap_line_xdyi::y#6 = phi( bitmap_line_xdyi::@3/bitmap_line_xdyi::y#2, bitmap_line_xdyi::@4/bitmap_line_xdyi::y#3 ) + [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 + [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 + to:bitmap_line_xdyi::@return +bitmap_line_xdyi::@return: scope:[bitmap_line_xdyi] from bitmap_line_xdyi::@2 + [676] return + to:@return + +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +bitmap_line_ydxd: scope:[bitmap_line_ydxd] from bitmap_line::@10 bitmap_line::@6 + [677] bitmap_line_ydxd::y1#6 = phi( bitmap_line::@10/bitmap_line_ydxd::y1#0, bitmap_line::@6/bitmap_line_ydxd::y1#1 ) + [677] bitmap_line_ydxd::yd#5 = phi( bitmap_line::@10/bitmap_line_ydxd::yd#0, bitmap_line::@6/bitmap_line_ydxd::yd#1 ) + [677] bitmap_line_ydxd::c#3 = phi( bitmap_line::@10/bitmap_line_ydxd::c#0, bitmap_line::@6/bitmap_line_ydxd::c#1 ) + [677] bitmap_line_ydxd::y#7 = phi( bitmap_line::@10/bitmap_line_ydxd::y#0, bitmap_line::@6/bitmap_line_ydxd::y#1 ) + [677] bitmap_line_ydxd::x#5 = phi( bitmap_line::@10/bitmap_line_ydxd::x#0, bitmap_line::@6/bitmap_line_ydxd::x#1 ) + [677] bitmap_line_ydxd::xd#2 = phi( bitmap_line::@10/bitmap_line_ydxd::xd#0, bitmap_line::@6/bitmap_line_ydxd::xd#1 ) + [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 + to:bitmap_line_ydxd::@1 +bitmap_line_ydxd::@1: scope:[bitmap_line_ydxd] from bitmap_line_ydxd bitmap_line_ydxd::@2 + [679] bitmap_line_ydxd::e#3 = phi( bitmap_line_ydxd/bitmap_line_ydxd::e#0, bitmap_line_ydxd::@2/bitmap_line_ydxd::e#6 ) + [679] bitmap_line_ydxd::y#2 = phi( bitmap_line_ydxd/bitmap_line_ydxd::y#7, bitmap_line_ydxd::@2/bitmap_line_ydxd::y#3 ) + [679] bitmap_line_ydxd::x#3 = phi( bitmap_line_ydxd/bitmap_line_ydxd::x#5, bitmap_line_ydxd::@2/bitmap_line_ydxd::x#6 ) + [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 + [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 + [682] bitmap_plot::c#4 = bitmap_line_ydxd::c#3 + [683] call bitmap_plot + to:bitmap_line_ydxd::@4 +bitmap_line_ydxd::@4: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@1 + [684] bitmap_line_ydxd::y#3 = ++ bitmap_line_ydxd::y#2 + [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 + [686] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 + to:bitmap_line_ydxd::@3 +bitmap_line_ydxd::@3: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@4 + [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 + [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 + to:bitmap_line_ydxd::@2 +bitmap_line_ydxd::@2: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4 + [689] bitmap_line_ydxd::e#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::e#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::e#1 ) + [689] bitmap_line_ydxd::x#6 = phi( bitmap_line_ydxd::@3/bitmap_line_ydxd::x#2, bitmap_line_ydxd::@4/bitmap_line_ydxd::x#3 ) + [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 + [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 + to:bitmap_line_ydxd::@return +bitmap_line_ydxd::@return: scope:[bitmap_line_ydxd] from bitmap_line_ydxd::@2 + [692] return + to:@return + +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +bitmap_line_xdyd: scope:[bitmap_line_xdyd] from bitmap_line::@12 bitmap_line::@9 + [693] bitmap_line_xdyd::x1#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x1#1, bitmap_line::@9/bitmap_line_xdyd::x1#0 ) + [693] bitmap_line_xdyd::xd#5 = phi( bitmap_line::@12/bitmap_line_xdyd::xd#1, bitmap_line::@9/bitmap_line_xdyd::xd#0 ) + [693] bitmap_line_xdyd::c#3 = phi( bitmap_line::@12/bitmap_line_xdyd::c#1, bitmap_line::@9/bitmap_line_xdyd::c#0 ) + [693] bitmap_line_xdyd::y#5 = phi( bitmap_line::@12/bitmap_line_xdyd::y#1, bitmap_line::@9/bitmap_line_xdyd::y#0 ) + [693] bitmap_line_xdyd::x#6 = phi( bitmap_line::@12/bitmap_line_xdyd::x#1, bitmap_line::@9/bitmap_line_xdyd::x#0 ) + [693] bitmap_line_xdyd::yd#2 = phi( bitmap_line::@12/bitmap_line_xdyd::yd#1, bitmap_line::@9/bitmap_line_xdyd::yd#0 ) + [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 + to:bitmap_line_xdyd::@1 +bitmap_line_xdyd::@1: scope:[bitmap_line_xdyd] from bitmap_line_xdyd bitmap_line_xdyd::@2 + [695] bitmap_line_xdyd::e#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::e#0, bitmap_line_xdyd::@2/bitmap_line_xdyd::e#6 ) + [695] bitmap_line_xdyd::y#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::y#5, bitmap_line_xdyd::@2/bitmap_line_xdyd::y#6 ) + [695] bitmap_line_xdyd::x#3 = phi( bitmap_line_xdyd/bitmap_line_xdyd::x#6, bitmap_line_xdyd::@2/bitmap_line_xdyd::x#2 ) + [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 + [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 + [698] bitmap_plot::c#2 = bitmap_line_xdyd::c#3 + [699] call bitmap_plot + to:bitmap_line_xdyd::@4 +bitmap_line_xdyd::@4: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@1 + [700] bitmap_line_xdyd::x#2 = ++ bitmap_line_xdyd::x#3 + [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 + [702] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 + to:bitmap_line_xdyd::@3 +bitmap_line_xdyd::@3: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@4 + [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 + [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 + to:bitmap_line_xdyd::@2 +bitmap_line_xdyd::@2: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4 + [705] bitmap_line_xdyd::e#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::e#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::e#1 ) + [705] bitmap_line_xdyd::y#6 = phi( bitmap_line_xdyd::@3/bitmap_line_xdyd::y#2, bitmap_line_xdyd::@4/bitmap_line_xdyd::y#3 ) + [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 + [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 + to:bitmap_line_xdyd::@return +bitmap_line_xdyd::@return: scope:[bitmap_line_xdyd] from bitmap_line_xdyd::@2 + [708] return + to:@return + +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +divr16u: scope:[divr16u] from modr16u + [709] phi() + to:divr16u::@1 +divr16u::@1: scope:[divr16u] from divr16u divr16u::@3 + [710] divr16u::i#2 = phi( divr16u/0, divr16u::@3/divr16u::i#1 ) + [710] divr16u::quotient#3 = phi( divr16u/0, divr16u::@3/divr16u::return#0 ) + [710] divr16u::dividend#2 = phi( divr16u/divr16u::dividend#1, divr16u::@3/divr16u::dividend#0 ) + [710] divr16u::rem#4 = phi( divr16u/0, divr16u::@3/divr16u::rem#10 ) + [711] divr16u::rem#0 = divr16u::rem#4 << 1 + [712] divr16u::$1 = > divr16u::dividend#2 + [713] divr16u::$2 = divr16u::$1 & $80 + [714] if(divr16u::$2==0) goto divr16u::@2 + to:divr16u::@4 +divr16u::@4: scope:[divr16u] from divr16u::@1 + [715] divr16u::rem#1 = divr16u::rem#0 | 1 + to:divr16u::@2 +divr16u::@2: scope:[divr16u] from divr16u::@1 divr16u::@4 + [716] divr16u::rem#5 = phi( divr16u::@1/divr16u::rem#0, divr16u::@4/divr16u::rem#1 ) + [717] divr16u::dividend#0 = divr16u::dividend#2 << 1 + [718] divr16u::quotient#1 = divr16u::quotient#3 << 1 + [719] if(divr16u::rem#5 bitmap_plot::vera_vram_address01_$2 + [765] *VERA_ADDRX_M = bitmap_plot::vera_vram_address01_$3 + [766] bitmap_plot::vera_vram_address01_$4 = > bitmap_plot::vera_vram_address01_bankaddr#0 + [767] bitmap_plot::vera_vram_address01_$6 = < bitmap_plot::vera_vram_address01_$4 + [768] *VERA_ADDRX_H = bitmap_plot::vera_vram_address01_$6 + to:bitmap_plot::@3 +bitmap_plot::@3: scope:[bitmap_plot] from bitmap_plot::vera_vram_address01 + [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 + [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 + [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 + [772] bitmap_plot::$8 = bitmap_plot::$7 | bitmap_plot::c#0 + [773] *VERA_DATA0 = bitmap_plot::$8 + to:bitmap_plot::@return +bitmap_plot::@return: scope:[bitmap_plot] from bitmap_plot::@3 + [774] return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + [775] if(conio_cursor_y[conio_screen_layer] clearline::addr#0 + [806] *VERA_ADDRX_M = clearline::$2 + [807] *VERA_ADDRX_H = VERA_INC_1 + [808] vera_layer_get_color::layer#1 = conio_screen_layer + [809] call vera_layer_get_color + [810] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + [811] clearline::color#0 = vera_layer_get_color::return#4 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + [812] clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/0 ) + [813] if(clearline::c#2> 7 [ screensize::hscale#0 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +Statement [151] screensize::$1 = $28 << screensize::hscale#0 [ screensize::$1 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } ) always clobbers reg byte a +Statement [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 [ screensize::vscale#0 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } ) always clobbers reg byte a +Statement [154] screensize::$3 = $1e << screensize::vscale#0 [ screensize::$3 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } ) always clobbers reg byte a +Statement [157] conio_screen_layer = 1 [ conio_screen_layer ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:15::screenlayer:99 [ conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } ) always clobbers reg byte a +Statement [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } ) always clobbers reg byte a +Statement [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } ) always clobbers reg byte a +Statement [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +Removing always clobbered register reg byte y as potential for zp[1]:207 [ CONIO_SCREEN_BANK#15 ] +Statement [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } ) always clobbers reg byte a +Statement [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } ) always clobbers reg byte a +Statement [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } ) always clobbers reg byte a +Statement [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } ) always clobbers reg byte a +Statement [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [175] conio_width = screenlayer::$2 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:99 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } ) always clobbers reg byte a +Statement [185] conio_rowskip = screenlayer::$4 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } ) always clobbers reg byte a +Statement [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } ) always clobbers reg byte a +Statement [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } ) always clobbers reg byte a +Statement [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } ) always clobbers reg byte a +Statement [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } ) always clobbers reg byte a +Statement [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } ) always clobbers reg byte a +Statement [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } ) always clobbers reg byte a +Statement [195] conio_height = screenlayer::$5 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:11 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:24 [ vera_layer_mode_tile::layer#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:35 [ vera_layer_mode_tile::tilewidth#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:36 [ vera_layer_mode_tile::tileheight#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:263 [ vera_layer_mode_tile::$19 ] +Removing always clobbered register reg byte a as potential for zp[1]:266 [ vera_layer_mode_tile::$20 ] +Statement [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 [ ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:24 [ vera_layer_mode_tile::layer#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:35 [ vera_layer_mode_tile::tilewidth#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:36 [ vera_layer_mode_tile::tileheight#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:263 [ vera_layer_mode_tile::$19 ] +Removing always clobbered register reg byte y as potential for zp[1]:266 [ vera_layer_mode_tile::$20 ] +Statement [212] if(0 vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [266] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [271] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } ) always clobbers reg byte a +Statement [272] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } ) always clobbers reg byte a +Statement [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } ) always clobbers reg byte a +Statement [277] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } ) always clobbers reg byte a +Statement [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } ) always clobbers reg byte a +Statement [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } ) always clobbers reg byte a +Statement [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } ) always clobbers reg byte a +Statement [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } ) always clobbers reg byte a +Statement [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } ) always clobbers reg byte a +Statement [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } ) always clobbers reg byte a +Statement [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } ) always clobbers reg byte a +Statement [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } ) always clobbers reg byte a +Statement [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [304] *vera_tilebase_offset = 0 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [305] *vera_tilebase_bank = 0 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [307] *VERA_DC_HSCALE = $40 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [308] *VERA_DC_VSCALE = $40 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } ) always clobbers reg byte a +Statement [319] clrscr::$1 = clrscr::$0 << 4 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } ) always clobbers reg byte a +Statement [327] conio_cursor_x[conio_screen_layer] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a reg byte y +Statement [328] conio_cursor_y[conio_screen_layer] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a reg byte y +Statement [329] clrscr::$9 = conio_screen_layer << 1 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::$9 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::$9 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::$9 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::$9 ] { } ) always clobbers reg byte a +Statement [330] conio_line_text[clrscr::$9] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [332] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:295 [ clrscr::color#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:39 [ clrscr::l#2 clrscr::l#1 ] +Statement [337] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] { } ) always clobbers reg byte a +Statement [341] clrscr::line_text#1 = clrscr::line_text#2 + conio_rowskip [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] { } ) always clobbers reg byte a +Statement [343] *VERA_DATA0 = ' ' [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] { } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] { } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:42 [ clrscr::c#2 clrscr::c#1 ] +Statement [348] cputs::c#1 = *cputs::s#8 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] ( main:15::cputs:54 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:56 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:58 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:60 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:71 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:86 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } main:15::cputs:92 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputs::s#8 cputs::c#1 ] { } ) always clobbers reg byte a reg byte y +Statement [354] __bitmap_address = bitmap_init::address#0 [ __bitmap_address ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address ] { } ) always clobbers reg byte a +Statement [355] __bitmap_layer = bitmap_init::layer#0 [ __bitmap_address __bitmap_layer ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_layer ] { } ) always clobbers reg byte a +Statement [357] bitmap_init::vera_layer_get_color_depth1_$1 = bitmap_init::vera_layer_get_color_depth1_layer#0 << 1 [ __bitmap_address bitmap_init::vera_layer_get_color_depth1_$1 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_init::vera_layer_get_color_depth1_$1 ] { } ) always clobbers reg byte a +Statement [358] bitmap_init::vera_layer_get_color_depth1_config#0 = vera_layer_config[bitmap_init::vera_layer_get_color_depth1_$1] [ __bitmap_address bitmap_init::vera_layer_get_color_depth1_config#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_init::vera_layer_get_color_depth1_config#0 ] { } ) always clobbers reg byte a +Statement [359] bitmap_init::vera_layer_get_color_depth1_$0 = *bitmap_init::vera_layer_get_color_depth1_config#0 & VERA_LAYER_COLOR_DEPTH_MASK [ __bitmap_address bitmap_init::vera_layer_get_color_depth1_$0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_init::vera_layer_get_color_depth1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [372] bitmap_init::bitmask#0 = bitmasks[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::bitmask#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::bitmask#0 ] { } ) always clobbers reg byte y +Statement [373] bitmap_init::bitshift#0 = bitshifts[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::bitmask#0 bitmap_init::bitshift#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::bitmask#0 bitmap_init::bitshift#0 ] { } ) always clobbers reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:48 [ bitmap_init::bitmask#13 bitmap_init::bitmask#3 bitmap_init::bitmask#12 bitmap_init::bitmask#11 bitmap_init::bitmask#10 bitmap_init::bitmask#0 bitmap_init::bitmask#16 bitmap_init::bitmask#1 bitmap_init::bitmask#2 bitmap_init::bitmask#4 ] +Statement [375] if(__bitmap_color_depth!=0) goto bitmap_init::@2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:48 [ bitmap_init::bitmask#13 bitmap_init::bitmask#3 bitmap_init::bitmask#12 bitmap_init::bitmask#11 bitmap_init::bitmask#10 bitmap_init::bitmask#0 bitmap_init::bitmask#16 bitmap_init::bitmask#1 bitmap_init::bitmask#2 bitmap_init::bitmask#4 ] +Removing always clobbered register reg byte a as potential for zp[1]:47 [ bitmap_init::bitshift#13 bitmap_init::bitshift#3 bitmap_init::bitshift#12 bitmap_init::bitshift#11 bitmap_init::bitshift#10 bitmap_init::bitshift#0 bitmap_init::bitshift#14 bitmap_init::bitshift#1 bitmap_init::bitshift#2 bitmap_init::bitshift#4 ] +Statement [376] bitmap_init::$7 = bitmap_init::x#10 >> 3 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 ] { } ) always clobbers reg byte a +Statement [377] bitmap_init::$23 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$23 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$23 ] { } ) always clobbers reg byte a +Statement [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$29 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$29 ] { } ) always clobbers reg byte a +Statement [379] *bitmap_init::$29 = bitmap_init::$7 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:47 [ bitmap_init::bitshift#13 bitmap_init::bitshift#3 bitmap_init::bitshift#12 bitmap_init::bitshift#11 bitmap_init::bitshift#10 bitmap_init::bitshift#0 bitmap_init::bitshift#14 bitmap_init::bitshift#1 bitmap_init::bitshift#2 bitmap_init::bitshift#4 ] +Statement [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$30 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$30 ] { } ) always clobbers reg byte a +Statement [381] *bitmap_init::$30 = bitmap_init::bitmask#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Statement [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$31 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$31 ] { } ) always clobbers reg byte a +Statement [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Statement [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a +Statement [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 ] { } ) always clobbers reg byte a +Statement [389] bitmap_init::$24 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$24 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$24 ] { } ) always clobbers reg byte a +Statement [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$32 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$32 ] { } ) always clobbers reg byte a +Statement [391] *bitmap_init::$32 = bitmap_init::$10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$33 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$33 ] { } ) always clobbers reg byte a +Statement [393] *bitmap_init::$33 = bitmap_init::bitmask#11 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$34 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$34 ] { } ) always clobbers reg byte a +Statement [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#2 bitmap_init::bitmask#2 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#2 bitmap_init::bitmask#2 ] { } ) always clobbers reg byte a +Statement [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a +Statement [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 ] { } ) always clobbers reg byte a +Statement [401] bitmap_init::$25 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$25 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$25 ] { } ) always clobbers reg byte a +Statement [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$35 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$35 ] { } ) always clobbers reg byte a +Statement [403] *bitmap_init::$35 = bitmap_init::$13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$36 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$36 ] { } ) always clobbers reg byte a +Statement [405] *bitmap_init::$36 = bitmap_init::bitmask#12 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$37 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$37 ] { } ) always clobbers reg byte a +Statement [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#3 ] { } ) always clobbers reg byte a +Statement [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#3 bitmap_init::bitmask#3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#3 bitmap_init::bitmask#3 ] { } ) always clobbers reg byte a +Statement [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a +Statement [412] bitmap_init::$26 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$26 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$26 ] { } ) always clobbers reg byte a +Statement [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$38 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$38 ] { } ) always clobbers reg byte a +Statement [414] *bitmap_init::$38 = bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$39 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$39 ] { } ) always clobbers reg byte a +Statement [416] *bitmap_init::$39 = bitmap_init::bitmask#13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$40 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$40 ] { } ) always clobbers reg byte a +Statement [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#13 bitmap_init::bitshift#4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#13 bitmap_init::bitshift#4 ] { } ) always clobbers reg byte y +Statement [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#14 bitmap_init::bitmask#4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#14 bitmap_init::bitmask#4 ] { } ) always clobbers reg byte y +Statement [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#1 bitmap_init::bitmask#16 bitmap_init::bitshift#14 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#1 bitmap_init::bitmask#16 bitmap_init::bitshift#14 ] { } ) always clobbers reg byte a +Statement [427] bitmap_init::$3 = __bitmap_color_depth << 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$3 ] { } ) always clobbers reg byte a +Statement [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$4 ] { } ) always clobbers reg byte a +Statement [429] bitmap_init::$27 = bitmap_init::$4 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$27 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$27 ] { } ) always clobbers reg byte a +Statement [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 ] { } ) always clobbers reg byte a +Statement [431] bitmap_init::yoffs#0 = __bitmap_address [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::yoffs#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::yoffs#0 ] { } ) always clobbers reg byte a +Statement [433] bitmap_init::$28 = bitmap_init::y#2 << 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$28 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$28 ] { } ) always clobbers reg byte a +Statement [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$41 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$41 ] { } ) always clobbers reg byte a +Statement [435] *bitmap_init::$41 = bitmap_init::yoffs#2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 ] { } ) always clobbers reg byte a reg byte y +Statement [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#1 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#1 ] { } ) always clobbers reg byte a +Statement [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#1 bitmap_init::yoffs#1 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#1 bitmap_init::yoffs#1 ] { } ) always clobbers reg byte a +Statement [440] bitmap_clear::$7 = __bitmap_vscale << 1 [ __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::$7 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::$7 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] [ __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::vdelta#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::vdelta#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [442] bitmap_clear::$0 = __bitmap_color_depth << 2 [ __bitmap_address __bitmap_hscale bitmap_clear::vdelta#0 bitmap_clear::$0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale bitmap_clear::vdelta#0 bitmap_clear::$0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$1 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$8 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$8 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::hdelta#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::hdelta#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [446] mul16u::a#1 = bitmap_clear::hdelta#0 [ __bitmap_address bitmap_clear::vdelta#0 mul16u::a#1 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 mul16u::a#1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [447] mul16u::b#0 = bitmap_clear::vdelta#0 [ __bitmap_address mul16u::a#1 mul16u::b#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#1 mul16u::b#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [449] mul16u::return#2 = mul16u::res#2 [ __bitmap_address mul16u::return#2 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::return#2 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [450] bitmap_clear::count#0 = mul16u::return#2 [ __bitmap_address bitmap_clear::count#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::count#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [451] bitmap_clear::$3 = > __bitmap_address [ __bitmap_address bitmap_clear::count#0 bitmap_clear::$3 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::count#0 bitmap_clear::$3 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [453] bitmap_clear::vdest#0 = < __bitmap_address [ bitmap_clear::count#0 bitmap_clear::vbank#0 bitmap_clear::vdest#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_clear::count#0 bitmap_clear::vbank#0 bitmap_clear::vdest#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:381 [ bitmap_clear::vbank#0 ] +Statement [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 [ bitmap_clear::count#0 memset_vram::vbank#0 memset_vram::vdest#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_clear::count#0 memset_vram::vbank#0 memset_vram::vdest#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:384 [ memset_vram::vbank#0 ] +Statement [456] memset_vram::num#0 = bitmap_clear::count#0 [ memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [459] kbhit::ch = 0 [ kbhit::ch ] ( main:15::kbhit:73 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#23 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 kbhit::ch ] { { kbhit::return#1 = kbhit::return#2 } } main:15::kbhit:94 [ main::x#3 main::color#2 kbhit::ch ] { { kbhit::return#1 = kbhit::return#3 } } ) always clobbers reg byte a +Statement [465] if(bitmap_line::x0#10> 9 [ rand_state#0 rand::$1 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [539] rand_state#1 = rand_state#0 ^ rand::$1 [ rand_state#1 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [540] rand::$2 = rand_state#1 << 8 [ rand_state#1 rand::$2 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [541] rand_state#14 = rand_state#1 ^ rand::$2 [ rand_state#14 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [542] rand::return#0 = rand_state#14 [ rand_state#14 rand::return#0 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [545] divr16u::dividend#1 = modr16u::dividend#4 [ modr16u::divisor#4 divr16u::dividend#1 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [546] divr16u::divisor#0 = modr16u::divisor#4 [ divr16u::dividend#1 divr16u::divisor#0 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [548] modr16u::return#0 = rem16u#0 [ modr16u::return#0 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 } { modr16u::return#0 = modr16u::return#2 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 } { modr16u::return#0 = modr16u::return#3 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 } { modr16u::return#0 = modr16u::return#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 } { modr16u::return#0 = modr16u::return#10 } } ) always clobbers reg byte a +Statement [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a +Statement [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a reg byte y +Statement [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 [ ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } ) always clobbers reg byte a reg byte y +Statement [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 [ vera_layer_get_mapbase_offset::$0 ] ( screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99::vera_layer_get_mapbase_offset:163 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] [ vera_layer_get_mapbase_offset::return#0 ] ( screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99::vera_layer_get_mapbase_offset:163 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 [ vera_layer_get_rowskip::$0 ] ( screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99::vera_layer_get_rowskip:182 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] [ vera_layer_get_rowskip::return#0 ] ( screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99::vera_layer_get_rowskip:182 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 [ vera_layer_set_config::config#2 vera_layer_set_config::$0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:71 [ vera_layer_set_config::config#2 vera_layer_set_config::config#0 ] +Statement [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] [ vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { } ) always clobbers reg byte a +Statement [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 [ ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a reg byte y +Statement [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:73 [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::tilebase#0 ] +Statement [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { } ) always clobbers reg byte a +Statement [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 [ ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a reg byte y +Statement [582] cputc::$15 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:301 [ cputc::c#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:441 [ cputc::color#0 ] +Statement [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Removing always clobbered register reg byte x as potential for zp[1]:207 [ CONIO_SCREEN_BANK#15 ] +Statement [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte y +Statement [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [600] if(cputc::$16!=conio_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 [ vera_display_get_hscale::s#2 ] ( main:15::bitmap_init:63::vera_display_get_hscale:364 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_color_depth vera_display_get_hscale::s#2 ] { { vera_display_get_hscale::return#0 = vera_display_get_hscale::return#2 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:74 [ vera_display_get_hscale::return#0 vera_display_get_hscale::s#2 vera_display_get_hscale::s#1 ] +Statement [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 [ vera_display_get_vscale::s#2 ] ( main:15::bitmap_init:63::vera_display_get_vscale:368 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth vera_display_get_vscale::s#2 ] { { vera_display_get_vscale::return#0 = vera_display_get_vscale::return#2 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:75 [ vera_display_get_vscale::return#0 vera_display_get_vscale::s#2 vera_display_get_vscale::s#1 ] +Statement [623] mul16u::mb#0 = (dword)mul16u::b#0 [ mul16u::a#1 mul16u::mb#0 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#1 mul16u::mb#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [625] if(mul16u::a#2!=0) goto mul16u::@2 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [627] mul16u::$1 = mul16u::a#2 & 1 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 [ mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] ( main:15::bitmap_clear:65::memset_vram:457 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 [ memset_vram::num#0 memset_vram::$2 ] ( main:15::bitmap_clear:65::memset_vram:457 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::num#0 memset_vram::$2 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [641] if(memset_vram::i#2> 1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:92 [ bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line_ydxi::c#0 ] +Statement [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [654] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:105 [ bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line_xdyi::c#0 ] +Statement [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [670] if(bitmap_line_xdyi::xd#5>=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:118 [ bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line_ydxd::c#1 ] +Statement [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [686] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:131 [ bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line_xdyd::c#0 ] +Statement [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [702] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [713] divr16u::$2 = divr16u::$1 & $80 [ divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] ( main:15::modr16u:119::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:148 [ divr16u::i#2 divr16u::i#1 ] +Statement [715] divr16u::rem#1 = divr16u::rem#0 | 1 [ divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:15::modr16u:119::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [719] if(divr16u::rem#5 bitmap_plot::vera_vram_address01_bankaddr#0 [ bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 [ bitmap_plot::c#0 bitmap_plot::$15 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 [ bitmap_plot::c#0 bitmap_plot::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a reg byte y +Statement [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 [ bitmap_plot::c#0 bitmap_plot::$7 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [775] if(conio_cursor_y[conio_screen_layer]> 7 [ screensize::hscale#0 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } ) always clobbers reg byte a +Statement [151] screensize::$1 = $28 << screensize::hscale#0 [ screensize::$1 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } ) always clobbers reg byte a +Statement [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 [ screensize::vscale#0 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } ) always clobbers reg byte a +Statement [154] screensize::$3 = $1e << screensize::vscale#0 [ screensize::$3 ] ( screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } conio_x16_init:13::screensize:20 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } ) always clobbers reg byte a +Statement [157] conio_screen_layer = 1 [ conio_screen_layer ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:15::screenlayer:99 [ conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } ) always clobbers reg byte a +Statement [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$2 ] { } ) always clobbers reg byte a +Statement [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_config#0 ] { } ) always clobbers reg byte a +Statement [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$1 ] { } ) always clobbers reg byte a +Statement [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_$3 ] { } ) always clobbers reg byte a +Statement [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#0 ] { } ) always clobbers reg byte a +Statement [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_width1_return#1 ] { } ) always clobbers reg byte a +Statement [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:99 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [175] conio_width = screenlayer::$2 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:15::screenlayer:99 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$4 ] { } ) always clobbers reg byte a +Statement [185] conio_rowskip = screenlayer::$4 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$2 ] { } ) always clobbers reg byte a +Statement [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_config#0 ] { } ) always clobbers reg byte a +Statement [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$1 ] { } ) always clobbers reg byte a +Statement [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_$3 ] { } ) always clobbers reg byte a +Statement [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#0 ] { } ) always clobbers reg byte a +Statement [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::vera_layer_get_height1_return#1 ] { } ) always clobbers reg byte a +Statement [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 screenlayer::$5 ] { } ) always clobbers reg byte a +Statement [195] conio_height = screenlayer::$5 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } conio_x16_init:13::screenlayer:22 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:44 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } main:15::screenlayer:99 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { } ) always clobbers reg byte a +Statement [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 [ ] ( vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:28 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_set_mapbase:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:15::vera_layer_mode_tile:40::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_mapbase:270 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a reg byte y +Statement [209] if(gotoxy::y#7<=conio_screen_height) goto gotoxy::@4 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] ( gotoxy:35 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { gotoxy::y#0 = gotoxy::y#7 conio_x16_init::line#3 } } conio_x16_init:13::gotoxy:35 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { gotoxy::y#0 = gotoxy::y#7 conio_x16_init::line#3 } } main:15::gotoxy:52 [ conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { } main:15::gotoxy:67 [ conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { } main:15::gotoxy:84 [ conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { } main:15::gotoxy:88 [ conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { } main:15::cputs:54::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:56::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:58::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:60::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:71::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:86::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:92::cputc:353::cputln:602::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:54::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:56::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:58::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:60::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:71::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:86::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:92::cputc:353::cputln:606::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:54::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:56::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:58::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:60::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:71::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:86::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } main:15::cputs:92::cputc:353::cputln:608::cscroll:744::gotoxy:783 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#104 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#7 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#7 } } ) always clobbers reg byte a +Statement [212] if(0 vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [266] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [271] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } ) always clobbers reg byte a +Statement [272] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } ) always clobbers reg byte a +Statement [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } ) always clobbers reg byte a +Statement [277] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } ) always clobbers reg byte a +Statement [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } ) always clobbers reg byte a +Statement [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } ) always clobbers reg byte a +Statement [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } ) always clobbers reg byte a +Statement [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } ) always clobbers reg byte a +Statement [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } ) always clobbers reg byte a +Statement [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$15 ] { } ) always clobbers reg byte a +Statement [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$14 ] { } ) always clobbers reg byte a +Statement [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$13 ] { } ) always clobbers reg byte a +Statement [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:15::vera_layer_mode_tile:40 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [304] *vera_tilebase_offset = 0 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [305] *vera_tilebase_bank = 0 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [307] *VERA_DC_HSCALE = $40 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [308] *VERA_DC_VSCALE = $40 [ ] ( main:15::vera_layer_mode_bitmap:42 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a +Statement [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } ) always clobbers reg byte a +Statement [319] clrscr::$1 = clrscr::$0 << 4 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] ( main:15::clrscr:50 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:15::clrscr:82 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:15::clrscr:105 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } ) always clobbers reg byte a +Statement [326] if(clrscr::l#2> 3 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 ] { } ) always clobbers reg byte a +Statement [377] bitmap_init::$23 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$23 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$23 ] { } ) always clobbers reg byte a +Statement [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$29 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$7 bitmap_init::$29 ] { } ) always clobbers reg byte a +Statement [379] *bitmap_init::$29 = bitmap_init::$7 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Statement [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$30 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$30 ] { } ) always clobbers reg byte a +Statement [381] *bitmap_init::$30 = bitmap_init::bitmask#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Statement [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$31 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 bitmap_init::$31 ] { } ) always clobbers reg byte a +Statement [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#10 bitmap_init::bitshift#10 ] { } ) always clobbers reg byte a reg byte y +Statement [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a +Statement [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 ] { } ) always clobbers reg byte a +Statement [389] bitmap_init::$24 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$24 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$24 ] { } ) always clobbers reg byte a +Statement [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$32 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$10 bitmap_init::$32 ] { } ) always clobbers reg byte a +Statement [391] *bitmap_init::$32 = bitmap_init::$10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$33 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$33 ] { } ) always clobbers reg byte a +Statement [393] *bitmap_init::$33 = bitmap_init::bitmask#11 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$34 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 bitmap_init::$34 ] { } ) always clobbers reg byte a +Statement [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#11 bitmap_init::bitshift#11 ] { } ) always clobbers reg byte a reg byte y +Statement [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#2 bitmap_init::bitmask#2 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#2 bitmap_init::bitmask#2 ] { } ) always clobbers reg byte a +Statement [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a +Statement [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 ] { } ) always clobbers reg byte a +Statement [401] bitmap_init::$25 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$25 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$25 ] { } ) always clobbers reg byte a +Statement [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$35 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$13 bitmap_init::$35 ] { } ) always clobbers reg byte a +Statement [403] *bitmap_init::$35 = bitmap_init::$13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$36 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$36 ] { } ) always clobbers reg byte a +Statement [405] *bitmap_init::$36 = bitmap_init::bitmask#12 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$37 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 bitmap_init::$37 ] { } ) always clobbers reg byte a +Statement [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#12 ] { } ) always clobbers reg byte a reg byte y +Statement [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#12 bitmap_init::bitshift#3 ] { } ) always clobbers reg byte a +Statement [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#3 bitmap_init::bitmask#3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#3 bitmap_init::bitmask#3 ] { } ) always clobbers reg byte a +Statement [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a +Statement [412] bitmap_init::$26 = bitmap_init::x#10 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$26 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$26 ] { } ) always clobbers reg byte a +Statement [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$38 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$38 ] { } ) always clobbers reg byte a +Statement [414] *bitmap_init::$38 = bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$39 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$39 ] { } ) always clobbers reg byte a +Statement [416] *bitmap_init::$39 = bitmap_init::bitmask#13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$40 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 bitmap_init::$40 ] { } ) always clobbers reg byte a +Statement [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#13 bitmap_init::bitmask#13 ] { } ) always clobbers reg byte a reg byte y +Statement [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#13 bitmap_init::bitshift#4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitmask#13 bitmap_init::bitshift#4 ] { } ) always clobbers reg byte y +Statement [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#14 bitmap_init::bitmask#4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#10 bitmap_init::bitshift#14 bitmap_init::bitmask#4 ] { } ) always clobbers reg byte y +Statement [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#1 bitmap_init::bitmask#16 bitmap_init::bitshift#14 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::x#1 bitmap_init::bitmask#16 bitmap_init::bitshift#14 ] { } ) always clobbers reg byte a +Statement [427] bitmap_init::$3 = __bitmap_color_depth << 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$3 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$3 ] { } ) always clobbers reg byte a +Statement [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$4 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$4 ] { } ) always clobbers reg byte a +Statement [429] bitmap_init::$27 = bitmap_init::$4 << 1 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$27 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::$27 ] { } ) always clobbers reg byte a +Statement [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 ] { } ) always clobbers reg byte a +Statement [431] bitmap_init::yoffs#0 = __bitmap_address [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::yoffs#0 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::yoffs#0 ] { } ) always clobbers reg byte a +Statement [433] bitmap_init::$28 = bitmap_init::y#2 << 2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$28 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$28 ] { } ) always clobbers reg byte a +Statement [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$41 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 bitmap_init::$41 ] { } ) always clobbers reg byte a +Statement [435] *bitmap_init::$41 = bitmap_init::yoffs#2 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#2 ] { } ) always clobbers reg byte a reg byte y +Statement [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#1 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#2 bitmap_init::yoffs#1 ] { } ) always clobbers reg byte a +Statement [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 [ __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#1 bitmap_init::yoffs#1 ] ( main:15::bitmap_init:63 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_vscale __bitmap_color_depth bitmap_init::hdelta#0 bitmap_init::y#1 bitmap_init::yoffs#1 ] { } ) always clobbers reg byte a +Statement [440] bitmap_clear::$7 = __bitmap_vscale << 1 [ __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::$7 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::$7 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] [ __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::vdelta#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth bitmap_clear::vdelta#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [442] bitmap_clear::$0 = __bitmap_color_depth << 2 [ __bitmap_address __bitmap_hscale bitmap_clear::vdelta#0 bitmap_clear::$0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale bitmap_clear::vdelta#0 bitmap_clear::$0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$1 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$8 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::$8 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] [ __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::hdelta#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 bitmap_clear::hdelta#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [446] mul16u::a#1 = bitmap_clear::hdelta#0 [ __bitmap_address bitmap_clear::vdelta#0 mul16u::a#1 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::vdelta#0 mul16u::a#1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [447] mul16u::b#0 = bitmap_clear::vdelta#0 [ __bitmap_address mul16u::a#1 mul16u::b#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#1 mul16u::b#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [449] mul16u::return#2 = mul16u::res#2 [ __bitmap_address mul16u::return#2 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::return#2 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [450] bitmap_clear::count#0 = mul16u::return#2 [ __bitmap_address bitmap_clear::count#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::count#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [451] bitmap_clear::$3 = > __bitmap_address [ __bitmap_address bitmap_clear::count#0 bitmap_clear::$3 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address bitmap_clear::count#0 bitmap_clear::$3 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [453] bitmap_clear::vdest#0 = < __bitmap_address [ bitmap_clear::count#0 bitmap_clear::vbank#0 bitmap_clear::vdest#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_clear::count#0 bitmap_clear::vbank#0 bitmap_clear::vdest#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 [ bitmap_clear::count#0 memset_vram::vbank#0 memset_vram::vdest#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_clear::count#0 memset_vram::vbank#0 memset_vram::vdest#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [456] memset_vram::num#0 = bitmap_clear::count#0 [ memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] ( main:15::bitmap_clear:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [459] kbhit::ch = 0 [ kbhit::ch ] ( main:15::kbhit:73 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#23 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 kbhit::ch ] { { kbhit::return#1 = kbhit::return#2 } } main:15::kbhit:94 [ main::x#3 main::color#2 kbhit::ch ] { { kbhit::return#1 = kbhit::return#3 } } ) always clobbers reg byte a +Statement [465] if(bitmap_line::x0#10> 9 [ rand_state#0 rand::$1 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#0 rand::$1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [539] rand_state#1 = rand_state#0 ^ rand::$1 [ rand_state#1 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [540] rand::$2 = rand_state#1 << 8 [ rand_state#1 rand::$2 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#1 rand::$2 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [541] rand_state#14 = rand_state#1 ^ rand::$2 [ rand_state#14 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [542] rand::return#0 = rand_state#14 [ rand_state#14 rand::return#0 ] ( main:15::rand:116 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#23 } { rand::return#0 = rand::return#2 } } main:15::rand:122 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#3 } } main:15::rand:128 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#10 } } main:15::rand:134 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#11 } } main:15::rand:140 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 bitmap_line::y1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 rand_state#14 rand::return#0 ] { { rand_state#13 = rand_state#14 } { rand::return#0 = rand::return#12 } } ) always clobbers reg byte a +Statement [545] divr16u::dividend#1 = modr16u::dividend#4 [ modr16u::divisor#4 divr16u::dividend#1 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::divisor#4 divr16u::dividend#1 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [546] divr16u::divisor#0 = modr16u::divisor#4 [ divr16u::dividend#1 divr16u::divisor#0 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::dividend#1 divr16u::divisor#0 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [548] modr16u::return#0 = rem16u#0 [ modr16u::return#0 ] ( main:15::modr16u:119 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 } { modr16u::return#0 = modr16u::return#2 } } main:15::modr16u:125 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 } { modr16u::return#0 = modr16u::return#3 } } main:15::modr16u:131 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 } { modr16u::return#0 = modr16u::return#4 } } main:15::modr16u:137 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 modr16u::return#0 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 } { modr16u::return#0 = modr16u::return#10 } } ) always clobbers reg byte a +Statement [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a +Statement [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a reg byte y +Statement [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 [ ] ( vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_set_text_color_mode:148 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } ) always clobbers reg byte a reg byte y +Statement [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 [ vera_layer_get_mapbase_offset::$0 ] ( screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99::vera_layer_get_mapbase_offset:163 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] [ vera_layer_get_mapbase_offset::return#0 ] ( screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:44::vera_layer_get_mapbase_offset:163 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:15::screenlayer:99::vera_layer_get_mapbase_offset:163 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 [ vera_layer_get_rowskip::$0 ] ( screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99::vera_layer_get_rowskip:182 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] [ vera_layer_get_rowskip::return#0 ] ( screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:13::screenlayer:22::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:44::vera_layer_get_rowskip:182 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:15::screenlayer:99::vera_layer_get_rowskip:182 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 [ vera_layer_set_config::config#2 vera_layer_set_config::$0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height vera_layer_set_config::config#2 vera_layer_set_config::$0 ] { } ) always clobbers reg byte a +Statement [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] [ vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height vera_layer_set_config::config#2 vera_layer_set_config::addr#0 ] { } ) always clobbers reg byte a +Statement [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 [ ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_config:257 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_config:257 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_set_config::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_set_config::config#2 vera_layer_mode_tile::config#25 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_config:310 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a reg byte y +Statement [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::$0 ] { } ) always clobbers reg byte a +Statement [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::addr#0 ] { } ) always clobbers reg byte a +Statement [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 [ ] ( main:15::vera_layer_mode_tile:40::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } conio_x16_init:13::vera_layer_mode_text:18::vera_layer_mode_tile:146::vera_layer_set_tilebase:290 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_set_tilebase::layer#2 vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_set_tilebase::tilebase#2 vera_layer_mode_tile::tilebase#10 } } main:15::vera_layer_mode_bitmap:42::vera_layer_set_tilebase:312 [ conio_screen_width conio_screen_height ] { } ) always clobbers reg byte a reg byte y +Statement [582] cputc::$15 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Statement [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte y +Statement [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [600] if(cputc::$16!=conio_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] ( main:15::cputs:54::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:56::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:58::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:60::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:71::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:86::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } main:15::cputs:92::cputc:353 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 [ vera_display_get_hscale::s#2 ] ( main:15::bitmap_init:63::vera_display_get_hscale:364 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_color_depth vera_display_get_hscale::s#2 ] { { vera_display_get_hscale::return#0 = vera_display_get_hscale::return#2 } } ) always clobbers reg byte a +Statement [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 [ vera_display_get_vscale::s#2 ] ( main:15::bitmap_init:63::vera_display_get_vscale:368 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address __bitmap_hscale __bitmap_color_depth vera_display_get_vscale::s#2 ] { { vera_display_get_vscale::return#0 = vera_display_get_vscale::return#2 } } ) always clobbers reg byte a +Statement [623] mul16u::mb#0 = (dword)mul16u::b#0 [ mul16u::a#1 mul16u::mb#0 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#1 mul16u::mb#0 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [625] if(mul16u::a#2!=0) goto mul16u::@2 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [627] mul16u::$1 = mul16u::a#2 & 1 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 [ mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ( main:15::bitmap_clear:65::mul16u:448 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 __bitmap_address mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] { { mul16u::a#1 = bitmap_clear::hdelta#0 } { mul16u::b#0 = bitmap_clear::vdelta#0 } { mul16u::return#2 = mul16u::res#2 } } ) always clobbers reg byte a +Statement [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] ( main:15::bitmap_clear:65::memset_vram:457 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::vbank#0 memset_vram::vdest#0 memset_vram::num#0 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 [ memset_vram::num#0 memset_vram::$2 ] ( main:15::bitmap_clear:65::memset_vram:457 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 memset_vram::num#0 memset_vram::$2 ] { { memset_vram::vbank#0 = bitmap_clear::vbank#0 } { memset_vram::num#0 = bitmap_clear::count#0 } } ) always clobbers reg byte a +Statement [641] if(memset_vram::i#2> 1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::x#5 bitmap_line_ydxi::y#6 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::e#0 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#2 bitmap_plot::y#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [654] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::x#2 bitmap_line_ydxi::e#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 bitmap_line_ydxi::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:476 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::c#0 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxi:527 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#6 bitmap_line_ydxi::y#2 bitmap_line_ydxi::e#6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::c#1 = bitmap_line_ydxi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } ) always clobbers reg byte a +Statement [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::x#6 bitmap_line_xdyi::y#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::e#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#0 bitmap_plot::y#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [670] if(bitmap_line_xdyi::xd#5>=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::y#3 bitmap_line_xdyi::x#2 bitmap_line_xdyi::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#2 bitmap_line_xdyi::e#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 bitmap_line_xdyi::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 [ bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] ( main:15::bitmap_line:110::bitmap_line_xdyi:484 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:484 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::c#0 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyi:534 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#2 bitmap_line_xdyi::y#6 bitmap_line_xdyi::e#6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::c#1 = bitmap_line_xdyi::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::x#5 bitmap_line_ydxd::y#7 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::e#0 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#3 bitmap_plot::y#3 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [686] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#1 bitmap_line_ydxd::x#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::x#2 bitmap_line_ydxd::e#2 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 bitmap_line_ydxd::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 [ bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] ( main:15::bitmap_line:110::bitmap_line_ydxd:493 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:493 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::c#0 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } } main:15::bitmap_line:144::bitmap_line_ydxd:511 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#6 bitmap_line_ydxd::y#3 bitmap_line_ydxd::e#6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::c#1 = bitmap_line_ydxd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } } ) always clobbers reg byte a +Statement [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::x#6 bitmap_line_xdyd::y#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::e#0 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#1 bitmap_plot::y#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [702] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::y#3 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::e#1 bitmap_line_xdyd::y#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#2 bitmap_line_xdyd::e#2 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 bitmap_line_xdyd::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 [ bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] ( main:15::bitmap_line:110::bitmap_line_xdyd:500 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:500 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::c#0 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } } main:15::bitmap_line:144::bitmap_line_xdyd:518 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#2 bitmap_line_xdyd::y#6 bitmap_line_xdyd::e#6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::c#1 = bitmap_line_xdyd::c#3 bitmap_line::c#10 bitmap_line::c#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } } ) always clobbers reg byte a +Statement [713] divr16u::$2 = divr16u::$1 & $80 [ divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] ( main:15::modr16u:119::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$2 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [715] divr16u::rem#1 = divr16u::rem#0 | 1 [ divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:15::modr16u:119::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#0 = modr16u::dividend#4 rand::return#2 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#2 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:125::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#1 = modr16u::dividend#4 rand::return#3 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#3 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:131::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#2 = modr16u::dividend#4 rand::return#10 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#4 } { divr16u::divisor#0 = modr16u::divisor#4 } } main:15::modr16u:137::divr16u:547 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 bitmap_line::x0#0 bitmap_line::x1#0 bitmap_line::y0#0 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 divr16u::divisor#0 divr16u::dividend#2 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] { { modr16u::dividend#3 = modr16u::dividend#4 rand::return#11 divr16u::dividend#1 } { modr16u::return#0 = modr16u::return#10 } { divr16u::divisor#0 = modr16u::divisor#4 } } ) always clobbers reg byte a +Statement [719] if(divr16u::rem#5 bitmap_plot::vera_vram_address01_bankaddr#0 [ bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::x#4 bitmap_plot::c#0 bitmap_plot::vera_vram_address01_$4 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 [ bitmap_plot::c#0 bitmap_plot::$15 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$15 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 [ bitmap_plot::c#0 bitmap_plot::$6 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$6 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a reg byte y +Statement [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 [ bitmap_plot::c#0 bitmap_plot::$7 ] ( main:15::bitmap_line:110::bitmap_line_ydxi:476::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:476::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxi::xd#0 = bitmap_line_ydxi::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxi::x#0 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxi::y#0 = bitmap_line_ydxi::y#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxi::yd#0 = bitmap_line_ydxi::yd#5 bitmap_line::yd#2 } { bitmap_line_ydxi::y1#0 = bitmap_line_ydxi::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxi:527::bitmap_plot:651 [ main::x#3 main::color#2 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxi:527::bitmap_plot:651 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxi::xd#2 bitmap_line_ydxi::c#3 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::x#3 bitmap_line_ydxi::y#3 bitmap_line_ydxi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxi::xd#1 = bitmap_line_ydxi::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxi::x#1 = bitmap_line_ydxi::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxi::y#1 = bitmap_line_ydxi::y#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxi::yd#1 = bitmap_line_ydxi::yd#5 bitmap_line::yd#11 } { bitmap_line_ydxi::y1#1 = bitmap_line_ydxi::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#2 = bitmap_plot::x#4 bitmap_line_ydxi::x#3 } { bitmap_plot::y#2 = bitmap_plot::y#4 bitmap_line_ydxi::y#3 } { bitmap_plot::c#3 = bitmap_plot::c#5 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:484::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:484::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyi::yd#0 = bitmap_line_xdyi::yd#2 bitmap_line::yd#2 } { bitmap_line_xdyi::x#0 = bitmap_line_xdyi::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyi::y#0 = bitmap_line_xdyi::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyi::xd#0 = bitmap_line_xdyi::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyi::x1#0 = bitmap_line_xdyi::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyi:534::bitmap_plot:667 [ main::x#3 main::color#2 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyi:534::bitmap_plot:667 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::c#3 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x#3 bitmap_line_xdyi::y#3 bitmap_line_xdyi::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyi::yd#1 = bitmap_line_xdyi::yd#2 bitmap_line::yd#11 } { bitmap_line_xdyi::x#1 = bitmap_line_xdyi::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyi::y#1 = bitmap_line_xdyi::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyi::xd#1 = bitmap_line_xdyi::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyi::x1#1 = bitmap_line_xdyi::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#0 = bitmap_plot::x#4 bitmap_line_xdyi::x#3 } { bitmap_plot::y#0 = bitmap_plot::y#4 bitmap_line_xdyi::y#3 } { bitmap_plot::c#1 = bitmap_plot::c#5 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:493::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:493::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x1#0 = bitmap_line::x1#10 } { bitmap_line_ydxd::xd#0 = bitmap_line_ydxd::xd#2 bitmap_line::xd#2 } { bitmap_line_ydxd::x#0 = bitmap_line_ydxd::x#5 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_ydxd::y#0 = bitmap_line_ydxd::y#7 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_ydxd::yd#0 = bitmap_line_ydxd::yd#5 bitmap_line::yd#1 } { bitmap_line_ydxd::y1#0 = bitmap_line_ydxd::y1#6 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_ydxd:511::bitmap_plot:683 [ main::x#3 main::color#2 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_ydxd:511::bitmap_plot:683 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::c#3 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::x#3 bitmap_line_ydxd::y#2 bitmap_line_ydxd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::x0#0 = bitmap_line::x0#10 } { bitmap_line_ydxd::xd#1 = bitmap_line_ydxd::xd#2 bitmap_line::xd#1 } { bitmap_line_ydxd::x#1 = bitmap_line_ydxd::x#5 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_ydxd::y#1 = bitmap_line_ydxd::y#7 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_ydxd::yd#1 = bitmap_line_ydxd::yd#5 bitmap_line::yd#10 } { bitmap_line_ydxd::y1#1 = bitmap_line_ydxd::y1#6 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_plot::x#3 = bitmap_plot::x#4 bitmap_line_ydxd::x#3 } { bitmap_plot::y#3 = bitmap_plot::y#4 bitmap_line_ydxd::y#2 } { bitmap_plot::c#4 = bitmap_plot::c#5 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:500::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#0 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:500::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y0#0 = bitmap_line::y0#10 } { bitmap_line_xdyd::yd#0 = bitmap_line_xdyd::yd#2 bitmap_line::yd#1 } { bitmap_line_xdyd::x#0 = bitmap_line_xdyd::x#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_line_xdyd::y#0 = bitmap_line_xdyd::y#5 bitmap_line::y1#10 bitmap_line::y1#0 } { bitmap_line_xdyd::xd#0 = bitmap_line_xdyd::xd#5 bitmap_line::xd#2 } { bitmap_line_xdyd::x1#0 = bitmap_line_xdyd::x1#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#0 bitmap_line::c#10 bitmap_line::c#0 } } main:15::bitmap_line:110::bitmap_line_xdyd:518::bitmap_plot:699 [ main::x#3 main::color#2 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line::x1#10 bitmap_line::x1#1 bitmap_line::x0#10 bitmap_line::x0#1 main::x#3 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#1 main::color#2 } } main:15::bitmap_line:144::bitmap_line_xdyd:518::bitmap_plot:699 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip rand_state#14 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#104 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::c#3 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x#3 bitmap_line_xdyd::y#3 bitmap_line_xdyd::e#3 bitmap_plot::c#0 bitmap_plot::$7 ] { { bitmap_line::y1#0 = bitmap_line::y1#10 } { bitmap_line_xdyd::yd#1 = bitmap_line_xdyd::yd#2 bitmap_line::yd#10 } { bitmap_line_xdyd::x#1 = bitmap_line_xdyd::x#6 bitmap_line::x0#10 bitmap_line::x0#0 } { bitmap_line_xdyd::y#1 = bitmap_line_xdyd::y#5 bitmap_line::y0#10 bitmap_line::y0#0 } { bitmap_line_xdyd::xd#1 = bitmap_line_xdyd::xd#5 bitmap_line::xd#1 } { bitmap_line_xdyd::x1#1 = bitmap_line_xdyd::x1#6 bitmap_line::x1#10 bitmap_line::x1#0 } { bitmap_plot::x#1 = bitmap_plot::x#4 bitmap_line_xdyd::x#3 } { bitmap_plot::y#1 = bitmap_plot::y#4 bitmap_line_xdyd::y#3 } { bitmap_plot::c#2 = bitmap_plot::c#5 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line::c#10 bitmap_line::c#0 } } ) always clobbers reg byte a +Statement [775] if(conio_cursor_y[conio_screen_layer]0 + sta.z conio_width+1 + // [5] conio_height = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_height + lda #>0 + sta.z conio_height+1 + // [6] conio_rowshift = 0 -- vbuz1=vbuc1 + lda #0 + sta.z conio_rowshift + // [7] conio_rowskip = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_rowskip + lda #>0 + sta.z conio_rowskip+1 + // [8] __bitmap_address = 0 -- vduz1=vduc1 + lda #<0 + sta.z __bitmap_address + lda #>0 + sta.z __bitmap_address+1 + lda #<0>>$10 + sta.z __bitmap_address+2 + lda #>0>>$10 + sta.z __bitmap_address+3 + // [9] __bitmap_layer = 0 -- vbuz1=vbuc1 + lda #0 + sta.z __bitmap_layer + // [10] __bitmap_hscale = 0 -- vbuz1=vbuc1 + lda #0 + sta.z __bitmap_hscale + // [11] __bitmap_vscale = 0 -- vbuz1=vbuc1 + lda #0 + sta.z __bitmap_vscale + // [12] __bitmap_color_depth = 0 -- vbuz1=vbuc1 + lda #0 + sta.z __bitmap_color_depth + // [13] call conio_x16_init + jsr conio_x16_init + // [14] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1] + __b1_from___init1: + jmp __b1 + // __start::@1 + __b1: + // [15] call main + // [37] phi from __start::@1 to main [phi:__start::@1->main] + main_from___b1: + jsr main + jmp __breturn + // __start::@return + __breturn: + // [16] return + rts +} + // conio_x16_init +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // [17] conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE -- vbuz1=_deref_pbuc1 + lda BASIC_CURSOR_LINE + sta.z line + // [18] call vera_layer_mode_text + // [145] phi from conio_x16_init to vera_layer_mode_text [phi:conio_x16_init->vera_layer_mode_text] + vera_layer_mode_text_from_conio_x16_init: + jsr vera_layer_mode_text + // [19] phi from conio_x16_init to conio_x16_init::@3 [phi:conio_x16_init->conio_x16_init::@3] + __b3_from_conio_x16_init: + jmp __b3 + // conio_x16_init::@3 + __b3: + // [20] call screensize + jsr screensize + // [21] phi from conio_x16_init::@3 to conio_x16_init::@4 [phi:conio_x16_init::@3->conio_x16_init::@4] + __b4_from___b3: + jmp __b4 + // conio_x16_init::@4 + __b4: + // [22] call screenlayer + jsr screenlayer + // [23] phi from conio_x16_init::@4 to conio_x16_init::@5 [phi:conio_x16_init::@4->conio_x16_init::@5] + __b5_from___b4: + jmp __b5 + // conio_x16_init::@5 + __b5: + // [24] call vera_layer_set_textcolor + // [197] phi from conio_x16_init::@5 to vera_layer_set_textcolor [phi:conio_x16_init::@5->vera_layer_set_textcolor] + vera_layer_set_textcolor_from___b5: + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:conio_x16_init::@5->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = 1 [phi:conio_x16_init::@5->vera_layer_set_textcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_textcolor + // [25] phi from conio_x16_init::@5 to conio_x16_init::@6 [phi:conio_x16_init::@5->conio_x16_init::@6] + __b6_from___b5: + jmp __b6 + // conio_x16_init::@6 + __b6: + // [26] call vera_layer_set_backcolor + // [200] phi from conio_x16_init::@6 to vera_layer_set_backcolor [phi:conio_x16_init::@6->vera_layer_set_backcolor] + vera_layer_set_backcolor_from___b6: + // [200] phi vera_layer_set_backcolor::color#4 = BLUE [phi:conio_x16_init::@6->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [200] phi vera_layer_set_backcolor::layer#4 = 1 [phi:conio_x16_init::@6->vera_layer_set_backcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_backcolor + // [27] phi from conio_x16_init::@6 to conio_x16_init::@7 [phi:conio_x16_init::@6->conio_x16_init::@7] + __b7_from___b6: + jmp __b7 + // conio_x16_init::@7 + __b7: + // [28] call vera_layer_set_mapbase + // [203] phi from conio_x16_init::@7 to vera_layer_set_mapbase [phi:conio_x16_init::@7->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b7: + // [203] phi vera_layer_set_mapbase::mapbase#3 = $20 [phi:conio_x16_init::@7->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #$20 + // [203] phi vera_layer_set_mapbase::layer#3 = 0 [phi:conio_x16_init::@7->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #0 + jsr vera_layer_set_mapbase + // [29] phi from conio_x16_init::@7 to conio_x16_init::@8 [phi:conio_x16_init::@7->conio_x16_init::@8] + __b8_from___b7: + jmp __b8 + // conio_x16_init::@8 + __b8: + // [30] call vera_layer_set_mapbase + // [203] phi from conio_x16_init::@8 to vera_layer_set_mapbase [phi:conio_x16_init::@8->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b8: + // [203] phi vera_layer_set_mapbase::mapbase#3 = 0 [phi:conio_x16_init::@8->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #0 + // [203] phi vera_layer_set_mapbase::layer#3 = 1 [phi:conio_x16_init::@8->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #1 + jsr vera_layer_set_mapbase + jmp __b9 + // conio_x16_init::@9 + __b9: + // [31] if(conio_x16_init::line#0conio_x16_init::@1] + __b1_from___b2: + __b1_from___b9: + // [33] phi conio_x16_init::line#3 = conio_x16_init::line#1 [phi:conio_x16_init::@2/conio_x16_init::@9->conio_x16_init::@1#0] -- register_copy + jmp __b1 + // conio_x16_init::@1 + __b1: + // [34] gotoxy::y#0 = conio_x16_init::line#3 -- vbuxx=vbuz1 + ldx.z line + // [35] call gotoxy + // [208] phi from conio_x16_init::@1 to gotoxy [phi:conio_x16_init::@1->gotoxy] + gotoxy_from___b1: + // [208] phi gotoxy::y#7 = gotoxy::y#0 [phi:conio_x16_init::@1->gotoxy#0] -- register_copy + jsr gotoxy + jmp __breturn + // conio_x16_init::@return + __breturn: + // [36] return + rts +} + // main +main: { + .label __40 = $13 + .label color = 5 + .label x = 3 + // [38] call memcpy_in_vram + // Before we configure the bitmap pane into vera memory we need to re-arrange a few things! + // It is better to load all in bank 0, but then there is an issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x14000. + // This is now all easily done with a few statements in the new kickc vera lib ... + // [221] phi from main to memcpy_in_vram [phi:main->memcpy_in_vram] + memcpy_in_vram_from_main: + // [221] phi memcpy_in_vram::num#3 = $100*8 [phi:main->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [221] phi memcpy_in_vram::dest_bank#2 = 1 [phi:main->memcpy_in_vram#1] -- vbuyy=vbuc1 + ldy #1 + // [221] phi memcpy_in_vram::dest#2 = (void*) 61440 [phi:main->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + // [221] phi memcpy_in_vram::src#2 = (void*) 63488 [phi:main->memcpy_in_vram#3] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [39] phi from main to main::@12 [phi:main->main::@12] + __b12_from_main: + jmp __b12 + // main::@12 + __b12: + // [40] call vera_layer_mode_tile + // We copy the 128 character set of 8 bytes each. + // [240] phi from main::@12 to vera_layer_mode_tile [phi:main::@12->vera_layer_mode_tile] + vera_layer_mode_tile_from___b12: + // [240] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@12->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [240] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@12->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tilewidth + // [240] phi vera_layer_mode_tile::tilebase_address#10 = $1f000 [phi:main::@12->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [240] phi vera_layer_mode_tile::mapbase_address#10 = $14000 [phi:main::@12->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [240] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@12->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [240] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@12->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [240] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@12->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // [41] phi from main::@12 to main::@13 [phi:main::@12->main::@13] + __b13_from___b12: + jmp __b13 + // main::@13 + __b13: + // [42] call vera_layer_mode_bitmap + // [303] phi from main::@13 to vera_layer_mode_bitmap [phi:main::@13->vera_layer_mode_bitmap] + vera_layer_mode_bitmap_from___b13: + jsr vera_layer_mode_bitmap + // [43] phi from main::@13 to main::@14 [phi:main::@13->main::@14] + __b14_from___b13: + jmp __b14 + // main::@14 + __b14: + // [44] call screenlayer + jsr screenlayer + jmp textcolor1 + // main::textcolor1 + textcolor1: + // [45] vera_layer_set_textcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [46] call vera_layer_set_textcolor + // [197] phi from main::textcolor1 to vera_layer_set_textcolor [phi:main::textcolor1->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor1: + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor1->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#1 [phi:main::textcolor1->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + jmp bgcolor1 + // main::bgcolor1 + bgcolor1: + // [47] vera_layer_set_backcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [48] call vera_layer_set_backcolor + // [200] phi from main::bgcolor1 to vera_layer_set_backcolor [phi:main::bgcolor1->vera_layer_set_backcolor] + vera_layer_set_backcolor_from_bgcolor1: + // [200] phi vera_layer_set_backcolor::color#4 = BLACK [phi:main::bgcolor1->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#1 [phi:main::bgcolor1->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [49] phi from main::bgcolor1 to main::@6 [phi:main::bgcolor1->main::@6] + __b6_from_bgcolor1: + jmp __b6 + // main::@6 + __b6: + // [50] call clrscr + jsr clrscr + // [51] phi from main::@6 to main::@15 [phi:main::@6->main::@15] + __b15_from___b6: + jmp __b15 + // main::@15 + __b15: + // [52] call gotoxy + // [208] phi from main::@15 to gotoxy [phi:main::@15->gotoxy] + gotoxy_from___b15: + // [208] phi gotoxy::y#7 = $19 [phi:main::@15->gotoxy#0] -- vbuxx=vbuc1 + ldx #$19 + jsr gotoxy + // [53] phi from main::@15 to main::@16 [phi:main::@15->main::@16] + __b16_from___b15: + jmp __b16 + // main::@16 + __b16: + // [54] call cputs + // [346] phi from main::@16 to cputs [phi:main::@16->cputs] + cputs_from___b16: + // [346] phi cputs::s#9 = main::s [phi:main::@16->cputs#0] -- pbuz1=pbuc1 + lda #s + sta.z cputs.s+1 + jsr cputs + // [55] phi from main::@16 to main::@17 [phi:main::@16->main::@17] + __b17_from___b16: + jmp __b17 + // main::@17 + __b17: + // [56] call cputs + // [346] phi from main::@17 to cputs [phi:main::@17->cputs] + cputs_from___b17: + // [346] phi cputs::s#9 = main::s1 [phi:main::@17->cputs#0] -- pbuz1=pbuc1 + lda #s1 + sta.z cputs.s+1 + jsr cputs + // [57] phi from main::@17 to main::@18 [phi:main::@17->main::@18] + __b18_from___b17: + jmp __b18 + // main::@18 + __b18: + // [58] call cputs + // [346] phi from main::@18 to cputs [phi:main::@18->cputs] + cputs_from___b18: + // [346] phi cputs::s#9 = main::s2 [phi:main::@18->cputs#0] -- pbuz1=pbuc1 + lda #s2 + sta.z cputs.s+1 + jsr cputs + // [59] phi from main::@18 to main::@19 [phi:main::@18->main::@19] + __b19_from___b18: + jmp __b19 + // main::@19 + __b19: + // [60] call cputs + // [346] phi from main::@19 to cputs [phi:main::@19->cputs] + cputs_from___b19: + // [346] phi cputs::s#9 = main::s3 [phi:main::@19->cputs#0] -- pbuz1=pbuc1 + lda #s3 + sta.z cputs.s+1 + jsr cputs + jmp vera_layer_show1 + // main::vera_layer_show1 + vera_layer_show1: + // [61] *VERA_DC_VIDEO = *VERA_DC_VIDEO | *vera_layer_enable -- _deref_pbuc1=_deref_pbuc1_bor__deref_pbuc2 + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + // [62] phi from main::vera_layer_show1 to main::@7 [phi:main::vera_layer_show1->main::@7] + __b7_from_vera_layer_show1: + jmp __b7 + // main::@7 + __b7: + // [63] call bitmap_init + jsr bitmap_init + // [64] phi from main::@7 to main::@20 [phi:main::@7->main::@20] + __b20_from___b7: + jmp __b20 + // main::@20 + __b20: + // [65] call bitmap_clear + jsr bitmap_clear + // [66] phi from main::@20 to main::@21 [phi:main::@20->main::@21] + __b21_from___b20: + jmp __b21 + // main::@21 + __b21: + // [67] call gotoxy + // [208] phi from main::@21 to gotoxy [phi:main::@21->gotoxy] + gotoxy_from___b21: + // [208] phi gotoxy::y#7 = $1d [phi:main::@21->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1d + jsr gotoxy + jmp textcolor2 + // main::textcolor2 + textcolor2: + // [68] vera_layer_set_textcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [69] call vera_layer_set_textcolor + // [197] phi from main::textcolor2 to vera_layer_set_textcolor [phi:main::textcolor2->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor2: + // [197] phi vera_layer_set_textcolor::color#6 = YELLOW [phi:main::textcolor2->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #YELLOW + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#2 [phi:main::textcolor2->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // [70] phi from main::textcolor2 to main::@8 [phi:main::textcolor2->main::@8] + __b8_from_textcolor2: + jmp __b8 + // main::@8 + __b8: + // [71] call cputs + // [346] phi from main::@8 to cputs [phi:main::@8->cputs] + cputs_from___b8: + // [346] phi cputs::s#9 = main::s4 [phi:main::@8->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [72] phi from main::@8 to main::@1 [phi:main::@8->main::@1] + __b1_from___b8: + // [72] phi rand_state#23 = 1 [phi:main::@8->main::@1#0] -- vwuz1=vwuc1 + lda #<1 + sta.z rand_state + lda #>1 + sta.z rand_state+1 + jmp __b1 + // main::@1 + __b1: + // [73] call kbhit + jsr kbhit + // [74] kbhit::return#2 = kbhit::return#1 + jmp __b22 + // main::@22 + __b22: + // [75] main::$30 = kbhit::return#2 + // [76] if(0==main::$30) goto main::@2 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b2_from___b22 + jmp textcolor3 + // main::textcolor3 + textcolor3: + // [77] vera_layer_set_textcolor::layer#3 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [78] call vera_layer_set_textcolor + // [197] phi from main::textcolor3 to vera_layer_set_textcolor [phi:main::textcolor3->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor3: + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor3->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#3 [phi:main::textcolor3->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + jmp bgcolor2 + // main::bgcolor2 + bgcolor2: + // [79] vera_layer_set_backcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [80] call vera_layer_set_backcolor + // [200] phi from main::bgcolor2 to vera_layer_set_backcolor [phi:main::bgcolor2->vera_layer_set_backcolor] + vera_layer_set_backcolor_from_bgcolor2: + // [200] phi vera_layer_set_backcolor::color#4 = BLACK [phi:main::bgcolor2->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#2 [phi:main::bgcolor2->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [81] phi from main::bgcolor2 to main::@9 [phi:main::bgcolor2->main::@9] + __b9_from_bgcolor2: + jmp __b9 + // main::@9 + __b9: + // [82] call clrscr + jsr clrscr + // [83] phi from main::@9 to main::@32 [phi:main::@9->main::@32] + __b32_from___b9: + jmp __b32 + // main::@32 + __b32: + // [84] call gotoxy + // [208] phi from main::@32 to gotoxy [phi:main::@32->gotoxy] + gotoxy_from___b32: + // [208] phi gotoxy::y#7 = $1a [phi:main::@32->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1a + jsr gotoxy + // [85] phi from main::@32 to main::@33 [phi:main::@32->main::@33] + __b33_from___b32: + jmp __b33 + // main::@33 + __b33: + // [86] call cputs + // [346] phi from main::@33 to cputs [phi:main::@33->cputs] + cputs_from___b33: + // [346] phi cputs::s#9 = main::s5 [phi:main::@33->cputs#0] -- pbuz1=pbuc1 + lda #s5 + sta.z cputs.s+1 + jsr cputs + // [87] phi from main::@33 to main::@34 [phi:main::@33->main::@34] + __b34_from___b33: + jmp __b34 + // main::@34 + __b34: + // [88] call gotoxy + // [208] phi from main::@34 to gotoxy [phi:main::@34->gotoxy] + gotoxy_from___b34: + // [208] phi gotoxy::y#7 = $1d [phi:main::@34->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1d + jsr gotoxy + jmp textcolor4 + // main::textcolor4 + textcolor4: + // [89] vera_layer_set_textcolor::layer#4 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [90] call vera_layer_set_textcolor + // [197] phi from main::textcolor4 to vera_layer_set_textcolor [phi:main::textcolor4->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor4: + // [197] phi vera_layer_set_textcolor::color#6 = YELLOW [phi:main::textcolor4->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #YELLOW + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#4 [phi:main::textcolor4->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // [91] phi from main::textcolor4 to main::@10 [phi:main::textcolor4->main::@10] + __b10_from_textcolor4: + jmp __b10 + // main::@10 + __b10: + // [92] call cputs + // [346] phi from main::@10 to cputs [phi:main::@10->cputs] + cputs_from___b10: + // [346] phi cputs::s#9 = main::s4 [phi:main::@10->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [93] phi from main::@10 to main::@3 [phi:main::@10->main::@3] + __b3_from___b10: + // [93] phi main::color#2 = 0 [phi:main::@10->main::@3#0] -- vbuz1=vbuc1 + lda #0 + sta.z color + // [93] phi main::x#3 = 0 [phi:main::@10->main::@3#1] -- vwuz1=vwuc1 + lda #<0 + sta.z x + lda #>0 + sta.z x+1 + jmp __b3 + // main::@3 + __b3: + // [94] call kbhit + jsr kbhit + // [95] kbhit::return#3 = kbhit::return#1 + jmp __b35 + // main::@35 + __b35: + // [96] main::$43 = kbhit::return#3 + // [97] if(0==main::$43) goto main::@4 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b4 + // [98] phi from main::@35 to main::@5 [phi:main::@35->main::@5] + __b5_from___b35: + jmp __b5 + // main::@5 + __b5: + // [99] call screenlayer + jsr screenlayer + jmp textcolor5 + // main::textcolor5 + textcolor5: + // [100] vera_layer_set_textcolor::layer#5 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [101] call vera_layer_set_textcolor + // [197] phi from main::textcolor5 to vera_layer_set_textcolor [phi:main::textcolor5->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor5: + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor5->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#5 [phi:main::textcolor5->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + jmp bgcolor3 + // main::bgcolor3 + bgcolor3: + // [102] vera_layer_set_backcolor::layer#3 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [103] call vera_layer_set_backcolor + // [200] phi from main::bgcolor3 to vera_layer_set_backcolor [phi:main::bgcolor3->vera_layer_set_backcolor] + vera_layer_set_backcolor_from_bgcolor3: + // [200] phi vera_layer_set_backcolor::color#4 = BLUE [phi:main::bgcolor3->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#3 [phi:main::bgcolor3->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [104] phi from main::bgcolor3 to main::@11 [phi:main::bgcolor3->main::@11] + __b11_from_bgcolor3: + jmp __b11 + // main::@11 + __b11: + // [105] call clrscr + jsr clrscr + jmp __breturn + // main::@return + __breturn: + // [106] return + rts + // main::@4 + __b4: + // [107] bitmap_line::x0#1 = main::x#3 + // [108] bitmap_line::x1#1 = main::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_line.x1 + lda.z x+1 + sta.z bitmap_line.x1+1 + // [109] bitmap_line::c#1 = main::color#2 -- vbuxx=vbuz1 + ldx.z color + // [110] call bitmap_line + // [464] phi from main::@4 to bitmap_line [phi:main::@4->bitmap_line] + bitmap_line_from___b4: + // [464] phi bitmap_line::c#10 = bitmap_line::c#1 [phi:main::@4->bitmap_line#0] -- register_copy + // [464] phi bitmap_line::y1#10 = $c7 [phi:main::@4->bitmap_line#1] -- vwuz1=vbuc1 + lda #<$c7 + sta.z bitmap_line.y1 + lda #>$c7 + sta.z bitmap_line.y1+1 + // [464] phi bitmap_line::y0#10 = 0 [phi:main::@4->bitmap_line#2] -- vwuz1=vbuc1 + lda #<0 + sta.z bitmap_line.y0 + lda #>0 + sta.z bitmap_line.y0+1 + // [464] phi bitmap_line::x1#10 = bitmap_line::x1#1 [phi:main::@4->bitmap_line#3] -- register_copy + // [464] phi bitmap_line::x0#10 = bitmap_line::x0#1 [phi:main::@4->bitmap_line#4] -- register_copy + jsr bitmap_line + jmp __b36 + // main::@36 + __b36: + // [111] main::color#1 = ++ main::color#2 -- vbuz1=_inc_vbuz1 + inc.z color + // [112] main::x#1 = ++ main::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [113] if(main::x#1<=$13f) goto main::@37 -- vwuz1_le_vwuc1_then_la1 + lda.z x+1 + cmp #>$13f + bne !+ + lda.z x + cmp #<$13f + !: + bcc __b37_from___b36 + beq __b37_from___b36 + // [93] phi from main::@36 to main::@3 [phi:main::@36->main::@3] + __b3_from___b36: + // [93] phi main::color#2 = main::color#1 [phi:main::@36->main::@3#0] -- register_copy + // [93] phi main::x#3 = 0 [phi:main::@36->main::@3#1] -- vwuz1=vbuc1 + lda #<0 + sta.z x + lda #>0 + sta.z x+1 + jmp __b3 + // [114] phi from main::@36 to main::@37 [phi:main::@36->main::@37] + __b37_from___b36: + jmp __b37 + // main::@37 + __b37: + // [93] phi from main::@37 to main::@3 [phi:main::@37->main::@3] + __b3_from___b37: + // [93] phi main::color#2 = main::color#1 [phi:main::@37->main::@3#0] -- register_copy + // [93] phi main::x#3 = main::x#1 [phi:main::@37->main::@3#1] -- register_copy + jmp __b3 + // [115] phi from main::@22 to main::@2 [phi:main::@22->main::@2] + __b2_from___b22: + jmp __b2 + // main::@2 + __b2: + // [116] call rand + // [535] phi from main::@2 to rand [phi:main::@2->rand] + rand_from___b2: + // [535] phi rand_state#13 = rand_state#23 [phi:main::@2->rand#0] -- register_copy + jsr rand + // [117] rand::return#2 = rand::return#0 + jmp __b23 + // main::@23 + __b23: + // [118] modr16u::dividend#0 = rand::return#2 + // [119] call modr16u + // [544] phi from main::@23 to modr16u [phi:main::@23->modr16u] + modr16u_from___b23: + // [544] phi modr16u::divisor#4 = $140 [phi:main::@23->modr16u#0] -- vwuz1=vwuc1 + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#0 [phi:main::@23->modr16u#1] -- register_copy + jsr modr16u + // [120] modr16u::return#2 = modr16u::return#0 + jmp __b24 + // main::@24 + __b24: + // [121] bitmap_line::x0#0 = modr16u::return#2 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z bitmap_line.x0 + lda.z modr16u.return+1 + sta.z bitmap_line.x0+1 + // [122] call rand + // [535] phi from main::@24 to rand [phi:main::@24->rand] + rand_from___b24: + // [535] phi rand_state#13 = rand_state#14 [phi:main::@24->rand#0] -- register_copy + jsr rand + // [123] rand::return#3 = rand::return#0 + jmp __b25 + // main::@25 + __b25: + // [124] modr16u::dividend#1 = rand::return#3 + // [125] call modr16u + // [544] phi from main::@25 to modr16u [phi:main::@25->modr16u] + modr16u_from___b25: + // [544] phi modr16u::divisor#4 = $140 [phi:main::@25->modr16u#0] -- vwuz1=vwuc1 + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#1 [phi:main::@25->modr16u#1] -- register_copy + jsr modr16u + // [126] modr16u::return#3 = modr16u::return#0 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z modr16u.return_1 + lda.z modr16u.return+1 + sta.z modr16u.return_1+1 + jmp __b26 + // main::@26 + __b26: + // [127] bitmap_line::x1#0 = modr16u::return#3 + // [128] call rand + // [535] phi from main::@26 to rand [phi:main::@26->rand] + rand_from___b26: + // [535] phi rand_state#13 = rand_state#14 [phi:main::@26->rand#0] -- register_copy + jsr rand + // [129] rand::return#10 = rand::return#0 + jmp __b27 + // main::@27 + __b27: + // [130] modr16u::dividend#2 = rand::return#10 + // [131] call modr16u + // [544] phi from main::@27 to modr16u [phi:main::@27->modr16u] + modr16u_from___b27: + // [544] phi modr16u::divisor#4 = $c8 [phi:main::@27->modr16u#0] -- vwuz1=vbuc1 + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#2 [phi:main::@27->modr16u#1] -- register_copy + jsr modr16u + // [132] modr16u::return#4 = modr16u::return#0 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z modr16u.return_2 + lda.z modr16u.return+1 + sta.z modr16u.return_2+1 + jmp __b28 + // main::@28 + __b28: + // [133] bitmap_line::y0#0 = modr16u::return#4 + // [134] call rand + // [535] phi from main::@28 to rand [phi:main::@28->rand] + rand_from___b28: + // [535] phi rand_state#13 = rand_state#14 [phi:main::@28->rand#0] -- register_copy + jsr rand + // [135] rand::return#11 = rand::return#0 + jmp __b29 + // main::@29 + __b29: + // [136] modr16u::dividend#3 = rand::return#11 + // [137] call modr16u + // [544] phi from main::@29 to modr16u [phi:main::@29->modr16u] + modr16u_from___b29: + // [544] phi modr16u::divisor#4 = $c8 [phi:main::@29->modr16u#0] -- vwuz1=vbuc1 + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#3 [phi:main::@29->modr16u#1] -- register_copy + jsr modr16u + // [138] modr16u::return#10 = modr16u::return#0 + jmp __b30 + // main::@30 + __b30: + // [139] bitmap_line::y1#0 = modr16u::return#10 + // [140] call rand + // [535] phi from main::@30 to rand [phi:main::@30->rand] + rand_from___b30: + // [535] phi rand_state#13 = rand_state#14 [phi:main::@30->rand#0] -- register_copy + jsr rand + // [141] rand::return#12 = rand::return#0 + jmp __b31 + // main::@31 + __b31: + // [142] main::$40 = rand::return#12 + // [143] bitmap_line::c#0 = main::$40 & $ff -- vbuxx=vwuz1_band_vbuc1 + lda #$ff + and.z __40 + tax + // [144] call bitmap_line + // [464] phi from main::@31 to bitmap_line [phi:main::@31->bitmap_line] + bitmap_line_from___b31: + // [464] phi bitmap_line::c#10 = bitmap_line::c#0 [phi:main::@31->bitmap_line#0] -- register_copy + // [464] phi bitmap_line::y1#10 = bitmap_line::y1#0 [phi:main::@31->bitmap_line#1] -- register_copy + // [464] phi bitmap_line::y0#10 = bitmap_line::y0#0 [phi:main::@31->bitmap_line#2] -- register_copy + // [464] phi bitmap_line::x1#10 = bitmap_line::x1#0 [phi:main::@31->bitmap_line#3] -- register_copy + // [464] phi bitmap_line::x0#10 = bitmap_line::x0#0 [phi:main::@31->bitmap_line#4] -- register_copy + jsr bitmap_line + // [72] phi from main::@31 to main::@1 [phi:main::@31->main::@1] + __b1_from___b31: + // [72] phi rand_state#23 = rand_state#14 [phi:main::@31->main::@1#0] -- register_copy + jmp __b1 + .segment Data + s: .text @"vera in bitmap mode,\n" + .byte 0 + s1: .text @"color depth 8 bits per pixel.\n" + .byte 0 + s2: .text @"in this mode, it is possible to display\n" + .byte 0 + s3: .text @"graphics in 256 colors.\n" + .byte 0 + s4: .text "press a key ..." + .byte 0 + s5: .text @"here you see all the colors possible.\n" + .byte 0 +} +.segment Code + // vera_layer_mode_text +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // [146] call vera_layer_mode_tile + // [240] phi from vera_layer_mode_text to vera_layer_mode_tile [phi:vera_layer_mode_text->vera_layer_mode_tile] + vera_layer_mode_tile_from_vera_layer_mode_text: + // [240] phi vera_layer_mode_tile::tileheight#10 = vera_layer_mode_text::tileheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + // [240] phi vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_text::tilewidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + // [240] phi vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_text::tilebase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [240] phi vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_text::mapbase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [240] phi vera_layer_mode_tile::mapheight#10 = vera_layer_mode_text::mapheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#4] -- vwuz1=vwuc1 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + // [240] phi vera_layer_mode_tile::layer#10 = vera_layer_mode_text::layer#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #layer + sta.z vera_layer_mode_tile.layer + // [240] phi vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_text::mapwidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#6] -- vwuz1=vwuc1 + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // [147] phi from vera_layer_mode_text to vera_layer_mode_text::@1 [phi:vera_layer_mode_text->vera_layer_mode_text::@1] + __b1_from_vera_layer_mode_text: + jmp __b1 + // vera_layer_mode_text::@1 + __b1: + // [148] call vera_layer_set_text_color_mode + jsr vera_layer_set_text_color_mode + jmp __breturn + // vera_layer_mode_text::@return + __breturn: + // [149] return + rts +} + // screensize +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // [150] screensize::hscale#0 = *VERA_DC_HSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // [151] screensize::$1 = $28 << screensize::hscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // [152] *screensize::x#0 = screensize::$1 -- _deref_pbuc1=vbuaa + sta.z x + // [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // [154] screensize::$3 = $1e << screensize::vscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // [155] *screensize::y#0 = screensize::$3 -- _deref_pbuc1=vbuaa + sta.z y + jmp __breturn + // screensize::@return + __breturn: + // [156] return + rts +} + // screenlayer +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $38 + .label __4 = $30 + .label __5 = $35 + .label vera_layer_get_width1_config = $2e + .label vera_layer_get_width1_return = $38 + .label vera_layer_get_height1_config = $32 + .label vera_layer_get_height1_return = $35 + // [157] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // [158] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [159] call vera_layer_get_mapbase_bank + jsr vera_layer_get_mapbase_bank + // [160] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + jmp __b3 + // screenlayer::@3 + __b3: + // [161] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 -- vbuz1=vbuaa + sta.z CONIO_SCREEN_BANK + // [162] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [163] call vera_layer_get_mapbase_offset + jsr vera_layer_get_mapbase_offset + // [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + jmp __b4 + // screenlayer::@4 + __b4: + // [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 -- vwuz1=vwuz2 + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // [166] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + jmp vera_layer_get_width1 + // screenlayer::vera_layer_get_width1 + vera_layer_get_width1: + // [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 -- vbuaa=vbuaa_ror_4 + lsr + lsr + lsr + lsr + // [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + jmp vera_layer_get_width1___breturn + // screenlayer::vera_layer_get_width1_@return + vera_layer_get_width1___breturn: + // [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + jmp __b1 + // screenlayer::@1 + __b1: + // [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + // [175] conio_width = screenlayer::$2 -- vwuz1=vwuz2 + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // [176] vera_layer_get_rowshift::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [177] call vera_layer_get_rowshift + jsr vera_layer_get_rowshift + // [178] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + jmp __b5 + // screenlayer::@5 + __b5: + // [179] screenlayer::$3 = vera_layer_get_rowshift::return#2 + // [180] conio_rowshift = screenlayer::$3 -- vbuz1=vbuaa + sta.z conio_rowshift + // [181] vera_layer_get_rowskip::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [182] call vera_layer_get_rowskip + jsr vera_layer_get_rowskip + // [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + jmp __b6 + // screenlayer::@6 + __b6: + // [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 + // [185] conio_rowskip = screenlayer::$4 -- vwuz1=vwuz2 + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // [186] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + jmp vera_layer_get_height1 + // screenlayer::vera_layer_get_height1 + vera_layer_get_height1: + // [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 -- vbuaa=vbuaa_ror_6 + rol + rol + rol + and #3 + // [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + jmp vera_layer_get_height1___breturn + // screenlayer::vera_layer_get_height1_@return + vera_layer_get_height1___breturn: + // [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + jmp __b2 + // screenlayer::@2 + __b2: + // [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + // [195] conio_height = screenlayer::$5 -- vwuz1=vwuz2 + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + jmp __breturn + // screenlayer::@return + __breturn: + // [196] return + rts +} + // vera_layer_set_textcolor +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_textcolor: { + // [198] vera_layer_textcolor[vera_layer_set_textcolor::layer#6] = vera_layer_set_textcolor::color#6 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_textcolor,x + jmp __breturn + // vera_layer_set_textcolor::@return + __breturn: + // [199] return + rts +} + // vera_layer_set_backcolor +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // [201] vera_layer_backcolor[vera_layer_set_backcolor::layer#4] = vera_layer_set_backcolor::color#4 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_backcolor,x + jmp __breturn + // vera_layer_set_backcolor::@return + __breturn: + // [202] return + rts +} + // vera_layer_set_mapbase +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $38 + // [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_mapbase::@return + __breturn: + // [207] return + rts +} + // gotoxy +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $30 + .label line_offset = $30 + // [209] if(gotoxy::y#7<=conio_screen_height) goto gotoxy::@4 -- vbuxx_le_vbuz1_then_la1 + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b4_from_gotoxy + // [211] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1] + __b1_from_gotoxy: + // [211] phi gotoxy::y#10 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 + ldx #0 + jmp __b1 + // [210] phi from gotoxy to gotoxy::@4 [phi:gotoxy->gotoxy::@4] + __b4_from_gotoxy: + jmp __b4 + // gotoxy::@4 + __b4: + // [211] phi from gotoxy::@4 to gotoxy::@1 [phi:gotoxy::@4->gotoxy::@1] + __b1_from___b4: + // [211] phi gotoxy::y#10 = gotoxy::y#7 [phi:gotoxy::@4->gotoxy::@1#0] -- register_copy + jmp __b1 + // gotoxy::@1 + __b1: + // [212] if(0gotoxy::@3] + __b3_from___b1: + jmp __b3 + // gotoxy::@3 + __b3: + jmp __b2 + // gotoxy::@2 + __b2: + // [214] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // [215] conio_cursor_y[conio_screen_layer] = gotoxy::y#10 -- pbuc1_derefidx_vbuz1=vbuxx + ldy.z conio_screen_layer + txa + sta conio_cursor_y,y + // [216] gotoxy::$6 = (word)gotoxy::y#10 -- vwuz1=_word_vbuxx + txa + sta.z __6 + lda #0 + sta.z __6+1 + // [217] gotoxy::line_offset#0 = gotoxy::$6 << conio_rowshift -- vwuz1=vwuz1_rol_vbuz2 + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // [218] gotoxy::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [219] conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + jmp __breturn + // gotoxy::@return + __breturn: + // [220] return + rts +} + // memcpy_in_vram +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte register(Y) dest_bank, void* zp($15) dest, byte* zp($13) src, word zp($17) num) +memcpy_in_vram: { + .label i = $41 + .label dest = $15 + .label src = $13 + .label num = $17 + // [222] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [223] memcpy_in_vram::$0 = < memcpy_in_vram::src#2 -- vbuaa=_lo_pvoz1 + lda.z src + // [224] *VERA_ADDRX_L = memcpy_in_vram::$0 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [225] memcpy_in_vram::$1 = > memcpy_in_vram::src#2 -- vbuaa=_hi_pvoz1 + lda.z src+1 + // [226] *VERA_ADDRX_M = memcpy_in_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [227] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // [228] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_bor_vbuc2 + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // [229] memcpy_in_vram::$3 = < memcpy_in_vram::dest#2 -- vbuaa=_lo_pvoz1 + lda.z dest + // [230] *VERA_ADDRX_L = memcpy_in_vram::$3 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [231] memcpy_in_vram::$4 = > memcpy_in_vram::dest#2 -- vbuaa=_hi_pvoz1 + lda.z dest+1 + // [232] *VERA_ADDRX_M = memcpy_in_vram::$4 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [233] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#2 -- vbuaa=vbuc1_bor_vbuyy + tya + ora #VERA_INC_1 + // [234] *VERA_ADDRX_H = memcpy_in_vram::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [235] phi from memcpy_in_vram to memcpy_in_vram::@1 [phi:memcpy_in_vram->memcpy_in_vram::@1] + __b1_from_memcpy_in_vram: + // [235] phi memcpy_in_vram::i#2 = 0 [phi:memcpy_in_vram->memcpy_in_vram::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z i + lda #>0 + sta.z i+1 + jmp __b1 + // Transfer the data + // memcpy_in_vram::@1 + __b1: + // [236] if(memcpy_in_vram::i#2memcpy_in_vram::@1] + __b1_from___b2: + // [235] phi memcpy_in_vram::i#2 = memcpy_in_vram::i#1 [phi:memcpy_in_vram::@2->memcpy_in_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_layer_mode_tile +// Set a vera layer in tile mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_depth: The color depth in bits per pixel (BPP), which can be 1, 2, 4 or 8. +// vera_layer_mode_tile(byte zp(6) layer, dword zp(7) mapbase_address, dword zp($b) tilebase_address, word zp($30) mapwidth, word zp($2e) mapheight, byte zp($f) tilewidth, byte zp($10) tileheight) +vera_layer_mode_tile: { + .label __1 = $32 + .label __2 = $35 + .label __4 = $4c + .label __7 = $38 + .label __8 = $3a + .label __10 = $3c + .label __19 = $34 + .label __20 = $37 + .label mapbase_address = 7 + .label tilebase_address = $b + .label mapwidth = $30 + .label layer = 6 + .label mapheight = $2e + .label tilewidth = $f + .label tileheight = $10 + jmp __b1 + // vera_layer_mode_tile::@1 + __b1: + // [241] if(vera_layer_mode_tile::mapwidth#10==$20) goto vera_layer_mode_tile::@5 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b5 + !: + jmp __b2 + // vera_layer_mode_tile::@2 + __b2: + // [242] if(vera_layer_mode_tile::mapwidth#10==$40) goto vera_layer_mode_tile::@6 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b6 + !: + jmp __b3 + // vera_layer_mode_tile::@3 + __b3: + // [243] if(vera_layer_mode_tile::mapwidth#10==$80) goto vera_layer_mode_tile::@7 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b7 + !: + jmp __b4 + // vera_layer_mode_tile::@4 + __b4: + // [244] if(vera_layer_mode_tile::mapwidth#10!=$100) goto vera_layer_mode_tile::@9 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapwidth+1 + cmp #>$100 + bne __b9_from___b4 + lda.z mapwidth + cmp #<$100 + bne __b9_from___b4 + jmp __b8 + // vera_layer_mode_tile::@8 + __b8: + // [245] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 9 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // [246] vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [247] vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@8 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@8->vera_layer_mode_tile::@9] + __b9_from___b8: + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_256 [phi:vera_layer_mode_tile::@8->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_256 + jmp __b9 + // [248] phi from vera_layer_mode_tile::@4 vera_layer_mode_tile::@5 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@4/vera_layer_mode_tile::@5->vera_layer_mode_tile::@9] + __b9_from___b4: + __b9_from___b5: + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_COLOR_DEPTH_1BPP [phi:vera_layer_mode_tile::@4/vera_layer_mode_tile::@5->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_1BPP + jmp __b9 + // vera_layer_mode_tile::@9 + __b9: + // [249] if(vera_layer_mode_tile::mapheight#10==$20) goto vera_layer_mode_tile::@16 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b16_from___b9 + !: + jmp __b10 + // vera_layer_mode_tile::@10 + __b10: + // [250] if(vera_layer_mode_tile::mapheight#10==$40) goto vera_layer_mode_tile::@13 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b13 + !: + jmp __b11 + // vera_layer_mode_tile::@11 + __b11: + // [251] if(vera_layer_mode_tile::mapheight#10==$80) goto vera_layer_mode_tile::@14 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b14 + !: + jmp __b12 + // vera_layer_mode_tile::@12 + __b12: + // [252] if(vera_layer_mode_tile::mapheight#10!=$100) goto vera_layer_mode_tile::@16 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapheight+1 + cmp #>$100 + bne __b16_from___b12 + lda.z mapheight + cmp #<$100 + bne __b16_from___b12 + jmp __b15 + // vera_layer_mode_tile::@15 + __b15: + // [253] vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + // [254] phi from vera_layer_mode_tile::@12 vera_layer_mode_tile::@13 vera_layer_mode_tile::@14 vera_layer_mode_tile::@15 vera_layer_mode_tile::@9 to vera_layer_mode_tile::@16 [phi:vera_layer_mode_tile::@12/vera_layer_mode_tile::@13/vera_layer_mode_tile::@14/vera_layer_mode_tile::@15/vera_layer_mode_tile::@9->vera_layer_mode_tile::@16] + __b16_from___b12: + __b16_from___b13: + __b16_from___b14: + __b16_from___b15: + __b16_from___b9: + // [254] phi vera_layer_mode_tile::config#25 = vera_layer_mode_tile::config#21 [phi:vera_layer_mode_tile::@12/vera_layer_mode_tile::@13/vera_layer_mode_tile::@14/vera_layer_mode_tile::@15/vera_layer_mode_tile::@9->vera_layer_mode_tile::@16#0] -- register_copy + jmp __b16 + // vera_layer_mode_tile::@16 + __b16: + // [255] vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [256] vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + // [257] call vera_layer_set_config + // [564] phi from vera_layer_mode_tile::@16 to vera_layer_set_config [phi:vera_layer_mode_tile::@16->vera_layer_set_config] + vera_layer_set_config_from___b16: + // [564] phi vera_layer_set_config::config#2 = vera_layer_set_config::config#0 [phi:vera_layer_mode_tile::@16->vera_layer_set_config#0] -- register_copy + // [564] phi vera_layer_set_config::layer#2 = vera_layer_set_config::layer#0 [phi:vera_layer_mode_tile::@16->vera_layer_set_config#1] -- register_copy + jsr vera_layer_set_config + jmp __b23 + // vera_layer_mode_tile::@23 + __b23: + // [258] vera_layer_mode_tile::$1 = < vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_lo_vduz2 + lda.z mapbase_address + sta.z __1 + lda.z mapbase_address+1 + sta.z __1+1 + // [259] vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#10 << 1 -- vbuz1=vbuz2_rol_1 + lda.z layer + asl + sta.z __19 + // [260] vera_mapbase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$1 -- pwuc1_derefidx_vbuz1=vwuz2 + // mapbase + ldy.z __19 + lda.z __1 + sta vera_mapbase_offset,y + lda.z __1+1 + sta vera_mapbase_offset+1,y + // [261] vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_hi_vduz2 + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 -- vbuz1=vbuz2_rol_2 + lda.z layer + asl + asl + sta.z __20 + // [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // [266] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 -- vwuz1=_lo_vduz2 + lda.z mapbase_address + sta.z __4 + lda.z mapbase_address+1 + sta.z __4+1 + // [267] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 -- vbuxx=_hi_vwuz1 + ldx.z __4+1 + // [268] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [269] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + // [270] call vera_layer_set_mapbase + // [203] phi from vera_layer_mode_tile::@23 to vera_layer_set_mapbase [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b23: + // [203] phi vera_layer_set_mapbase::mapbase#3 = vera_layer_set_mapbase::mapbase#0 [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase#0] -- register_copy + // [203] phi vera_layer_set_mapbase::layer#3 = vera_layer_set_mapbase::layer#0 [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase#1] -- register_copy + jsr vera_layer_set_mapbase + jmp __b24 + // vera_layer_mode_tile::@24 + __b24: + // [271] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_lo_vduz2 + lda.z tilebase_address + sta.z __7 + lda.z tilebase_address+1 + sta.z __7+1 + // [272] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 -- pwuc1_derefidx_vbuz1=vwuz2 + // tilebase + ldy.z __19 + lda.z __7 + sta vera_tilebase_offset,y + lda.z __7+1 + sta vera_tilebase_offset+1,y + // [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_hi_vduz2 + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // [277] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 -- vwuz1=_lo_vduz2 + lda.z tilebase_address + sta.z __10 + lda.z tilebase_address+1 + sta.z __10+1 + // [278] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 -- vbuaa=_hi_vwuz1 + lda.z __10+1 + // [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK -- vbuxx=vbuaa_band_vbuc1 + and #VERA_LAYER_TILEBASE_MASK + tax + // [280] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@19 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tilewidth + beq __b19_from___b24 + jmp __b17 + // vera_layer_mode_tile::@17 + __b17: + // [281] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@19 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tilewidth + bne __b19_from___b17 + jmp __b18 + // vera_layer_mode_tile::@18 + __b18: + // [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_WIDTH_16 + tax + // [283] phi from vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@24 to vera_layer_mode_tile::@19 [phi:vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@24->vera_layer_mode_tile::@19] + __b19_from___b17: + __b19_from___b18: + __b19_from___b24: + // [283] phi vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#1 [phi:vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@24->vera_layer_mode_tile::@19#0] -- register_copy + jmp __b19 + // vera_layer_mode_tile::@19 + __b19: + // [284] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@22 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tileheight + beq __b22_from___b19 + jmp __b20 + // vera_layer_mode_tile::@20 + __b20: + // [285] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@22 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tileheight + bne __b22_from___b20 + jmp __b21 + // vera_layer_mode_tile::@21 + __b21: + // [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_HEIGHT_16 + tax + // [287] phi from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 to vera_layer_mode_tile::@22 [phi:vera_layer_mode_tile::@19/vera_layer_mode_tile::@20/vera_layer_mode_tile::@21->vera_layer_mode_tile::@22] + __b22_from___b19: + __b22_from___b20: + __b22_from___b21: + // [287] phi vera_layer_mode_tile::tilebase#10 = vera_layer_mode_tile::tilebase#12 [phi:vera_layer_mode_tile::@19/vera_layer_mode_tile::@20/vera_layer_mode_tile::@21->vera_layer_mode_tile::@22#0] -- register_copy + jmp __b22 + // vera_layer_mode_tile::@22 + __b22: + // [288] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [289] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + // [290] call vera_layer_set_tilebase + // [569] phi from vera_layer_mode_tile::@22 to vera_layer_set_tilebase [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase] + vera_layer_set_tilebase_from___b22: + // [569] phi vera_layer_set_tilebase::tilebase#2 = vera_layer_set_tilebase::tilebase#0 [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase#0] -- register_copy + // [569] phi vera_layer_set_tilebase::layer#2 = vera_layer_set_tilebase::layer#0 [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase#1] -- register_copy + jsr vera_layer_set_tilebase + jmp __breturn + // vera_layer_mode_tile::@return + __breturn: + // [291] return + rts + // vera_layer_mode_tile::@14 + __b14: + // [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_128 + tax + jmp __b16_from___b14 + // vera_layer_mode_tile::@13 + __b13: + // [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_64 + tax + jmp __b16_from___b13 + // vera_layer_mode_tile::@7 + __b7: + // [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #8 + ldy.z layer + sta vera_layer_rowshift,y + // [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$100 + sta vera_layer_rowskip,y + lda #>$100 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@7 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@7->vera_layer_mode_tile::@9] + __b9_from___b7: + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_128 [phi:vera_layer_mode_tile::@7->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_128 + jmp __b9 + // vera_layer_mode_tile::@6 + __b6: + // [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@6 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@6->vera_layer_mode_tile::@9] + __b9_from___b6: + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_64 [phi:vera_layer_mode_tile::@6->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_64 + jmp __b9 + // vera_layer_mode_tile::@5 + __b5: + // [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b9_from___b5 +} + // vera_layer_mode_bitmap +// Set a vera layer in bitmap mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_bitmap: { + .const layer = 0 + .const bitmap_address = 0 + // config + .const config = VERA_LAYER_COLOR_DEPTH_8BPP|VERA_LAYER_CONFIG_MODE_BITMAP + .const tilebase = 0 + jmp __b1 + // vera_layer_mode_bitmap::@1 + __b1: + // [304] *vera_tilebase_offset = 0 -- _deref_pwuc1=vwuc2 + // tilebase + lda #<0 + sta vera_tilebase_offset + lda #>0 + sta vera_tilebase_offset+1 + // [305] *vera_tilebase_bank = 0 -- _deref_pbuc1=vbuc2 + lda #0 + sta vera_tilebase_bank + // [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 -- _deref_pduc1=vduc2 + lda #bitmap_address + sta vera_tilebase_address+1 + lda #>$10 + sta vera_tilebase_address+2 + lda #>bitmap_address>>$10 + sta vera_tilebase_address+3 + jmp vera_display_set_scale_double1 + // vera_layer_mode_bitmap::vera_display_set_scale_double1 + vera_display_set_scale_double1: + // [307] *VERA_DC_HSCALE = $40 -- _deref_pbuc1=vbuc2 + lda #$40 + sta VERA_DC_HSCALE + // [308] *VERA_DC_VSCALE = $40 -- _deref_pbuc1=vbuc2 + lda #$40 + sta VERA_DC_VSCALE + // [309] phi from vera_layer_mode_bitmap::vera_display_set_scale_double1 to vera_layer_mode_bitmap::@2 [phi:vera_layer_mode_bitmap::vera_display_set_scale_double1->vera_layer_mode_bitmap::@2] + __b2_from_vera_display_set_scale_double1: + jmp __b2 + // vera_layer_mode_bitmap::@2 + __b2: + // [310] call vera_layer_set_config + // [564] phi from vera_layer_mode_bitmap::@2 to vera_layer_set_config [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config] + vera_layer_set_config_from___b2: + // [564] phi vera_layer_set_config::config#2 = vera_layer_mode_bitmap::config#11 [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config#0] -- vbuxx=vbuc1 + ldx #config + // [564] phi vera_layer_set_config::layer#2 = vera_layer_mode_bitmap::layer#0 [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config#1] -- vbuaa=vbuc1 + lda #layer + jsr vera_layer_set_config + // [311] phi from vera_layer_mode_bitmap::@2 to vera_layer_mode_bitmap::@3 [phi:vera_layer_mode_bitmap::@2->vera_layer_mode_bitmap::@3] + __b3_from___b2: + jmp __b3 + // vera_layer_mode_bitmap::@3 + __b3: + // [312] call vera_layer_set_tilebase + // [569] phi from vera_layer_mode_bitmap::@3 to vera_layer_set_tilebase [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase] + vera_layer_set_tilebase_from___b3: + // [569] phi vera_layer_set_tilebase::tilebase#2 = vera_layer_mode_bitmap::tilebase#1 [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase#0] -- vbuxx=vbuc1 + ldx #tilebase + // [569] phi vera_layer_set_tilebase::layer#2 = vera_layer_mode_bitmap::layer#0 [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase#1] -- vbuaa=vbuc1 + lda #layer + jsr vera_layer_set_tilebase + jmp __breturn + // vera_layer_mode_bitmap::@return + __breturn: + // [313] return + rts +} + // clrscr +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3e + .label line_text = $13 + .label color = $3e + // [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 -- pbuz1=pbuz2 + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // [315] vera_layer_get_backcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [316] call vera_layer_get_backcolor + jsr vera_layer_get_backcolor + // [317] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + jmp __b7 + // clrscr::@7 + __b7: + // [318] clrscr::$0 = vera_layer_get_backcolor::return#2 + // [319] clrscr::$1 = clrscr::$0 << 4 -- vbuz1=vbuaa_rol_4 + asl + asl + asl + asl + sta.z __1 + // [320] vera_layer_get_textcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [321] call vera_layer_get_textcolor + jsr vera_layer_get_textcolor + // [322] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + jmp __b8 + // clrscr::@8 + __b8: + // [323] clrscr::$2 = vera_layer_get_textcolor::return#2 + // [324] clrscr::color#0 = clrscr::$1 | clrscr::$2 -- vbuz1=vbuz1_bor_vbuaa + ora.z color + sta.z color + // [325] phi from clrscr::@8 to clrscr::@1 [phi:clrscr::@8->clrscr::@1] + __b1_from___b8: + // [325] phi clrscr::line_text#2 = clrscr::line_text#0 [phi:clrscr::@8->clrscr::@1#0] -- register_copy + // [325] phi clrscr::l#2 = 0 [phi:clrscr::@8->clrscr::@1#1] -- vbuxx=vbuc1 + ldx #0 + jmp __b1 + // clrscr::@1 + __b1: + // [326] if(clrscr::l#2 clrscr::line_text#2 -- vbuaa=_hi_pbuz1 + lda.z line_text+1 + // [336] *VERA_ADDRX_M = clrscr::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [337] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // [338] *VERA_ADDRX_H = clrscr::$7 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [339] phi from clrscr::@2 to clrscr::@4 [phi:clrscr::@2->clrscr::@4] + __b4_from___b2: + // [339] phi clrscr::c#2 = 0 [phi:clrscr::@2->clrscr::@4#0] -- vbuyy=vbuc1 + ldy #0 + jmp __b4 + // clrscr::@4 + __b4: + // [340] if(clrscr::c#2clrscr::@1] + __b1_from___b6: + // [325] phi clrscr::line_text#2 = clrscr::line_text#1 [phi:clrscr::@6->clrscr::@1#0] -- register_copy + // [325] phi clrscr::l#2 = clrscr::l#1 [phi:clrscr::@6->clrscr::@1#1] -- register_copy + jmp __b1 + // clrscr::@5 + __b5: + // [343] *VERA_DATA0 = ' ' -- _deref_pbuc1=vbuc2 + lda #' ' + sta VERA_DATA0 + // [344] *VERA_DATA0 = clrscr::color#0 -- _deref_pbuc1=vbuz1 + lda.z color + sta VERA_DATA0 + // [345] clrscr::c#1 = ++ clrscr::c#2 -- vbuyy=_inc_vbuyy + iny + // [339] phi from clrscr::@5 to clrscr::@4 [phi:clrscr::@5->clrscr::@4] + __b4_from___b5: + // [339] phi clrscr::c#2 = clrscr::c#1 [phi:clrscr::@5->clrscr::@4#0] -- register_copy + jmp __b4 +} + // cputs +// Output a NUL-terminated string at the current cursor position +// cputs(byte* zp($43) s) +cputs: { + .label s = $43 + // [347] phi from cputs cputs::@2 to cputs::@1 [phi:cputs/cputs::@2->cputs::@1] + __b1_from_cputs: + __b1_from___b2: + // [347] phi cputs::s#8 = cputs::s#9 [phi:cputs/cputs::@2->cputs::@1#0] -- register_copy + jmp __b1 + // cputs::@1 + __b1: + // [348] cputs::c#1 = *cputs::s#8 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (s),y + // [349] cputs::s#0 = ++ cputs::s#8 -- pbuz1=_inc_pbuz1 + inc.z s + bne !+ + inc.z s+1 + !: + // [350] if(0!=cputs::c#1) goto cputs::@2 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b2 + jmp __breturn + // cputs::@return + __breturn: + // [351] return + rts + // cputs::@2 + __b2: + // [352] cputc::c#0 = cputs::c#1 -- vbuz1=vbuaa + sta.z cputc.c + // [353] call cputc + jsr cputc + jmp __b1_from___b2 +} + // bitmap_init +// Initialize the bitmap plotter tables for a specific bitmap +bitmap_init: { + .const layer = 0 + .const address = 0 + .label __7 = $41 + .label __10 = $4a + .label __13 = $50 + .label __23 = $43 + .label __24 = $6a + .label __25 = $52 + .label __26 = $72 + .label __28 = $68 + .label vera_layer_get_color_depth1_config = $3f + .label bitmask = $3e + .label x = $15 + .label hdelta = $62 + .label yoffs = $5e + .label y = $17 + .label __29 = $43 + .label __30 = $45 + .label __31 = $48 + .label __32 = $6a + .label __33 = $6c + .label __34 = $6e + .label __35 = $52 + .label __36 = $54 + .label __37 = $56 + .label __38 = $72 + .label __39 = $5a + .label __40 = $5c + .label __41 = $68 + // [354] __bitmap_address = bitmap_init::address#0 -- vduz1=vduc1 + lda #
address + sta.z __bitmap_address+1 + lda #
>$10 + sta.z __bitmap_address+2 + lda #>address>>$10 + sta.z __bitmap_address+3 + // [355] __bitmap_layer = bitmap_init::layer#0 -- vbuz1=vbuc1 + lda #layer + sta.z __bitmap_layer + // [356] bitmap_init::vera_layer_get_color_depth1_layer#0 = __bitmap_layer -- vbuaa=vbuz1 + lda.z __bitmap_layer + jmp vera_layer_get_color_depth1 + // bitmap_init::vera_layer_get_color_depth1 + vera_layer_get_color_depth1: + // [357] bitmap_init::vera_layer_get_color_depth1_$1 = bitmap_init::vera_layer_get_color_depth1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [358] bitmap_init::vera_layer_get_color_depth1_config#0 = vera_layer_config[bitmap_init::vera_layer_get_color_depth1_$1] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_color_depth1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_color_depth1_config+1 + // [359] bitmap_init::vera_layer_get_color_depth1_$0 = *bitmap_init::vera_layer_get_color_depth1_config#0 & VERA_LAYER_COLOR_DEPTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_COLOR_DEPTH_MASK + ldy #0 + and (vera_layer_get_color_depth1_config),y + // [360] bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 + jmp vera_layer_get_color_depth1___breturn + // bitmap_init::vera_layer_get_color_depth1_@return + vera_layer_get_color_depth1___breturn: + // [361] bitmap_init::vera_layer_get_color_depth1_return#1 = bitmap_init::vera_layer_get_color_depth1_return#0 + jmp __b16 + // bitmap_init::@16 + __b16: + // [362] bitmap_init::$0 = bitmap_init::vera_layer_get_color_depth1_return#1 + // [363] __bitmap_color_depth = bitmap_init::$0 -- vbuz1=vbuaa + sta.z __bitmap_color_depth + // [364] call vera_display_get_hscale + // [609] phi from bitmap_init::@16 to vera_display_get_hscale [phi:bitmap_init::@16->vera_display_get_hscale] + vera_display_get_hscale_from___b16: + jsr vera_display_get_hscale + // [365] vera_display_get_hscale::return#2 = vera_display_get_hscale::return#0 + jmp __b17 + // bitmap_init::@17 + __b17: + // [366] bitmap_init::$1 = vera_display_get_hscale::return#2 + // [367] __bitmap_hscale = bitmap_init::$1 -- vbuz1=vbuxx + stx.z __bitmap_hscale + // [368] call vera_display_get_vscale + // [616] phi from bitmap_init::@17 to vera_display_get_vscale [phi:bitmap_init::@17->vera_display_get_vscale] + vera_display_get_vscale_from___b17: + jsr vera_display_get_vscale + // [369] vera_display_get_vscale::return#2 = vera_display_get_vscale::return#0 + jmp __b18 + // bitmap_init::@18 + __b18: + // [370] bitmap_init::$2 = vera_display_get_vscale::return#2 + // [371] __bitmap_vscale = bitmap_init::$2 -- vbuz1=vbuxx + // Returns 1 when 640 and 2 when 320. + stx.z __bitmap_vscale + // [372] bitmap_init::bitmask#0 = bitmasks[__bitmap_color_depth] -- vbuz1=pbuc1_derefidx_vbuz2 + // Returns 1 when 480 and 2 when 240. + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + // [373] bitmap_init::bitshift#0 = bitshifts[__bitmap_color_depth] -- vbsxx=pbsc1_derefidx_vbuz1 + ldy.z __bitmap_color_depth + ldx bitshifts,y + // [374] phi from bitmap_init::@18 to bitmap_init::@1 [phi:bitmap_init::@18->bitmap_init::@1] + __b1_from___b18: + // [374] phi bitmap_init::bitshift#10 = bitmap_init::bitshift#0 [phi:bitmap_init::@18->bitmap_init::@1#0] -- register_copy + // [374] phi bitmap_init::bitmask#10 = bitmap_init::bitmask#0 [phi:bitmap_init::@18->bitmap_init::@1#1] -- register_copy + // [374] phi bitmap_init::x#10 = 0 [phi:bitmap_init::@18->bitmap_init::@1#2] -- vwuz1=vwuc1 + lda #<0 + sta.z x + lda #>0 + sta.z x+1 + jmp __b1 + // [374] phi from bitmap_init::@7 to bitmap_init::@1 [phi:bitmap_init::@7->bitmap_init::@1] + __b1_from___b7: + // [374] phi bitmap_init::bitshift#10 = bitmap_init::bitshift#14 [phi:bitmap_init::@7->bitmap_init::@1#0] -- register_copy + // [374] phi bitmap_init::bitmask#10 = bitmap_init::bitmask#16 [phi:bitmap_init::@7->bitmap_init::@1#1] -- register_copy + // [374] phi bitmap_init::x#10 = bitmap_init::x#1 [phi:bitmap_init::@7->bitmap_init::@1#2] -- register_copy + jmp __b1 + // bitmap_init::@1 + __b1: + // [375] if(__bitmap_color_depth!=0) goto bitmap_init::@2 -- vbuz1_neq_0_then_la1 + lda.z __bitmap_color_depth + cmp #0 + bne __b2_from___b1 + jmp __b8 + // bitmap_init::@8 + __b8: + // [376] bitmap_init::$7 = bitmap_init::x#10 >> 3 -- vwuz1=vwuz2_ror_3 + lda.z x+1 + lsr + sta.z __7+1 + lda.z x + ror + sta.z __7 + lsr.z __7+1 + ror.z __7 + lsr.z __7+1 + ror.z __7 + // [377] bitmap_init::$23 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __23 + lda.z x+1 + rol + sta.z __23+1 + // [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __29 + adc #<__bitmap_plot_x + sta.z __29 + lda.z __29+1 + adc #>__bitmap_plot_x + sta.z __29+1 + // [379] *bitmap_init::$29 = bitmap_init::$7 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __7 + sta (__29),y + iny + lda.z __7+1 + sta (__29),y + // [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __30 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __30+1 + // [381] *bitmap_init::$30 = bitmap_init::bitmask#10 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__30),y + // [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __31 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __31+1 + // [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (__31),y + // [384] bitmap_init::bitshift#1 = bitmap_init::bitshift#10 - 1 -- vbsxx=vbsxx_minus_1 + dex + // [385] bitmap_init::bitmask#1 = bitmap_init::bitmask#10 >> 1 -- vbuz1=vbuz1_ror_1 + lsr.z bitmask + // [386] phi from bitmap_init::@1 bitmap_init::@8 to bitmap_init::@2 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2] + __b2_from___b1: + __b2_from___b8: + // [386] phi bitmap_init::bitshift#11 = bitmap_init::bitshift#10 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2#0] -- register_copy + // [386] phi bitmap_init::bitmask#11 = bitmap_init::bitmask#10 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2#1] -- register_copy + jmp __b2 + // bitmap_init::@2 + __b2: + // [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 -- vbuz1_neq_vbuc1_then_la1 + lda #1 + cmp.z __bitmap_color_depth + bne __b3_from___b2 + jmp __b9 + // bitmap_init::@9 + __b9: + // [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 -- vwuz1=vwuz2_ror_2 + lda.z x+1 + lsr + sta.z __10+1 + lda.z x + ror + sta.z __10 + lsr.z __10+1 + ror.z __10 + // [389] bitmap_init::$24 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __24 + lda.z x+1 + rol + sta.z __24+1 + // [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __32 + adc #<__bitmap_plot_x + sta.z __32 + lda.z __32+1 + adc #>__bitmap_plot_x + sta.z __32+1 + // [391] *bitmap_init::$32 = bitmap_init::$10 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __10 + sta (__32),y + iny + lda.z __10+1 + sta (__32),y + // [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __33 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __33+1 + // [393] *bitmap_init::$33 = bitmap_init::bitmask#11 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__33),y + // [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __34 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __34+1 + // [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (__34),y + // [396] bitmap_init::bitshift#2 = bitmap_init::bitshift#11 - 2 -- vbsxx=vbsxx_minus_2 + dex + dex + // [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 -- vbuz1=vbuz1_ror_2 + lda.z bitmask + lsr + lsr + sta.z bitmask + // [398] phi from bitmap_init::@2 bitmap_init::@9 to bitmap_init::@3 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3] + __b3_from___b2: + __b3_from___b9: + // [398] phi bitmap_init::bitshift#12 = bitmap_init::bitshift#11 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3#0] -- register_copy + // [398] phi bitmap_init::bitmask#12 = bitmap_init::bitmask#11 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3#1] -- register_copy + jmp __b3 + // bitmap_init::@3 + __b3: + // [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 -- vbuz1_neq_vbuc1_then_la1 + lda #2 + cmp.z __bitmap_color_depth + bne __b4_from___b3 + jmp __b10 + // bitmap_init::@10 + __b10: + // [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z x+1 + lsr + sta.z __13+1 + lda.z x + ror + sta.z __13 + // [401] bitmap_init::$25 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __25 + lda.z x+1 + rol + sta.z __25+1 + // [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __35 + adc #<__bitmap_plot_x + sta.z __35 + lda.z __35+1 + adc #>__bitmap_plot_x + sta.z __35+1 + // [403] *bitmap_init::$35 = bitmap_init::$13 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __13 + sta (__35),y + iny + lda.z __13+1 + sta (__35),y + // [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __36 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __36+1 + // [405] *bitmap_init::$36 = bitmap_init::bitmask#12 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__36),y + // [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __37 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __37+1 + // [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (__37),y + // [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 -- vbsxx=vbsxx_minus_vbsc1 + txa + sec + sbc #4 + tax + // [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 -- vbuz1=vbuz1_ror_4 + lda.z bitmask + lsr + lsr + lsr + lsr + sta.z bitmask + // [410] phi from bitmap_init::@10 bitmap_init::@3 to bitmap_init::@4 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4] + __b4_from___b10: + __b4_from___b3: + // [410] phi bitmap_init::bitmask#13 = bitmap_init::bitmask#3 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4#0] -- register_copy + // [410] phi bitmap_init::bitshift#13 = bitmap_init::bitshift#3 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4#1] -- register_copy + jmp __b4 + // bitmap_init::@4 + __b4: + // [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 -- vbuz1_neq_vbuc1_then_la1 + lda #3 + cmp.z __bitmap_color_depth + bne __b5 + jmp __b11 + // bitmap_init::@11 + __b11: + // [412] bitmap_init::$26 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __26 + lda.z x+1 + rol + sta.z __26+1 + // [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __38 + adc #<__bitmap_plot_x + sta.z __38 + lda.z __38+1 + adc #>__bitmap_plot_x + sta.z __38+1 + // [414] *bitmap_init::$38 = bitmap_init::x#10 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z x + sta (__38),y + iny + lda.z x+1 + sta (__38),y + // [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __39 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __39+1 + // [416] *bitmap_init::$39 = bitmap_init::bitmask#13 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__39),y + // [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __40 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __40+1 + // [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (__40),y + jmp __b5 + // bitmap_init::@5 + __b5: + // [419] if(bitmap_init::bitshift#13>=0) goto bitmap_init::@6 -- vbsxx_ge_0_then_la1 + cpx #0 + bpl __b6_from___b5 + jmp __b12 + // bitmap_init::@12 + __b12: + // [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] -- vbsxx=pbsc1_derefidx_vbuz1 + ldy.z __bitmap_color_depth + ldx bitshifts,y + // [421] phi from bitmap_init::@12 bitmap_init::@5 to bitmap_init::@6 [phi:bitmap_init::@12/bitmap_init::@5->bitmap_init::@6] + __b6_from___b12: + __b6_from___b5: + // [421] phi bitmap_init::bitshift#14 = bitmap_init::bitshift#4 [phi:bitmap_init::@12/bitmap_init::@5->bitmap_init::@6#0] -- register_copy + jmp __b6 + // bitmap_init::@6 + __b6: + // [422] if(bitmap_init::bitmask#13!=0) goto bitmap_init::@7 -- vbuz1_neq_0_then_la1 + lda.z bitmask + cmp #0 + bne __b7_from___b6 + jmp __b13 + // bitmap_init::@13 + __b13: + // [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + // [424] phi from bitmap_init::@13 bitmap_init::@6 to bitmap_init::@7 [phi:bitmap_init::@13/bitmap_init::@6->bitmap_init::@7] + __b7_from___b13: + __b7_from___b6: + // [424] phi bitmap_init::bitmask#16 = bitmap_init::bitmask#4 [phi:bitmap_init::@13/bitmap_init::@6->bitmap_init::@7#0] -- register_copy + jmp __b7 + // bitmap_init::@7 + __b7: + // [425] bitmap_init::x#1 = ++ bitmap_init::x#10 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 -- vwuz1_neq_vwuc1_then_la1 + lda.z x+1 + cmp #>$280 + bne __b1_from___b7 + lda.z x + cmp #<$280 + bne __b1_from___b7 + jmp __b14 + // bitmap_init::@14 + __b14: + // [427] bitmap_init::$3 = __bitmap_color_depth << 2 -- vbuaa=vbuz1_rol_2 + lda.z __bitmap_color_depth + asl + asl + // [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale -- vbuaa=vbuaa_plus_vbuz1 + clc + adc.z __bitmap_hscale + // [429] bitmap_init::$27 = bitmap_init::$4 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] -- vwuz1=pwuc1_derefidx_vbuaa + // This sets the right delta to skip a whole line based on the scale, depending on the color depth. + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // [431] bitmap_init::yoffs#0 = __bitmap_address -- vduz1=vduz2 + // We start at the bitmap address; The plot_y contains the bitmap address embedded so we know where a line starts. + lda.z __bitmap_address + sta.z yoffs + lda.z __bitmap_address+1 + sta.z yoffs+1 + lda.z __bitmap_address+2 + sta.z yoffs+2 + lda.z __bitmap_address+3 + sta.z yoffs+3 + // [432] phi from bitmap_init::@14 to bitmap_init::@15 [phi:bitmap_init::@14->bitmap_init::@15] + __b15_from___b14: + // [432] phi bitmap_init::yoffs#2 = bitmap_init::yoffs#0 [phi:bitmap_init::@14->bitmap_init::@15#0] -- register_copy + // [432] phi bitmap_init::y#2 = 0 [phi:bitmap_init::@14->bitmap_init::@15#1] -- vwuz1=vwuc1 + lda #<0 + sta.z y + lda #>0 + sta.z y+1 + jmp __b15 + // [432] phi from bitmap_init::@15 to bitmap_init::@15 [phi:bitmap_init::@15->bitmap_init::@15] + __b15_from___b15: + // [432] phi bitmap_init::yoffs#2 = bitmap_init::yoffs#1 [phi:bitmap_init::@15->bitmap_init::@15#0] -- register_copy + // [432] phi bitmap_init::y#2 = bitmap_init::y#1 [phi:bitmap_init::@15->bitmap_init::@15#1] -- register_copy + jmp __b15 + // bitmap_init::@15 + __b15: + // [433] bitmap_init::$28 = bitmap_init::y#2 << 2 -- vwuz1=vwuz2_rol_2 + lda.z y + asl + sta.z __28 + lda.z y+1 + rol + sta.z __28+1 + asl.z __28 + rol.z __28+1 + // [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 -- pduz1=pduc1_plus_vwuz1 + clc + lda.z __41 + adc #<__bitmap_plot_y + sta.z __41 + lda.z __41+1 + adc #>__bitmap_plot_y + sta.z __41+1 + // [435] *bitmap_init::$41 = bitmap_init::yoffs#2 -- _deref_pduz1=vduz2 + ldy #0 + lda.z yoffs + sta (__41),y + iny + lda.z yoffs+1 + sta (__41),y + iny + lda.z yoffs+2 + sta (__41),y + iny + lda.z yoffs+3 + sta (__41),y + // [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 -- vduz1=vduz1_plus_vwuz2 + lda.z yoffs + clc + adc.z hdelta + sta.z yoffs + lda.z yoffs+1 + adc.z hdelta+1 + sta.z yoffs+1 + lda.z yoffs+2 + adc #0 + sta.z yoffs+2 + lda.z yoffs+3 + adc #0 + sta.z yoffs+3 + // [437] bitmap_init::y#1 = ++ bitmap_init::y#2 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 -- vwuz1_neq_vwuc1_then_la1 + lda.z y+1 + cmp #>$1e0 + bne __b15_from___b15 + lda.z y + cmp #<$1e0 + bne __b15_from___b15 + jmp __breturn + // bitmap_init::@return + __breturn: + // [439] return + rts +} + // bitmap_clear +// Clear all graphics on the bitmap +bitmap_clear: { + .label __3 = $43 + .label vdelta = $41 + .label hdelta = $15 + .label count = $5e + .label vdest = $45 + // [440] bitmap_clear::$7 = __bitmap_vscale << 1 -- vbuaa=vbuz1_rol_1 + lda.z __bitmap_vscale + asl + // [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vdeltas,y + sta.z vdelta + lda vdeltas+1,y + sta.z vdelta+1 + // [442] bitmap_clear::$0 = __bitmap_color_depth << 2 -- vbuaa=vbuz1_rol_2 + lda.z __bitmap_color_depth + asl + asl + // [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale -- vbuaa=vbuaa_plus_vbuz1 + clc + adc.z __bitmap_hscale + // [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // [446] mul16u::a#1 = bitmap_clear::hdelta#0 + // [447] mul16u::b#0 = bitmap_clear::vdelta#0 + // [448] call mul16u + jsr mul16u + // [449] mul16u::return#2 = mul16u::res#2 + jmp __b1 + // bitmap_clear::@1 + __b1: + // [450] bitmap_clear::count#0 = mul16u::return#2 + // [451] bitmap_clear::$3 = > __bitmap_address -- vwuz1=_hi_vduz2 + lda.z __bitmap_address+2 + sta.z __3 + lda.z __bitmap_address+3 + sta.z __3+1 + // [452] bitmap_clear::vbank#0 = < bitmap_clear::$3 -- vbuxx=_lo_vwuz1 + ldx.z __3 + // [453] bitmap_clear::vdest#0 = < __bitmap_address -- vwuz1=_lo_vduz2 + lda.z __bitmap_address + sta.z vdest + lda.z __bitmap_address+1 + sta.z vdest+1 + // [454] memset_vram::vbank#0 = bitmap_clear::vbank#0 + // [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 + // [456] memset_vram::num#0 = bitmap_clear::count#0 + // [457] call memset_vram + jsr memset_vram + jmp __breturn + // bitmap_clear::@return + __breturn: + // [458] return + rts +} + // kbhit +// Return true if there's a key waiting, return false if not +kbhit: { + .label chptr = ch + .label IN_DEV = $28a + // Current input device number + .label GETIN = $ffe4 + .label ch = $47 + // [459] kbhit::ch = 0 -- vbuz1=vbuc1 + lda #0 + sta.z ch + // kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit bne L3 jmp continue1 .var via1 = $9f60 //VIA#1 .var d1pra = via1+1 _kbhit: ldy d1pra // The count of keys pressed is stored in RAM bank 0. stz d1pra // Set d1pra to zero to access RAM bank 0. lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). sty d1pra // Set d1pra to previous value. rts L3: ldy IN_DEV // Save current input device stz IN_DEV // Keyboard phy jsr GETIN // Read char, and return in .A ply sta chptr // Store the character read in ch sty IN_DEV // Restore input device ldx #>$0000 rts continue1: nop }} + // CBM GETIN API + jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + + // [461] kbhit::return#0 = kbhit::ch -- vbuaa=vbuz1 + lda.z ch + jmp __breturn + // kbhit::@return + __breturn: + // [462] kbhit::return#1 = kbhit::return#0 + // [463] return + rts +} + // bitmap_line +// Draw a line on the bitmap +// bitmap_line(word zp(3) x0, word zp($41) x1, word zp($43) y0, word zp($15) y1, byte register(X) c) +bitmap_line: { + .label xd = $17 + .label yd = $3f + .label yd_1 = $45 + .label x0 = 3 + .label x1 = $41 + .label y0 = $43 + .label y1 = $15 + // [465] if(bitmap_line::x0#10bitmap_line_ydxi] + bitmap_line_ydxi_from___b4: + // [645] phi bitmap_line_ydxi::y1#6 = bitmap_line_ydxi::y1#0 [phi:bitmap_line::@4->bitmap_line_ydxi#0] -- register_copy + // [645] phi bitmap_line_ydxi::yd#5 = bitmap_line_ydxi::yd#0 [phi:bitmap_line::@4->bitmap_line_ydxi#1] -- register_copy + // [645] phi bitmap_line_ydxi::c#3 = bitmap_line_ydxi::c#0 [phi:bitmap_line::@4->bitmap_line_ydxi#2] -- register_copy + // [645] phi bitmap_line_ydxi::y#6 = bitmap_line_ydxi::y#0 [phi:bitmap_line::@4->bitmap_line_ydxi#3] -- register_copy + // [645] phi bitmap_line_ydxi::x#5 = bitmap_line_ydxi::x#0 [phi:bitmap_line::@4->bitmap_line_ydxi#4] -- register_copy + // [645] phi bitmap_line_ydxi::xd#2 = bitmap_line_ydxi::xd#0 [phi:bitmap_line::@4->bitmap_line_ydxi#5] -- register_copy + jsr bitmap_line_ydxi + jmp __breturn + // bitmap_line::@return + __breturn: + // [477] return + rts + // bitmap_line::@8 + __b8: + // [478] bitmap_line_xdyi::x#0 = bitmap_line::x1#10 -- vwuz1=vwuz2 + lda.z x1 + sta.z bitmap_line_xdyi.x + lda.z x1+1 + sta.z bitmap_line_xdyi.x+1 + // [479] bitmap_line_xdyi::y#0 = bitmap_line::y1#10 -- vwuz1=vwuz2 + lda.z y1 + sta.z bitmap_line_xdyi.y + lda.z y1+1 + sta.z bitmap_line_xdyi.y+1 + // [480] bitmap_line_xdyi::x1#0 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyi.x1 + lda.z x0+1 + sta.z bitmap_line_xdyi.x1+1 + // [481] bitmap_line_xdyi::xd#0 = bitmap_line::xd#2 + // [482] bitmap_line_xdyi::yd#0 = bitmap_line::yd#2 + // [483] bitmap_line_xdyi::c#0 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyi.c + // [484] call bitmap_line_xdyi + // [661] phi from bitmap_line::@8 to bitmap_line_xdyi [phi:bitmap_line::@8->bitmap_line_xdyi] + bitmap_line_xdyi_from___b8: + // [661] phi bitmap_line_xdyi::x1#6 = bitmap_line_xdyi::x1#0 [phi:bitmap_line::@8->bitmap_line_xdyi#0] -- register_copy + // [661] phi bitmap_line_xdyi::xd#5 = bitmap_line_xdyi::xd#0 [phi:bitmap_line::@8->bitmap_line_xdyi#1] -- register_copy + // [661] phi bitmap_line_xdyi::c#3 = bitmap_line_xdyi::c#0 [phi:bitmap_line::@8->bitmap_line_xdyi#2] -- register_copy + // [661] phi bitmap_line_xdyi::y#5 = bitmap_line_xdyi::y#0 [phi:bitmap_line::@8->bitmap_line_xdyi#3] -- register_copy + // [661] phi bitmap_line_xdyi::x#6 = bitmap_line_xdyi::x#0 [phi:bitmap_line::@8->bitmap_line_xdyi#4] -- register_copy + // [661] phi bitmap_line_xdyi::yd#2 = bitmap_line_xdyi::yd#0 [phi:bitmap_line::@8->bitmap_line_xdyi#5] -- register_copy + jsr bitmap_line_xdyi + jmp __breturn + // bitmap_line::@7 + __b7: + // [485] bitmap_line::yd#1 = bitmap_line::y1#10 - bitmap_line::y0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z y1 + sec + sbc.z y0 + sta.z yd + lda.z y1+1 + sbc.z y0+1 + sta.z yd+1 + // [486] if(bitmap_line::yd#1bitmap_line_ydxd] + bitmap_line_ydxd_from___b10: + // [677] phi bitmap_line_ydxd::y1#6 = bitmap_line_ydxd::y1#0 [phi:bitmap_line::@10->bitmap_line_ydxd#0] -- register_copy + // [677] phi bitmap_line_ydxd::yd#5 = bitmap_line_ydxd::yd#0 [phi:bitmap_line::@10->bitmap_line_ydxd#1] -- register_copy + // [677] phi bitmap_line_ydxd::c#3 = bitmap_line_ydxd::c#0 [phi:bitmap_line::@10->bitmap_line_ydxd#2] -- register_copy + // [677] phi bitmap_line_ydxd::y#7 = bitmap_line_ydxd::y#0 [phi:bitmap_line::@10->bitmap_line_ydxd#3] -- register_copy + // [677] phi bitmap_line_ydxd::x#5 = bitmap_line_ydxd::x#0 [phi:bitmap_line::@10->bitmap_line_ydxd#4] -- register_copy + // [677] phi bitmap_line_ydxd::xd#2 = bitmap_line_ydxd::xd#0 [phi:bitmap_line::@10->bitmap_line_ydxd#5] -- register_copy + jsr bitmap_line_ydxd + jmp __breturn + // bitmap_line::@9 + __b9: + // [494] bitmap_line_xdyd::x#0 = bitmap_line::x1#10 -- vwuz1=vwuz2 + lda.z x1 + sta.z bitmap_line_xdyd.x + lda.z x1+1 + sta.z bitmap_line_xdyd.x+1 + // [495] bitmap_line_xdyd::y#0 = bitmap_line::y1#10 -- vwuz1=vwuz2 + lda.z y1 + sta.z bitmap_line_xdyd.y + lda.z y1+1 + sta.z bitmap_line_xdyd.y+1 + // [496] bitmap_line_xdyd::x1#0 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyd.x1 + lda.z x0+1 + sta.z bitmap_line_xdyd.x1+1 + // [497] bitmap_line_xdyd::xd#0 = bitmap_line::xd#2 + // [498] bitmap_line_xdyd::yd#0 = bitmap_line::yd#1 + // [499] bitmap_line_xdyd::c#0 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyd.c + // [500] call bitmap_line_xdyd + // [693] phi from bitmap_line::@9 to bitmap_line_xdyd [phi:bitmap_line::@9->bitmap_line_xdyd] + bitmap_line_xdyd_from___b9: + // [693] phi bitmap_line_xdyd::x1#6 = bitmap_line_xdyd::x1#0 [phi:bitmap_line::@9->bitmap_line_xdyd#0] -- register_copy + // [693] phi bitmap_line_xdyd::xd#5 = bitmap_line_xdyd::xd#0 [phi:bitmap_line::@9->bitmap_line_xdyd#1] -- register_copy + // [693] phi bitmap_line_xdyd::c#3 = bitmap_line_xdyd::c#0 [phi:bitmap_line::@9->bitmap_line_xdyd#2] -- register_copy + // [693] phi bitmap_line_xdyd::y#5 = bitmap_line_xdyd::y#0 [phi:bitmap_line::@9->bitmap_line_xdyd#3] -- register_copy + // [693] phi bitmap_line_xdyd::x#6 = bitmap_line_xdyd::x#0 [phi:bitmap_line::@9->bitmap_line_xdyd#4] -- register_copy + // [693] phi bitmap_line_xdyd::yd#2 = bitmap_line_xdyd::yd#0 [phi:bitmap_line::@9->bitmap_line_xdyd#5] -- register_copy + jsr bitmap_line_xdyd + jmp __breturn + // bitmap_line::@1 + __b1: + // [501] bitmap_line::xd#1 = bitmap_line::x1#10 - bitmap_line::x0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z x1 + sec + sbc.z x0 + sta.z xd + lda.z x1+1 + sbc.z x0+1 + sta.z xd+1 + // [502] if(bitmap_line::y0#10bitmap_line_ydxd] + bitmap_line_ydxd_from___b6: + // [677] phi bitmap_line_ydxd::y1#6 = bitmap_line_ydxd::y1#1 [phi:bitmap_line::@6->bitmap_line_ydxd#0] -- register_copy + // [677] phi bitmap_line_ydxd::yd#5 = bitmap_line_ydxd::yd#1 [phi:bitmap_line::@6->bitmap_line_ydxd#1] -- register_copy + // [677] phi bitmap_line_ydxd::c#3 = bitmap_line_ydxd::c#1 [phi:bitmap_line::@6->bitmap_line_ydxd#2] -- register_copy + // [677] phi bitmap_line_ydxd::y#7 = bitmap_line_ydxd::y#1 [phi:bitmap_line::@6->bitmap_line_ydxd#3] -- register_copy + // [677] phi bitmap_line_ydxd::x#5 = bitmap_line_ydxd::x#1 [phi:bitmap_line::@6->bitmap_line_ydxd#4] -- register_copy + // [677] phi bitmap_line_ydxd::xd#2 = bitmap_line_ydxd::xd#1 [phi:bitmap_line::@6->bitmap_line_ydxd#5] -- register_copy + jsr bitmap_line_ydxd + jmp __breturn + // bitmap_line::@12 + __b12: + // [512] bitmap_line_xdyd::x#1 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyd.x + lda.z x0+1 + sta.z bitmap_line_xdyd.x+1 + // [513] bitmap_line_xdyd::y#1 = bitmap_line::y0#10 + // [514] bitmap_line_xdyd::x1#1 = bitmap_line::x1#10 + // [515] bitmap_line_xdyd::xd#1 = bitmap_line::xd#1 + // [516] bitmap_line_xdyd::yd#1 = bitmap_line::yd#10 + // [517] bitmap_line_xdyd::c#1 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyd.c + // [518] call bitmap_line_xdyd + // [693] phi from bitmap_line::@12 to bitmap_line_xdyd [phi:bitmap_line::@12->bitmap_line_xdyd] + bitmap_line_xdyd_from___b12: + // [693] phi bitmap_line_xdyd::x1#6 = bitmap_line_xdyd::x1#1 [phi:bitmap_line::@12->bitmap_line_xdyd#0] -- register_copy + // [693] phi bitmap_line_xdyd::xd#5 = bitmap_line_xdyd::xd#1 [phi:bitmap_line::@12->bitmap_line_xdyd#1] -- register_copy + // [693] phi bitmap_line_xdyd::c#3 = bitmap_line_xdyd::c#1 [phi:bitmap_line::@12->bitmap_line_xdyd#2] -- register_copy + // [693] phi bitmap_line_xdyd::y#5 = bitmap_line_xdyd::y#1 [phi:bitmap_line::@12->bitmap_line_xdyd#3] -- register_copy + // [693] phi bitmap_line_xdyd::x#6 = bitmap_line_xdyd::x#1 [phi:bitmap_line::@12->bitmap_line_xdyd#4] -- register_copy + // [693] phi bitmap_line_xdyd::yd#2 = bitmap_line_xdyd::yd#1 [phi:bitmap_line::@12->bitmap_line_xdyd#5] -- register_copy + jsr bitmap_line_xdyd + jmp __breturn + // bitmap_line::@11 + __b11: + // [519] bitmap_line::yd#11 = bitmap_line::y1#10 - bitmap_line::y0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z y1 + sec + sbc.z y0 + sta.z yd_1 + lda.z y1+1 + sbc.z y0+1 + sta.z yd_1+1 + // [520] if(bitmap_line::yd#11bitmap_line_ydxi] + bitmap_line_ydxi_from___b14: + // [645] phi bitmap_line_ydxi::y1#6 = bitmap_line_ydxi::y1#1 [phi:bitmap_line::@14->bitmap_line_ydxi#0] -- register_copy + // [645] phi bitmap_line_ydxi::yd#5 = bitmap_line_ydxi::yd#1 [phi:bitmap_line::@14->bitmap_line_ydxi#1] -- register_copy + // [645] phi bitmap_line_ydxi::c#3 = bitmap_line_ydxi::c#1 [phi:bitmap_line::@14->bitmap_line_ydxi#2] -- register_copy + // [645] phi bitmap_line_ydxi::y#6 = bitmap_line_ydxi::y#1 [phi:bitmap_line::@14->bitmap_line_ydxi#3] -- register_copy + // [645] phi bitmap_line_ydxi::x#5 = bitmap_line_ydxi::x#1 [phi:bitmap_line::@14->bitmap_line_ydxi#4] -- register_copy + // [645] phi bitmap_line_ydxi::xd#2 = bitmap_line_ydxi::xd#1 [phi:bitmap_line::@14->bitmap_line_ydxi#5] -- register_copy + jsr bitmap_line_ydxi + jmp __breturn + // bitmap_line::@13 + __b13: + // [528] bitmap_line_xdyi::x#1 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyi.x + lda.z x0+1 + sta.z bitmap_line_xdyi.x+1 + // [529] bitmap_line_xdyi::y#1 = bitmap_line::y0#10 + // [530] bitmap_line_xdyi::x1#1 = bitmap_line::x1#10 + // [531] bitmap_line_xdyi::xd#1 = bitmap_line::xd#1 + // [532] bitmap_line_xdyi::yd#1 = bitmap_line::yd#11 + // [533] bitmap_line_xdyi::c#1 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyi.c + // [534] call bitmap_line_xdyi + // [661] phi from bitmap_line::@13 to bitmap_line_xdyi [phi:bitmap_line::@13->bitmap_line_xdyi] + bitmap_line_xdyi_from___b13: + // [661] phi bitmap_line_xdyi::x1#6 = bitmap_line_xdyi::x1#1 [phi:bitmap_line::@13->bitmap_line_xdyi#0] -- register_copy + // [661] phi bitmap_line_xdyi::xd#5 = bitmap_line_xdyi::xd#1 [phi:bitmap_line::@13->bitmap_line_xdyi#1] -- register_copy + // [661] phi bitmap_line_xdyi::c#3 = bitmap_line_xdyi::c#1 [phi:bitmap_line::@13->bitmap_line_xdyi#2] -- register_copy + // [661] phi bitmap_line_xdyi::y#5 = bitmap_line_xdyi::y#1 [phi:bitmap_line::@13->bitmap_line_xdyi#3] -- register_copy + // [661] phi bitmap_line_xdyi::x#6 = bitmap_line_xdyi::x#1 [phi:bitmap_line::@13->bitmap_line_xdyi#4] -- register_copy + // [661] phi bitmap_line_xdyi::yd#2 = bitmap_line_xdyi::yd#1 [phi:bitmap_line::@13->bitmap_line_xdyi#5] -- register_copy + jsr bitmap_line_xdyi + jmp __breturn +} + // rand +// Returns a pseudo-random number in the range of 0 to RAND_MAX (65535) +// Uses an xorshift pseudorandom number generator that hits all different values +// Information https://en.wikipedia.org/wiki/Xorshift +// Source http://www.retroprogramming.com/2017/07/xorshift-pseudorandom-numbers-in-z80.html +rand: { + .label __0 = $48 + .label __1 = $4a + .label __2 = $6a + .label return = $13 + // [536] rand::$0 = rand_state#13 << 7 -- vwuz1=vwuz2_rol_7 + lda.z rand_state+1 + lsr + lda.z rand_state + ror + sta.z __0+1 + lda #0 + ror + sta.z __0 + // [537] rand_state#0 = rand_state#13 ^ rand::$0 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __0 + sta.z rand_state + lda.z rand_state+1 + eor.z __0+1 + sta.z rand_state+1 + // [538] rand::$1 = rand_state#0 >> 9 -- vwuz1=vwuz2_ror_9 + lda.z rand_state+1 + lsr + sta.z __1 + lda #0 + sta.z __1+1 + // [539] rand_state#1 = rand_state#0 ^ rand::$1 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __1 + sta.z rand_state + lda.z rand_state+1 + eor.z __1+1 + sta.z rand_state+1 + // [540] rand::$2 = rand_state#1 << 8 -- vwuz1=vwuz2_rol_8 + lda.z rand_state + sta.z __2+1 + lda #0 + sta.z __2 + // [541] rand_state#14 = rand_state#1 ^ rand::$2 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __2 + sta.z rand_state + lda.z rand_state+1 + eor.z __2+1 + sta.z rand_state+1 + // [542] rand::return#0 = rand_state#14 -- vwuz1=vwuz2 + lda.z rand_state + sta.z return + lda.z rand_state+1 + sta.z return+1 + jmp __breturn + // rand::@return + __breturn: + // [543] return + rts +} + // modr16u +// Performs modulo on two 16 bit unsigned ints and an initial remainder +// Returns the remainder. +// Implemented using simple binary division +// modr16u(word zp($13) dividend, word zp($17) divisor) +modr16u: { + .label return = $15 + .label dividend = $13 + .label return_1 = $41 + .label return_2 = $43 + .label divisor = $17 + // [545] divr16u::dividend#1 = modr16u::dividend#4 + // [546] divr16u::divisor#0 = modr16u::divisor#4 + // [547] call divr16u + // [709] phi from modr16u to divr16u [phi:modr16u->divr16u] + divr16u_from_modr16u: + jsr divr16u + jmp __b1 + // modr16u::@1 + __b1: + // [548] modr16u::return#0 = rem16u#0 -- vwuz1=vwuz2 + lda.z rem16u + sta.z return + lda.z rem16u+1 + sta.z return+1 + jmp __breturn + // modr16u::@return + __breturn: + // [549] return + rts +} + // vera_layer_set_text_color_mode +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $4c + // [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) -- pbuz1=_deref_qbuc1 + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C -- _deref_pbuz1=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + ldy #0 + sta (addr),y + // [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 -- _deref_pbuz1=_deref_pbuz1 + ldy #0 + lda (addr),y + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_text_color_mode::@return + __breturn: + // [553] return + rts +} + // vera_layer_get_mapbase_bank +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // [554] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_mapbase_bank,x + jmp __breturn + // vera_layer_get_mapbase_bank::@return + __breturn: + // [555] return + rts +} + // vera_layer_get_mapbase_offset +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $30 + // [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + jmp __breturn + // vera_layer_get_mapbase_offset::@return + __breturn: + // [558] return + rts +} + // vera_layer_get_rowshift +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // [559] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_rowshift,x + jmp __breturn + // vera_layer_get_rowshift::@return + __breturn: + // [560] return + rts +} + // vera_layer_get_rowskip +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $30 + // [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + jmp __breturn + // vera_layer_get_rowskip::@return + __breturn: + // [563] return + rts +} + // vera_layer_set_config +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $4e + // [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_config::@return + __breturn: + // [568] return + rts +} + // vera_layer_set_tilebase +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $4e + // [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_tilebase::@return + __breturn: + // [573] return + rts +} + // vera_layer_get_backcolor +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // [574] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_backcolor,x + jmp __breturn + // vera_layer_get_backcolor::@return + __breturn: + // [575] return + rts +} + // vera_layer_get_textcolor +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // [576] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + jmp __breturn + // vera_layer_get_textcolor::@return + __breturn: + // [577] return + rts +} + // cputc +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3e) c) +cputc: { + .label __16 = $6e + .label conio_addr = $6c + .label c = $3e + // [578] vera_layer_get_color::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [579] call vera_layer_get_color + // [727] phi from cputc to vera_layer_get_color [phi:cputc->vera_layer_get_color] + vera_layer_get_color_from_cputc: + // [727] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#0 [phi:cputc->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // [580] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + jmp __b7 + // cputc::@7 + __b7: + // [581] cputc::color#0 = vera_layer_get_color::return#3 -- vbuxx=vbuaa + tax + // [582] cputc::$15 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 -- vbuaa=pbuc1_derefidx_vbuz1_rol_1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 -- pbuz1=pbuz1_plus_vbuaa + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // [586] if(cputc::c#0==' ') goto cputc::@1 -- vbuz1_eq_vbuc1_then_la1 + lda #'\n' + cmp.z c + beq __b1_from___b7 + jmp __b2 + // cputc::@2 + __b2: + // [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [588] cputc::$4 = < cputc::conio_addr#1 -- vbuaa=_lo_pbuz1 + lda.z conio_addr + // [589] *VERA_ADDRX_L = cputc::$4 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [590] cputc::$5 = > cputc::conio_addr#1 -- vbuaa=_hi_pbuz1 + lda.z conio_addr+1 + // [591] *VERA_ADDRX_M = cputc::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // [593] *VERA_ADDRX_H = cputc::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [594] *VERA_DATA0 = cputc::c#0 -- _deref_pbuc1=vbuz1 + lda.z c + sta VERA_DATA0 + // [595] *VERA_DATA0 = cputc::color#0 -- _deref_pbuc1=vbuxx + stx VERA_DATA0 + // [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_x,x + // [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] -- vbuaa=pbuc1_derefidx_vbuz1 + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // [598] if(0!=cputc::scroll_enable#0) goto cputc::@5 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b5 + jmp __b3 + // cputc::@3 + __b3: + // [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] -- vwuz1=_word_pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // [600] if(cputc::$16!=conio_width) goto cputc::@return -- vwuz1_neq_vwuz2_then_la1 + lda.z __16+1 + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // [601] phi from cputc::@3 to cputc::@4 [phi:cputc::@3->cputc::@4] + __b4_from___b3: + jmp __b4 + // cputc::@4 + __b4: + // [602] call cputln + jsr cputln + jmp __breturn + // cputc::@return + __breturn: + // [603] return + rts + // cputc::@5 + __b5: + // [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return -- pbuc1_derefidx_vbuz1_neq_vbuz2_then_la1 + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // [605] phi from cputc::@5 to cputc::@6 [phi:cputc::@5->cputc::@6] + __b6_from___b5: + jmp __b6 + // cputc::@6 + __b6: + // [606] call cputln + jsr cputln + jmp __breturn + // [607] phi from cputc::@7 to cputc::@1 [phi:cputc::@7->cputc::@1] + __b1_from___b7: + jmp __b1 + // cputc::@1 + __b1: + // [608] call cputln + jsr cputln + jmp __breturn +} + // vera_display_get_hscale +vera_display_get_hscale: { + .const scale = 0 + // [610] phi from vera_display_get_hscale to vera_display_get_hscale::@1 [phi:vera_display_get_hscale->vera_display_get_hscale::@1] + __b1_from_vera_display_get_hscale: + // [610] phi vera_display_get_hscale::s#2 = 1 [phi:vera_display_get_hscale->vera_display_get_hscale::@1#0] -- vbuxx=vbuc1 + ldx #1 + jmp __b1 + // [610] phi from vera_display_get_hscale::@2 to vera_display_get_hscale::@1 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@1] + __b1_from___b2: + // [610] phi vera_display_get_hscale::s#2 = vera_display_get_hscale::s#1 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@1#0] -- register_copy + jmp __b1 + // vera_display_get_hscale::@1 + __b1: + // [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 -- _deref_pbuc1_neq_pbuc2_derefidx_vbuxx_then_la1 + lda hscale,x + cmp VERA_DC_HSCALE + bne __b2 + // [614] phi from vera_display_get_hscale::@1 to vera_display_get_hscale::@3 [phi:vera_display_get_hscale::@1->vera_display_get_hscale::@3] + __b3_from___b1: + // [614] phi vera_display_get_hscale::return#0 = vera_display_get_hscale::s#2 [phi:vera_display_get_hscale::@1->vera_display_get_hscale::@3#0] -- register_copy + jmp __b3 + // vera_display_get_hscale::@2 + __b2: + // [612] vera_display_get_hscale::s#1 = ++ vera_display_get_hscale::s#2 -- vbuxx=_inc_vbuxx + inx + // [613] if(vera_display_get_hscale::s#1!=4) goto vera_display_get_hscale::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #4 + bne __b1_from___b2 + // [614] phi from vera_display_get_hscale::@2 to vera_display_get_hscale::@3 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@3] + __b3_from___b2: + // [614] phi vera_display_get_hscale::return#0 = vera_display_get_hscale::scale#0 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@3#0] -- vbuxx=vbuc1 + ldx #scale + jmp __b3 + // vera_display_get_hscale::@3 + __b3: + jmp __breturn + // vera_display_get_hscale::@return + __breturn: + // [615] return + rts + .segment Data + hscale: .byte 0, $80, $40, $20 +} +.segment Code + // vera_display_get_vscale +vera_display_get_vscale: { + .const scale = 0 + // [617] phi from vera_display_get_vscale to vera_display_get_vscale::@1 [phi:vera_display_get_vscale->vera_display_get_vscale::@1] + __b1_from_vera_display_get_vscale: + // [617] phi vera_display_get_vscale::s#2 = 1 [phi:vera_display_get_vscale->vera_display_get_vscale::@1#0] -- vbuxx=vbuc1 + ldx #1 + jmp __b1 + // [617] phi from vera_display_get_vscale::@2 to vera_display_get_vscale::@1 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@1] + __b1_from___b2: + // [617] phi vera_display_get_vscale::s#2 = vera_display_get_vscale::s#1 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@1#0] -- register_copy + jmp __b1 + // vera_display_get_vscale::@1 + __b1: + // [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 -- _deref_pbuc1_neq_pbuc2_derefidx_vbuxx_then_la1 + lda vscale,x + cmp VERA_DC_VSCALE + bne __b2 + // [621] phi from vera_display_get_vscale::@1 to vera_display_get_vscale::@3 [phi:vera_display_get_vscale::@1->vera_display_get_vscale::@3] + __b3_from___b1: + // [621] phi vera_display_get_vscale::return#0 = vera_display_get_vscale::s#2 [phi:vera_display_get_vscale::@1->vera_display_get_vscale::@3#0] -- register_copy + jmp __b3 + // vera_display_get_vscale::@2 + __b2: + // [619] vera_display_get_vscale::s#1 = ++ vera_display_get_vscale::s#2 -- vbuxx=_inc_vbuxx + inx + // [620] if(vera_display_get_vscale::s#1!=4) goto vera_display_get_vscale::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #4 + bne __b1_from___b2 + // [621] phi from vera_display_get_vscale::@2 to vera_display_get_vscale::@3 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@3] + __b3_from___b2: + // [621] phi vera_display_get_vscale::return#0 = vera_display_get_vscale::scale#0 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@3#0] -- vbuxx=vbuc1 + ldx #scale + jmp __b3 + // vera_display_get_vscale::@3 + __b3: + jmp __breturn + // vera_display_get_vscale::@return + __breturn: + // [622] return + rts + .segment Data + vscale: .byte 0, $80, $40, $20 +} +.segment Code + // mul16u +// Perform binary multiplication of two unsigned 16-bit unsigned ints into a 32-bit unsigned long +// mul16u(word zp($15) a, word zp($41) b) +mul16u: { + .label mb = $64 + .label a = $15 + .label res = $5e + .label b = $41 + .label return = $5e + // [623] mul16u::mb#0 = (dword)mul16u::b#0 -- vduz1=_dword_vwuz2 + lda.z b + sta.z mb + lda.z b+1 + sta.z mb+1 + lda #0 + sta.z mb+2 + sta.z mb+3 + // [624] phi from mul16u to mul16u::@1 [phi:mul16u->mul16u::@1] + __b1_from_mul16u: + // [624] phi mul16u::mb#2 = mul16u::mb#0 [phi:mul16u->mul16u::@1#0] -- register_copy + // [624] phi mul16u::res#2 = 0 [phi:mul16u->mul16u::@1#1] -- vduz1=vduc1 + lda #<0 + sta.z res + lda #>0 + sta.z res+1 + lda #<0>>$10 + sta.z res+2 + lda #>0>>$10 + sta.z res+3 + // [624] phi mul16u::a#2 = mul16u::a#1 [phi:mul16u->mul16u::@1#2] -- register_copy + jmp __b1 + // mul16u::@1 + __b1: + // [625] if(mul16u::a#2!=0) goto mul16u::@2 -- vwuz1_neq_0_then_la1 + lda.z a + ora.z a+1 + bne __b2 + jmp __breturn + // mul16u::@return + __breturn: + // [626] return + rts + // mul16u::@2 + __b2: + // [627] mul16u::$1 = mul16u::a#2 & 1 -- vbuaa=vwuz1_band_vbuc1 + lda #1 + and.z a + // [628] if(mul16u::$1==0) goto mul16u::@3 -- vbuaa_eq_0_then_la1 + cmp #0 + beq __b3_from___b2 + jmp __b4 + // mul16u::@4 + __b4: + // [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 -- vduz1=vduz1_plus_vduz2 + lda.z res + clc + adc.z mb + sta.z res + lda.z res+1 + adc.z mb+1 + sta.z res+1 + lda.z res+2 + adc.z mb+2 + sta.z res+2 + lda.z res+3 + adc.z mb+3 + sta.z res+3 + // [630] phi from mul16u::@2 mul16u::@4 to mul16u::@3 [phi:mul16u::@2/mul16u::@4->mul16u::@3] + __b3_from___b2: + __b3_from___b4: + // [630] phi mul16u::res#6 = mul16u::res#2 [phi:mul16u::@2/mul16u::@4->mul16u::@3#0] -- register_copy + jmp __b3 + // mul16u::@3 + __b3: + // [631] mul16u::a#0 = mul16u::a#2 >> 1 -- vwuz1=vwuz1_ror_1 + lsr.z a+1 + ror.z a + // [632] mul16u::mb#1 = mul16u::mb#2 << 1 -- vduz1=vduz1_rol_1 + asl.z mb + rol.z mb+1 + rol.z mb+2 + rol.z mb+3 + // [624] phi from mul16u::@3 to mul16u::@1 [phi:mul16u::@3->mul16u::@1] + __b1_from___b3: + // [624] phi mul16u::mb#2 = mul16u::mb#1 [phi:mul16u::@3->mul16u::@1#0] -- register_copy + // [624] phi mul16u::res#2 = mul16u::res#6 [phi:mul16u::@3->mul16u::@1#1] -- register_copy + // [624] phi mul16u::a#2 = mul16u::a#0 [phi:mul16u::@3->mul16u::@1#2] -- register_copy + jmp __b1 +} + // memset_vram +// Set block of memory to a value in VRAM. +// Sets num bytes to a value to the memory block pointed to by destination in VRAM. +// - vbank: Which 64K VRAM bank to put data into (0/1) +// - vdest: The destination address in VRAM +// - data: The value to set the vram with. +// - num: The number of bytes to set +// memset_vram(byte register(X) vbank, void* zp($45) vdest, dword zp($5e) num) +memset_vram: { + .const data = 0 + .label i = $64 + .label vdest = $45 + .label num = $5e + // [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [634] memset_vram::$0 = < memset_vram::vdest#0 -- vbuaa=_lo_pvoz1 + lda.z vdest + // [635] *VERA_ADDRX_L = memset_vram::$0 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [636] memset_vram::$1 = > memset_vram::vdest#0 -- vbuaa=_hi_pvoz1 + lda.z vdest+1 + // [637] *VERA_ADDRX_M = memset_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 -- vbuaa=vbuc1_bor_vbuxx + txa + ora #VERA_INC_1 + // [639] *VERA_ADDRX_H = memset_vram::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [640] phi from memset_vram to memset_vram::@1 [phi:memset_vram->memset_vram::@1] + __b1_from_memset_vram: + // [640] phi memset_vram::i#2 = 0 [phi:memset_vram->memset_vram::@1#0] -- vduz1=vduc1 + lda #<0 + sta.z i + lda #>0 + sta.z i+1 + lda #<0>>$10 + sta.z i+2 + lda #>0>>$10 + sta.z i+3 + jmp __b1 + // Transfer the data + // memset_vram::@1 + __b1: + // [641] if(memset_vram::i#2memset_vram::@1] + __b1_from___b2: + // [640] phi memset_vram::i#2 = memset_vram::i#1 [phi:memset_vram::@2->memset_vram::@1#0] -- register_copy + jmp __b1 +} + // bitmap_line_ydxi +// bitmap_line_ydxi(word zp($48) y, word zp($41) x, word zp($43) y1, word zp($45) yd, word zp($17) xd, byte zp($3e) c) +bitmap_line_ydxi: { + .label __6 = $50 + .label y = $48 + .label x = $41 + .label y1 = $43 + .label yd = $45 + .label xd = $17 + .label c = $3e + .label e = $5a + // [646] bitmap_line_ydxi::e#0 = bitmap_line_ydxi::xd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + // [647] phi from bitmap_line_ydxi bitmap_line_ydxi::@2 to bitmap_line_ydxi::@1 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1] + __b1_from_bitmap_line_ydxi: + __b1_from___b2: + // [647] phi bitmap_line_ydxi::e#3 = bitmap_line_ydxi::e#0 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#0] -- register_copy + // [647] phi bitmap_line_ydxi::y#3 = bitmap_line_ydxi::y#6 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#1] -- register_copy + // [647] phi bitmap_line_ydxi::x#3 = bitmap_line_ydxi::x#5 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#2] -- register_copy + jmp __b1 + // bitmap_line_ydxi::@1 + __b1: + // [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + // [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 + // [650] bitmap_plot::c#3 = bitmap_line_ydxi::c#3 -- vbuxx=vbuz1 + ldx.z c + // [651] call bitmap_plot + // [746] phi from bitmap_line_ydxi::@1 to bitmap_plot [phi:bitmap_line_ydxi::@1->bitmap_plot] + bitmap_plot_from___b1: + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#3 [phi:bitmap_line_ydxi::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#2 [phi:bitmap_line_ydxi::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#2 [phi:bitmap_line_ydxi::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + jmp __b4 + // bitmap_line_ydxi::@4 + __b4: + // [652] bitmap_line_ydxi::y#2 = ++ bitmap_line_ydxi::y#3 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // [654] if(bitmap_line_ydxi::yd#5>=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 -- vwuz1_ge_vwuz2_then_la1 + lda.z e+1 + cmp.z yd+1 + bne !+ + lda.z e + cmp.z yd + beq __b2_from___b4 + !: + bcc __b2_from___b4 + jmp __b3 + // bitmap_line_ydxi::@3 + __b3: + // [655] bitmap_line_ydxi::x#2 = ++ bitmap_line_ydxi::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z yd + sta.z e + lda.z e+1 + sbc.z yd+1 + sta.z e+1 + // [657] phi from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4 to bitmap_line_ydxi::@2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2] + __b2_from___b3: + __b2_from___b4: + // [657] phi bitmap_line_ydxi::e#6 = bitmap_line_ydxi::e#2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2#0] -- register_copy + // [657] phi bitmap_line_ydxi::x#6 = bitmap_line_ydxi::x#2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2#1] -- register_copy + jmp __b2 + // bitmap_line_ydxi::@2 + __b2: + // [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z y1 + adc #1 + sta.z __6 + lda.z y1+1 + adc #0 + sta.z __6+1 + // [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z y+1 + cmp.z __6+1 + bne __b1_from___b2 + lda.z y + cmp.z __6 + bne __b1_from___b2 + jmp __breturn + // bitmap_line_ydxi::@return + __breturn: + // [660] return + rts +} + // bitmap_line_xdyi +// bitmap_line_xdyi(word zp($4a) x, word zp($43) y, word zp($41) x1, word zp($17) xd, word zp($45) yd, byte zp($3e) c) +bitmap_line_xdyi: { + .label __6 = $52 + .label x = $4a + .label y = $43 + .label x1 = $41 + .label xd = $17 + .label yd = $45 + .label c = $3e + .label e = $5a + // [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + // [663] phi from bitmap_line_xdyi bitmap_line_xdyi::@2 to bitmap_line_xdyi::@1 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1] + __b1_from_bitmap_line_xdyi: + __b1_from___b2: + // [663] phi bitmap_line_xdyi::e#3 = bitmap_line_xdyi::e#0 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#0] -- register_copy + // [663] phi bitmap_line_xdyi::y#3 = bitmap_line_xdyi::y#5 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#1] -- register_copy + // [663] phi bitmap_line_xdyi::x#3 = bitmap_line_xdyi::x#6 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#2] -- register_copy + jmp __b1 + // bitmap_line_xdyi::@1 + __b1: + // [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 + // [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 -- vwuz1=vwuz2 + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + // [666] bitmap_plot::c#1 = bitmap_line_xdyi::c#3 -- vbuxx=vbuz1 + ldx.z c + // [667] call bitmap_plot + // [746] phi from bitmap_line_xdyi::@1 to bitmap_plot [phi:bitmap_line_xdyi::@1->bitmap_plot] + bitmap_plot_from___b1: + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#1 [phi:bitmap_line_xdyi::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#0 [phi:bitmap_line_xdyi::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#0 [phi:bitmap_line_xdyi::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + jmp __b4 + // bitmap_line_xdyi::@4 + __b4: + // [668] bitmap_line_xdyi::x#2 = ++ bitmap_line_xdyi::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // [670] if(bitmap_line_xdyi::xd#5>=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 -- vwuz1_ge_vwuz2_then_la1 + lda.z e+1 + cmp.z xd+1 + bne !+ + lda.z e + cmp.z xd + beq __b2_from___b4 + !: + bcc __b2_from___b4 + jmp __b3 + // bitmap_line_xdyi::@3 + __b3: + // [671] bitmap_line_xdyi::y#2 = ++ bitmap_line_xdyi::y#3 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z xd + sta.z e + lda.z e+1 + sbc.z xd+1 + sta.z e+1 + // [673] phi from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4 to bitmap_line_xdyi::@2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2] + __b2_from___b3: + __b2_from___b4: + // [673] phi bitmap_line_xdyi::e#6 = bitmap_line_xdyi::e#2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2#0] -- register_copy + // [673] phi bitmap_line_xdyi::y#6 = bitmap_line_xdyi::y#2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2#1] -- register_copy + jmp __b2 + // bitmap_line_xdyi::@2 + __b2: + // [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z x1 + adc #1 + sta.z __6 + lda.z x1+1 + adc #0 + sta.z __6+1 + // [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z x+1 + cmp.z __6+1 + bne __b1_from___b2 + lda.z x + cmp.z __6 + bne __b1_from___b2 + jmp __breturn + // bitmap_line_xdyi::@return + __breturn: + // [676] return + rts +} + // bitmap_line_ydxd +// bitmap_line_ydxd(word zp($48) y, word zp($41) x, word zp($43) y1, word zp($3f) yd, word zp($17) xd, byte zp($3e) c) +bitmap_line_ydxd: { + .label __6 = $54 + .label y = $48 + .label x = $41 + .label y1 = $43 + .label yd = $3f + .label xd = $17 + .label c = $3e + .label e = $5a + // [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + // [679] phi from bitmap_line_ydxd bitmap_line_ydxd::@2 to bitmap_line_ydxd::@1 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1] + __b1_from_bitmap_line_ydxd: + __b1_from___b2: + // [679] phi bitmap_line_ydxd::e#3 = bitmap_line_ydxd::e#0 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#0] -- register_copy + // [679] phi bitmap_line_ydxd::y#2 = bitmap_line_ydxd::y#7 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#1] -- register_copy + // [679] phi bitmap_line_ydxd::x#3 = bitmap_line_ydxd::x#5 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#2] -- register_copy + jmp __b1 + // bitmap_line_ydxd::@1 + __b1: + // [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + // [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 + // [682] bitmap_plot::c#4 = bitmap_line_ydxd::c#3 -- vbuxx=vbuz1 + ldx.z c + // [683] call bitmap_plot + // [746] phi from bitmap_line_ydxd::@1 to bitmap_plot [phi:bitmap_line_ydxd::@1->bitmap_plot] + bitmap_plot_from___b1: + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#4 [phi:bitmap_line_ydxd::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#3 [phi:bitmap_line_ydxd::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#3 [phi:bitmap_line_ydxd::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + jmp __b4 + // bitmap_line_ydxd::@4 + __b4: + // [684] bitmap_line_ydxd::y#3 = ++ bitmap_line_ydxd::y#2 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // [686] if(bitmap_line_ydxd::yd#5>=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 -- vwuz1_ge_vwuz2_then_la1 + lda.z e+1 + cmp.z yd+1 + bne !+ + lda.z e + cmp.z yd + beq __b2_from___b4 + !: + bcc __b2_from___b4 + jmp __b3 + // bitmap_line_ydxd::@3 + __b3: + // [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 -- vwuz1=_dec_vwuz1 + lda.z x + bne !+ + dec.z x+1 + !: + dec.z x + // [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z yd + sta.z e + lda.z e+1 + sbc.z yd+1 + sta.z e+1 + // [689] phi from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4 to bitmap_line_ydxd::@2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2] + __b2_from___b3: + __b2_from___b4: + // [689] phi bitmap_line_ydxd::e#6 = bitmap_line_ydxd::e#2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2#0] -- register_copy + // [689] phi bitmap_line_ydxd::x#6 = bitmap_line_ydxd::x#2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2#1] -- register_copy + jmp __b2 + // bitmap_line_ydxd::@2 + __b2: + // [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z y1 + adc #1 + sta.z __6 + lda.z y1+1 + adc #0 + sta.z __6+1 + // [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z y+1 + cmp.z __6+1 + bne __b1_from___b2 + lda.z y + cmp.z __6 + bne __b1_from___b2 + jmp __breturn + // bitmap_line_ydxd::@return + __breturn: + // [692] return + rts +} + // bitmap_line_xdyd +// bitmap_line_xdyd(word zp($4a) x, word zp($43) y, word zp($41) x1, word zp($17) xd, word zp($3f) yd, byte zp($3e) c) +bitmap_line_xdyd: { + .label __6 = $56 + .label x = $4a + .label y = $43 + .label x1 = $41 + .label xd = $17 + .label yd = $3f + .label c = $3e + .label e = $5a + // [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + // [695] phi from bitmap_line_xdyd bitmap_line_xdyd::@2 to bitmap_line_xdyd::@1 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1] + __b1_from_bitmap_line_xdyd: + __b1_from___b2: + // [695] phi bitmap_line_xdyd::e#3 = bitmap_line_xdyd::e#0 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#0] -- register_copy + // [695] phi bitmap_line_xdyd::y#3 = bitmap_line_xdyd::y#5 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#1] -- register_copy + // [695] phi bitmap_line_xdyd::x#3 = bitmap_line_xdyd::x#6 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#2] -- register_copy + jmp __b1 + // bitmap_line_xdyd::@1 + __b1: + // [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 + // [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 -- vwuz1=vwuz2 + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + // [698] bitmap_plot::c#2 = bitmap_line_xdyd::c#3 -- vbuxx=vbuz1 + ldx.z c + // [699] call bitmap_plot + // [746] phi from bitmap_line_xdyd::@1 to bitmap_plot [phi:bitmap_line_xdyd::@1->bitmap_plot] + bitmap_plot_from___b1: + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#2 [phi:bitmap_line_xdyd::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#1 [phi:bitmap_line_xdyd::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#1 [phi:bitmap_line_xdyd::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + jmp __b4 + // bitmap_line_xdyd::@4 + __b4: + // [700] bitmap_line_xdyd::x#2 = ++ bitmap_line_xdyd::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // [702] if(bitmap_line_xdyd::xd#5>=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 -- vwuz1_ge_vwuz2_then_la1 + lda.z e+1 + cmp.z xd+1 + bne !+ + lda.z e + cmp.z xd + beq __b2_from___b4 + !: + bcc __b2_from___b4 + jmp __b3 + // bitmap_line_xdyd::@3 + __b3: + // [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 -- vwuz1=_dec_vwuz1 + lda.z y + bne !+ + dec.z y+1 + !: + dec.z y + // [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z xd + sta.z e + lda.z e+1 + sbc.z xd+1 + sta.z e+1 + // [705] phi from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4 to bitmap_line_xdyd::@2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2] + __b2_from___b3: + __b2_from___b4: + // [705] phi bitmap_line_xdyd::e#6 = bitmap_line_xdyd::e#2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2#0] -- register_copy + // [705] phi bitmap_line_xdyd::y#6 = bitmap_line_xdyd::y#2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2#1] -- register_copy + jmp __b2 + // bitmap_line_xdyd::@2 + __b2: + // [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z x1 + adc #1 + sta.z __6 + lda.z x1+1 + adc #0 + sta.z __6+1 + // [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z x+1 + cmp.z __6+1 + bne __b1_from___b2 + lda.z x + cmp.z __6 + bne __b1_from___b2 + jmp __breturn + // bitmap_line_xdyd::@return + __breturn: + // [708] return + rts +} + // divr16u +// Performs division on two 16 bit unsigned ints and an initial remainder +// Returns the quotient dividend/divisor. +// The final remainder will be set into the global variable rem16u +// Implemented using simple binary division +// divr16u(word zp($13) dividend, word zp($17) divisor, word zp($45) rem) +divr16u: { + .label rem = $45 + .label dividend = $13 + .label quotient = $48 + .label return = $48 + .label divisor = $17 + // [710] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1] + __b1_from_divr16u: + // [710] phi divr16u::i#2 = 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 + ldx #0 + // [710] phi divr16u::quotient#3 = 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vwuc1 + lda #<0 + sta.z quotient + lda #>0 + sta.z quotient+1 + // [710] phi divr16u::dividend#2 = divr16u::dividend#1 [phi:divr16u->divr16u::@1#2] -- register_copy + // [710] phi divr16u::rem#4 = 0 [phi:divr16u->divr16u::@1#3] -- vwuz1=vbuc1 + lda #<0 + sta.z rem + lda #>0 + sta.z rem+1 + jmp __b1 + // [710] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1] + __b1_from___b3: + // [710] phi divr16u::i#2 = divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy + // [710] phi divr16u::quotient#3 = divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy + // [710] phi divr16u::dividend#2 = divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy + // [710] phi divr16u::rem#4 = divr16u::rem#10 [phi:divr16u::@3->divr16u::@1#3] -- register_copy + jmp __b1 + // divr16u::@1 + __b1: + // [711] divr16u::rem#0 = divr16u::rem#4 << 1 -- vwuz1=vwuz1_rol_1 + asl.z rem + rol.z rem+1 + // [712] divr16u::$1 = > divr16u::dividend#2 -- vbuaa=_hi_vwuz1 + lda.z dividend+1 + // [713] divr16u::$2 = divr16u::$1 & $80 -- vbuaa=vbuaa_band_vbuc1 + and #$80 + // [714] if(divr16u::$2==0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 + cmp #0 + beq __b2_from___b1 + jmp __b4 + // divr16u::@4 + __b4: + // [715] divr16u::rem#1 = divr16u::rem#0 | 1 -- vwuz1=vwuz1_bor_vbuc1 + lda #1 + ora.z rem + sta.z rem + // [716] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2] + __b2_from___b1: + __b2_from___b4: + // [716] phi divr16u::rem#5 = divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy + jmp __b2 + // divr16u::@2 + __b2: + // [717] divr16u::dividend#0 = divr16u::dividend#2 << 1 -- vwuz1=vwuz1_rol_1 + asl.z dividend + rol.z dividend+1 + // [718] divr16u::quotient#1 = divr16u::quotient#3 << 1 -- vwuz1=vwuz1_rol_1 + asl.z quotient + rol.z quotient+1 + // [719] if(divr16u::rem#5divr16u::@3] + __b3_from___b2: + __b3_from___b5: + // [722] phi divr16u::return#0 = divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy + // [722] phi divr16u::rem#10 = divr16u::rem#5 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy + jmp __b3 + // divr16u::@3 + __b3: + // [723] divr16u::i#1 = ++ divr16u::i#2 -- vbuxx=_inc_vbuxx + inx + // [724] if(divr16u::i#1!=$10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #$10 + bne __b1_from___b3 + jmp __b6 + // divr16u::@6 + __b6: + // [725] rem16u#0 = divr16u::rem#10 -- vwuz1=vwuz2 + lda.z rem + sta.z rem16u + lda.z rem+1 + sta.z rem16u+1 + jmp __breturn + // divr16u::@return + __breturn: + // [726] return + rts +} + // vera_layer_get_color +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $72 + // [728] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 -- vbuaa=vbuxx_rol_1 + txa + asl + // [729] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // [730] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // [731] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + jmp __b2 + // vera_layer_get_color::@2 + __b2: + // [732] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 -- vbuaa=pbuc1_derefidx_vbuxx_rol_4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // [733] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=vbuaa_bor_pbuc1_derefidx_vbuxx + ora vera_layer_textcolor,x + // [734] phi from vera_layer_get_color::@1 vera_layer_get_color::@2 to vera_layer_get_color::@return [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return] + __breturn_from___b1: + __breturn_from___b2: + // [734] phi vera_layer_get_color::return#2 = vera_layer_get_color::return#0 [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return#0] -- register_copy + jmp __breturn + // vera_layer_get_color::@return + __breturn: + // [735] return + rts + // vera_layer_get_color::@1 + __b1: + // [736] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + jmp __breturn_from___b1 +} + // cputln +// Print a newline +cputln: { + .label temp = $5a + // [737] cputln::$2 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [738] cputln::temp#0 = conio_line_text[cputln::$2] -- vwuz1=pwuc1_derefidx_vbuaa + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // [739] cputln::temp#1 = cputln::temp#0 + conio_rowskip -- vwuz1=vwuz1_plus_vwuz2 + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // [740] cputln::$3 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [741] conio_line_text[cputln::$3] = cputln::temp#1 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // [742] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // [743] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_y,x + // [744] call cscroll + jsr cscroll + jmp __breturn + // cputln::@return + __breturn: + // [745] return + rts +} + // bitmap_plot +// bitmap_plot(word zp($4a) x, word zp($48) y, byte register(X) c) +bitmap_plot: { + .label __9 = $5c + .label __10 = $62 + .label vera_vram_address01___0 = $72 + .label vera_vram_address01___2 = $6a + .label vera_vram_address01___4 = $6c + .label plot_x = $5e + .label plot_y = $64 + .label vera_vram_address01_bankaddr = $5e + .label x = $4a + .label y = $48 + .label __12 = $5c + .label __13 = $62 + .label __14 = $68 + .label __15 = $6e + // [747] bitmap_plot::$9 = bitmap_plot::x#4 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __9 + lda.z x+1 + rol + sta.z __9+1 + // [748] bitmap_plot::$12 = __bitmap_plot_x + bitmap_plot::$9 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __12 + adc #<__bitmap_plot_x + sta.z __12 + lda.z __12+1 + adc #>__bitmap_plot_x + sta.z __12+1 + // [749] bitmap_plot::plot_x#0 = (dword)*bitmap_plot::$12 -- vduz1=_dword__deref_pwuz2 + // Needs unsigned int arrays arranged as two underlying char arrays to allow char* plotter_x = plot_x[x]; - and eventually - char* plotter = plot_x[x] + plot_y[y]; + ldy #0 + sty.z plot_x+2 + sty.z plot_x+3 + lda (__12),y + sta.z plot_x + iny + lda (__12),y + sta.z plot_x+1 + // [750] bitmap_plot::$10 = bitmap_plot::y#4 << 2 -- vwuz1=vwuz2_rol_2 + lda.z y + asl + sta.z __10 + lda.z y+1 + rol + sta.z __10+1 + asl.z __10 + rol.z __10+1 + // [751] bitmap_plot::$13 = __bitmap_plot_y + bitmap_plot::$10 -- pduz1=pduc1_plus_vwuz1 + clc + lda.z __13 + adc #<__bitmap_plot_y + sta.z __13 + lda.z __13+1 + adc #>__bitmap_plot_y + sta.z __13+1 + // [752] bitmap_plot::plot_y#0 = *bitmap_plot::$13 -- vduz1=_deref_pduz2 + ldy #0 + lda (__13),y + sta.z plot_y + iny + lda (__13),y + sta.z plot_y+1 + iny + lda (__13),y + sta.z plot_y+2 + iny + lda (__13),y + sta.z plot_y+3 + // [753] bitmap_plot::vera_vram_address01_bankaddr#0 = bitmap_plot::plot_x#0 + bitmap_plot::plot_y#0 -- vduz1=vduz1_plus_vduz2 + lda.z vera_vram_address01_bankaddr + clc + adc.z plot_y + sta.z vera_vram_address01_bankaddr + lda.z vera_vram_address01_bankaddr+1 + adc.z plot_y+1 + sta.z vera_vram_address01_bankaddr+1 + lda.z vera_vram_address01_bankaddr+2 + adc.z plot_y+2 + sta.z vera_vram_address01_bankaddr+2 + lda.z vera_vram_address01_bankaddr+3 + adc.z plot_y+3 + sta.z vera_vram_address01_bankaddr+3 + // [754] bitmap_plot::$14 = __bitmap_plot_bitshift + bitmap_plot::x#4 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __14 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __14+1 + // [755] bitmap_plot::bitshift#0 = *bitmap_plot::$14 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (__14),y + // [756] if(0!=bitmap_plot::bitshift#0) goto bitmap_plot::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + // [758] phi from bitmap_plot bitmap_plot::@1 to bitmap_plot::@2 [phi:bitmap_plot/bitmap_plot::@1->bitmap_plot::@2] + __b2_from_bitmap_plot: + __b2_from___b1: + // [758] phi bitmap_plot::c#0 = bitmap_plot::c#5 [phi:bitmap_plot/bitmap_plot::@1->bitmap_plot::@2#0] -- register_copy + jmp __b2 + // bitmap_plot::@1 + __b1: + // [757] bitmap_plot::$3 = bitmap_plot::c#5 << bitmap_plot::bitshift#0 -- vbuxx=vbuxx_rol_vbuaa + tay + txa + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + tax + jmp __b2_from___b1 + // bitmap_plot::@2 + __b2: + jmp vera_vram_address01 + // bitmap_plot::vera_vram_address01 + vera_vram_address01: + // [759] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [760] bitmap_plot::vera_vram_address01_$0 = < bitmap_plot::vera_vram_address01_bankaddr#0 -- vwuz1=_lo_vduz2 + lda.z vera_vram_address01_bankaddr + sta.z vera_vram_address01___0 + lda.z vera_vram_address01_bankaddr+1 + sta.z vera_vram_address01___0+1 + // [761] bitmap_plot::vera_vram_address01_$1 = < bitmap_plot::vera_vram_address01_$0 -- vbuaa=_lo_vwuz1 + lda.z vera_vram_address01___0 + // [762] *VERA_ADDRX_L = bitmap_plot::vera_vram_address01_$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_L + // [763] bitmap_plot::vera_vram_address01_$2 = < bitmap_plot::vera_vram_address01_bankaddr#0 -- vwuz1=_lo_vduz2 + lda.z vera_vram_address01_bankaddr + sta.z vera_vram_address01___2 + lda.z vera_vram_address01_bankaddr+1 + sta.z vera_vram_address01___2+1 + // [764] bitmap_plot::vera_vram_address01_$3 = > bitmap_plot::vera_vram_address01_$2 -- vbuaa=_hi_vwuz1 + lda.z vera_vram_address01___2+1 + // [765] *VERA_ADDRX_M = bitmap_plot::vera_vram_address01_$3 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [766] bitmap_plot::vera_vram_address01_$4 = > bitmap_plot::vera_vram_address01_bankaddr#0 -- vwuz1=_hi_vduz2 + lda.z vera_vram_address01_bankaddr+2 + sta.z vera_vram_address01___4 + lda.z vera_vram_address01_bankaddr+3 + sta.z vera_vram_address01___4+1 + // [767] bitmap_plot::vera_vram_address01_$6 = < bitmap_plot::vera_vram_address01_$4 -- vbuaa=_lo_vwuz1 + lda.z vera_vram_address01___4 + // [768] *VERA_ADDRX_H = bitmap_plot::vera_vram_address01_$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + jmp __b3 + // bitmap_plot::@3 + __b3: + // [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __15 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __15+1 + // [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 -- vbuaa=_bnot__deref_pbuz1 + ldy #0 + lda (__15),y + eor #$ff + // [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 -- vbuaa=_deref_pbuc1_band_vbuaa + and VERA_DATA0 + // [772] bitmap_plot::$8 = bitmap_plot::$7 | bitmap_plot::c#0 -- vbuaa=vbuaa_bor_vbuxx + stx.z $ff + ora.z $ff + // [773] *VERA_DATA0 = bitmap_plot::$8 -- _deref_pbuc1=vbuaa + sta VERA_DATA0 + jmp __breturn + // bitmap_plot::@return + __breturn: + // [774] return + rts +} + // cscroll +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // [775] if(conio_cursor_y[conio_screen_layer]cscroll::@3] + __b3_from___b2: + jmp __b3 + // cscroll::@3 + __b3: + jmp __breturn + // cscroll::@return + __breturn: + // [779] return + rts + // [780] phi from cscroll::@1 to cscroll::@4 [phi:cscroll::@1->cscroll::@4] + __b4_from___b1: + jmp __b4 + // cscroll::@4 + __b4: + // [781] call insertup + jsr insertup + jmp __b5 + // cscroll::@5 + __b5: + // [782] gotoxy::y#2 = conio_screen_height - 1 -- vbuxx=vbuz1_minus_1 + ldx.z conio_screen_height + dex + // [783] call gotoxy + // [208] phi from cscroll::@5 to gotoxy [phi:cscroll::@5->gotoxy] + gotoxy_from___b5: + // [208] phi gotoxy::y#7 = gotoxy::y#2 [phi:cscroll::@5->gotoxy#0] -- register_copy + jsr gotoxy + jmp __breturn +} + // insertup +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $70 + .label width = $71 + .label line = $15 + .label start = $15 + // [784] insertup::cy#0 = conio_cursor_y[conio_screen_layer] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // [785] insertup::width#0 = conio_screen_width << 1 -- vbuz1=vbuz2_rol_1 + lda.z conio_screen_width + asl + sta.z width + // [786] phi from insertup to insertup::@1 [phi:insertup->insertup::@1] + __b1_from_insertup: + // [786] phi insertup::i#2 = 1 [phi:insertup->insertup::@1#0] -- vbuxx=vbuc1 + ldx #1 + jmp __b1 + // insertup::@1 + __b1: + // [787] if(insertup::i#2<=insertup::cy#0) goto insertup::@2 -- vbuxx_le_vbuz1_then_la1 + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // [788] phi from insertup::@1 to insertup::@3 [phi:insertup::@1->insertup::@3] + __b3_from___b1: + jmp __b3 + // insertup::@3 + __b3: + // [789] call clearline + jsr clearline + jmp __breturn + // insertup::@return + __breturn: + // [790] return + rts + // insertup::@2 + __b2: + // [791] insertup::$3 = insertup::i#2 - 1 -- vbuaa=vbuxx_minus_1 + txa + sec + sbc #1 + // [792] insertup::line#0 = insertup::$3 << conio_rowshift -- vwuz1=vbuaa_rol_vbuz2 + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // [793] insertup::start#0 = (byte*)CONIO_SCREEN_TEXT#104 + insertup::line#0 -- pbuz1=pbuz2_plus_vwuz1 + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // [794] memcpy_in_vram::src#0 = insertup::start#0 + conio_rowskip -- pbuz1=pbuz2_plus_vwuz3 + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // [795] memcpy_in_vram::dest#0 = (void*)insertup::start#0 + // [796] memcpy_in_vram::num#0 = insertup::width#0 -- vwuz1=vbuz2 + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // [797] memcpy_in_vram::src#3 = (void*)memcpy_in_vram::src#0 + // [798] call memcpy_in_vram + // [221] phi from insertup::@2 to memcpy_in_vram [phi:insertup::@2->memcpy_in_vram] + memcpy_in_vram_from___b2: + // [221] phi memcpy_in_vram::num#3 = memcpy_in_vram::num#0 [phi:insertup::@2->memcpy_in_vram#0] -- register_copy + // [221] phi memcpy_in_vram::dest_bank#2 = 0 [phi:insertup::@2->memcpy_in_vram#1] -- vbuyy=vbuc1 + ldy #0 + // [221] phi memcpy_in_vram::dest#2 = memcpy_in_vram::dest#0 [phi:insertup::@2->memcpy_in_vram#2] -- register_copy + // [221] phi memcpy_in_vram::src#2 = memcpy_in_vram::src#3 [phi:insertup::@2->memcpy_in_vram#3] -- register_copy + jsr memcpy_in_vram + jmp __b4 + // insertup::@4 + __b4: + // [799] insertup::i#1 = ++ insertup::i#2 -- vbuxx=_inc_vbuxx + inx + // [786] phi from insertup::@4 to insertup::@1 [phi:insertup::@4->insertup::@1] + __b1_from___b4: + // [786] phi insertup::i#2 = insertup::i#1 [phi:insertup::@4->insertup::@1#0] -- register_copy + jmp __b1 +} + // clearline +clearline: { + .label addr = $72 + .label c = $4a + // [800] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [801] clearline::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [802] clearline::addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[clearline::$5] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // [803] clearline::$1 = < clearline::addr#0 -- vbuaa=_lo_pbuz1 + lda.z addr + // [804] *VERA_ADDRX_L = clearline::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_L + // [805] clearline::$2 = > clearline::addr#0 -- vbuaa=_hi_pbuz1 + lda.z addr+1 + // [806] *VERA_ADDRX_M = clearline::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [807] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // [808] vera_layer_get_color::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [809] call vera_layer_get_color + // [727] phi from clearline to vera_layer_get_color [phi:clearline->vera_layer_get_color] + vera_layer_get_color_from_clearline: + // [727] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#1 [phi:clearline->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // [810] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + jmp __b4 + // clearline::@4 + __b4: + // [811] clearline::color#0 = vera_layer_get_color::return#4 -- vbuxx=vbuaa + tax + // [812] phi from clearline::@4 to clearline::@1 [phi:clearline::@4->clearline::@1] + __b1_from___b4: + // [812] phi clearline::c#2 = 0 [phi:clearline::@4->clearline::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z c + lda #>0 + sta.z c+1 + jmp __b1 + // clearline::@1 + __b1: + // [813] if(clearline::c#2clearline::@1] + __b1_from___b2: + // [812] phi clearline::c#2 = clearline::c#1 [phi:clearline::@2->clearline::@1#0] -- register_copy + jmp __b1 +} + // File Data +.segment Data + VERA_LAYER_WIDTH: .word $20, $40, $80, $100 + VERA_LAYER_HEIGHT: .word $20, $40, $80, $100 + // --- VERA function encapsulation --- + vera_mapbase_offset: .word 0, 0 + vera_mapbase_bank: .byte 0, 0 + vera_mapbase_address: .dword 0, 0 + vera_tilebase_offset: .word 0, 0 + vera_tilebase_bank: .byte 0, 0 + vera_tilebase_address: .dword 0, 0 + vera_layer_rowshift: .byte 0, 0 + vera_layer_rowskip: .word 0, 0 + vera_layer_config: .word VERA_L0_CONFIG, VERA_L1_CONFIG + vera_layer_enable: .byte VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE + vera_layer_mapbase: .word VERA_L0_MAPBASE, VERA_L1_MAPBASE + vera_layer_tilebase: .word VERA_L0_TILEBASE, VERA_L1_TILEBASE + vera_layer_textcolor: .byte WHITE, WHITE + vera_layer_backcolor: .byte BLUE, BLUE + // The number of bytes on the screen + // The current cursor x-position + conio_cursor_x: .byte 0, 0 + // The current cursor y-position + conio_cursor_y: .byte 0, 0 + // The current text cursor line start + conio_line_text: .word 0, 0 + // Is scrolling enabled when outputting beyond the end of the screen (1: yes, 0: no). + // If disabled the cursor just moves back to (0,0) instead + conio_scroll_enable: .byte 1, 1 + // Tables for the plotter - initialized by calling bitmap_draw_init(); + __bitmap_plot_x: .fill 2*$280, 0 + __bitmap_plot_y: .fill 4*$1e0, 0 + __bitmap_plot_bitmask: .fill $280, 0 + __bitmap_plot_bitshift: .fill $280, 0 + hdeltas: .word 0, $50, $28, $14, 0, $a0, $50, $28, 0, $140, $a0, $50, 0, $280, $140, $a0 + vdeltas: .word 0, $1e0, $f0, $a0 + bitmasks: .byte $80, $c0, $f0, $ff + .fill 1, 0 + bitshifts: .byte 7, 6, 4, 0 + .fill 1, 0 + +ASSEMBLER OPTIMIZATIONS +Removing instruction jmp __init1 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b9 +Removing instruction jmp __b2 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b12 +Removing instruction jmp __b13 +Removing instruction jmp __b14 +Removing instruction jmp textcolor1 +Removing instruction jmp bgcolor1 +Removing instruction jmp __b6 +Removing instruction jmp __b15 +Removing instruction jmp __b16 +Removing instruction jmp __b17 +Removing instruction jmp __b18 +Removing instruction jmp __b19 +Removing instruction jmp vera_layer_show1 +Removing instruction jmp __b7 +Removing instruction jmp __b20 +Removing instruction jmp __b21 +Removing instruction jmp textcolor2 +Removing instruction jmp __b8 +Removing instruction jmp __b1 +Removing instruction jmp __b22 +Removing instruction jmp textcolor3 +Removing instruction jmp bgcolor2 +Removing instruction jmp __b9 +Removing instruction jmp __b32 +Removing instruction jmp __b33 +Removing instruction jmp __b34 +Removing instruction jmp textcolor4 +Removing instruction jmp __b10 +Removing instruction jmp __b3 +Removing instruction jmp __b35 +Removing instruction jmp __b5 +Removing instruction jmp textcolor5 +Removing instruction jmp bgcolor3 +Removing instruction jmp __b11 +Removing instruction jmp __breturn +Removing instruction jmp __b36 +Removing instruction jmp __b37 +Removing instruction jmp __b2 +Removing instruction jmp __b23 +Removing instruction jmp __b24 +Removing instruction jmp __b25 +Removing instruction jmp __b26 +Removing instruction jmp __b27 +Removing instruction jmp __b28 +Removing instruction jmp __b29 +Removing instruction jmp __b30 +Removing instruction jmp __b31 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp vera_layer_get_width1 +Removing instruction jmp vera_layer_get_width1___breturn +Removing instruction jmp __b1 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp vera_layer_get_height1 +Removing instruction jmp vera_layer_get_height1___breturn +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __b8 +Removing instruction jmp __b9 +Removing instruction jmp __b10 +Removing instruction jmp __b11 +Removing instruction jmp __b12 +Removing instruction jmp __b15 +Removing instruction jmp __b16 +Removing instruction jmp __b23 +Removing instruction jmp __b24 +Removing instruction jmp __b17 +Removing instruction jmp __b18 +Removing instruction jmp __b19 +Removing instruction jmp __b20 +Removing instruction jmp __b21 +Removing instruction jmp __b22 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp vera_display_set_scale_double1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b6 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp vera_layer_get_color_depth1 +Removing instruction jmp vera_layer_get_color_depth1___breturn +Removing instruction jmp __b16 +Removing instruction jmp __b17 +Removing instruction jmp __b18 +Removing instruction jmp __b1 +Removing instruction jmp __b8 +Removing instruction jmp __b2 +Removing instruction jmp __b9 +Removing instruction jmp __b3 +Removing instruction jmp __b10 +Removing instruction jmp __b4 +Removing instruction jmp __b11 +Removing instruction jmp __b5 +Removing instruction jmp __b12 +Removing instruction jmp __b6 +Removing instruction jmp __b13 +Removing instruction jmp __b7 +Removing instruction jmp __b14 +Removing instruction jmp __b15 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __breturn +Removing instruction jmp __b10 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b14 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b7 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __breturn +Removing instruction jmp __b6 +Removing instruction jmp __b1 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b3 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b4 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b4 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b4 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b4 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b4 +Removing instruction jmp __b2 +Removing instruction jmp __b5 +Removing instruction jmp __b3 +Removing instruction jmp __b6 +Removing instruction jmp __breturn +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp vera_vram_address01 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b4 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Succesful ASM optimization Pass5NextJumpElimination +Removing instruction lda #0 +Removing instruction lda #>0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #0 +Removing instruction lda #0 +Removing instruction lda #8 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #>0 +Removing instruction lda #>0 +Replacing instruction ldx.z conio_screen_layer with TAX +Removing instruction ldy.z conio_screen_layer +Removing instruction lda #>0 +Replacing instruction lda.z layer with TYA +Replacing instruction ldy.z __19 with TAY +Replacing instruction lda.z layer with TYA +Replacing instruction ldy.z __20 with TAY +Replacing instruction ldx.z __4+1 with TAX +Removing instruction lda.z __10+1 +Replacing instruction lda.z layer with TYA +Replacing instruction lda.z layer with TYA +Replacing instruction lda.z layer with TYA +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #$40 +Removing instruction lda #0 +Removing instruction ldy.z conio_screen_layer +Replacing instruction lda.z conio_screen_layer with TYA +Removing instruction lda #0 +Removing instruction lda.z __bitmap_layer +Removing instruction ldy.z __bitmap_color_depth +Removing instruction lda #>0 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction lda #>0 +Removing instruction lda.z ch +Removing instruction lda.z yd_1+1 +Removing instruction lda.z yd+1 +Removing instruction lda.z yd+1 +Removing instruction lda.z yd_1+1 +Removing instruction lda.z rand_state+1 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction lda.z __16+1 +Removing instruction lda #>0 +Removing instruction lda #>0 +Removing instruction lda.z e+1 +Removing instruction lda.z e+1 +Removing instruction lda.z e+1 +Removing instruction lda.z e+1 +Replacing instruction lda #<0 with TXA +Removing instruction lda #>0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda.z vera_vram_address01___2+1 +Removing instruction lda #>0 +Succesful ASM optimization Pass5UnnecesaryLoadElimination +Replacing label __b1_from___b9 with __b1 +Replacing label __b2_from___b22 with __b2 +Replacing label __b37_from___b36 with __b37 +Replacing label __b37_from___b36 with __b37 +Replacing label __b4_from_gotoxy with __b1 +Replacing label __b9_from___b4 with __b9_from___b5 +Replacing label __b9_from___b4 with __b9_from___b5 +Replacing label __b16_from___b9 with __b16 +Replacing label __b16_from___b12 with __b16 +Replacing label __b16_from___b12 with __b16 +Replacing label __b19_from___b24 with __b19 +Replacing label __b19_from___b17 with __b19 +Replacing label __b22_from___b19 with __b22 +Replacing label __b22_from___b20 with __b22 +Replacing label __b16_from___b14 with __b16 +Replacing label __b16_from___b13 with __b16 +Replacing label __b1_from___b2 with __b1 +Replacing label __b2_from___b1 with __b2 +Replacing label __b3_from___b2 with __b3 +Replacing label __b4_from___b3 with __b4 +Replacing label __b6_from___b5 with __b6 +Replacing label __b7_from___b6 with __b7 +Replacing label __b1_from___b7 with __b1 +Replacing label __b1_from___b7 with __b1 +Replacing label __b15_from___b15 with __b15 +Replacing label __b15_from___b15 with __b15 +Replacing label __b1_from___b7 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b3_from___b2 with __b3 +Replacing label __b2_from___b4 with __b2 +Replacing label __b2_from___b4 with __b2 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b2_from___b4 with __b2 +Replacing label __b2_from___b4 with __b2 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b2_from___b4 with __b2 +Replacing label __b2_from___b4 with __b2 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b2_from___b4 with __b2 +Replacing label __b2_from___b4 with __b2 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b2 with __b1 +Replacing label __b2_from___b1 with __b2 +Replacing label __b3_from___b2 with __b3 +Replacing label __b3_from___b2 with __b3 +Replacing label __b1_from___b3 with __b1 +Replacing label __breturn_from___b1 with __breturn +Replacing label __breturn with __b3 +Replacing label __b4_from___b1 with __b4 +Replacing label __breturn with __b3 +Replacing label __breturn with __b3 +Replacing label __breturn with __b3 +Removing instruction __b1_from___init1: +Removing instruction main_from___b1: +Removing instruction __b3_from_conio_x16_init: +Removing instruction __b4_from___b3: +Removing instruction __b5_from___b4: +Removing instruction vera_layer_set_textcolor_from___b5: +Removing instruction __b6_from___b5: +Removing instruction vera_layer_set_backcolor_from___b6: +Removing instruction __b7_from___b6: +Removing instruction vera_layer_set_mapbase_from___b7: +Removing instruction __b8_from___b7: +Removing instruction vera_layer_set_mapbase_from___b8: +Removing instruction __b1_from___b2: +Removing instruction __b1_from___b9: +Removing instruction __b12_from_main: +Removing instruction __b13_from___b12: +Removing instruction vera_layer_mode_bitmap_from___b13: +Removing instruction __b14_from___b13: +Removing instruction __b6_from_bgcolor1: +Removing instruction __b15_from___b6: +Removing instruction gotoxy_from___b15: +Removing instruction __b16_from___b15: +Removing instruction cputs_from___b16: +Removing instruction __b17_from___b16: +Removing instruction cputs_from___b17: +Removing instruction __b18_from___b17: +Removing instruction cputs_from___b18: +Removing instruction __b19_from___b18: +Removing instruction cputs_from___b19: +Removing instruction __b7_from_vera_layer_show1: +Removing instruction __b20_from___b7: +Removing instruction __b21_from___b20: +Removing instruction gotoxy_from___b21: +Removing instruction __b8_from_textcolor2: +Removing instruction cputs_from___b8: +Removing instruction __b9_from_bgcolor2: +Removing instruction __b32_from___b9: +Removing instruction gotoxy_from___b32: +Removing instruction __b33_from___b32: +Removing instruction cputs_from___b33: +Removing instruction __b34_from___b33: +Removing instruction gotoxy_from___b34: +Removing instruction __b10_from_textcolor4: +Removing instruction cputs_from___b10: +Removing instruction __b5_from___b35: +Removing instruction __b11_from_bgcolor3: +Removing instruction __b37_from___b36: +Removing instruction __b3_from___b37: +Removing instruction __b2_from___b22: +Removing instruction rand_from___b2: +Removing instruction modr16u_from___b23: +Removing instruction modr16u_from___b25: +Removing instruction rand_from___b26: +Removing instruction modr16u_from___b27: +Removing instruction rand_from___b28: +Removing instruction modr16u_from___b29: +Removing instruction rand_from___b30: +Removing instruction __b1_from_vera_layer_mode_text: +Removing instruction vera_layer_get_width1___breturn: +Removing instruction vera_layer_get_height1___breturn: +Removing instruction __b4_from_gotoxy: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction __b3_from___b1: +Removing instruction __b3: +Removing instruction __b9_from___b4: +Removing instruction __b16_from___b12: +Removing instruction __b16_from___b13: +Removing instruction __b16_from___b14: +Removing instruction __b16_from___b15: +Removing instruction __b16_from___b9: +Removing instruction __b19_from___b17: +Removing instruction __b19_from___b18: +Removing instruction __b19_from___b24: +Removing instruction __b22_from___b19: +Removing instruction __b22_from___b20: +Removing instruction __b22_from___b21: +Removing instruction __b2_from_vera_display_set_scale_double1: +Removing instruction vera_layer_set_config_from___b2: +Removing instruction __b3_from___b2: +Removing instruction vera_layer_set_tilebase_from___b3: +Removing instruction __b1_from_cputs: +Removing instruction __b1_from___b2: +Removing instruction vera_layer_get_color_depth1___breturn: +Removing instruction __b1_from___b7: +Removing instruction __b2_from___b1: +Removing instruction __b2_from___b8: +Removing instruction __b3_from___b2: +Removing instruction __b3_from___b9: +Removing instruction __b4_from___b10: +Removing instruction __b4_from___b3: +Removing instruction __b6_from___b12: +Removing instruction __b6_from___b5: +Removing instruction __b7_from___b13: +Removing instruction __b7_from___b6: +Removing instruction __b15_from___b15: +Removing instruction __b4_from___b3: +Removing instruction __b6_from___b5: +Removing instruction __b1_from___b7: +Removing instruction __b1_from___b2: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Removing instruction __breturn: +Removing instruction __b3_from___b2: +Removing instruction __b3_from___b4: +Removing instruction __b1_from_bitmap_line_ydxi: +Removing instruction __b1_from___b2: +Removing instruction __b2_from___b3: +Removing instruction __b2_from___b4: +Removing instruction __b1_from_bitmap_line_xdyi: +Removing instruction __b1_from___b2: +Removing instruction __b2_from___b3: +Removing instruction __b2_from___b4: +Removing instruction __b1_from_bitmap_line_ydxd: +Removing instruction __b1_from___b2: +Removing instruction __b2_from___b3: +Removing instruction __b2_from___b4: +Removing instruction __b1_from_bitmap_line_xdyd: +Removing instruction __b1_from___b2: +Removing instruction __b2_from___b3: +Removing instruction __b2_from___b4: +Removing instruction __b1_from___b3: +Removing instruction __b2_from___b1: +Removing instruction __b2_from___b4: +Removing instruction __b3_from___b2: +Removing instruction __b3_from___b5: +Removing instruction __breturn_from___b1: +Removing instruction __breturn_from___b2: +Removing instruction __b2_from_bitmap_plot: +Removing instruction vera_vram_address01: +Removing instruction __b3_from___b2: +Removing instruction __breturn: +Removing instruction __b4_from___b1: +Removing instruction __b3_from___b1: +Succesful ASM optimization Pass5RedundantLabelElimination +Removing instruction __init1: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction vera_layer_mode_text_from_conio_x16_init: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b9: +Removing instruction __b2: +Removing instruction gotoxy_from___b1: +Removing instruction __breturn: +Removing instruction memcpy_in_vram_from_main: +Removing instruction __b12: +Removing instruction vera_layer_mode_tile_from___b12: +Removing instruction __b13: +Removing instruction __b14: +Removing instruction textcolor1: +Removing instruction vera_layer_set_textcolor_from_textcolor1: +Removing instruction bgcolor1: +Removing instruction vera_layer_set_backcolor_from_bgcolor1: +Removing instruction __b6: +Removing instruction __b15: +Removing instruction __b16: +Removing instruction __b17: +Removing instruction __b18: +Removing instruction __b19: +Removing instruction vera_layer_show1: +Removing instruction __b7: +Removing instruction __b20: +Removing instruction __b21: +Removing instruction textcolor2: +Removing instruction vera_layer_set_textcolor_from_textcolor2: +Removing instruction __b8: +Removing instruction __b1_from___b8: +Removing instruction __b22: +Removing instruction textcolor3: +Removing instruction vera_layer_set_textcolor_from_textcolor3: +Removing instruction bgcolor2: +Removing instruction vera_layer_set_backcolor_from_bgcolor2: +Removing instruction __b9: +Removing instruction __b32: +Removing instruction __b33: +Removing instruction __b34: +Removing instruction textcolor4: +Removing instruction vera_layer_set_textcolor_from_textcolor4: +Removing instruction __b10: +Removing instruction __b3_from___b10: +Removing instruction __b35: +Removing instruction __b5: +Removing instruction textcolor5: +Removing instruction vera_layer_set_textcolor_from_textcolor5: +Removing instruction bgcolor3: +Removing instruction vera_layer_set_backcolor_from_bgcolor3: +Removing instruction __b11: +Removing instruction __breturn: +Removing instruction bitmap_line_from___b4: +Removing instruction __b36: +Removing instruction __b3_from___b36: +Removing instruction __b23: +Removing instruction __b24: +Removing instruction rand_from___b24: +Removing instruction __b25: +Removing instruction __b26: +Removing instruction __b27: +Removing instruction __b28: +Removing instruction __b29: +Removing instruction __b30: +Removing instruction __b31: +Removing instruction bitmap_line_from___b31: +Removing instruction __b1_from___b31: +Removing instruction vera_layer_mode_tile_from_vera_layer_mode_text: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction vera_layer_get_width1: +Removing instruction __b1: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction vera_layer_get_height1: +Removing instruction __b2: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __b1_from_gotoxy: +Removing instruction __breturn: +Removing instruction __b1_from_memcpy_in_vram: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Removing instruction __b1: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b8: +Removing instruction __b9_from___b8: +Removing instruction __b10: +Removing instruction __b11: +Removing instruction __b12: +Removing instruction __b15: +Removing instruction vera_layer_set_config_from___b16: +Removing instruction __b23: +Removing instruction vera_layer_set_mapbase_from___b23: +Removing instruction __b24: +Removing instruction __b17: +Removing instruction __b18: +Removing instruction __b20: +Removing instruction __b21: +Removing instruction vera_layer_set_tilebase_from___b22: +Removing instruction __breturn: +Removing instruction __b9_from___b7: +Removing instruction __b9_from___b6: +Removing instruction __b1: +Removing instruction vera_display_set_scale_double1: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b1_from___b8: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b4_from___b2: +Removing instruction __b6: +Removing instruction __b1_from___b6: +Removing instruction __b4_from___b5: +Removing instruction __breturn: +Removing instruction vera_layer_get_color_depth1: +Removing instruction __b16: +Removing instruction vera_display_get_hscale_from___b16: +Removing instruction __b17: +Removing instruction vera_display_get_vscale_from___b17: +Removing instruction __b18: +Removing instruction __b1_from___b18: +Removing instruction __b8: +Removing instruction __b9: +Removing instruction __b10: +Removing instruction __b11: +Removing instruction __b12: +Removing instruction __b13: +Removing instruction __b14: +Removing instruction __b15_from___b14: +Removing instruction __breturn: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction bitmap_line_ydxi_from___b4: +Removing instruction bitmap_line_xdyi_from___b8: +Removing instruction __b10: +Removing instruction bitmap_line_ydxd_from___b10: +Removing instruction bitmap_line_xdyd_from___b9: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction bitmap_line_ydxd_from___b6: +Removing instruction bitmap_line_xdyd_from___b12: +Removing instruction __b14: +Removing instruction bitmap_line_ydxi_from___b14: +Removing instruction bitmap_line_xdyi_from___b13: +Removing instruction __breturn: +Removing instruction divr16u_from_modr16u: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction vera_layer_get_color_from_cputc: +Removing instruction __b7: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b6: +Removing instruction __b1_from_vera_display_get_hscale: +Removing instruction __b3_from___b1: +Removing instruction __b3_from___b2: +Removing instruction __b1_from_vera_display_get_vscale: +Removing instruction __b3_from___b1: +Removing instruction __b3_from___b2: +Removing instruction __b1_from_mul16u: +Removing instruction __breturn: +Removing instruction __b4: +Removing instruction __b1_from___b3: +Removing instruction __b1_from_memset_vram: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Removing instruction bitmap_plot_from___b1: +Removing instruction __b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction bitmap_plot_from___b1: +Removing instruction __b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction bitmap_plot_from___b1: +Removing instruction __b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction bitmap_plot_from___b1: +Removing instruction __b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b1_from_divr16u: +Removing instruction __b4: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction __breturn: +Removing instruction __b2: +Removing instruction __breturn: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b1: +Removing instruction __b2: +Removing instruction __b5: +Removing instruction gotoxy_from___b5: +Removing instruction __b1_from_insertup: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction memcpy_in_vram_from___b2: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction vera_layer_get_color_from_clearline: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Succesful ASM optimization Pass5UnusedLabelElimination +Skipping double jump to __b3 in bcc __b37 +Skipping double jump to __b3 in beq __b37 +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __b3 +Replacing jump to rts with rts in jmp __b3 +Replacing jump to rts with rts in jmp __breturn +Skipping double jump to __b2 in jmp __b2_from___b1 +Replacing jump to rts with rts in jmp __b3 +Succesful ASM optimization Pass5DoubleJumpElimination +Relabelling long label __b9_from___b5 to __b1 +Relabelling long label __b2_from___b1 to __b3 +Succesful ASM optimization Pass5RelabelLongLabels +Removing instruction jmp __b1 +Removing instruction bne __b2 +Removing instruction jmp __b1 +Removing instruction jmp __b15 +Removing instruction jmp __b1 +Removing instruction jmp __b1 +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction bcc __b3 +Succesful ASM optimization Pass5NextJumpElimination +Removing instruction ldy.z conio_screen_layer +Removing instruction lda #<0 +Removing instruction ldy.z conio_screen_layer +Removing instruction ldy.z conio_screen_layer +Replacing instruction ldy #0 with TAY +Succesful ASM optimization Pass5UnnecesaryLoadElimination +Removing instruction __b37: +Removing instruction __b2: +Removing instruction __breturn: +Removing instruction __b3: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b3: +Succesful ASM optimization Pass5UnusedLabelElimination +Removing unreachable instruction jmp __b3 +Succesful ASM optimization Pass5UnreachableCodeElimination +Fixing long branch [1429] bne __b1 to beq +Fixing long branch [1434] bne __b1 to beq +Fixing long branch [293] beq __b2 to bne +Fixing long branch [1607] bcc __b1 to bcs +Fixing long branch [1613] bcc __b1 to bcs + +FINAL SYMBOL TABLE +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#15 CONIO_SCREEN_BANK zp[1]:43 58.13089005235602 +byte* CONIO_SCREEN_TEXT +word CONIO_SCREEN_TEXT#104 CONIO_SCREEN_TEXT zp[2]:44 0.42083333333333334 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_POINTER = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*) 40738 +const nomodify byte* VERA_ADDRX_L = (byte*) 40736 +const nomodify byte* VERA_ADDRX_M = (byte*) 40737 +const nomodify byte* VERA_CTRL = (byte*) 40741 +const nomodify byte* VERA_DATA0 = (byte*) 40739 +const nomodify byte* VERA_DATA1 = (byte*) 40740 +const nomodify byte* VERA_DC_HSCALE = (byte*) 40746 +const nomodify byte* VERA_DC_VIDEO = (byte*) 40745 +const nomodify byte* VERA_DC_VSCALE = (byte*) 40747 +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*) 40749 +const nomodify byte* VERA_L0_MAPBASE = (byte*) 40750 +const nomodify byte* VERA_L0_TILEBASE = (byte*) 40751 +const nomodify byte* VERA_L1_CONFIG = (byte*) 40756 +const nomodify byte* VERA_L1_MAPBASE = (byte*) 40757 +const nomodify byte* VERA_L1_TILEBASE = (byte*) 40758 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_COLOR_DEPTH_MASK = 3 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const nomodify byte VERA_LAYER_CONFIG_MODE_BITMAP = 4 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte WHITE = 1 +const nomodify byte YELLOW = 7 +dword __bitmap_address loadstore zp[4]:35 4.01980198019802 +byte __bitmap_color_depth loadstore zp[1]:42 80.4074074074074 +byte __bitmap_hscale loadstore zp[1]:40 3.9102564102564106 +byte __bitmap_layer loadstore zp[1]:39 204.0 +const to_nomodify byte* __bitmap_plot_bitmask[$280] = { fill( $280, 0) } +const to_nomodify byte* __bitmap_plot_bitshift[$280] = { fill( $280, 0) } +const to_nomodify word* __bitmap_plot_x[$280] = { fill( $280, 0) } +const to_nomodify dword* __bitmap_plot_y[$1e0] = { fill( $1e0, 0) } +byte __bitmap_vscale loadstore zp[1]:41 2.8732394366197185 +void __start() +void bitmap_clear() +byte~ bitmap_clear::$0 reg byte a 202.0 +byte~ bitmap_clear::$1 reg byte a 202.0 +word~ bitmap_clear::$3 zp[2]:67 202.0 +byte~ bitmap_clear::$7 reg byte a 202.0 +byte~ bitmap_clear::$8 reg byte a 202.0 +dword bitmap_clear::count +dword bitmap_clear::count#0 count zp[4]:94 33.666666666666664 +word bitmap_clear::hdelta +word bitmap_clear::hdelta#0 hdelta zp[2]:21 202.0 +byte bitmap_clear::vbank +byte bitmap_clear::vbank#0 reg byte x 101.0 +word bitmap_clear::vdelta +word bitmap_clear::vdelta#0 vdelta zp[2]:65 33.666666666666664 +void* bitmap_clear::vdest +word bitmap_clear::vdest#0 vdest zp[2]:69 50.5 +void bitmap_init(byte bitmap_init::layer , dword bitmap_init::address) +byte~ bitmap_init::$0 reg byte a 202.0 +byte~ bitmap_init::$1 reg byte x 202.0 +word~ bitmap_init::$10 zp[2]:74 667.3333333333334 +word~ bitmap_init::$13 zp[2]:80 667.3333333333334 +byte~ bitmap_init::$2 reg byte x 202.0 +word~ bitmap_init::$23 zp[2]:67 2002.0 +word~ bitmap_init::$24 zp[2]:106 2002.0 +word~ bitmap_init::$25 zp[2]:82 2002.0 +word~ bitmap_init::$26 zp[2]:114 2002.0 +byte~ bitmap_init::$27 reg byte a 202.0 +word~ bitmap_init::$28 zp[2]:104 2002.0 +word*~ bitmap_init::$29 zp[2]:67 2002.0 +byte~ bitmap_init::$3 reg byte a 202.0 +byte*~ bitmap_init::$30 zp[2]:69 2002.0 +byte*~ bitmap_init::$31 zp[2]:72 2002.0 +word*~ bitmap_init::$32 zp[2]:106 2002.0 +byte*~ bitmap_init::$33 zp[2]:108 2002.0 +byte*~ bitmap_init::$34 zp[2]:110 2002.0 +word*~ bitmap_init::$35 zp[2]:82 2002.0 +byte*~ bitmap_init::$36 zp[2]:84 2002.0 +byte*~ bitmap_init::$37 zp[2]:86 2002.0 +word*~ bitmap_init::$38 zp[2]:114 2002.0 +byte*~ bitmap_init::$39 zp[2]:90 2002.0 +byte~ bitmap_init::$4 reg byte a 202.0 +byte*~ bitmap_init::$40 zp[2]:92 2002.0 +dword*~ bitmap_init::$41 zp[2]:104 2002.0 +word~ bitmap_init::$7 zp[2]:65 667.3333333333334 +dword bitmap_init::address +const dword bitmap_init::address#0 address = 0 +byte bitmap_init::bitmask +byte bitmap_init::bitmask#0 bitmask zp[1]:62 101.0 +byte bitmap_init::bitmask#1 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#10 bitmask zp[1]:62 373.1818181818182 +byte bitmap_init::bitmask#11 bitmask zp[1]:62 455.0 +byte bitmap_init::bitmask#12 bitmask zp[1]:62 455.0 +byte bitmap_init::bitmask#13 bitmask zp[1]:62 385.0 +byte bitmap_init::bitmask#16 bitmask zp[1]:62 1001.0 +byte bitmap_init::bitmask#2 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#3 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#4 bitmask zp[1]:62 2002.0 +signed byte bitmap_init::bitshift +signed byte bitmap_init::bitshift#0 reg byte x 202.0 +signed byte bitmap_init::bitshift#1 reg byte x 1001.0 +signed byte bitmap_init::bitshift#10 reg byte x 310.4 +signed byte bitmap_init::bitshift#11 reg byte x 400.4 +signed byte bitmap_init::bitshift#12 reg byte x 400.4 +signed byte bitmap_init::bitshift#13 reg byte x 400.4 +signed byte bitmap_init::bitshift#14 reg byte x 500.5 +signed byte bitmap_init::bitshift#2 reg byte x 1001.0 +signed byte bitmap_init::bitshift#3 reg byte x 1001.0 +signed byte bitmap_init::bitshift#4 reg byte x 2002.0 +word bitmap_init::hdelta +word bitmap_init::hdelta#0 hdelta zp[2]:98 122.44444444444446 +byte bitmap_init::layer +const byte bitmap_init::layer#0 layer = 0 +byte~ bitmap_init::vera_layer_get_color_depth1_$0 reg byte a 202.0 +byte~ bitmap_init::vera_layer_get_color_depth1_$1 reg byte a 202.0 +byte* bitmap_init::vera_layer_get_color_depth1_config +byte* bitmap_init::vera_layer_get_color_depth1_config#0 vera_layer_get_color_depth1_config zp[2]:63 202.0 +byte bitmap_init::vera_layer_get_color_depth1_layer +byte bitmap_init::vera_layer_get_color_depth1_layer#0 reg byte a 202.0 +byte bitmap_init::vera_layer_get_color_depth1_return +byte bitmap_init::vera_layer_get_color_depth1_return#0 reg byte a 202.0 +byte bitmap_init::vera_layer_get_color_depth1_return#1 reg byte a 202.0 +word bitmap_init::x +word bitmap_init::x#1 x zp[2]:21 1501.5 +word bitmap_init::x#10 x zp[2]:21 353.29411764705884 +word bitmap_init::y +word bitmap_init::y#1 y zp[2]:23 1501.5 +word bitmap_init::y#2 y zp[2]:23 600.5999999999999 +dword bitmap_init::yoffs +dword bitmap_init::yoffs#0 yoffs zp[4]:94 202.0 +dword bitmap_init::yoffs#1 yoffs zp[4]:94 667.3333333333334 +dword bitmap_init::yoffs#2 yoffs zp[4]:94 776.0 +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +byte bitmap_line::c +byte bitmap_line::c#0 reg byte x 202.0 +byte bitmap_line::c#1 reg byte x 2002.0 +byte bitmap_line::c#10 reg byte x 1502.037037037037 +word bitmap_line::x0 +word bitmap_line::x0#0 x0 zp[2]:3 8.782608695652174 +word bitmap_line::x0#1 x0 zp[2]:3 667.3333333333334 +word bitmap_line::x0#10 x0 zp[2]:3 4555.550000000001 +word bitmap_line::x1 +word bitmap_line::x1#0 x1 zp[2]:65 11.882352941176471 +word bitmap_line::x1#1 x1 zp[2]:65 1001.0 +word bitmap_line::x1#10 x1 zp[2]:65 4555.550000000001 +word bitmap_line::xd +word bitmap_line::xd#1 xd zp[2]:23 3500.3500000000004 +word bitmap_line::xd#2 xd zp[2]:23 3500.3500000000004 +word bitmap_line::y0 +word bitmap_line::y0#0 y0 zp[2]:67 18.363636363636363 +word bitmap_line::y0#10 y0 zp[2]:67 6005.6500000000015 +word bitmap_line::y1 +word bitmap_line::y1#0 y1 zp[2]:21 40.4 +word bitmap_line::y1#10 y1 zp[2]:21 6005.6500000000015 +word bitmap_line::yd +word bitmap_line::yd#1 yd zp[2]:63 4444.888888888889 +word bitmap_line::yd#10 yd zp[2]:63 4444.888888888889 +word bitmap_line::yd#11 yd_1 zp[2]:69 4444.888888888889 +word bitmap_line::yd#2 yd_1 zp[2]:69 4444.888888888889 +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +word~ bitmap_line_xdyd::$6 zp[2]:86 2.00000002E8 +byte bitmap_line_xdyd::c +byte bitmap_line_xdyd::c#0 c zp[1]:62 20002.0 +byte bitmap_line_xdyd::c#1 c zp[1]:62 20002.0 +byte bitmap_line_xdyd::c#3 c zp[1]:62 6668000.2 +word bitmap_line_xdyd::e +word bitmap_line_xdyd::e#0 e zp[2]:90 200002.0 +word bitmap_line_xdyd::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_xdyd::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_xdyd::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_xdyd::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_xdyd::x +word bitmap_line_xdyd::x#0 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyd::x#1 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyd::x#2 x zp[2]:74 3.7500000375E7 +word bitmap_line_xdyd::x#3 x zp[2]:74 6.00200008E7 +word bitmap_line_xdyd::x#6 x zp[2]:74 60001.5 +word bitmap_line_xdyd::x1 +word bitmap_line_xdyd::x1#0 x1 zp[2]:65 5000.5 +word bitmap_line_xdyd::x1#1 x1 zp[2]:65 5000.5 +word bitmap_line_xdyd::x1#6 x1 zp[2]:65 6668000.2 +word bitmap_line_xdyd::xd +word bitmap_line_xdyd::xd#0 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyd::xd#1 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyd::xd#5 xd zp[2]:23 1.3334666933333334E7 +word bitmap_line_xdyd::y +word bitmap_line_xdyd::y#0 y zp[2]:67 4000.4 +word bitmap_line_xdyd::y#1 y zp[2]:67 4000.4 +word bitmap_line_xdyd::y#2 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyd::y#3 y zp[2]:67 5.0012500625E7 +word bitmap_line_xdyd::y#5 y zp[2]:67 60001.5 +word bitmap_line_xdyd::y#6 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyd::yd +word bitmap_line_xdyd::yd#0 yd zp[2]:63 10001.0 +word bitmap_line_xdyd::yd#1 yd zp[2]:63 10001.0 +word bitmap_line_xdyd::yd#2 yd zp[2]:63 6674666.933333334 +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +word~ bitmap_line_xdyi::$6 zp[2]:82 2.00000002E8 +byte bitmap_line_xdyi::c +byte bitmap_line_xdyi::c#0 c zp[1]:62 20002.0 +byte bitmap_line_xdyi::c#1 c zp[1]:62 20002.0 +byte bitmap_line_xdyi::c#3 c zp[1]:62 6668000.2 +word bitmap_line_xdyi::e +word bitmap_line_xdyi::e#0 e zp[2]:90 200002.0 +word bitmap_line_xdyi::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_xdyi::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_xdyi::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_xdyi::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_xdyi::x +word bitmap_line_xdyi::x#0 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyi::x#1 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyi::x#2 x zp[2]:74 3.7500000375E7 +word bitmap_line_xdyi::x#3 x zp[2]:74 6.00200008E7 +word bitmap_line_xdyi::x#6 x zp[2]:74 60001.5 +word bitmap_line_xdyi::x1 +word bitmap_line_xdyi::x1#0 x1 zp[2]:65 5000.5 +word bitmap_line_xdyi::x1#1 x1 zp[2]:65 5000.5 +word bitmap_line_xdyi::x1#6 x1 zp[2]:65 6668000.2 +word bitmap_line_xdyi::xd +word bitmap_line_xdyi::xd#0 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyi::xd#1 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyi::xd#5 xd zp[2]:23 1.3334666933333334E7 +word bitmap_line_xdyi::y +word bitmap_line_xdyi::y#0 y zp[2]:67 4000.4 +word bitmap_line_xdyi::y#1 y zp[2]:67 4000.4 +word bitmap_line_xdyi::y#2 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyi::y#3 y zp[2]:67 5.0012500625E7 +word bitmap_line_xdyi::y#5 y zp[2]:67 60001.5 +word bitmap_line_xdyi::y#6 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyi::yd +word bitmap_line_xdyi::yd#0 yd zp[2]:69 10001.0 +word bitmap_line_xdyi::yd#1 yd zp[2]:69 10001.0 +word bitmap_line_xdyi::yd#2 yd zp[2]:69 6674666.933333334 +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +word~ bitmap_line_ydxd::$6 zp[2]:84 2.00000002E8 +byte bitmap_line_ydxd::c +byte bitmap_line_ydxd::c#0 c zp[1]:62 20002.0 +byte bitmap_line_ydxd::c#1 c zp[1]:62 20002.0 +byte bitmap_line_ydxd::c#3 c zp[1]:62 6668000.2 +word bitmap_line_ydxd::e +word bitmap_line_ydxd::e#0 e zp[2]:90 200002.0 +word bitmap_line_ydxd::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_ydxd::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_ydxd::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_ydxd::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_ydxd::x +word bitmap_line_ydxd::x#0 x zp[2]:65 4000.4 +word bitmap_line_ydxd::x#1 x zp[2]:65 4000.4 +word bitmap_line_ydxd::x#2 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxd::x#3 x zp[2]:65 5.0012500625E7 +word bitmap_line_ydxd::x#5 x zp[2]:65 60001.5 +word bitmap_line_ydxd::x#6 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxd::xd +word bitmap_line_ydxd::xd#0 xd zp[2]:23 10001.0 +word bitmap_line_ydxd::xd#1 xd zp[2]:23 10001.0 +word bitmap_line_ydxd::xd#2 xd zp[2]:23 6674666.933333334 +word bitmap_line_ydxd::y +word bitmap_line_ydxd::y#0 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxd::y#1 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxd::y#2 y zp[2]:72 6.00200008E7 +word bitmap_line_ydxd::y#3 y zp[2]:72 3.7500000375E7 +word bitmap_line_ydxd::y#7 y zp[2]:72 60001.5 +word bitmap_line_ydxd::y1 +word bitmap_line_ydxd::y1#0 y1 zp[2]:67 5000.5 +word bitmap_line_ydxd::y1#1 y1 zp[2]:67 5000.5 +word bitmap_line_ydxd::y1#6 y1 zp[2]:67 6668000.2 +word bitmap_line_ydxd::yd +word bitmap_line_ydxd::yd#0 yd zp[2]:63 6667.333333333333 +word bitmap_line_ydxd::yd#1 yd zp[2]:63 6667.333333333333 +word bitmap_line_ydxd::yd#5 yd zp[2]:63 1.3334666933333334E7 +void bitmap_line_ydxi(word bitmap_line_ydxi::y , word bitmap_line_ydxi::x , word bitmap_line_ydxi::y1 , word bitmap_line_ydxi::yd , word bitmap_line_ydxi::xd , byte bitmap_line_ydxi::c) +word~ bitmap_line_ydxi::$6 zp[2]:80 2.00000002E8 +byte bitmap_line_ydxi::c +byte bitmap_line_ydxi::c#0 c zp[1]:62 20002.0 +byte bitmap_line_ydxi::c#1 c zp[1]:62 20002.0 +byte bitmap_line_ydxi::c#3 c zp[1]:62 6668000.2 +word bitmap_line_ydxi::e +word bitmap_line_ydxi::e#0 e zp[2]:90 200002.0 +word bitmap_line_ydxi::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_ydxi::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_ydxi::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_ydxi::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_ydxi::x +word bitmap_line_ydxi::x#0 x zp[2]:65 4000.4 +word bitmap_line_ydxi::x#1 x zp[2]:65 4000.4 +word bitmap_line_ydxi::x#2 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxi::x#3 x zp[2]:65 5.0012500625E7 +word bitmap_line_ydxi::x#5 x zp[2]:65 60001.5 +word bitmap_line_ydxi::x#6 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxi::xd +word bitmap_line_ydxi::xd#0 xd zp[2]:23 10001.0 +word bitmap_line_ydxi::xd#1 xd zp[2]:23 10001.0 +word bitmap_line_ydxi::xd#2 xd zp[2]:23 6674666.933333334 +word bitmap_line_ydxi::y +word bitmap_line_ydxi::y#0 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxi::y#1 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxi::y#2 y zp[2]:72 3.7500000375E7 +word bitmap_line_ydxi::y#3 y zp[2]:72 6.00200008E7 +word bitmap_line_ydxi::y#6 y zp[2]:72 60001.5 +word bitmap_line_ydxi::y1 +word bitmap_line_ydxi::y1#0 y1 zp[2]:67 5000.5 +word bitmap_line_ydxi::y1#1 y1 zp[2]:67 5000.5 +word bitmap_line_ydxi::y1#6 y1 zp[2]:67 6668000.2 +word bitmap_line_ydxi::yd +word bitmap_line_ydxi::yd#0 yd zp[2]:69 6667.333333333333 +word bitmap_line_ydxi::yd#1 yd zp[2]:69 6667.333333333333 +word bitmap_line_ydxi::yd#5 yd zp[2]:69 1.3334666933333334E7 +void bitmap_plot(word bitmap_plot::x , word bitmap_plot::y , byte bitmap_plot::c) +word~ bitmap_plot::$10 zp[2]:98 2.000000002E9 +word*~ bitmap_plot::$12 zp[2]:92 1.000000001E9 +dword*~ bitmap_plot::$13 zp[2]:98 2.000000002E9 +byte*~ bitmap_plot::$14 zp[2]:104 2.000000002E9 +byte*~ bitmap_plot::$15 zp[2]:110 2.000000002E9 +byte~ bitmap_plot::$3 reg byte x 2.000000002E9 +byte~ bitmap_plot::$6 reg byte a 2.000000002E9 +byte~ bitmap_plot::$7 reg byte a 2.000000002E9 +byte~ bitmap_plot::$8 reg byte a 2.000000002E9 +word~ bitmap_plot::$9 zp[2]:92 2.000000002E9 +byte bitmap_plot::bitshift +byte bitmap_plot::bitshift#0 reg byte a 1.5000000015E9 +byte bitmap_plot::c +byte bitmap_plot::c#0 reg byte x 2.142857145E8 +byte bitmap_plot::c#1 reg byte x 2.00000002E8 +byte bitmap_plot::c#2 reg byte x 2.00000002E8 +byte bitmap_plot::c#3 reg byte x 2.00000002E8 +byte bitmap_plot::c#4 reg byte x 2.00000002E8 +byte bitmap_plot::c#5 reg byte x 2.1818181872727272E8 +dword bitmap_plot::plot_x +dword bitmap_plot::plot_x#0 plot_x zp[4]:94 5.000000005E8 +dword bitmap_plot::plot_y +dword bitmap_plot::plot_y#0 plot_y zp[4]:100 2.000000002E9 +dword bitmap_plot::plotter +word~ bitmap_plot::vera_vram_address01_$0 zp[2]:114 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$1 reg byte a 2.000000002E9 +word~ bitmap_plot::vera_vram_address01_$2 zp[2]:106 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$3 reg byte a 2.000000002E9 +word~ bitmap_plot::vera_vram_address01_$4 zp[2]:108 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$6 reg byte a 2.000000002E9 +dword bitmap_plot::vera_vram_address01_bankaddr +dword bitmap_plot::vera_vram_address01_bankaddr#0 vera_vram_address01_bankaddr zp[4]:94 3.07692308E8 +byte bitmap_plot::vera_vram_address01_incr +word bitmap_plot::x +word bitmap_plot::x#0 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#1 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#2 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#3 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#4 x zp[2]:74 1.4782608726086956E8 +word bitmap_plot::y +word bitmap_plot::y#0 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#1 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#2 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#3 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#4 y zp[2]:72 3.5000000125E8 +const to_nomodify byte* bitmasks[5] = { $80, $c0, $f0, $ff } +const to_nomodify signed byte* bitshifts[5] = { 7, 6, 4, 0 } +void clearline() +byte~ clearline::$1 reg byte a 2.00000002E8 +byte~ clearline::$2 reg byte a 2.00000002E8 +byte~ clearline::$5 reg byte a 2.00000002E8 +byte* clearline::addr +byte* clearline::addr#0 addr zp[2]:114 1.00000001E8 +word clearline::c +word clearline::c#1 c zp[2]:74 2.0000000002E10 +word clearline::c#2 c zp[2]:74 7.50000000075E9 +byte clearline::color +byte clearline::color#0 reg byte x 1.6833333336666665E9 +void clrscr() +byte~ clrscr::$0 reg byte a 202.0 +byte~ clrscr::$1 zp[1]:62 40.4 +byte~ clrscr::$2 reg byte a 202.0 +byte~ clrscr::$5 reg byte a 2002.0 +byte~ clrscr::$6 reg byte a 2002.0 +byte~ clrscr::$7 reg byte a 2002.0 +byte~ clrscr::$9 reg byte a 202.0 +byte clrscr::c +byte clrscr::c#1 reg byte y 20002.0 +byte clrscr::c#2 reg byte y 7500.75 +byte* clrscr::ch +byte clrscr::color +byte clrscr::color#0 color zp[1]:62 594.2352941176471 +byte clrscr::l +byte clrscr::l#1 reg byte x 2002.0 +byte clrscr::l#2 reg byte x 200.2 +byte* clrscr::line_text +byte* clrscr::line_text#0 line_text zp[2]:19 18.363636363636363 +byte* clrscr::line_text#1 line_text zp[2]:19 1001.0 +byte* clrscr::line_text#2 line_text zp[2]:19 293.2142857142857 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore zp[2]:30 5720.6 +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore zp[1]:32 5206186.108247423 +word conio_rowskip loadstore zp[2]:33 4975627.393034826 +volatile byte conio_screen_height loadstore zp[1]:26 63829.93085106383 +byte conio_screen_layer loadstore zp[1]:27 1253909.9416058394 +volatile byte conio_screen_width loadstore zp[1]:25 4.473218752678571E7 +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore zp[2]:28 113.58757062146893 +void conio_x16_init() +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*) 214 +byte conio_x16_init::line +byte conio_x16_init::line#0 line zp[1]:2 2.1999999999999997 +byte conio_x16_init::line#1 line zp[1]:2 22.0 +byte conio_x16_init::line#3 line zp[1]:2 33.0 +void cputc(byte cputc::c) +byte~ cputc::$15 reg byte a 20002.0 +word~ cputc::$16 zp[2]:110 20002.0 +byte~ cputc::$2 reg byte a 20002.0 +byte~ cputc::$4 reg byte a 20002.0 +byte~ cputc::$5 reg byte a 20002.0 +byte~ cputc::$6 reg byte a 20002.0 +byte cputc::c +byte cputc::c#0 c zp[1]:62 1235.4705882352941 +byte cputc::color +byte cputc::color#0 reg byte x 1428.7142857142858 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 conio_addr zp[2]:108 10001.0 +byte* cputc::conio_addr#1 conio_addr zp[2]:108 6000.6 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 reg byte a 20002.0 +void cputln() +byte~ cputln::$2 reg byte a 200002.0 +byte~ cputln::$3 reg byte a 200002.0 +word cputln::temp +word cputln::temp#0 temp zp[2]:90 200002.0 +word cputln::temp#1 temp zp[2]:90 100001.0 +void cputs(to_nomodify byte* cputs::s) +byte cputs::c +byte cputs::c#1 reg byte a 1001.0 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 s zp[2]:67 500.5 +to_nomodify byte* cputs::s#8 s zp[2]:67 1552.0 +to_nomodify byte* cputs::s#9 s zp[2]:67 101.0 +void cscroll() +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +byte~ divr16u::$1 reg byte a 2000002.0 +byte~ divr16u::$2 reg byte a 2000002.0 +word divr16u::dividend +word divr16u::dividend#0 dividend zp[2]:19 250000.25 +word divr16u::dividend#1 dividend zp[2]:19 3667.333333333333 +word divr16u::dividend#2 dividend zp[2]:19 430000.57142857136 +word divr16u::divisor +word divr16u::divisor#0 divisor zp[2]:23 117706.05882352941 +byte divr16u::i +byte divr16u::i#1 reg byte x 1500001.5 +byte divr16u::i#2 reg byte x 153846.3076923077 +word divr16u::quotient +word divr16u::quotient#1 quotient zp[2]:72 1500001.5 +word divr16u::quotient#2 quotient zp[2]:72 1000001.0 +word divr16u::quotient#3 quotient zp[2]:72 250000.25 +word divr16u::rem +word divr16u::rem#0 rem zp[2]:69 750000.75 +word divr16u::rem#1 rem zp[2]:69 2000002.0 +word divr16u::rem#10 rem zp[2]:69 1003334.6666666666 +word divr16u::rem#2 rem zp[2]:69 2000002.0 +word divr16u::rem#4 rem zp[2]:69 2000002.0 +word divr16u::rem#5 rem zp[2]:69 1000001.0 +word divr16u::return +word divr16u::return#0 return zp[2]:72 1000001.0 +void gotoxy(byte gotoxy::x , byte gotoxy::y) +byte~ gotoxy::$5 reg byte a 2.0000002E7 +word~ gotoxy::$6 zp[2]:48 2.0000002E7 +word gotoxy::line_offset +word gotoxy::line_offset#0 line_offset zp[2]:48 1.0000001E7 +byte gotoxy::x +byte gotoxy::y +byte gotoxy::y#0 reg byte x 22.0 +byte gotoxy::y#10 reg byte x 4000000.4 +byte gotoxy::y#2 reg byte x 2000002.0 +byte gotoxy::y#7 reg byte x 7000004.666666666 +const word* hdeltas[$10] = { 0, $50, $28, $14, 0, $a0, $50, $28, 0, $140, $a0, $50, 0, $280, $140, $a0 } +void insertup() +byte~ insertup::$3 reg byte a 2.000000002E9 +byte insertup::cy +byte insertup::cy#0 cy zp[1]:112 7.769230784615384E7 +byte insertup::i +byte insertup::i#1 reg byte x 2.000000002E9 +byte insertup::i#2 reg byte x 4.000000004E8 +word insertup::line +word insertup::line#0 line zp[2]:21 2.000000002E9 +byte* insertup::start +byte* insertup::start#0 start zp[2]:21 1.000000001E9 +byte insertup::width +byte insertup::width#0 width zp[1]:113 8.416666683333334E7 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*) 65508 +const nomodify byte* kbhit::IN_DEV = (byte*) 650 +volatile byte kbhit::ch loadstore zp[1]:71 10001.0 +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 reg byte a 20002.0 +byte kbhit::return#1 reg byte a 2775.75 +byte kbhit::return#2 reg byte a 202.0 +byte kbhit::return#3 reg byte a 2002.0 +void main() +byte~ main::$30 reg byte a 202.0 +word~ main::$40 zp[2]:19 202.0 +byte~ main::$43 reg byte a 2002.0 +byte main::bgcolor1_color +byte main::bgcolor2_color +byte main::bgcolor3_color +byte main::color +byte main::color#1 color zp[1]:5 525.75 +byte main::color#2 color zp[1]:5 344.8888888888889 +const byte* main::s[$16] = "vera in bitmap mode, +" +const byte* main::s1[$1f] = "color depth 8 bits per pixel. +" +const byte* main::s2[$29] = "in this mode, it is possible to display +" +const byte* main::s3[$19] = "graphics in 256 colors. +" +const byte* main::s4[$10] = "press a key ..." +const byte* main::s5[$27] = "here you see all the colors possible. +" +byte main::textcolor1_color +byte main::textcolor2_color +byte main::textcolor3_color +byte main::textcolor4_color +byte main::textcolor5_color +byte main::vera_layer_show1_layer +word main::x +word main::x#1 x zp[2]:3 701.0 +word main::x#3 x zp[2]:3 310.4 +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$1 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$3 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$4 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$5 reg byte a 2.0000000002E10 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 dest zp[2]:21 6.666666673333334E8 +void* memcpy_in_vram::dest#2 dest zp[2]:21 2.1000000003000002E9 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#2 reg byte y 8.333333334166666E8 +byte memcpy_in_vram::dest_increment +word memcpy_in_vram::i +word memcpy_in_vram::i#1 i zp[2]:65 2.00000000002E11 +word memcpy_in_vram::i#2 i zp[2]:65 1.00000000001E11 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 num zp[2]:23 1.000000001E9 +word memcpy_in_vram::num#3 num zp[2]:23 5.611111111222221E9 +void* memcpy_in_vram::src +byte* memcpy_in_vram::src#0 src zp[2]:19 3.333333336666667E8 +void* memcpy_in_vram::src#2 src zp[2]:19 5.25000000075E9 +void* memcpy_in_vram::src#3 src zp[2]:19 2.000000002E9 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_increment +void memset_vram(byte memset_vram::vbank , void* memset_vram::vdest , byte memset_vram::data , dword memset_vram::num) +byte~ memset_vram::$0 reg byte a 2002.0 +byte~ memset_vram::$1 reg byte a 2002.0 +byte~ memset_vram::$2 reg byte a 2002.0 +byte memset_vram::data +const byte memset_vram::data#0 data = 0 +dword memset_vram::i +dword memset_vram::i#1 i zp[4]:100 20002.0 +dword memset_vram::i#2 i zp[4]:100 10001.0 +dword memset_vram::num +dword memset_vram::num#0 num zp[4]:94 841.8333333333333 +byte memset_vram::vbank +byte memset_vram::vbank#0 reg byte x 137.75 +void* memset_vram::vdest +void* memset_vram::vdest#0 vdest zp[2]:69 420.59999999999997 +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +word modr16u::dividend +word modr16u::dividend#0 dividend zp[2]:19 202.0 +word modr16u::dividend#1 dividend zp[2]:19 202.0 +word modr16u::dividend#2 dividend zp[2]:19 202.0 +word modr16u::dividend#3 dividend zp[2]:19 202.0 +word modr16u::dividend#4 dividend zp[2]:19 1405.0 +word modr16u::divisor +word modr16u::divisor#4 divisor zp[2]:23 500.5 +word modr16u::rem +word modr16u::return +word modr16u::return#0 return zp[2]:21 234.16666666666669 +word modr16u::return#10 return zp[2]:21 202.0 +word modr16u::return#2 return zp[2]:21 202.0 +word modr16u::return#3 return_1 zp[2]:65 202.0 +word modr16u::return#4 return_2 zp[2]:67 202.0 +dword mul16u(word mul16u::a , word mul16u::b) +byte~ mul16u::$1 reg byte a 20002.0 +word mul16u::a +word mul16u::a#0 a zp[2]:21 10001.0 +word mul16u::a#1 a zp[2]:21 367.33333333333337 +word mul16u::a#2 a zp[2]:21 6834.166666666666 +word mul16u::b +word mul16u::b#0 b zp[2]:65 101.0 +dword mul16u::mb +dword mul16u::mb#0 mb zp[4]:100 2002.0 +dword mul16u::mb#1 mb zp[4]:100 20002.0 +dword mul16u::mb#2 mb zp[4]:100 4429.142857142857 +dword mul16u::res +dword mul16u::res#1 res zp[4]:94 20002.0 +dword mul16u::res#2 res zp[4]:94 5017.333333333333 +dword mul16u::res#6 res zp[4]:94 10001.0 +dword mul16u::return +dword mul16u::return#2 return zp[4]:94 202.0 +word rand() +word~ rand::$0 zp[2]:72 2002.0 +word~ rand::$1 zp[2]:74 2002.0 +word~ rand::$2 zp[2]:106 2002.0 +word rand::return +word rand::return#0 return zp[2]:19 215.14285714285714 +word rand::return#10 return zp[2]:19 202.0 +word rand::return#11 return zp[2]:19 202.0 +word rand::return#12 return zp[2]:19 202.0 +word rand::return#2 return zp[2]:19 202.0 +word rand::return#3 return zp[2]:19 202.0 +word rand_state +word rand_state#0 rand_state zp[2]:17 1501.5 +word rand_state#1 rand_state zp[2]:17 1501.5 +word rand_state#13 rand_state zp[2]:17 1253.5 +word rand_state#14 rand_state zp[2]:17 78.34375 +word rand_state#23 rand_state zp[2]:17 33.666666666666664 +word rem16u +word rem16u#0 rem16u zp[2]:88 3667.333333333333 +void screenlayer(byte screenlayer::layer) +word~ screenlayer::$2 zp[2]:56 202.0 +byte~ screenlayer::$3 reg byte a 202.0 +word~ screenlayer::$4 zp[2]:48 202.0 +word~ screenlayer::$5 zp[2]:53 202.0 +byte screenlayer::layer +byte~ screenlayer::vera_layer_get_height1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 vera_layer_get_height1_config zp[2]:50 202.0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 vera_layer_get_height1_return zp[2]:53 202.0 +word screenlayer::vera_layer_get_height1_return#1 vera_layer_get_height1_return zp[2]:53 202.0 +byte~ screenlayer::vera_layer_get_width1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 vera_layer_get_width1_config zp[2]:46 202.0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 vera_layer_get_width1_return zp[2]:56 202.0 +word screenlayer::vera_layer_get_width1_return#1 vera_layer_get_width1_return zp[2]:56 202.0 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$1 reg byte a 202.0 +byte~ screensize::$3 reg byte a 202.0 +byte screensize::hscale +byte screensize::hscale#0 reg byte a 202.0 +byte screensize::vscale +byte screensize::vscale#0 reg byte a 202.0 +byte* screensize::x +const byte* screensize::x#0 x = &conio_screen_width +byte* screensize::y +const byte* screensize::y#0 y = &conio_screen_height +const to_nomodify word* vdeltas[4] = { 0, $1e0, $f0, $a0 } +byte vera_display_get_hscale() +const byte* vera_display_get_hscale::hscale[4] = { 0, $80, $40, $20 } +byte vera_display_get_hscale::return +byte vera_display_get_hscale::return#0 reg byte x 3367.333333333333 +byte vera_display_get_hscale::return#2 reg byte x 202.0 +byte vera_display_get_hscale::s +byte vera_display_get_hscale::s#1 reg byte x 15001.5 +byte vera_display_get_hscale::s#2 reg byte x 20002.0 +byte vera_display_get_hscale::scale +const byte vera_display_get_hscale::scale#0 scale = 0 +byte vera_display_get_vscale() +byte vera_display_get_vscale::return +byte vera_display_get_vscale::return#0 reg byte x 3367.333333333333 +byte vera_display_get_vscale::return#2 reg byte x 202.0 +byte vera_display_get_vscale::s +byte vera_display_get_vscale::s#1 reg byte x 15001.5 +byte vera_display_get_vscale::s#2 reg byte x 20002.0 +byte vera_display_get_vscale::scale +const byte vera_display_get_vscale::scale#0 scale = 0 +const byte* vera_display_get_vscale::vscale[4] = { 0, $80, $40, $20 } +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_backcolor::return#2 reg byte a 202.0 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$1 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$3 reg byte a 2.000000002E9 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 addr zp[2]:114 2.000000002E9 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 reg byte x 20002.0 +byte vera_layer_get_color::layer#1 reg byte x 2.00000002E8 +byte vera_layer_get_color::layer#2 reg byte x 6.833350010000001E8 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#1 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#2 reg byte a 5.25002501E8 +byte vera_layer_get_color::return#3 reg byte a 20002.0 +byte vera_layer_get_color::return#4 reg byte a 2.00000002E8 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 reg byte x 1102.0 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_mapbase_bank::return#2 reg byte a 202.0 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 reg byte a 2002.0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 reg byte a 1102.0 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 return zp[2]:48 367.33333333333337 +word vera_layer_get_mapbase_offset::return#2 return zp[2]:48 202.0 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 reg byte x 1102.0 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_rowshift::return#2 reg byte a 202.0 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 reg byte a 2002.0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 reg byte a 1102.0 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 return zp[2]:48 367.33333333333337 +word vera_layer_get_rowskip::return#2 return zp[2]:48 202.0 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_textcolor::return#2 reg byte a 202.0 +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +dword vera_layer_mode_bitmap::bitmap_address +const dword vera_layer_mode_bitmap::bitmap_address#1 bitmap_address = 0 +word vera_layer_mode_bitmap::color_depth +byte vera_layer_mode_bitmap::config +const byte vera_layer_mode_bitmap::config#11 config = VERA_LAYER_COLOR_DEPTH_8BPP|VERA_LAYER_CONFIG_MODE_BITMAP +byte vera_layer_mode_bitmap::layer +const byte vera_layer_mode_bitmap::layer#0 layer = 0 +word vera_layer_mode_bitmap::mapwidth +byte vera_layer_mode_bitmap::tilebase +const byte vera_layer_mode_bitmap::tilebase#1 tilebase = 0 +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +byte vera_layer_mode_text::layer +const byte vera_layer_mode_text::layer#0 layer = 1 +dword vera_layer_mode_text::mapbase_address +const dword vera_layer_mode_text::mapbase_address#0 mapbase_address = 0 +word vera_layer_mode_text::mapheight +const word vera_layer_mode_text::mapheight#0 mapheight = $40 +word vera_layer_mode_text::mapwidth +const word vera_layer_mode_text::mapwidth#0 mapwidth = $80 +dword vera_layer_mode_text::tilebase_address +const dword vera_layer_mode_text::tilebase_address#0 tilebase_address = $f800 +byte vera_layer_mode_text::tileheight +const byte vera_layer_mode_text::tileheight#0 tileheight = 8 +byte vera_layer_mode_text::tilewidth +const byte vera_layer_mode_text::tilewidth#0 tilewidth = 8 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 zp[2]:50 1001.0 +word~ vera_layer_mode_tile::$10 zp[2]:60 2002.0 +byte~ vera_layer_mode_tile::$13 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$14 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$15 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$16 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$19 zp[1]:52 231.0 +word~ vera_layer_mode_tile::$2 zp[2]:53 1001.0 +byte~ vera_layer_mode_tile::$20 zp[1]:55 250.25 +word~ vera_layer_mode_tile::$4 zp[2]:76 2002.0 +word~ vera_layer_mode_tile::$7 zp[2]:56 2002.0 +word~ vera_layer_mode_tile::$8 zp[2]:58 1001.0 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#10 reg byte x 2002.0 +byte vera_layer_mode_tile::config#11 reg byte x 2002.0 +byte vera_layer_mode_tile::config#12 reg byte x 2002.0 +byte vera_layer_mode_tile::config#21 reg byte x 1001.0 +byte vera_layer_mode_tile::config#25 reg byte x 3003.0 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#10 layer zp[1]:6 254.4915254237289 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 reg byte x 1001.0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 mapbase_address zp[4]:7 2002.0 +dword vera_layer_mode_tile::mapbase_address#10 mapbase_address zp[4]:7 111.22222222222223 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#10 mapheight zp[2]:46 190.66666666666666 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#10 mapwidth zp[2]:48 1001.0 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 reg byte a 2002.0 +byte vera_layer_mode_tile::tilebase#1 reg byte x 1334.6666666666667 +byte vera_layer_mode_tile::tilebase#10 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#12 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::tilebase#3 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#5 reg byte x 2002.0 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 tilebase_address zp[4]:11 2002.0 +dword vera_layer_mode_tile::tilebase_address#10 tilebase_address zp[4]:11 85.19148936170212 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#10 tileheight zp[1]:16 35.75 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#10 tilewidth zp[1]:15 38.5 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#4 reg byte a 101.0 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#3 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#4 reg byte x 134.0 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::return +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 reg byte a 20002.0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 addr zp[2]:78 20002.0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 reg byte x 2002.0 +byte vera_layer_set_config::config#2 reg byte x 3667.333333333333 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 reg byte a 1001.0 +byte vera_layer_set_config::layer#2 reg byte a 11002.0 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 reg byte a 20002.0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 addr zp[2]:56 20002.0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 reg byte a 1001.0 +byte vera_layer_set_mapbase::layer#3 reg byte a 11002.0 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 reg byte x 2002.0 +byte vera_layer_set_mapbase::mapbase#3 reg byte x 3667.333333333333 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 addr zp[2]:76 2502.5 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::color#6 reg byte a 101.0 +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#3 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#4 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#5 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#6 reg byte x 156.0 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::return +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 reg byte a 20002.0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 addr zp[2]:78 20002.0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 reg byte a 1001.0 +byte vera_layer_set_tilebase::layer#2 reg byte a 11002.0 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 reg byte x 2002.0 +byte vera_layer_set_tilebase::tilebase#2 reg byte x 3667.333333333333 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +zp[2]:3 [ main::x#3 main::x#1 bitmap_line::x0#10 bitmap_line::x0#0 bitmap_line::x0#1 ] +zp[1]:5 [ main::color#2 main::color#1 ] +reg byte x [ vera_layer_set_textcolor::layer#6 vera_layer_set_textcolor::layer#1 vera_layer_set_textcolor::layer#2 vera_layer_set_textcolor::layer#3 vera_layer_set_textcolor::layer#4 vera_layer_set_textcolor::layer#5 ] +reg byte a [ vera_layer_set_textcolor::color#6 ] +reg byte x [ vera_layer_set_backcolor::layer#4 vera_layer_set_backcolor::layer#1 vera_layer_set_backcolor::layer#2 vera_layer_set_backcolor::layer#3 ] +reg byte a [ vera_layer_set_backcolor::color#4 ] +reg byte a [ vera_layer_set_mapbase::layer#3 vera_layer_set_mapbase::layer#0 ] +reg byte x [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +reg byte x [ gotoxy::y#10 gotoxy::y#7 gotoxy::y#0 gotoxy::y#2 ] +reg byte y [ memcpy_in_vram::dest_bank#2 ] +zp[1]:6 [ vera_layer_mode_tile::layer#10 ] +zp[4]:7 [ vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::mapbase_address#0 ] +zp[4]:11 [ vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilebase_address#0 ] +zp[1]:15 [ vera_layer_mode_tile::tilewidth#10 ] +zp[1]:16 [ vera_layer_mode_tile::tileheight#10 ] +reg byte x [ vera_layer_mode_tile::config#25 vera_layer_mode_tile::config#21 vera_layer_mode_tile::config#10 vera_layer_mode_tile::config#11 vera_layer_mode_tile::config#12 ] +reg byte x [ vera_layer_mode_tile::tilebase#10 vera_layer_mode_tile::tilebase#12 vera_layer_mode_tile::tilebase#1 vera_layer_mode_tile::tilebase#3 vera_layer_mode_tile::tilebase#5 ] +reg byte x [ clrscr::l#2 clrscr::l#1 ] +reg byte y [ clrscr::c#2 clrscr::c#1 ] +reg byte x [ bitmap_init::bitshift#13 bitmap_init::bitshift#3 bitmap_init::bitshift#12 bitmap_init::bitshift#11 bitmap_init::bitshift#10 bitmap_init::bitshift#0 bitmap_init::bitshift#14 bitmap_init::bitshift#1 bitmap_init::bitshift#2 bitmap_init::bitshift#4 ] +reg byte x [ bitmap_line::c#10 bitmap_line::c#0 bitmap_line::c#1 ] +zp[2]:17 [ rand_state#13 rand_state#23 rand_state#14 rand_state#0 rand_state#1 ] +zp[2]:19 [ modr16u::dividend#4 modr16u::dividend#0 modr16u::dividend#1 modr16u::dividend#2 modr16u::dividend#3 divr16u::dividend#2 divr16u::dividend#1 divr16u::dividend#0 rand::return#2 rand::return#3 rand::return#10 rand::return#11 rand::return#12 main::$40 rand::return#0 clrscr::line_text#2 clrscr::line_text#1 clrscr::line_text#0 memcpy_in_vram::src#2 memcpy_in_vram::src#3 memcpy_in_vram::src#0 ] +reg byte a [ vera_layer_set_config::layer#2 vera_layer_set_config::layer#0 ] +reg byte x [ vera_layer_set_config::config#2 vera_layer_set_config::config#0 ] +reg byte a [ vera_layer_set_tilebase::layer#2 vera_layer_set_tilebase::layer#0 ] +reg byte x [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::tilebase#0 ] +reg byte x [ vera_display_get_hscale::return#0 vera_display_get_hscale::s#2 vera_display_get_hscale::s#1 ] +reg byte x [ vera_display_get_vscale::return#0 vera_display_get_vscale::s#2 vera_display_get_vscale::s#1 ] +zp[2]:21 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 bitmap_clear::hdelta#0 bitmap_line::y1#10 bitmap_line::y1#0 modr16u::return#10 modr16u::return#2 modr16u::return#0 bitmap_init::x#10 bitmap_init::x#1 memcpy_in_vram::dest#2 memcpy_in_vram::dest#0 insertup::start#0 insertup::line#0 ] +zp[2]:23 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::xd#1 bitmap_line_ydxi::xd#0 bitmap_line::xd#2 bitmap_line::xd#1 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::xd#1 bitmap_line_xdyi::xd#0 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::xd#0 bitmap_line_ydxd::xd#1 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::xd#1 bitmap_line_xdyd::xd#0 modr16u::divisor#4 divr16u::divisor#0 bitmap_init::y#2 bitmap_init::y#1 memcpy_in_vram::num#3 memcpy_in_vram::num#0 ] +reg byte x [ divr16u::i#2 divr16u::i#1 ] +reg byte x [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +reg byte a [ vera_layer_get_color::return#2 vera_layer_get_color::return#0 vera_layer_get_color::return#1 ] +reg byte x [ bitmap_plot::c#0 bitmap_plot::$3 bitmap_plot::c#5 bitmap_plot::c#2 bitmap_plot::c#1 bitmap_plot::c#4 bitmap_plot::c#3 ] +reg byte x [ insertup::i#2 insertup::i#1 ] +zp[1]:25 [ conio_screen_width ] +zp[1]:26 [ conio_screen_height ] +zp[1]:27 [ conio_screen_layer ] +zp[2]:28 [ conio_width ] +zp[2]:30 [ conio_height ] +zp[1]:32 [ conio_rowshift ] +zp[2]:33 [ conio_rowskip ] +zp[4]:35 [ __bitmap_address ] +zp[1]:39 [ __bitmap_layer ] +zp[1]:40 [ __bitmap_hscale ] +zp[1]:41 [ __bitmap_vscale ] +zp[1]:42 [ __bitmap_color_depth ] +reg byte a [ kbhit::return#2 ] +reg byte a [ main::$30 ] +reg byte a [ kbhit::return#3 ] +reg byte a [ main::$43 ] +reg byte a [ screensize::hscale#0 ] +reg byte a [ screensize::$1 ] +reg byte a [ screensize::vscale#0 ] +reg byte a [ screensize::$3 ] +reg byte x [ vera_layer_get_mapbase_bank::layer#0 ] +reg byte a [ vera_layer_get_mapbase_bank::return#2 ] +zp[1]:43 [ CONIO_SCREEN_BANK#15 ] +reg byte a [ vera_layer_get_mapbase_offset::layer#0 ] +zp[2]:44 [ CONIO_SCREEN_TEXT#104 ] +reg byte a [ screenlayer::vera_layer_get_width1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$2 ] +zp[2]:46 [ screenlayer::vera_layer_get_width1_config#0 vera_layer_mode_tile::mapheight#10 ] +reg byte a [ screenlayer::vera_layer_get_width1_$0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$1 ] +reg byte a [ screenlayer::vera_layer_get_width1_$3 ] +reg byte x [ vera_layer_get_rowshift::layer#0 ] +reg byte a [ vera_layer_get_rowshift::return#2 ] +reg byte a [ screenlayer::$3 ] +reg byte a [ vera_layer_get_rowskip::layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$2 ] +reg byte a [ screenlayer::vera_layer_get_height1_$0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$1 ] +reg byte a [ screenlayer::vera_layer_get_height1_$3 ] +reg byte a [ vera_layer_set_mapbase::$0 ] +zp[2]:48 [ gotoxy::$6 gotoxy::line_offset#0 vera_layer_get_rowskip::return#2 screenlayer::$4 vera_layer_get_rowskip::return#0 vera_layer_get_mapbase_offset::return#2 vera_layer_get_mapbase_offset::return#0 vera_layer_mode_tile::mapwidth#10 ] +reg byte a [ gotoxy::$5 ] +reg byte a [ memcpy_in_vram::$0 ] +reg byte a [ memcpy_in_vram::$1 ] +reg byte a [ memcpy_in_vram::$3 ] +reg byte a [ memcpy_in_vram::$4 ] +reg byte a [ memcpy_in_vram::$5 ] +reg byte a [ vera_layer_mode_tile::$16 ] +zp[2]:50 [ vera_layer_mode_tile::$1 screenlayer::vera_layer_get_height1_config#0 ] +zp[1]:52 [ vera_layer_mode_tile::$19 ] +zp[2]:53 [ vera_layer_mode_tile::$2 screenlayer::vera_layer_get_height1_return#0 screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 ] +zp[1]:55 [ vera_layer_mode_tile::$20 ] +reg byte x [ vera_layer_mode_tile::mapbase#0 ] +zp[2]:56 [ vera_layer_mode_tile::$7 vera_layer_set_mapbase::addr#0 screenlayer::vera_layer_get_width1_return#0 screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 ] +zp[2]:58 [ vera_layer_mode_tile::$8 ] +zp[2]:60 [ vera_layer_mode_tile::$10 ] +reg byte a [ vera_layer_mode_tile::tilebase#0 ] +reg byte a [ vera_layer_mode_tile::$15 ] +reg byte a [ vera_layer_mode_tile::$14 ] +reg byte a [ vera_layer_mode_tile::$13 ] +reg byte x [ vera_layer_get_backcolor::layer#0 ] +reg byte a [ vera_layer_get_backcolor::return#2 ] +reg byte a [ clrscr::$0 ] +reg byte x [ vera_layer_get_textcolor::layer#0 ] +reg byte a [ vera_layer_get_textcolor::return#2 ] +reg byte a [ clrscr::$2 ] +reg byte a [ clrscr::$9 ] +reg byte a [ clrscr::$5 ] +reg byte a [ clrscr::$6 ] +reg byte a [ clrscr::$7 ] +reg byte a [ cputs::c#1 ] +zp[1]:62 [ cputc::c#0 clrscr::$1 clrscr::color#0 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line_xdyd::c#0 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line_ydxd::c#1 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line_xdyi::c#0 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line_ydxi::c#0 bitmap_init::bitmask#13 bitmap_init::bitmask#3 bitmap_init::bitmask#12 bitmap_init::bitmask#11 bitmap_init::bitmask#10 bitmap_init::bitmask#0 bitmap_init::bitmask#16 bitmap_init::bitmask#1 bitmap_init::bitmask#2 bitmap_init::bitmask#4 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_layer#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_$1 ] +zp[2]:63 [ bitmap_init::vera_layer_get_color_depth1_config#0 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::yd#0 bitmap_line_ydxd::yd#1 bitmap_line::yd#1 bitmap_line::yd#10 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::yd#1 bitmap_line_xdyd::yd#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_$0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_return#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_return#1 ] +reg byte a [ bitmap_init::$0 ] +reg byte x [ vera_display_get_hscale::return#2 ] +reg byte x [ bitmap_init::$1 ] +reg byte x [ vera_display_get_vscale::return#2 ] +reg byte x [ bitmap_init::$2 ] +reg byte a [ bitmap_init::$3 ] +reg byte a [ bitmap_init::$4 ] +reg byte a [ bitmap_init::$27 ] +reg byte a [ bitmap_clear::$7 ] +zp[2]:65 [ bitmap_clear::vdelta#0 mul16u::b#0 bitmap_init::$7 bitmap_line::x1#10 bitmap_line::x1#0 bitmap_line::x1#1 bitmap_line_ydxi::x#3 bitmap_line_ydxi::x#5 bitmap_line_ydxi::x#1 bitmap_line_ydxi::x#0 bitmap_line_ydxi::x#6 bitmap_line_ydxi::x#2 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x1#1 bitmap_line_xdyi::x1#0 bitmap_line_ydxd::x#3 bitmap_line_ydxd::x#5 bitmap_line_ydxd::x#0 bitmap_line_ydxd::x#1 bitmap_line_ydxd::x#6 bitmap_line_ydxd::x#2 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x1#1 bitmap_line_xdyd::x1#0 modr16u::return#3 memcpy_in_vram::i#2 memcpy_in_vram::i#1 ] +reg byte a [ bitmap_clear::$0 ] +reg byte a [ bitmap_clear::$1 ] +reg byte a [ bitmap_clear::$8 ] +zp[2]:67 [ bitmap_clear::$3 bitmap_init::$23 bitmap_init::$29 bitmap_line::y0#10 bitmap_line::y0#0 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y1#1 bitmap_line_ydxi::y1#0 bitmap_line_xdyi::y#3 bitmap_line_xdyi::y#5 bitmap_line_xdyi::y#1 bitmap_line_xdyi::y#0 bitmap_line_xdyi::y#6 bitmap_line_xdyi::y#2 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y1#0 bitmap_line_ydxd::y1#1 bitmap_line_xdyd::y#3 bitmap_line_xdyd::y#5 bitmap_line_xdyd::y#1 bitmap_line_xdyd::y#0 bitmap_line_xdyd::y#6 bitmap_line_xdyd::y#2 modr16u::return#4 cputs::s#8 cputs::s#9 cputs::s#0 ] +reg byte x [ bitmap_clear::vbank#0 ] +zp[2]:69 [ bitmap_clear::vdest#0 memset_vram::vdest#0 bitmap_init::$30 divr16u::rem#4 divr16u::rem#10 divr16u::rem#5 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::yd#1 bitmap_line_ydxi::yd#0 bitmap_line::yd#2 bitmap_line::yd#11 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::yd#1 bitmap_line_xdyi::yd#0 ] +reg byte x [ memset_vram::vbank#0 ] +zp[1]:71 [ kbhit::ch ] +reg byte a [ kbhit::return#0 ] +reg byte a [ kbhit::return#1 ] +zp[2]:72 [ rand::$0 bitmap_init::$31 divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 bitmap_line_ydxi::y#3 bitmap_line_ydxi::y#6 bitmap_line_ydxi::y#1 bitmap_line_ydxi::y#0 bitmap_line_ydxi::y#2 bitmap_plot::y#4 bitmap_plot::y#1 bitmap_plot::y#0 bitmap_plot::y#3 bitmap_plot::y#2 bitmap_line_ydxd::y#2 bitmap_line_ydxd::y#7 bitmap_line_ydxd::y#0 bitmap_line_ydxd::y#1 bitmap_line_ydxd::y#3 ] +zp[2]:74 [ rand::$1 bitmap_init::$10 clearline::c#2 clearline::c#1 bitmap_line_xdyi::x#3 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line_xdyi::x#0 bitmap_line_xdyi::x#2 bitmap_plot::x#4 bitmap_plot::x#1 bitmap_plot::x#0 bitmap_plot::x#3 bitmap_plot::x#2 bitmap_line_xdyd::x#3 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line_xdyd::x#0 bitmap_line_xdyd::x#2 ] +zp[2]:76 [ vera_layer_set_text_color_mode::addr#0 vera_layer_mode_tile::$4 ] +reg byte a [ vera_layer_get_mapbase_bank::return#0 ] +reg byte a [ vera_layer_get_mapbase_offset::$0 ] +reg byte a [ vera_layer_get_rowshift::return#0 ] +reg byte a [ vera_layer_get_rowskip::$0 ] +reg byte a [ vera_layer_set_config::$0 ] +reg byte a [ vera_layer_set_tilebase::$0 ] +zp[2]:78 [ vera_layer_set_tilebase::addr#0 vera_layer_set_config::addr#0 ] +reg byte a [ vera_layer_get_backcolor::return#0 ] +reg byte a [ vera_layer_get_textcolor::return#0 ] +reg byte a [ vera_layer_get_color::return#3 ] +reg byte x [ cputc::color#0 ] +reg byte a [ cputc::$15 ] +reg byte a [ cputc::$2 ] +reg byte a [ cputc::$4 ] +reg byte a [ cputc::$5 ] +reg byte a [ cputc::$6 ] +reg byte a [ cputc::scroll_enable#0 ] +reg byte a [ mul16u::$1 ] +reg byte a [ memset_vram::$0 ] +reg byte a [ memset_vram::$1 ] +reg byte a [ memset_vram::$2 ] +zp[2]:80 [ bitmap_line_ydxi::$6 bitmap_init::$13 ] +zp[2]:82 [ bitmap_line_xdyi::$6 bitmap_init::$25 bitmap_init::$35 ] +zp[2]:84 [ bitmap_line_ydxd::$6 bitmap_init::$36 ] +zp[2]:86 [ bitmap_line_xdyd::$6 bitmap_init::$37 ] +reg byte a [ divr16u::$1 ] +reg byte a [ divr16u::$2 ] +zp[2]:88 [ rem16u#0 ] +reg byte a [ vera_layer_get_color::$3 ] +reg byte a [ vera_layer_get_color::$0 ] +reg byte a [ vera_layer_get_color::$1 ] +reg byte a [ cputln::$2 ] +zp[2]:90 [ cputln::temp#0 cputln::temp#1 bitmap_init::$39 bitmap_line_xdyd::e#3 bitmap_line_xdyd::e#0 bitmap_line_xdyd::e#6 bitmap_line_xdyd::e#2 bitmap_line_xdyd::e#1 bitmap_line_ydxd::e#3 bitmap_line_ydxd::e#0 bitmap_line_ydxd::e#6 bitmap_line_ydxd::e#2 bitmap_line_ydxd::e#1 bitmap_line_xdyi::e#3 bitmap_line_xdyi::e#0 bitmap_line_xdyi::e#6 bitmap_line_xdyi::e#2 bitmap_line_xdyi::e#1 bitmap_line_ydxi::e#3 bitmap_line_ydxi::e#0 bitmap_line_ydxi::e#6 bitmap_line_ydxi::e#2 bitmap_line_ydxi::e#1 ] +reg byte a [ cputln::$3 ] +zp[2]:92 [ bitmap_plot::$9 bitmap_plot::$12 bitmap_init::$40 ] +zp[4]:94 [ bitmap_plot::plot_x#0 bitmap_plot::vera_vram_address01_bankaddr#0 mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 bitmap_clear::count#0 memset_vram::num#0 bitmap_init::yoffs#2 bitmap_init::yoffs#0 bitmap_init::yoffs#1 ] +zp[2]:98 [ bitmap_plot::$10 bitmap_plot::$13 bitmap_init::hdelta#0 ] +zp[4]:100 [ bitmap_plot::plot_y#0 memset_vram::i#2 memset_vram::i#1 mul16u::mb#2 mul16u::mb#0 mul16u::mb#1 ] +zp[2]:104 [ bitmap_plot::$14 bitmap_init::$28 bitmap_init::$41 ] +reg byte a [ bitmap_plot::bitshift#0 ] +reg byte a [ bitmap_plot::vera_vram_address01_$1 ] +zp[2]:106 [ bitmap_plot::vera_vram_address01_$2 rand::$2 bitmap_init::$24 bitmap_init::$32 ] +reg byte a [ bitmap_plot::vera_vram_address01_$3 ] +zp[2]:108 [ bitmap_plot::vera_vram_address01_$4 cputc::conio_addr#0 cputc::conio_addr#1 bitmap_init::$33 ] +reg byte a [ bitmap_plot::vera_vram_address01_$6 ] +zp[2]:110 [ bitmap_plot::$15 cputc::$16 bitmap_init::$34 ] +reg byte a [ bitmap_plot::$6 ] +reg byte a [ bitmap_plot::$7 ] +reg byte a [ bitmap_plot::$8 ] +zp[1]:112 [ insertup::cy#0 ] +zp[1]:113 [ insertup::width#0 ] +reg byte a [ insertup::$3 ] +reg byte a [ clearline::$5 ] +zp[2]:114 [ clearline::addr#0 bitmap_plot::vera_vram_address01_$0 vera_layer_get_color::addr#0 bitmap_init::$26 bitmap_init::$38 ] +reg byte a [ clearline::$1 ] +reg byte a [ clearline::$2 ] +reg byte a [ vera_layer_get_color::return#4 ] +reg byte x [ clearline::color#0 ] + + +FINAL ASSEMBLER +Score: 588436 + + // File Comments +// Example program for the Commander X16. +// Demonstrates the usage of the VERA tile map modes and layering. + // Upstart +.cpu _65c02 + // Commodore 64 PRG executable file +.file [name="bitmap_8bpp_320_x_240.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$0801] +.segmentdef Code [start=$80d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(__start) + // Global Constants & labels + // The colors of the CX16 + .const BLACK = 0 + .const WHITE = 1 + .const BLUE = 6 + .const YELLOW = 7 + .const VERA_INC_1 = $10 + .const VERA_ADDRSEL = 1 + .const VERA_LAYER1_ENABLE = $20 + .const VERA_LAYER0_ENABLE = $10 + .const VERA_LAYER_WIDTH_64 = $10 + .const VERA_LAYER_WIDTH_128 = $20 + .const VERA_LAYER_WIDTH_256 = $30 + .const VERA_LAYER_WIDTH_MASK = $30 + .const VERA_LAYER_HEIGHT_64 = $40 + .const VERA_LAYER_HEIGHT_128 = $80 + .const VERA_LAYER_HEIGHT_256 = $c0 + .const VERA_LAYER_HEIGHT_MASK = $c0 + // Bit 0-1: Color Depth (0: 1 bpp, 1: 2 bpp, 2: 4 bpp, 3: 8 bpp) + .const VERA_LAYER_COLOR_DEPTH_1BPP = 0 + .const VERA_LAYER_COLOR_DEPTH_8BPP = 3 + .const VERA_LAYER_COLOR_DEPTH_MASK = 3 + .const VERA_LAYER_CONFIG_MODE_BITMAP = 4 + .const VERA_LAYER_CONFIG_256C = 8 + .const VERA_TILEBASE_WIDTH_16 = 1 + .const VERA_TILEBASE_HEIGHT_16 = 2 + .const VERA_LAYER_TILEBASE_MASK = $fc + .const SIZEOF_POINTER = 2 + // $9F20 VRAM Address (7:0) + .label VERA_ADDRX_L = $9f20 + // $9F21 VRAM Address (15:8) + .label VERA_ADDRX_M = $9f21 + // $9F22 VRAM Address (7:0) + // Bit 4-7: Address Increment The following is the amount incremented per value value:increment + // 0:0, 1:1, 2:2, 3:4, 4:8, 5:16, 6:32, 7:64, 8:128, 9:256, 10:512, 11:40, 12:80, 13:160, 14:320, 15:640 + // Bit 3: DECR Setting the DECR bit, will decrement instead of increment by the value set by the 'Address Increment' field. + // Bit 0: VRAM Address (16) + .label VERA_ADDRX_H = $9f22 + // $9F23 DATA0 VRAM Data port 0 + .label VERA_DATA0 = $9f23 + // $9F24 DATA1 VRAM Data port 1 + .label VERA_DATA1 = $9f24 + // $9F25 CTRL Control + // Bit 7: Reset + // Bit 1: DCSEL + // Bit 2: ADDRSEL + .label VERA_CTRL = $9f25 + // $9F29 DC_VIDEO (DCSEL=0) + // Bit 7: Current Field Read-only bit which reflects the active interlaced field in composite and RGB modes. (0: even, 1: odd) + // Bit 6: Sprites Enable Enable output from the Sprites renderer + // Bit 5: Layer1 Enable Enable output from the Layer1 renderer + // Bit 4: Layer0 Enable Enable output from the Layer0 renderer + // Bit 2: Chroma Disable Setting 'Chroma Disable' disables output of chroma in NTSC composite mode and will give a better picture on a monochrome display. (Setting this bit will also disable the chroma output on the S-video output.) + // Bit 0-1: Output Mode 0: Video disabled, 1: VGA output, 2: NTSC composite, 3: RGB interlaced, composite sync (via VGA connector) + .label VERA_DC_VIDEO = $9f29 + // $9F2A DC_HSCALE (DCSEL=0) Active Display H-Scale + .label VERA_DC_HSCALE = $9f2a + // $9F2B DC_VSCALE (DCSEL=0) Active Display V-Scale + .label VERA_DC_VSCALE = $9f2b + // $9F2D L0_CONFIG Layer 0 Configuration + .label VERA_L0_CONFIG = $9f2d + // $9F2E L0_MAPBASE Layer 0 Map Base Address (16:9) + .label VERA_L0_MAPBASE = $9f2e + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L0_TILEBASE = $9f2f + // $9F34 L1_CONFIG Layer 1 Configuration + .label VERA_L1_CONFIG = $9f34 + // $9F35 L1_MAPBASE Layer 1 Map Base Address (16:9) + .label VERA_L1_MAPBASE = $9f35 + // $9F36 L1_TILEBASE Layer 1 Tile Base + // Bit 2-7: Tile Base Address (16:11) + // Bit 1: Tile Height (0:8 pixels, 1:16 pixels) + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L1_TILEBASE = $9f36 + // Variable holding the screen width; + .label conio_screen_width = $19 + // Variable holding the screen height; + .label conio_screen_height = $1a + // Variable holding the screen layer on the VERA card with which conio interacts; + .label conio_screen_layer = $1b + // Variables holding the current map width and map height of the layer. + .label conio_width = $1c + .label conio_height = $1e + .label conio_rowshift = $20 + .label conio_rowskip = $21 + .label __bitmap_address = $23 + .label __bitmap_layer = $27 + .label __bitmap_hscale = $28 + .label __bitmap_vscale = $29 + .label __bitmap_color_depth = $2a + // The random state variable + .label rand_state = $11 + // Remainder after unsigned 16-bit division + .label rem16u = $58 + .label CONIO_SCREEN_BANK = $2b + // The screen width + // The screen height + // The text screen base address, which is a 16:0 bit value in VERA VRAM. + // That is 128KB addressable space, thus 17 bits in total. + // CONIO_SCREEN_TEXT contains bits 15:0 of the address. + // CONIO_SCREEN_BANK contains bit 16, the the 64K memory bank in VERA VRAM (the upper 17th bit). + // !!! note that these values are not const for the cx16! + // This conio implements the two layers of VERA, which can be layer 0 or layer 1. + // Configuring conio to output to a different layer, will change these fields to the address base + // configured using VERA_L0_MAPBASE = 0x9f2e or VERA_L1_MAPBASE = 0x9f35. + // Using the function setscreenlayer(layer) will re-calculate using CONIO_SCREEN_TEXT and CONIO_SCREEN_BASE + // based on the values of VERA_L0_MAPBASE or VERA_L1_MAPBASE, mapping the base address of the selected layer. + // The function setscreenlayermapbase(layer,mapbase) allows to configure bit 16:9 of the + // mapbase address of the time map in VRAM of the selected layer VERA_L0_MAPBASE or VERA_L1_MAPBASE. + .label CONIO_SCREEN_TEXT = $2c +.segment Code + // __start +__start: { + // __start::__init1 + // conio_screen_width = 0 + // [1] conio_screen_width = 0 -- vbuz1=vbuc1 + lda #0 + sta.z conio_screen_width + // conio_screen_height = 0 + // [2] conio_screen_height = 0 -- vbuz1=vbuc1 + sta.z conio_screen_height + // conio_screen_layer = 1 + // [3] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // conio_width = 0 + // [4] conio_width = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_width + sta.z conio_width+1 + // conio_height = 0 + // [5] conio_height = 0 -- vwuz1=vwuc1 + sta.z conio_height + sta.z conio_height+1 + // conio_rowshift = 0 + // [6] conio_rowshift = 0 -- vbuz1=vbuc1 + sta.z conio_rowshift + // conio_rowskip = 0 + // [7] conio_rowskip = 0 -- vwuz1=vwuc1 + sta.z conio_rowskip + sta.z conio_rowskip+1 + // __bitmap_address = 0 + // [8] __bitmap_address = 0 -- vduz1=vduc1 + sta.z __bitmap_address + sta.z __bitmap_address+1 + lda #<0>>$10 + sta.z __bitmap_address+2 + lda #>0>>$10 + sta.z __bitmap_address+3 + // __bitmap_layer = 0 + // [9] __bitmap_layer = 0 -- vbuz1=vbuc1 + lda #0 + sta.z __bitmap_layer + // __bitmap_hscale = 0 + // [10] __bitmap_hscale = 0 -- vbuz1=vbuc1 + sta.z __bitmap_hscale + // __bitmap_vscale = 0 + // [11] __bitmap_vscale = 0 -- vbuz1=vbuc1 + sta.z __bitmap_vscale + // __bitmap_color_depth = 0 + // [12] __bitmap_color_depth = 0 -- vbuz1=vbuc1 + sta.z __bitmap_color_depth + // #pragma constructor_for(conio_x16_init, cputc, clrscr, cscroll) + // [13] call conio_x16_init + jsr conio_x16_init + // [14] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1] + // __start::@1 + // [15] call main + // [37] phi from __start::@1 to main [phi:__start::@1->main] + jsr main + // __start::@return + // [16] return + rts +} + // conio_x16_init +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // line = *BASIC_CURSOR_LINE + // [17] conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE -- vbuz1=_deref_pbuc1 + lda BASIC_CURSOR_LINE + sta.z line + // vera_layer_mode_text(1,(dword)0x00000,(dword)0x0F800,128,64,8,8,16) + // [18] call vera_layer_mode_text + // [145] phi from conio_x16_init to vera_layer_mode_text [phi:conio_x16_init->vera_layer_mode_text] + jsr vera_layer_mode_text + // [19] phi from conio_x16_init to conio_x16_init::@3 [phi:conio_x16_init->conio_x16_init::@3] + // conio_x16_init::@3 + // screensize(&conio_screen_width, &conio_screen_height) + // [20] call screensize + jsr screensize + // [21] phi from conio_x16_init::@3 to conio_x16_init::@4 [phi:conio_x16_init::@3->conio_x16_init::@4] + // conio_x16_init::@4 + // screenlayer(1) + // [22] call screenlayer + jsr screenlayer + // [23] phi from conio_x16_init::@4 to conio_x16_init::@5 [phi:conio_x16_init::@4->conio_x16_init::@5] + // conio_x16_init::@5 + // vera_layer_set_textcolor(1, WHITE) + // [24] call vera_layer_set_textcolor + // [197] phi from conio_x16_init::@5 to vera_layer_set_textcolor [phi:conio_x16_init::@5->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:conio_x16_init::@5->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = 1 [phi:conio_x16_init::@5->vera_layer_set_textcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_textcolor + // [25] phi from conio_x16_init::@5 to conio_x16_init::@6 [phi:conio_x16_init::@5->conio_x16_init::@6] + // conio_x16_init::@6 + // vera_layer_set_backcolor(1, BLUE) + // [26] call vera_layer_set_backcolor + // [200] phi from conio_x16_init::@6 to vera_layer_set_backcolor [phi:conio_x16_init::@6->vera_layer_set_backcolor] + // [200] phi vera_layer_set_backcolor::color#4 = BLUE [phi:conio_x16_init::@6->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [200] phi vera_layer_set_backcolor::layer#4 = 1 [phi:conio_x16_init::@6->vera_layer_set_backcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_backcolor + // [27] phi from conio_x16_init::@6 to conio_x16_init::@7 [phi:conio_x16_init::@6->conio_x16_init::@7] + // conio_x16_init::@7 + // vera_layer_set_mapbase(0,0x20) + // [28] call vera_layer_set_mapbase + // [203] phi from conio_x16_init::@7 to vera_layer_set_mapbase [phi:conio_x16_init::@7->vera_layer_set_mapbase] + // [203] phi vera_layer_set_mapbase::mapbase#3 = $20 [phi:conio_x16_init::@7->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #$20 + // [203] phi vera_layer_set_mapbase::layer#3 = 0 [phi:conio_x16_init::@7->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #0 + jsr vera_layer_set_mapbase + // [29] phi from conio_x16_init::@7 to conio_x16_init::@8 [phi:conio_x16_init::@7->conio_x16_init::@8] + // conio_x16_init::@8 + // vera_layer_set_mapbase(1,0x00) + // [30] call vera_layer_set_mapbase + // [203] phi from conio_x16_init::@8 to vera_layer_set_mapbase [phi:conio_x16_init::@8->vera_layer_set_mapbase] + // [203] phi vera_layer_set_mapbase::mapbase#3 = 0 [phi:conio_x16_init::@8->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #0 + // [203] phi vera_layer_set_mapbase::layer#3 = 1 [phi:conio_x16_init::@8->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #1 + jsr vera_layer_set_mapbase + // conio_x16_init::@9 + // if(line>=CONIO_HEIGHT) + // [31] if(conio_x16_init::line#0conio_x16_init::@1] + // [33] phi conio_x16_init::line#3 = conio_x16_init::line#1 [phi:conio_x16_init::@2/conio_x16_init::@9->conio_x16_init::@1#0] -- register_copy + // conio_x16_init::@1 + __b1: + // gotoxy(0, line) + // [34] gotoxy::y#0 = conio_x16_init::line#3 -- vbuxx=vbuz1 + ldx.z line + // [35] call gotoxy + // [208] phi from conio_x16_init::@1 to gotoxy [phi:conio_x16_init::@1->gotoxy] + // [208] phi gotoxy::y#7 = gotoxy::y#0 [phi:conio_x16_init::@1->gotoxy#0] -- register_copy + jsr gotoxy + // conio_x16_init::@return + // } + // [36] return + rts +} + // main +main: { + .label __40 = $13 + .label color = 5 + .label x = 3 + // memcpy_in_vram(1, 0xF000, VERA_INC_1, 0, 0xF800, VERA_INC_1, 256*8) + // [38] call memcpy_in_vram + // Before we configure the bitmap pane into vera memory we need to re-arrange a few things! + // It is better to load all in bank 0, but then there is an issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x14000. + // This is now all easily done with a few statements in the new kickc vera lib ... + // [221] phi from main to memcpy_in_vram [phi:main->memcpy_in_vram] + // [221] phi memcpy_in_vram::num#3 = $100*8 [phi:main->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [221] phi memcpy_in_vram::dest_bank#2 = 1 [phi:main->memcpy_in_vram#1] -- vbuyy=vbuc1 + ldy #1 + // [221] phi memcpy_in_vram::dest#2 = (void*) 61440 [phi:main->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + // [221] phi memcpy_in_vram::src#2 = (void*) 63488 [phi:main->memcpy_in_vram#3] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [39] phi from main to main::@12 [phi:main->main::@12] + // main::@12 + // vera_layer_mode_tile(1, 0x14000, 0x1F000, 128, 64, 8, 8, 1) + // [40] call vera_layer_mode_tile + // We copy the 128 character set of 8 bytes each. + // [240] phi from main::@12 to vera_layer_mode_tile [phi:main::@12->vera_layer_mode_tile] + // [240] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@12->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [240] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@12->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + sta.z vera_layer_mode_tile.tilewidth + // [240] phi vera_layer_mode_tile::tilebase_address#10 = $1f000 [phi:main::@12->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [240] phi vera_layer_mode_tile::mapbase_address#10 = $14000 [phi:main::@12->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [240] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@12->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [240] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@12->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [240] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@12->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // [41] phi from main::@12 to main::@13 [phi:main::@12->main::@13] + // main::@13 + // vera_layer_mode_bitmap(0, (dword)0x00000, 320, 8) + // [42] call vera_layer_mode_bitmap + // [303] phi from main::@13 to vera_layer_mode_bitmap [phi:main::@13->vera_layer_mode_bitmap] + jsr vera_layer_mode_bitmap + // [43] phi from main::@13 to main::@14 [phi:main::@13->main::@14] + // main::@14 + // screenlayer(1) + // [44] call screenlayer + jsr screenlayer + // main::textcolor1 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [45] vera_layer_set_textcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [46] call vera_layer_set_textcolor + // [197] phi from main::textcolor1 to vera_layer_set_textcolor [phi:main::textcolor1->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor1->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#1 [phi:main::textcolor1->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // main::bgcolor1 + // vera_layer_set_backcolor(conio_screen_layer, color) + // [47] vera_layer_set_backcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [48] call vera_layer_set_backcolor + // [200] phi from main::bgcolor1 to vera_layer_set_backcolor [phi:main::bgcolor1->vera_layer_set_backcolor] + // [200] phi vera_layer_set_backcolor::color#4 = BLACK [phi:main::bgcolor1->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#1 [phi:main::bgcolor1->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [49] phi from main::bgcolor1 to main::@6 [phi:main::bgcolor1->main::@6] + // main::@6 + // clrscr() + // [50] call clrscr + jsr clrscr + // [51] phi from main::@6 to main::@15 [phi:main::@6->main::@15] + // main::@15 + // gotoxy(0,25) + // [52] call gotoxy + // [208] phi from main::@15 to gotoxy [phi:main::@15->gotoxy] + // [208] phi gotoxy::y#7 = $19 [phi:main::@15->gotoxy#0] -- vbuxx=vbuc1 + ldx #$19 + jsr gotoxy + // [53] phi from main::@15 to main::@16 [phi:main::@15->main::@16] + // main::@16 + // printf("vera in bitmap mode,\n") + // [54] call cputs + // [346] phi from main::@16 to cputs [phi:main::@16->cputs] + // [346] phi cputs::s#9 = main::s [phi:main::@16->cputs#0] -- pbuz1=pbuc1 + lda #s + sta.z cputs.s+1 + jsr cputs + // [55] phi from main::@16 to main::@17 [phi:main::@16->main::@17] + // main::@17 + // printf("color depth 8 bits per pixel.\n") + // [56] call cputs + // [346] phi from main::@17 to cputs [phi:main::@17->cputs] + // [346] phi cputs::s#9 = main::s1 [phi:main::@17->cputs#0] -- pbuz1=pbuc1 + lda #s1 + sta.z cputs.s+1 + jsr cputs + // [57] phi from main::@17 to main::@18 [phi:main::@17->main::@18] + // main::@18 + // printf("in this mode, it is possible to display\n") + // [58] call cputs + // [346] phi from main::@18 to cputs [phi:main::@18->cputs] + // [346] phi cputs::s#9 = main::s2 [phi:main::@18->cputs#0] -- pbuz1=pbuc1 + lda #s2 + sta.z cputs.s+1 + jsr cputs + // [59] phi from main::@18 to main::@19 [phi:main::@18->main::@19] + // main::@19 + // printf("graphics in 256 colors.\n") + // [60] call cputs + // [346] phi from main::@19 to cputs [phi:main::@19->cputs] + // [346] phi cputs::s#9 = main::s3 [phi:main::@19->cputs#0] -- pbuz1=pbuc1 + lda #s3 + sta.z cputs.s+1 + jsr cputs + // main::vera_layer_show1 + // *VERA_DC_VIDEO |= vera_layer_enable[layer] + // [61] *VERA_DC_VIDEO = *VERA_DC_VIDEO | *vera_layer_enable -- _deref_pbuc1=_deref_pbuc1_bor__deref_pbuc2 + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + // [62] phi from main::vera_layer_show1 to main::@7 [phi:main::vera_layer_show1->main::@7] + // main::@7 + // bitmap_init(0, 0x00000) + // [63] call bitmap_init + jsr bitmap_init + // [64] phi from main::@7 to main::@20 [phi:main::@7->main::@20] + // main::@20 + // bitmap_clear() + // [65] call bitmap_clear + jsr bitmap_clear + // [66] phi from main::@20 to main::@21 [phi:main::@20->main::@21] + // main::@21 + // gotoxy(0,29) + // [67] call gotoxy + // [208] phi from main::@21 to gotoxy [phi:main::@21->gotoxy] + // [208] phi gotoxy::y#7 = $1d [phi:main::@21->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1d + jsr gotoxy + // main::textcolor2 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [68] vera_layer_set_textcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [69] call vera_layer_set_textcolor + // [197] phi from main::textcolor2 to vera_layer_set_textcolor [phi:main::textcolor2->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = YELLOW [phi:main::textcolor2->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #YELLOW + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#2 [phi:main::textcolor2->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // [70] phi from main::textcolor2 to main::@8 [phi:main::textcolor2->main::@8] + // main::@8 + // printf("press a key ...") + // [71] call cputs + // [346] phi from main::@8 to cputs [phi:main::@8->cputs] + // [346] phi cputs::s#9 = main::s4 [phi:main::@8->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [72] phi from main::@8 to main::@1 [phi:main::@8->main::@1] + // [72] phi rand_state#23 = 1 [phi:main::@8->main::@1#0] -- vwuz1=vwuc1 + lda #<1 + sta.z rand_state + lda #>1 + sta.z rand_state+1 + // main::@1 + __b1: + // kbhit() + // [73] call kbhit + jsr kbhit + // [74] kbhit::return#2 = kbhit::return#1 + // main::@22 + // [75] main::$30 = kbhit::return#2 + // while(!kbhit()) + // [76] if(0==main::$30) goto main::@2 -- 0_eq_vbuaa_then_la1 + cmp #0 + bne !__b2+ + jmp __b2 + !__b2: + // main::textcolor3 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [77] vera_layer_set_textcolor::layer#3 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [78] call vera_layer_set_textcolor + // [197] phi from main::textcolor3 to vera_layer_set_textcolor [phi:main::textcolor3->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor3->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#3 [phi:main::textcolor3->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // main::bgcolor2 + // vera_layer_set_backcolor(conio_screen_layer, color) + // [79] vera_layer_set_backcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [80] call vera_layer_set_backcolor + // [200] phi from main::bgcolor2 to vera_layer_set_backcolor [phi:main::bgcolor2->vera_layer_set_backcolor] + // [200] phi vera_layer_set_backcolor::color#4 = BLACK [phi:main::bgcolor2->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#2 [phi:main::bgcolor2->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [81] phi from main::bgcolor2 to main::@9 [phi:main::bgcolor2->main::@9] + // main::@9 + // clrscr() + // [82] call clrscr + jsr clrscr + // [83] phi from main::@9 to main::@32 [phi:main::@9->main::@32] + // main::@32 + // gotoxy(0,26) + // [84] call gotoxy + // [208] phi from main::@32 to gotoxy [phi:main::@32->gotoxy] + // [208] phi gotoxy::y#7 = $1a [phi:main::@32->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1a + jsr gotoxy + // [85] phi from main::@32 to main::@33 [phi:main::@32->main::@33] + // main::@33 + // printf("here you see all the colors possible.\n") + // [86] call cputs + // [346] phi from main::@33 to cputs [phi:main::@33->cputs] + // [346] phi cputs::s#9 = main::s5 [phi:main::@33->cputs#0] -- pbuz1=pbuc1 + lda #s5 + sta.z cputs.s+1 + jsr cputs + // [87] phi from main::@33 to main::@34 [phi:main::@33->main::@34] + // main::@34 + // gotoxy(0,29) + // [88] call gotoxy + // [208] phi from main::@34 to gotoxy [phi:main::@34->gotoxy] + // [208] phi gotoxy::y#7 = $1d [phi:main::@34->gotoxy#0] -- vbuxx=vbuc1 + ldx #$1d + jsr gotoxy + // main::textcolor4 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [89] vera_layer_set_textcolor::layer#4 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [90] call vera_layer_set_textcolor + // [197] phi from main::textcolor4 to vera_layer_set_textcolor [phi:main::textcolor4->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = YELLOW [phi:main::textcolor4->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #YELLOW + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#4 [phi:main::textcolor4->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // [91] phi from main::textcolor4 to main::@10 [phi:main::textcolor4->main::@10] + // main::@10 + // printf("press a key ...") + // [92] call cputs + // [346] phi from main::@10 to cputs [phi:main::@10->cputs] + // [346] phi cputs::s#9 = main::s4 [phi:main::@10->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [93] phi from main::@10 to main::@3 [phi:main::@10->main::@3] + // [93] phi main::color#2 = 0 [phi:main::@10->main::@3#0] -- vbuz1=vbuc1 + lda #0 + sta.z color + // [93] phi main::x#3 = 0 [phi:main::@10->main::@3#1] -- vwuz1=vwuc1 + sta.z x + sta.z x+1 + // main::@3 + __b3: + // kbhit() + // [94] call kbhit + jsr kbhit + // [95] kbhit::return#3 = kbhit::return#1 + // main::@35 + // [96] main::$43 = kbhit::return#3 + // while(!kbhit()) + // [97] if(0==main::$43) goto main::@4 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b4 + // [98] phi from main::@35 to main::@5 [phi:main::@35->main::@5] + // main::@5 + // screenlayer(1) + // [99] call screenlayer + jsr screenlayer + // main::textcolor5 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [100] vera_layer_set_textcolor::layer#5 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [101] call vera_layer_set_textcolor + // [197] phi from main::textcolor5 to vera_layer_set_textcolor [phi:main::textcolor5->vera_layer_set_textcolor] + // [197] phi vera_layer_set_textcolor::color#6 = WHITE [phi:main::textcolor5->vera_layer_set_textcolor#0] -- vbuaa=vbuc1 + lda #WHITE + // [197] phi vera_layer_set_textcolor::layer#6 = vera_layer_set_textcolor::layer#5 [phi:main::textcolor5->vera_layer_set_textcolor#1] -- register_copy + jsr vera_layer_set_textcolor + // main::bgcolor3 + // vera_layer_set_backcolor(conio_screen_layer, color) + // [102] vera_layer_set_backcolor::layer#3 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [103] call vera_layer_set_backcolor + // [200] phi from main::bgcolor3 to vera_layer_set_backcolor [phi:main::bgcolor3->vera_layer_set_backcolor] + // [200] phi vera_layer_set_backcolor::color#4 = BLUE [phi:main::bgcolor3->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [200] phi vera_layer_set_backcolor::layer#4 = vera_layer_set_backcolor::layer#3 [phi:main::bgcolor3->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [104] phi from main::bgcolor3 to main::@11 [phi:main::bgcolor3->main::@11] + // main::@11 + // clrscr() + // [105] call clrscr + jsr clrscr + // main::@return + // } + // [106] return + rts + // main::@4 + __b4: + // bitmap_line(x, x, 0, 199, color) + // [107] bitmap_line::x0#1 = main::x#3 + // [108] bitmap_line::x1#1 = main::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_line.x1 + lda.z x+1 + sta.z bitmap_line.x1+1 + // [109] bitmap_line::c#1 = main::color#2 -- vbuxx=vbuz1 + ldx.z color + // [110] call bitmap_line + // [464] phi from main::@4 to bitmap_line [phi:main::@4->bitmap_line] + // [464] phi bitmap_line::c#10 = bitmap_line::c#1 [phi:main::@4->bitmap_line#0] -- register_copy + // [464] phi bitmap_line::y1#10 = $c7 [phi:main::@4->bitmap_line#1] -- vwuz1=vbuc1 + lda #<$c7 + sta.z bitmap_line.y1 + lda #>$c7 + sta.z bitmap_line.y1+1 + // [464] phi bitmap_line::y0#10 = 0 [phi:main::@4->bitmap_line#2] -- vwuz1=vbuc1 + lda #<0 + sta.z bitmap_line.y0 + sta.z bitmap_line.y0+1 + // [464] phi bitmap_line::x1#10 = bitmap_line::x1#1 [phi:main::@4->bitmap_line#3] -- register_copy + // [464] phi bitmap_line::x0#10 = bitmap_line::x0#1 [phi:main::@4->bitmap_line#4] -- register_copy + jsr bitmap_line + // main::@36 + // color++; + // [111] main::color#1 = ++ main::color#2 -- vbuz1=_inc_vbuz1 + inc.z color + // x++; + // [112] main::x#1 = ++ main::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // if(x>319) + // [113] if(main::x#1<=$13f) goto main::@37 -- vwuz1_le_vwuc1_then_la1 + lda.z x+1 + cmp #>$13f + bne !+ + lda.z x + cmp #<$13f + !: + bcc __b3 + beq __b3 + // [93] phi from main::@36 to main::@3 [phi:main::@36->main::@3] + // [93] phi main::color#2 = main::color#1 [phi:main::@36->main::@3#0] -- register_copy + // [93] phi main::x#3 = 0 [phi:main::@36->main::@3#1] -- vwuz1=vbuc1 + lda #<0 + sta.z x + sta.z x+1 + jmp __b3 + // [114] phi from main::@36 to main::@37 [phi:main::@36->main::@37] + // main::@37 + // [93] phi from main::@37 to main::@3 [phi:main::@37->main::@3] + // [93] phi main::color#2 = main::color#1 [phi:main::@37->main::@3#0] -- register_copy + // [93] phi main::x#3 = main::x#1 [phi:main::@37->main::@3#1] -- register_copy + // [115] phi from main::@22 to main::@2 [phi:main::@22->main::@2] + // main::@2 + __b2: + // rand() + // [116] call rand + // [535] phi from main::@2 to rand [phi:main::@2->rand] + // [535] phi rand_state#13 = rand_state#23 [phi:main::@2->rand#0] -- register_copy + jsr rand + // rand() + // [117] rand::return#2 = rand::return#0 + // main::@23 + // modr16u(rand(),320,0) + // [118] modr16u::dividend#0 = rand::return#2 + // [119] call modr16u + // [544] phi from main::@23 to modr16u [phi:main::@23->modr16u] + // [544] phi modr16u::divisor#4 = $140 [phi:main::@23->modr16u#0] -- vwuz1=vwuc1 + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#0 [phi:main::@23->modr16u#1] -- register_copy + jsr modr16u + // modr16u(rand(),320,0) + // [120] modr16u::return#2 = modr16u::return#0 + // main::@24 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // [121] bitmap_line::x0#0 = modr16u::return#2 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z bitmap_line.x0 + lda.z modr16u.return+1 + sta.z bitmap_line.x0+1 + // rand() + // [122] call rand + // [535] phi from main::@24 to rand [phi:main::@24->rand] + // [535] phi rand_state#13 = rand_state#14 [phi:main::@24->rand#0] -- register_copy + jsr rand + // rand() + // [123] rand::return#3 = rand::return#0 + // main::@25 + // modr16u(rand(),320,0) + // [124] modr16u::dividend#1 = rand::return#3 + // [125] call modr16u + // [544] phi from main::@25 to modr16u [phi:main::@25->modr16u] + // [544] phi modr16u::divisor#4 = $140 [phi:main::@25->modr16u#0] -- vwuz1=vwuc1 + lda #<$140 + sta.z modr16u.divisor + lda #>$140 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#1 [phi:main::@25->modr16u#1] -- register_copy + jsr modr16u + // modr16u(rand(),320,0) + // [126] modr16u::return#3 = modr16u::return#0 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z modr16u.return_1 + lda.z modr16u.return+1 + sta.z modr16u.return_1+1 + // main::@26 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // [127] bitmap_line::x1#0 = modr16u::return#3 + // rand() + // [128] call rand + // [535] phi from main::@26 to rand [phi:main::@26->rand] + // [535] phi rand_state#13 = rand_state#14 [phi:main::@26->rand#0] -- register_copy + jsr rand + // rand() + // [129] rand::return#10 = rand::return#0 + // main::@27 + // modr16u(rand(),200,0) + // [130] modr16u::dividend#2 = rand::return#10 + // [131] call modr16u + // [544] phi from main::@27 to modr16u [phi:main::@27->modr16u] + // [544] phi modr16u::divisor#4 = $c8 [phi:main::@27->modr16u#0] -- vwuz1=vbuc1 + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#2 [phi:main::@27->modr16u#1] -- register_copy + jsr modr16u + // modr16u(rand(),200,0) + // [132] modr16u::return#4 = modr16u::return#0 -- vwuz1=vwuz2 + lda.z modr16u.return + sta.z modr16u.return_2 + lda.z modr16u.return+1 + sta.z modr16u.return_2+1 + // main::@28 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // [133] bitmap_line::y0#0 = modr16u::return#4 + // rand() + // [134] call rand + // [535] phi from main::@28 to rand [phi:main::@28->rand] + // [535] phi rand_state#13 = rand_state#14 [phi:main::@28->rand#0] -- register_copy + jsr rand + // rand() + // [135] rand::return#11 = rand::return#0 + // main::@29 + // modr16u(rand(),200,0) + // [136] modr16u::dividend#3 = rand::return#11 + // [137] call modr16u + // [544] phi from main::@29 to modr16u [phi:main::@29->modr16u] + // [544] phi modr16u::divisor#4 = $c8 [phi:main::@29->modr16u#0] -- vwuz1=vbuc1 + lda #<$c8 + sta.z modr16u.divisor + lda #>$c8 + sta.z modr16u.divisor+1 + // [544] phi modr16u::dividend#4 = modr16u::dividend#3 [phi:main::@29->modr16u#1] -- register_copy + jsr modr16u + // modr16u(rand(),200,0) + // [138] modr16u::return#10 = modr16u::return#0 + // main::@30 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // [139] bitmap_line::y1#0 = modr16u::return#10 + // rand() + // [140] call rand + // [535] phi from main::@30 to rand [phi:main::@30->rand] + // [535] phi rand_state#13 = rand_state#14 [phi:main::@30->rand#0] -- register_copy + jsr rand + // rand() + // [141] rand::return#12 = rand::return#0 + // main::@31 + // [142] main::$40 = rand::return#12 + // bitmap_line(modr16u(rand(),320,0), modr16u(rand(),320,0), modr16u(rand(),200,0), modr16u(rand(),200,0), rand()&255) + // [143] bitmap_line::c#0 = main::$40 & $ff -- vbuxx=vwuz1_band_vbuc1 + lda #$ff + and.z __40 + tax + // [144] call bitmap_line + // [464] phi from main::@31 to bitmap_line [phi:main::@31->bitmap_line] + // [464] phi bitmap_line::c#10 = bitmap_line::c#0 [phi:main::@31->bitmap_line#0] -- register_copy + // [464] phi bitmap_line::y1#10 = bitmap_line::y1#0 [phi:main::@31->bitmap_line#1] -- register_copy + // [464] phi bitmap_line::y0#10 = bitmap_line::y0#0 [phi:main::@31->bitmap_line#2] -- register_copy + // [464] phi bitmap_line::x1#10 = bitmap_line::x1#0 [phi:main::@31->bitmap_line#3] -- register_copy + // [464] phi bitmap_line::x0#10 = bitmap_line::x0#0 [phi:main::@31->bitmap_line#4] -- register_copy + jsr bitmap_line + // [72] phi from main::@31 to main::@1 [phi:main::@31->main::@1] + // [72] phi rand_state#23 = rand_state#14 [phi:main::@31->main::@1#0] -- register_copy + jmp __b1 + .segment Data + s: .text @"vera in bitmap mode,\n" + .byte 0 + s1: .text @"color depth 8 bits per pixel.\n" + .byte 0 + s2: .text @"in this mode, it is possible to display\n" + .byte 0 + s3: .text @"graphics in 256 colors.\n" + .byte 0 + s4: .text "press a key ..." + .byte 0 + s5: .text @"here you see all the colors possible.\n" + .byte 0 +} +.segment Code + // vera_layer_mode_text +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // vera_layer_mode_tile( layer, mapbase_address, tilebase_address, mapwidth, mapheight, tilewidth, tileheight, 1 ) + // [146] call vera_layer_mode_tile + // [240] phi from vera_layer_mode_text to vera_layer_mode_tile [phi:vera_layer_mode_text->vera_layer_mode_tile] + // [240] phi vera_layer_mode_tile::tileheight#10 = vera_layer_mode_text::tileheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + // [240] phi vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_text::tilewidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + // [240] phi vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_text::tilebase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [240] phi vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_text::mapbase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [240] phi vera_layer_mode_tile::mapheight#10 = vera_layer_mode_text::mapheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#4] -- vwuz1=vwuc1 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + // [240] phi vera_layer_mode_tile::layer#10 = vera_layer_mode_text::layer#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #layer + sta.z vera_layer_mode_tile.layer + // [240] phi vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_text::mapwidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#6] -- vwuz1=vwuc1 + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + jsr vera_layer_mode_tile + // [147] phi from vera_layer_mode_text to vera_layer_mode_text::@1 [phi:vera_layer_mode_text->vera_layer_mode_text::@1] + // vera_layer_mode_text::@1 + // vera_layer_set_text_color_mode( layer, VERA_LAYER_CONFIG_16C ) + // [148] call vera_layer_set_text_color_mode + jsr vera_layer_set_text_color_mode + // vera_layer_mode_text::@return + // } + // [149] return + rts +} + // screensize +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // hscale = (*VERA_DC_HSCALE) >> 7 + // [150] screensize::hscale#0 = *VERA_DC_HSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // 40 << hscale + // [151] screensize::$1 = $28 << screensize::hscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *x = 40 << hscale + // [152] *screensize::x#0 = screensize::$1 -- _deref_pbuc1=vbuaa + sta.z x + // vscale = (*VERA_DC_VSCALE) >> 7 + // [153] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // 30 << vscale + // [154] screensize::$3 = $1e << screensize::vscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *y = 30 << vscale + // [155] *screensize::y#0 = screensize::$3 -- _deref_pbuc1=vbuaa + sta.z y + // screensize::@return + // } + // [156] return + rts +} + // screenlayer +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $38 + .label __4 = $30 + .label __5 = $35 + .label vera_layer_get_width1_config = $2e + .label vera_layer_get_width1_return = $38 + .label vera_layer_get_height1_config = $32 + .label vera_layer_get_height1_return = $35 + // conio_screen_layer = layer + // [157] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // vera_layer_get_mapbase_bank(conio_screen_layer) + // [158] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + tax + // [159] call vera_layer_get_mapbase_bank + jsr vera_layer_get_mapbase_bank + // [160] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + // screenlayer::@3 + // [161] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 -- vbuz1=vbuaa + sta.z CONIO_SCREEN_BANK + // vera_layer_get_mapbase_offset(conio_screen_layer) + // [162] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [163] call vera_layer_get_mapbase_offset + jsr vera_layer_get_mapbase_offset + // [164] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + // screenlayer::@4 + // [165] CONIO_SCREEN_TEXT#104 = vera_layer_get_mapbase_offset::return#2 -- vwuz1=vwuz2 + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // vera_layer_get_width(conio_screen_layer) + // [166] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // screenlayer::vera_layer_get_width1 + // config = vera_layer_config[layer] + // [167] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [168] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // *config & VERA_LAYER_WIDTH_MASK + // [169] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // (*config & VERA_LAYER_WIDTH_MASK) >> 4 + // [170] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 -- vbuaa=vbuaa_ror_4 + lsr + lsr + lsr + lsr + // return VERA_LAYER_WIDTH[ (*config & VERA_LAYER_WIDTH_MASK) >> 4]; + // [171] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [172] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + // screenlayer::vera_layer_get_width1_@return + // } + // [173] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + // screenlayer::@1 + // vera_layer_get_width(conio_screen_layer) + // [174] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + // conio_width = vera_layer_get_width(conio_screen_layer) + // [175] conio_width = screenlayer::$2 -- vwuz1=vwuz2 + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // vera_layer_get_rowshift(conio_screen_layer) + // [176] vera_layer_get_rowshift::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [177] call vera_layer_get_rowshift + jsr vera_layer_get_rowshift + // [178] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + // screenlayer::@5 + // [179] screenlayer::$3 = vera_layer_get_rowshift::return#2 + // conio_rowshift = vera_layer_get_rowshift(conio_screen_layer) + // [180] conio_rowshift = screenlayer::$3 -- vbuz1=vbuaa + sta.z conio_rowshift + // vera_layer_get_rowskip(conio_screen_layer) + // [181] vera_layer_get_rowskip::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [182] call vera_layer_get_rowskip + jsr vera_layer_get_rowskip + // [183] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + // screenlayer::@6 + // [184] screenlayer::$4 = vera_layer_get_rowskip::return#2 + // conio_rowskip = vera_layer_get_rowskip(conio_screen_layer) + // [185] conio_rowskip = screenlayer::$4 -- vwuz1=vwuz2 + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // vera_layer_get_height(conio_screen_layer) + // [186] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // screenlayer::vera_layer_get_height1 + // config = vera_layer_config[layer] + // [187] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [188] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // *config & VERA_LAYER_HEIGHT_MASK + // [189] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // (*config & VERA_LAYER_HEIGHT_MASK) >> 6 + // [190] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 -- vbuaa=vbuaa_ror_6 + rol + rol + rol + and #3 + // return VERA_LAYER_HEIGHT[ (*config & VERA_LAYER_HEIGHT_MASK) >> 6]; + // [191] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [192] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + // screenlayer::vera_layer_get_height1_@return + // } + // [193] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + // screenlayer::@2 + // vera_layer_get_height(conio_screen_layer) + // [194] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + // conio_height = vera_layer_get_height(conio_screen_layer) + // [195] conio_height = screenlayer::$5 -- vwuz1=vwuz2 + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + // screenlayer::@return + // } + // [196] return + rts +} + // vera_layer_set_textcolor +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_textcolor: { + // vera_layer_textcolor[layer] = color + // [198] vera_layer_textcolor[vera_layer_set_textcolor::layer#6] = vera_layer_set_textcolor::color#6 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_textcolor,x + // vera_layer_set_textcolor::@return + // } + // [199] return + rts +} + // vera_layer_set_backcolor +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // vera_layer_backcolor[layer] = color + // [201] vera_layer_backcolor[vera_layer_set_backcolor::layer#4] = vera_layer_set_backcolor::color#4 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_backcolor,x + // vera_layer_set_backcolor::@return + // } + // [202] return + rts +} + // vera_layer_set_mapbase +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $38 + // addr = vera_layer_mapbase[layer] + // [204] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [205] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // *addr = mapbase + // [206] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_mapbase::@return + // } + // [207] return + rts +} + // gotoxy +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $30 + .label line_offset = $30 + // if(y>CONIO_HEIGHT) + // [209] if(gotoxy::y#7<=conio_screen_height) goto gotoxy::@4 -- vbuxx_le_vbuz1_then_la1 + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b1 + // [211] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1] + // [211] phi gotoxy::y#10 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 + ldx #0 + // [210] phi from gotoxy to gotoxy::@4 [phi:gotoxy->gotoxy::@4] + // gotoxy::@4 + // [211] phi from gotoxy::@4 to gotoxy::@1 [phi:gotoxy::@4->gotoxy::@1] + // [211] phi gotoxy::y#10 = gotoxy::y#7 [phi:gotoxy::@4->gotoxy::@1#0] -- register_copy + // gotoxy::@1 + __b1: + // if(x>=CONIO_WIDTH) + // [212] if(0gotoxy::@3] + // gotoxy::@3 + // gotoxy::@2 + // conio_cursor_x[conio_screen_layer] = x + // [214] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer] = y + // [215] conio_cursor_y[conio_screen_layer] = gotoxy::y#10 -- pbuc1_derefidx_vbuz1=vbuxx + txa + sta conio_cursor_y,y + // (unsigned int)y << conio_rowshift + // [216] gotoxy::$6 = (word)gotoxy::y#10 -- vwuz1=_word_vbuxx + txa + sta.z __6 + lda #0 + sta.z __6+1 + // line_offset = (unsigned int)y << conio_rowshift + // [217] gotoxy::line_offset#0 = gotoxy::$6 << conio_rowshift -- vwuz1=vwuz1_rol_vbuz2 + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // conio_line_text[conio_screen_layer] = line_offset + // [218] gotoxy::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [219] conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + // gotoxy::@return + // } + // [220] return + rts +} + // memcpy_in_vram +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte register(Y) dest_bank, void* zp($15) dest, byte* zp($13) src, word zp($17) num) +memcpy_in_vram: { + .label i = $41 + .label dest = $15 + .label src = $13 + .label num = $17 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [222] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // src + // [225] memcpy_in_vram::$1 = > memcpy_in_vram::src#2 -- vbuaa=_hi_pvoz1 + lda.z src+1 + // *VERA_ADDRX_M = >src + // [226] *VERA_ADDRX_M = memcpy_in_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // *VERA_ADDRX_H = src_increment | src_bank + // [227] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // *VERA_CTRL |= VERA_ADDRSEL + // [228] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_bor_vbuc2 + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // dest + // [231] memcpy_in_vram::$4 = > memcpy_in_vram::dest#2 -- vbuaa=_hi_pvoz1 + lda.z dest+1 + // *VERA_ADDRX_M = >dest + // [232] *VERA_ADDRX_M = memcpy_in_vram::$4 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // dest_increment | dest_bank + // [233] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#2 -- vbuaa=vbuc1_bor_vbuyy + tya + ora #VERA_INC_1 + // *VERA_ADDRX_H = dest_increment | dest_bank + // [234] *VERA_ADDRX_H = memcpy_in_vram::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [235] phi from memcpy_in_vram to memcpy_in_vram::@1 [phi:memcpy_in_vram->memcpy_in_vram::@1] + // [235] phi memcpy_in_vram::i#2 = 0 [phi:memcpy_in_vram->memcpy_in_vram::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z i + sta.z i+1 + // Transfer the data + // memcpy_in_vram::@1 + __b1: + // for(unsigned int i=0; imemcpy_in_vram::@1] + // [235] phi memcpy_in_vram::i#2 = memcpy_in_vram::i#1 [phi:memcpy_in_vram::@2->memcpy_in_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_layer_mode_tile +// Set a vera layer in tile mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_depth: The color depth in bits per pixel (BPP), which can be 1, 2, 4 or 8. +// vera_layer_mode_tile(byte zp(6) layer, dword zp(7) mapbase_address, dword zp($b) tilebase_address, word zp($30) mapwidth, word zp($2e) mapheight, byte zp($f) tilewidth, byte zp($10) tileheight) +vera_layer_mode_tile: { + .label __1 = $32 + .label __2 = $35 + .label __4 = $4c + .label __7 = $38 + .label __8 = $3a + .label __10 = $3c + .label __19 = $34 + .label __20 = $37 + .label mapbase_address = 7 + .label tilebase_address = $b + .label mapwidth = $30 + .label layer = 6 + .label mapheight = $2e + .label tilewidth = $f + .label tileheight = $10 + // vera_layer_mode_tile::@1 + // case 32: + // config |= VERA_LAYER_WIDTH_32; + // vera_layer_rowshift[layer] = 6; + // vera_layer_rowskip[layer] = 64; + // break; + // [241] if(vera_layer_mode_tile::mapwidth#10==$20) goto vera_layer_mode_tile::@5 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b5 + !: + // vera_layer_mode_tile::@2 + // case 64: + // config |= VERA_LAYER_WIDTH_64; + // vera_layer_rowshift[layer] = 7; + // vera_layer_rowskip[layer] = 128; + // break; + // [242] if(vera_layer_mode_tile::mapwidth#10==$40) goto vera_layer_mode_tile::@6 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b6 + !: + // vera_layer_mode_tile::@3 + // case 128: + // config |= VERA_LAYER_WIDTH_128; + // vera_layer_rowshift[layer] = 8; + // vera_layer_rowskip[layer] = 256; + // break; + // [243] if(vera_layer_mode_tile::mapwidth#10==$80) goto vera_layer_mode_tile::@7 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b7 + !: + // vera_layer_mode_tile::@4 + // case 256: + // config |= VERA_LAYER_WIDTH_256; + // vera_layer_rowshift[layer] = 9; + // vera_layer_rowskip[layer] = 512; + // break; + // [244] if(vera_layer_mode_tile::mapwidth#10!=$100) goto vera_layer_mode_tile::@9 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapwidth+1 + cmp #>$100 + bne __b1 + lda.z mapwidth + cmp #<$100 + bne __b1 + // vera_layer_mode_tile::@8 + // vera_layer_rowshift[layer] = 9 + // [245] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 9 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 512 + // [246] vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [247] vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@8 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@8->vera_layer_mode_tile::@9] + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_256 [phi:vera_layer_mode_tile::@8->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_256 + jmp __b9 + // [248] phi from vera_layer_mode_tile::@4 vera_layer_mode_tile::@5 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@4/vera_layer_mode_tile::@5->vera_layer_mode_tile::@9] + __b1: + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_COLOR_DEPTH_1BPP [phi:vera_layer_mode_tile::@4/vera_layer_mode_tile::@5->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_1BPP + // vera_layer_mode_tile::@9 + __b9: + // case 32: + // config |= VERA_LAYER_HEIGHT_32; + // break; + // [249] if(vera_layer_mode_tile::mapheight#10==$20) goto vera_layer_mode_tile::@16 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b16 + !: + // vera_layer_mode_tile::@10 + // case 64: + // config |= VERA_LAYER_HEIGHT_64; + // break; + // [250] if(vera_layer_mode_tile::mapheight#10==$40) goto vera_layer_mode_tile::@13 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b13 + !: + // vera_layer_mode_tile::@11 + // case 128: + // config |= VERA_LAYER_HEIGHT_128; + // break; + // [251] if(vera_layer_mode_tile::mapheight#10==$80) goto vera_layer_mode_tile::@14 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b14 + !: + // vera_layer_mode_tile::@12 + // case 256: + // config |= VERA_LAYER_HEIGHT_256; + // break; + // [252] if(vera_layer_mode_tile::mapheight#10!=$100) goto vera_layer_mode_tile::@16 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapheight+1 + cmp #>$100 + bne __b16 + lda.z mapheight + cmp #<$100 + bne __b16 + // vera_layer_mode_tile::@15 + // config |= VERA_LAYER_HEIGHT_256 + // [253] vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + // [254] phi from vera_layer_mode_tile::@12 vera_layer_mode_tile::@13 vera_layer_mode_tile::@14 vera_layer_mode_tile::@15 vera_layer_mode_tile::@9 to vera_layer_mode_tile::@16 [phi:vera_layer_mode_tile::@12/vera_layer_mode_tile::@13/vera_layer_mode_tile::@14/vera_layer_mode_tile::@15/vera_layer_mode_tile::@9->vera_layer_mode_tile::@16] + // [254] phi vera_layer_mode_tile::config#25 = vera_layer_mode_tile::config#21 [phi:vera_layer_mode_tile::@12/vera_layer_mode_tile::@13/vera_layer_mode_tile::@14/vera_layer_mode_tile::@15/vera_layer_mode_tile::@9->vera_layer_mode_tile::@16#0] -- register_copy + // vera_layer_mode_tile::@16 + __b16: + // vera_layer_set_config(layer, config) + // [255] vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [256] vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + // [257] call vera_layer_set_config + // [564] phi from vera_layer_mode_tile::@16 to vera_layer_set_config [phi:vera_layer_mode_tile::@16->vera_layer_set_config] + // [564] phi vera_layer_set_config::config#2 = vera_layer_set_config::config#0 [phi:vera_layer_mode_tile::@16->vera_layer_set_config#0] -- register_copy + // [564] phi vera_layer_set_config::layer#2 = vera_layer_set_config::layer#0 [phi:vera_layer_mode_tile::@16->vera_layer_set_config#1] -- register_copy + jsr vera_layer_set_config + // vera_layer_mode_tile::@23 + // mapbase_address + // [261] vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_hi_vduz2 + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // vera_mapbase_bank[layer] = (byte)(>mapbase_address) + // [262] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // vera_mapbase_address[layer] = mapbase_address + // [263] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 -- vbuz1=vbuz2_rol_2 + tya + asl + asl + sta.z __20 + // [264] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + tay + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // mapbase_address = mapbase_address >> 1 + // [265] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // ( vera_layer_mode_tile::$4 -- vbuxx=_hi_vwuz1 + tax + // vera_layer_set_mapbase(layer,mapbase) + // [268] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [269] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + // [270] call vera_layer_set_mapbase + // [203] phi from vera_layer_mode_tile::@23 to vera_layer_set_mapbase [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase] + // [203] phi vera_layer_set_mapbase::mapbase#3 = vera_layer_set_mapbase::mapbase#0 [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase#0] -- register_copy + // [203] phi vera_layer_set_mapbase::layer#3 = vera_layer_set_mapbase::layer#0 [phi:vera_layer_mode_tile::@23->vera_layer_set_mapbase#1] -- register_copy + jsr vera_layer_set_mapbase + // vera_layer_mode_tile::@24 + // tilebase_address + // [273] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_hi_vduz2 + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // vera_tilebase_bank[layer] = (byte)>tilebase_address + // [274] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // vera_tilebase_address[layer] = tilebase_address + // [275] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // tilebase_address = tilebase_address >> 1 + // [276] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // ( vera_layer_mode_tile::$10 -- vbuaa=_hi_vwuz1 + // tilebase &= VERA_LAYER_TILEBASE_MASK + // [279] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK -- vbuxx=vbuaa_band_vbuc1 + and #VERA_LAYER_TILEBASE_MASK + tax + // case 8: + // tilebase |= VERA_TILEBASE_WIDTH_8; + // break; + // [280] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@19 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tilewidth + beq __b19 + // vera_layer_mode_tile::@17 + // case 16: + // tilebase |= VERA_TILEBASE_WIDTH_16; + // break; + // [281] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@19 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tilewidth + bne __b19 + // vera_layer_mode_tile::@18 + // tilebase |= VERA_TILEBASE_WIDTH_16 + // [282] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_WIDTH_16 + tax + // [283] phi from vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@24 to vera_layer_mode_tile::@19 [phi:vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@24->vera_layer_mode_tile::@19] + // [283] phi vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#1 [phi:vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@24->vera_layer_mode_tile::@19#0] -- register_copy + // vera_layer_mode_tile::@19 + __b19: + // case 8: + // tilebase |= VERA_TILEBASE_HEIGHT_8; + // break; + // [284] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@22 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tileheight + beq __b22 + // vera_layer_mode_tile::@20 + // case 16: + // tilebase |= VERA_TILEBASE_HEIGHT_16; + // break; + // [285] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@22 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tileheight + bne __b22 + // vera_layer_mode_tile::@21 + // tilebase |= VERA_TILEBASE_HEIGHT_16 + // [286] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_HEIGHT_16 + tax + // [287] phi from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 to vera_layer_mode_tile::@22 [phi:vera_layer_mode_tile::@19/vera_layer_mode_tile::@20/vera_layer_mode_tile::@21->vera_layer_mode_tile::@22] + // [287] phi vera_layer_mode_tile::tilebase#10 = vera_layer_mode_tile::tilebase#12 [phi:vera_layer_mode_tile::@19/vera_layer_mode_tile::@20/vera_layer_mode_tile::@21->vera_layer_mode_tile::@22#0] -- register_copy + // vera_layer_mode_tile::@22 + __b22: + // vera_layer_set_tilebase(layer,tilebase) + // [288] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [289] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + // [290] call vera_layer_set_tilebase + // [569] phi from vera_layer_mode_tile::@22 to vera_layer_set_tilebase [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase] + // [569] phi vera_layer_set_tilebase::tilebase#2 = vera_layer_set_tilebase::tilebase#0 [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase#0] -- register_copy + // [569] phi vera_layer_set_tilebase::layer#2 = vera_layer_set_tilebase::layer#0 [phi:vera_layer_mode_tile::@22->vera_layer_set_tilebase#1] -- register_copy + jsr vera_layer_set_tilebase + // vera_layer_mode_tile::@return + // } + // [291] return + rts + // vera_layer_mode_tile::@14 + __b14: + // config |= VERA_LAYER_HEIGHT_128 + // [292] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_128 + tax + jmp __b16 + // vera_layer_mode_tile::@13 + __b13: + // config |= VERA_LAYER_HEIGHT_64 + // [293] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_64 + tax + jmp __b16 + // vera_layer_mode_tile::@7 + __b7: + // vera_layer_rowshift[layer] = 8 + // [294] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #8 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 256 + // [295] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [296] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$100 + sta vera_layer_rowskip,y + lda #>$100 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@7 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@7->vera_layer_mode_tile::@9] + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_128 [phi:vera_layer_mode_tile::@7->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_128 + jmp __b9 + // vera_layer_mode_tile::@6 + __b6: + // vera_layer_rowshift[layer] = 7 + // [297] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 128 + // [298] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [299] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + // [248] phi from vera_layer_mode_tile::@6 to vera_layer_mode_tile::@9 [phi:vera_layer_mode_tile::@6->vera_layer_mode_tile::@9] + // [248] phi vera_layer_mode_tile::config#21 = VERA_LAYER_WIDTH_64 [phi:vera_layer_mode_tile::@6->vera_layer_mode_tile::@9#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_WIDTH_64 + jmp __b9 + // vera_layer_mode_tile::@5 + __b5: + // vera_layer_rowshift[layer] = 6 + // [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 64 + // [301] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [302] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b1 +} + // vera_layer_mode_bitmap +// Set a vera layer in bitmap mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_bitmap: { + .const layer = 0 + .const bitmap_address = 0 + // config + .const config = VERA_LAYER_COLOR_DEPTH_8BPP|VERA_LAYER_CONFIG_MODE_BITMAP + .const tilebase = 0 + // vera_layer_mode_bitmap::@1 + // vera_tilebase_offset[layer] = bitmap_address + // [305] *vera_tilebase_bank = 0 -- _deref_pbuc1=vbuc2 + sta vera_tilebase_bank + // vera_tilebase_address[layer] = bitmap_address + // [306] *vera_tilebase_address = vera_layer_mode_bitmap::bitmap_address#1 -- _deref_pduc1=vduc2 + lda #bitmap_address + sta vera_tilebase_address+1 + lda #>$10 + sta vera_tilebase_address+2 + lda #>bitmap_address>>$10 + sta vera_tilebase_address+3 + // vera_layer_mode_bitmap::vera_display_set_scale_double1 + // *VERA_DC_HSCALE = 64 + // [307] *VERA_DC_HSCALE = $40 -- _deref_pbuc1=vbuc2 + lda #$40 + sta VERA_DC_HSCALE + // *VERA_DC_VSCALE = 64 + // [308] *VERA_DC_VSCALE = $40 -- _deref_pbuc1=vbuc2 + sta VERA_DC_VSCALE + // [309] phi from vera_layer_mode_bitmap::vera_display_set_scale_double1 to vera_layer_mode_bitmap::@2 [phi:vera_layer_mode_bitmap::vera_display_set_scale_double1->vera_layer_mode_bitmap::@2] + // vera_layer_mode_bitmap::@2 + // vera_layer_set_config(layer, config) + // [310] call vera_layer_set_config + // [564] phi from vera_layer_mode_bitmap::@2 to vera_layer_set_config [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config] + // [564] phi vera_layer_set_config::config#2 = vera_layer_mode_bitmap::config#11 [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config#0] -- vbuxx=vbuc1 + ldx #config + // [564] phi vera_layer_set_config::layer#2 = vera_layer_mode_bitmap::layer#0 [phi:vera_layer_mode_bitmap::@2->vera_layer_set_config#1] -- vbuaa=vbuc1 + lda #layer + jsr vera_layer_set_config + // [311] phi from vera_layer_mode_bitmap::@2 to vera_layer_mode_bitmap::@3 [phi:vera_layer_mode_bitmap::@2->vera_layer_mode_bitmap::@3] + // vera_layer_mode_bitmap::@3 + // vera_layer_set_tilebase(layer,tilebase) + // [312] call vera_layer_set_tilebase + // [569] phi from vera_layer_mode_bitmap::@3 to vera_layer_set_tilebase [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase] + // [569] phi vera_layer_set_tilebase::tilebase#2 = vera_layer_mode_bitmap::tilebase#1 [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase#0] -- vbuxx=vbuc1 + ldx #tilebase + // [569] phi vera_layer_set_tilebase::layer#2 = vera_layer_mode_bitmap::layer#0 [phi:vera_layer_mode_bitmap::@3->vera_layer_set_tilebase#1] -- vbuaa=vbuc1 + lda #layer + jsr vera_layer_set_tilebase + // vera_layer_mode_bitmap::@return + // } + // [313] return + rts +} + // clrscr +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3e + .label line_text = $13 + .label color = $3e + // line_text = CONIO_SCREEN_TEXT + // [314] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#104 -- pbuz1=pbuz2 + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // vera_layer_get_backcolor(conio_screen_layer) + // [315] vera_layer_get_backcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [316] call vera_layer_get_backcolor + jsr vera_layer_get_backcolor + // [317] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + // clrscr::@7 + // [318] clrscr::$0 = vera_layer_get_backcolor::return#2 + // vera_layer_get_backcolor(conio_screen_layer) << 4 + // [319] clrscr::$1 = clrscr::$0 << 4 -- vbuz1=vbuaa_rol_4 + asl + asl + asl + asl + sta.z __1 + // vera_layer_get_textcolor(conio_screen_layer) + // [320] vera_layer_get_textcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [321] call vera_layer_get_textcolor + jsr vera_layer_get_textcolor + // [322] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + // clrscr::@8 + // [323] clrscr::$2 = vera_layer_get_textcolor::return#2 + // color = ( vera_layer_get_backcolor(conio_screen_layer) << 4 ) | vera_layer_get_textcolor(conio_screen_layer) + // [324] clrscr::color#0 = clrscr::$1 | clrscr::$2 -- vbuz1=vbuz1_bor_vbuaa + ora.z color + sta.z color + // [325] phi from clrscr::@8 to clrscr::@1 [phi:clrscr::@8->clrscr::@1] + // [325] phi clrscr::line_text#2 = clrscr::line_text#0 [phi:clrscr::@8->clrscr::@1#0] -- register_copy + // [325] phi clrscr::l#2 = 0 [phi:clrscr::@8->clrscr::@1#1] -- vbuxx=vbuc1 + ldx #0 + // clrscr::@1 + __b1: + // for( char l=0;lch + // [335] clrscr::$6 = > clrscr::line_text#2 -- vbuaa=_hi_pbuz1 + lda.z line_text+1 + // *VERA_ADDRX_M = >ch + // [336] *VERA_ADDRX_M = clrscr::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + // [337] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + // [338] *VERA_ADDRX_H = clrscr::$7 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [339] phi from clrscr::@2 to clrscr::@4 [phi:clrscr::@2->clrscr::@4] + // [339] phi clrscr::c#2 = 0 [phi:clrscr::@2->clrscr::@4#0] -- vbuyy=vbuc1 + ldy #0 + // clrscr::@4 + __b4: + // for( char c=0;cclrscr::@1] + // [325] phi clrscr::line_text#2 = clrscr::line_text#1 [phi:clrscr::@6->clrscr::@1#0] -- register_copy + // [325] phi clrscr::l#2 = clrscr::l#1 [phi:clrscr::@6->clrscr::@1#1] -- register_copy + jmp __b1 + // clrscr::@5 + __b5: + // *VERA_DATA0 = ' ' + // [343] *VERA_DATA0 = ' ' -- _deref_pbuc1=vbuc2 + lda #' ' + sta VERA_DATA0 + // *VERA_DATA0 = color + // [344] *VERA_DATA0 = clrscr::color#0 -- _deref_pbuc1=vbuz1 + lda.z color + sta VERA_DATA0 + // for( char c=0;cclrscr::@4] + // [339] phi clrscr::c#2 = clrscr::c#1 [phi:clrscr::@5->clrscr::@4#0] -- register_copy + jmp __b4 +} + // cputs +// Output a NUL-terminated string at the current cursor position +// cputs(byte* zp($43) s) +cputs: { + .label s = $43 + // [347] phi from cputs cputs::@2 to cputs::@1 [phi:cputs/cputs::@2->cputs::@1] + // [347] phi cputs::s#8 = cputs::s#9 [phi:cputs/cputs::@2->cputs::@1#0] -- register_copy + // cputs::@1 + __b1: + // while(c=*s++) + // [348] cputs::c#1 = *cputs::s#8 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (s),y + // [349] cputs::s#0 = ++ cputs::s#8 -- pbuz1=_inc_pbuz1 + inc.z s + bne !+ + inc.z s+1 + !: + // [350] if(0!=cputs::c#1) goto cputs::@2 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b2 + // cputs::@return + // } + // [351] return + rts + // cputs::@2 + __b2: + // cputc(c) + // [352] cputc::c#0 = cputs::c#1 -- vbuz1=vbuaa + sta.z cputc.c + // [353] call cputc + jsr cputc + jmp __b1 +} + // bitmap_init +// Initialize the bitmap plotter tables for a specific bitmap +bitmap_init: { + .const layer = 0 + .const address = 0 + .label __7 = $41 + .label __10 = $4a + .label __13 = $50 + .label __23 = $43 + .label __24 = $6a + .label __25 = $52 + .label __26 = $72 + .label __28 = $68 + .label vera_layer_get_color_depth1_config = $3f + .label bitmask = $3e + .label x = $15 + .label hdelta = $62 + .label yoffs = $5e + .label y = $17 + .label __29 = $43 + .label __30 = $45 + .label __31 = $48 + .label __32 = $6a + .label __33 = $6c + .label __34 = $6e + .label __35 = $52 + .label __36 = $54 + .label __37 = $56 + .label __38 = $72 + .label __39 = $5a + .label __40 = $5c + .label __41 = $68 + // __bitmap_address = address + // [354] __bitmap_address = bitmap_init::address#0 -- vduz1=vduc1 + lda #
address + sta.z __bitmap_address+1 + lda #
>$10 + sta.z __bitmap_address+2 + lda #>address>>$10 + sta.z __bitmap_address+3 + // __bitmap_layer = layer + // [355] __bitmap_layer = bitmap_init::layer#0 -- vbuz1=vbuc1 + lda #layer + sta.z __bitmap_layer + // vera_layer_get_color_depth(__bitmap_layer) + // [356] bitmap_init::vera_layer_get_color_depth1_layer#0 = __bitmap_layer -- vbuaa=vbuz1 + // bitmap_init::vera_layer_get_color_depth1 + // config = vera_layer_config[layer] + // [357] bitmap_init::vera_layer_get_color_depth1_$1 = bitmap_init::vera_layer_get_color_depth1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [358] bitmap_init::vera_layer_get_color_depth1_config#0 = vera_layer_config[bitmap_init::vera_layer_get_color_depth1_$1] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_color_depth1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_color_depth1_config+1 + // *config & VERA_LAYER_COLOR_DEPTH_MASK + // [359] bitmap_init::vera_layer_get_color_depth1_$0 = *bitmap_init::vera_layer_get_color_depth1_config#0 & VERA_LAYER_COLOR_DEPTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_COLOR_DEPTH_MASK + ldy #0 + and (vera_layer_get_color_depth1_config),y + // return (*config & VERA_LAYER_COLOR_DEPTH_MASK); + // [360] bitmap_init::vera_layer_get_color_depth1_return#0 = bitmap_init::vera_layer_get_color_depth1_$0 + // bitmap_init::vera_layer_get_color_depth1_@return + // } + // [361] bitmap_init::vera_layer_get_color_depth1_return#1 = bitmap_init::vera_layer_get_color_depth1_return#0 + // bitmap_init::@16 + // vera_layer_get_color_depth(__bitmap_layer) + // [362] bitmap_init::$0 = bitmap_init::vera_layer_get_color_depth1_return#1 + // __bitmap_color_depth = vera_layer_get_color_depth(__bitmap_layer) + // [363] __bitmap_color_depth = bitmap_init::$0 -- vbuz1=vbuaa + sta.z __bitmap_color_depth + // vera_display_get_hscale() + // [364] call vera_display_get_hscale + // [609] phi from bitmap_init::@16 to vera_display_get_hscale [phi:bitmap_init::@16->vera_display_get_hscale] + jsr vera_display_get_hscale + // vera_display_get_hscale() + // [365] vera_display_get_hscale::return#2 = vera_display_get_hscale::return#0 + // bitmap_init::@17 + // [366] bitmap_init::$1 = vera_display_get_hscale::return#2 + // __bitmap_hscale = vera_display_get_hscale() + // [367] __bitmap_hscale = bitmap_init::$1 -- vbuz1=vbuxx + stx.z __bitmap_hscale + // vera_display_get_vscale() + // [368] call vera_display_get_vscale + // [616] phi from bitmap_init::@17 to vera_display_get_vscale [phi:bitmap_init::@17->vera_display_get_vscale] + jsr vera_display_get_vscale + // vera_display_get_vscale() + // [369] vera_display_get_vscale::return#2 = vera_display_get_vscale::return#0 + // bitmap_init::@18 + // [370] bitmap_init::$2 = vera_display_get_vscale::return#2 + // __bitmap_vscale = vera_display_get_vscale() + // [371] __bitmap_vscale = bitmap_init::$2 -- vbuz1=vbuxx + // Returns 1 when 640 and 2 when 320. + stx.z __bitmap_vscale + // bitmask = bitmasks[__bitmap_color_depth] + // [372] bitmap_init::bitmask#0 = bitmasks[__bitmap_color_depth] -- vbuz1=pbuc1_derefidx_vbuz2 + // Returns 1 when 480 and 2 when 240. + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + // bitshift = bitshifts[__bitmap_color_depth] + // [373] bitmap_init::bitshift#0 = bitshifts[__bitmap_color_depth] -- vbsxx=pbsc1_derefidx_vbuz1 + ldx bitshifts,y + // [374] phi from bitmap_init::@18 to bitmap_init::@1 [phi:bitmap_init::@18->bitmap_init::@1] + // [374] phi bitmap_init::bitshift#10 = bitmap_init::bitshift#0 [phi:bitmap_init::@18->bitmap_init::@1#0] -- register_copy + // [374] phi bitmap_init::bitmask#10 = bitmap_init::bitmask#0 [phi:bitmap_init::@18->bitmap_init::@1#1] -- register_copy + // [374] phi bitmap_init::x#10 = 0 [phi:bitmap_init::@18->bitmap_init::@1#2] -- vwuz1=vwuc1 + lda #<0 + sta.z x + sta.z x+1 + // [374] phi from bitmap_init::@7 to bitmap_init::@1 [phi:bitmap_init::@7->bitmap_init::@1] + // [374] phi bitmap_init::bitshift#10 = bitmap_init::bitshift#14 [phi:bitmap_init::@7->bitmap_init::@1#0] -- register_copy + // [374] phi bitmap_init::bitmask#10 = bitmap_init::bitmask#16 [phi:bitmap_init::@7->bitmap_init::@1#1] -- register_copy + // [374] phi bitmap_init::x#10 = bitmap_init::x#1 [phi:bitmap_init::@7->bitmap_init::@1#2] -- register_copy + // bitmap_init::@1 + __b1: + // if(__bitmap_color_depth==0) + // [375] if(__bitmap_color_depth!=0) goto bitmap_init::@2 -- vbuz1_neq_0_then_la1 + lda.z __bitmap_color_depth + cmp #0 + bne __b2 + // bitmap_init::@8 + // x >> 3 + // [376] bitmap_init::$7 = bitmap_init::x#10 >> 3 -- vwuz1=vwuz2_ror_3 + lda.z x+1 + lsr + sta.z __7+1 + lda.z x + ror + sta.z __7 + lsr.z __7+1 + ror.z __7 + lsr.z __7+1 + ror.z __7 + // __bitmap_plot_x[x] = (x >> 3) + // [377] bitmap_init::$23 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __23 + lda.z x+1 + rol + sta.z __23+1 + // [378] bitmap_init::$29 = __bitmap_plot_x + bitmap_init::$23 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __29 + adc #<__bitmap_plot_x + sta.z __29 + lda.z __29+1 + adc #>__bitmap_plot_x + sta.z __29+1 + // [379] *bitmap_init::$29 = bitmap_init::$7 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __7 + sta (__29),y + iny + lda.z __7+1 + sta (__29),y + // __bitmap_plot_bitmask[x] = bitmask + // [380] bitmap_init::$30 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __30 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __30+1 + // [381] *bitmap_init::$30 = bitmap_init::bitmask#10 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__30),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + // [382] bitmap_init::$31 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __31 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __31+1 + // [383] *bitmap_init::$31 = (byte)bitmap_init::bitshift#10 -- _deref_pbuz1=vbuxx + txa + sta (__31),y + // bitshift -= 1 + // [384] bitmap_init::bitshift#1 = bitmap_init::bitshift#10 - 1 -- vbsxx=vbsxx_minus_1 + dex + // bitmask >>= 1 + // [385] bitmap_init::bitmask#1 = bitmap_init::bitmask#10 >> 1 -- vbuz1=vbuz1_ror_1 + lsr.z bitmask + // [386] phi from bitmap_init::@1 bitmap_init::@8 to bitmap_init::@2 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2] + // [386] phi bitmap_init::bitshift#11 = bitmap_init::bitshift#10 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2#0] -- register_copy + // [386] phi bitmap_init::bitmask#11 = bitmap_init::bitmask#10 [phi:bitmap_init::@1/bitmap_init::@8->bitmap_init::@2#1] -- register_copy + // bitmap_init::@2 + __b2: + // if(__bitmap_color_depth==1) + // [387] if(__bitmap_color_depth!=1) goto bitmap_init::@3 -- vbuz1_neq_vbuc1_then_la1 + lda #1 + cmp.z __bitmap_color_depth + bne __b3 + // bitmap_init::@9 + // x >> 2 + // [388] bitmap_init::$10 = bitmap_init::x#10 >> 2 -- vwuz1=vwuz2_ror_2 + lda.z x+1 + lsr + sta.z __10+1 + lda.z x + ror + sta.z __10 + lsr.z __10+1 + ror.z __10 + // __bitmap_plot_x[x] = (x >> 2) + // [389] bitmap_init::$24 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __24 + lda.z x+1 + rol + sta.z __24+1 + // [390] bitmap_init::$32 = __bitmap_plot_x + bitmap_init::$24 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __32 + adc #<__bitmap_plot_x + sta.z __32 + lda.z __32+1 + adc #>__bitmap_plot_x + sta.z __32+1 + // [391] *bitmap_init::$32 = bitmap_init::$10 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __10 + sta (__32),y + iny + lda.z __10+1 + sta (__32),y + // __bitmap_plot_bitmask[x] = bitmask + // [392] bitmap_init::$33 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __33 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __33+1 + // [393] *bitmap_init::$33 = bitmap_init::bitmask#11 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__33),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + // [394] bitmap_init::$34 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __34 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __34+1 + // [395] *bitmap_init::$34 = (byte)bitmap_init::bitshift#11 -- _deref_pbuz1=vbuxx + txa + sta (__34),y + // bitshift -= 2 + // [396] bitmap_init::bitshift#2 = bitmap_init::bitshift#11 - 2 -- vbsxx=vbsxx_minus_2 + dex + dex + // bitmask >>= 2 + // [397] bitmap_init::bitmask#2 = bitmap_init::bitmask#11 >> 2 -- vbuz1=vbuz1_ror_2 + lda.z bitmask + lsr + lsr + sta.z bitmask + // [398] phi from bitmap_init::@2 bitmap_init::@9 to bitmap_init::@3 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3] + // [398] phi bitmap_init::bitshift#12 = bitmap_init::bitshift#11 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3#0] -- register_copy + // [398] phi bitmap_init::bitmask#12 = bitmap_init::bitmask#11 [phi:bitmap_init::@2/bitmap_init::@9->bitmap_init::@3#1] -- register_copy + // bitmap_init::@3 + __b3: + // if(__bitmap_color_depth==2) + // [399] if(__bitmap_color_depth!=2) goto bitmap_init::@4 -- vbuz1_neq_vbuc1_then_la1 + lda #2 + cmp.z __bitmap_color_depth + bne __b4 + // bitmap_init::@10 + // x >> 1 + // [400] bitmap_init::$13 = bitmap_init::x#10 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z x+1 + lsr + sta.z __13+1 + lda.z x + ror + sta.z __13 + // __bitmap_plot_x[x] = (x >> 1) + // [401] bitmap_init::$25 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __25 + lda.z x+1 + rol + sta.z __25+1 + // [402] bitmap_init::$35 = __bitmap_plot_x + bitmap_init::$25 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __35 + adc #<__bitmap_plot_x + sta.z __35 + lda.z __35+1 + adc #>__bitmap_plot_x + sta.z __35+1 + // [403] *bitmap_init::$35 = bitmap_init::$13 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z __13 + sta (__35),y + iny + lda.z __13+1 + sta (__35),y + // __bitmap_plot_bitmask[x] = bitmask + // [404] bitmap_init::$36 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __36 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __36+1 + // [405] *bitmap_init::$36 = bitmap_init::bitmask#12 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__36),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + // [406] bitmap_init::$37 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __37 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __37+1 + // [407] *bitmap_init::$37 = (byte)bitmap_init::bitshift#12 -- _deref_pbuz1=vbuxx + txa + sta (__37),y + // bitshift -= 4 + // [408] bitmap_init::bitshift#3 = bitmap_init::bitshift#12 - 4 -- vbsxx=vbsxx_minus_vbsc1 + txa + sec + sbc #4 + tax + // bitmask >>= 4 + // [409] bitmap_init::bitmask#3 = bitmap_init::bitmask#12 >> 4 -- vbuz1=vbuz1_ror_4 + lda.z bitmask + lsr + lsr + lsr + lsr + sta.z bitmask + // [410] phi from bitmap_init::@10 bitmap_init::@3 to bitmap_init::@4 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4] + // [410] phi bitmap_init::bitmask#13 = bitmap_init::bitmask#3 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4#0] -- register_copy + // [410] phi bitmap_init::bitshift#13 = bitmap_init::bitshift#3 [phi:bitmap_init::@10/bitmap_init::@3->bitmap_init::@4#1] -- register_copy + // bitmap_init::@4 + __b4: + // if(__bitmap_color_depth==3) + // [411] if(__bitmap_color_depth!=3) goto bitmap_init::@5 -- vbuz1_neq_vbuc1_then_la1 + lda #3 + cmp.z __bitmap_color_depth + bne __b5 + // bitmap_init::@11 + // __bitmap_plot_x[x] = x + // [412] bitmap_init::$26 = bitmap_init::x#10 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __26 + lda.z x+1 + rol + sta.z __26+1 + // [413] bitmap_init::$38 = __bitmap_plot_x + bitmap_init::$26 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __38 + adc #<__bitmap_plot_x + sta.z __38 + lda.z __38+1 + adc #>__bitmap_plot_x + sta.z __38+1 + // [414] *bitmap_init::$38 = bitmap_init::x#10 -- _deref_pwuz1=vwuz2 + ldy #0 + lda.z x + sta (__38),y + iny + lda.z x+1 + sta (__38),y + // __bitmap_plot_bitmask[x] = bitmask + // [415] bitmap_init::$39 = __bitmap_plot_bitmask + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __39 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __39+1 + // [416] *bitmap_init::$39 = bitmap_init::bitmask#13 -- _deref_pbuz1=vbuz2 + lda.z bitmask + ldy #0 + sta (__39),y + // __bitmap_plot_bitshift[x] = (byte)bitshift + // [417] bitmap_init::$40 = __bitmap_plot_bitshift + bitmap_init::x#10 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __40 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __40+1 + // [418] *bitmap_init::$40 = (byte)bitmap_init::bitshift#13 -- _deref_pbuz1=vbuxx + txa + sta (__40),y + // bitmap_init::@5 + __b5: + // if(bitshift<0) + // [419] if(bitmap_init::bitshift#13>=0) goto bitmap_init::@6 -- vbsxx_ge_0_then_la1 + cpx #0 + bpl __b6 + // bitmap_init::@12 + // bitshift = bitshifts[__bitmap_color_depth] + // [420] bitmap_init::bitshift#4 = bitshifts[__bitmap_color_depth] -- vbsxx=pbsc1_derefidx_vbuz1 + ldy.z __bitmap_color_depth + ldx bitshifts,y + // [421] phi from bitmap_init::@12 bitmap_init::@5 to bitmap_init::@6 [phi:bitmap_init::@12/bitmap_init::@5->bitmap_init::@6] + // [421] phi bitmap_init::bitshift#14 = bitmap_init::bitshift#4 [phi:bitmap_init::@12/bitmap_init::@5->bitmap_init::@6#0] -- register_copy + // bitmap_init::@6 + __b6: + // if(bitmask==0) + // [422] if(bitmap_init::bitmask#13!=0) goto bitmap_init::@7 -- vbuz1_neq_0_then_la1 + lda.z bitmask + cmp #0 + bne __b7 + // bitmap_init::@13 + // bitmask = bitmasks[__bitmap_color_depth] + // [423] bitmap_init::bitmask#4 = bitmasks[__bitmap_color_depth] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z __bitmap_color_depth + lda bitmasks,y + sta.z bitmask + // [424] phi from bitmap_init::@13 bitmap_init::@6 to bitmap_init::@7 [phi:bitmap_init::@13/bitmap_init::@6->bitmap_init::@7] + // [424] phi bitmap_init::bitmask#16 = bitmap_init::bitmask#4 [phi:bitmap_init::@13/bitmap_init::@6->bitmap_init::@7#0] -- register_copy + // bitmap_init::@7 + __b7: + // for(word x : 0..639) + // [425] bitmap_init::x#1 = ++ bitmap_init::x#10 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // [426] if(bitmap_init::x#1!=$280) goto bitmap_init::@1 -- vwuz1_neq_vwuc1_then_la1 + lda.z x+1 + cmp #>$280 + beq !__b1+ + jmp __b1 + !__b1: + lda.z x + cmp #<$280 + beq !__b1+ + jmp __b1 + !__b1: + // bitmap_init::@14 + // __bitmap_color_depth<<2 + // [427] bitmap_init::$3 = __bitmap_color_depth << 2 -- vbuaa=vbuz1_rol_2 + lda.z __bitmap_color_depth + asl + asl + // (__bitmap_color_depth<<2)+__bitmap_hscale + // [428] bitmap_init::$4 = bitmap_init::$3 + __bitmap_hscale -- vbuaa=vbuaa_plus_vbuz1 + clc + adc.z __bitmap_hscale + // hdelta = hdeltas[(__bitmap_color_depth<<2)+__bitmap_hscale] + // [429] bitmap_init::$27 = bitmap_init::$4 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [430] bitmap_init::hdelta#0 = hdeltas[bitmap_init::$27] -- vwuz1=pwuc1_derefidx_vbuaa + // This sets the right delta to skip a whole line based on the scale, depending on the color depth. + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // yoffs = __bitmap_address + // [431] bitmap_init::yoffs#0 = __bitmap_address -- vduz1=vduz2 + // We start at the bitmap address; The plot_y contains the bitmap address embedded so we know where a line starts. + lda.z __bitmap_address + sta.z yoffs + lda.z __bitmap_address+1 + sta.z yoffs+1 + lda.z __bitmap_address+2 + sta.z yoffs+2 + lda.z __bitmap_address+3 + sta.z yoffs+3 + // [432] phi from bitmap_init::@14 to bitmap_init::@15 [phi:bitmap_init::@14->bitmap_init::@15] + // [432] phi bitmap_init::yoffs#2 = bitmap_init::yoffs#0 [phi:bitmap_init::@14->bitmap_init::@15#0] -- register_copy + // [432] phi bitmap_init::y#2 = 0 [phi:bitmap_init::@14->bitmap_init::@15#1] -- vwuz1=vwuc1 + lda #<0 + sta.z y + sta.z y+1 + // [432] phi from bitmap_init::@15 to bitmap_init::@15 [phi:bitmap_init::@15->bitmap_init::@15] + // [432] phi bitmap_init::yoffs#2 = bitmap_init::yoffs#1 [phi:bitmap_init::@15->bitmap_init::@15#0] -- register_copy + // [432] phi bitmap_init::y#2 = bitmap_init::y#1 [phi:bitmap_init::@15->bitmap_init::@15#1] -- register_copy + // bitmap_init::@15 + __b15: + // __bitmap_plot_y[y] = yoffs + // [433] bitmap_init::$28 = bitmap_init::y#2 << 2 -- vwuz1=vwuz2_rol_2 + lda.z y + asl + sta.z __28 + lda.z y+1 + rol + sta.z __28+1 + asl.z __28 + rol.z __28+1 + // [434] bitmap_init::$41 = __bitmap_plot_y + bitmap_init::$28 -- pduz1=pduc1_plus_vwuz1 + clc + lda.z __41 + adc #<__bitmap_plot_y + sta.z __41 + lda.z __41+1 + adc #>__bitmap_plot_y + sta.z __41+1 + // [435] *bitmap_init::$41 = bitmap_init::yoffs#2 -- _deref_pduz1=vduz2 + ldy #0 + lda.z yoffs + sta (__41),y + iny + lda.z yoffs+1 + sta (__41),y + iny + lda.z yoffs+2 + sta (__41),y + iny + lda.z yoffs+3 + sta (__41),y + // yoffs = yoffs + hdelta + // [436] bitmap_init::yoffs#1 = bitmap_init::yoffs#2 + bitmap_init::hdelta#0 -- vduz1=vduz1_plus_vwuz2 + lda.z yoffs + clc + adc.z hdelta + sta.z yoffs + lda.z yoffs+1 + adc.z hdelta+1 + sta.z yoffs+1 + lda.z yoffs+2 + adc #0 + sta.z yoffs+2 + lda.z yoffs+3 + adc #0 + sta.z yoffs+3 + // for(word y : 0..479) + // [437] bitmap_init::y#1 = ++ bitmap_init::y#2 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // [438] if(bitmap_init::y#1!=$1e0) goto bitmap_init::@15 -- vwuz1_neq_vwuc1_then_la1 + lda.z y+1 + cmp #>$1e0 + bne __b15 + lda.z y + cmp #<$1e0 + bne __b15 + // bitmap_init::@return + // } + // [439] return + rts +} + // bitmap_clear +// Clear all graphics on the bitmap +bitmap_clear: { + .label __3 = $43 + .label vdelta = $41 + .label hdelta = $15 + .label count = $5e + .label vdest = $45 + // vdelta = vdeltas[__bitmap_vscale] + // [440] bitmap_clear::$7 = __bitmap_vscale << 1 -- vbuaa=vbuz1_rol_1 + lda.z __bitmap_vscale + asl + // [441] bitmap_clear::vdelta#0 = vdeltas[bitmap_clear::$7] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vdeltas,y + sta.z vdelta + lda vdeltas+1,y + sta.z vdelta+1 + // __bitmap_color_depth<<2 + // [442] bitmap_clear::$0 = __bitmap_color_depth << 2 -- vbuaa=vbuz1_rol_2 + lda.z __bitmap_color_depth + asl + asl + // (__bitmap_color_depth<<2)+__bitmap_hscale + // [443] bitmap_clear::$1 = bitmap_clear::$0 + __bitmap_hscale -- vbuaa=vbuaa_plus_vbuz1 + clc + adc.z __bitmap_hscale + // hdelta = hdeltas[(__bitmap_color_depth<<2)+__bitmap_hscale] + // [444] bitmap_clear::$8 = bitmap_clear::$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [445] bitmap_clear::hdelta#0 = hdeltas[bitmap_clear::$8] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda hdeltas,y + sta.z hdelta + lda hdeltas+1,y + sta.z hdelta+1 + // mul16u(hdelta,vdelta) + // [446] mul16u::a#1 = bitmap_clear::hdelta#0 + // [447] mul16u::b#0 = bitmap_clear::vdelta#0 + // [448] call mul16u + jsr mul16u + // [449] mul16u::return#2 = mul16u::res#2 + // bitmap_clear::@1 + // count = mul16u(hdelta,vdelta) + // [450] bitmap_clear::count#0 = mul16u::return#2 + // >__bitmap_address + // [451] bitmap_clear::$3 = > __bitmap_address -- vwuz1=_hi_vduz2 + lda.z __bitmap_address+2 + sta.z __3 + lda.z __bitmap_address+3 + sta.z __3+1 + // vbank = <(>__bitmap_address) + // [452] bitmap_clear::vbank#0 = < bitmap_clear::$3 -- vbuxx=_lo_vwuz1 + ldx.z __3 + // <__bitmap_address + // [453] bitmap_clear::vdest#0 = < __bitmap_address -- vwuz1=_lo_vduz2 + lda.z __bitmap_address + sta.z vdest + lda.z __bitmap_address+1 + sta.z vdest+1 + // memset_vram(vbank, vdest, 0, count) + // [454] memset_vram::vbank#0 = bitmap_clear::vbank#0 + // [455] memset_vram::vdest#0 = (void*)bitmap_clear::vdest#0 + // [456] memset_vram::num#0 = bitmap_clear::count#0 + // [457] call memset_vram + jsr memset_vram + // bitmap_clear::@return + // } + // [458] return + rts +} + // kbhit +// Return true if there's a key waiting, return false if not +kbhit: { + .label chptr = ch + .label IN_DEV = $28a + // Current input device number + .label GETIN = $ffe4 + .label ch = $47 + // ch = 0 + // [459] kbhit::ch = 0 -- vbuz1=vbuc1 + lda #0 + sta.z ch + // kickasm + // kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit bne L3 jmp continue1 .var via1 = $9f60 //VIA#1 .var d1pra = via1+1 _kbhit: ldy d1pra // The count of keys pressed is stored in RAM bank 0. stz d1pra // Set d1pra to zero to access RAM bank 0. lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). sty d1pra // Set d1pra to previous value. rts L3: ldy IN_DEV // Save current input device stz IN_DEV // Keyboard phy jsr GETIN // Read char, and return in .A ply sta chptr // Store the character read in ch sty IN_DEV // Restore input device ldx #>$0000 rts continue1: nop }} + // CBM GETIN API + jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + + // return ch; + // [461] kbhit::return#0 = kbhit::ch -- vbuaa=vbuz1 + // kbhit::@return + // } + // [462] kbhit::return#1 = kbhit::return#0 + // [463] return + rts +} + // bitmap_line +// Draw a line on the bitmap +// bitmap_line(word zp(3) x0, word zp($41) x1, word zp($43) y0, word zp($15) y1, byte register(X) c) +bitmap_line: { + .label xd = $17 + .label yd = $3f + .label yd_1 = $45 + .label x0 = 3 + .label x1 = $41 + .label y0 = $43 + .label y1 = $15 + // if(x0bitmap_line_ydxi] + // [645] phi bitmap_line_ydxi::y1#6 = bitmap_line_ydxi::y1#0 [phi:bitmap_line::@4->bitmap_line_ydxi#0] -- register_copy + // [645] phi bitmap_line_ydxi::yd#5 = bitmap_line_ydxi::yd#0 [phi:bitmap_line::@4->bitmap_line_ydxi#1] -- register_copy + // [645] phi bitmap_line_ydxi::c#3 = bitmap_line_ydxi::c#0 [phi:bitmap_line::@4->bitmap_line_ydxi#2] -- register_copy + // [645] phi bitmap_line_ydxi::y#6 = bitmap_line_ydxi::y#0 [phi:bitmap_line::@4->bitmap_line_ydxi#3] -- register_copy + // [645] phi bitmap_line_ydxi::x#5 = bitmap_line_ydxi::x#0 [phi:bitmap_line::@4->bitmap_line_ydxi#4] -- register_copy + // [645] phi bitmap_line_ydxi::xd#2 = bitmap_line_ydxi::xd#0 [phi:bitmap_line::@4->bitmap_line_ydxi#5] -- register_copy + jsr bitmap_line_ydxi + // bitmap_line::@return + // } + // [477] return + rts + // bitmap_line::@8 + __b8: + // bitmap_line_xdyi(x1, y1, x0, xd, yd, c) + // [478] bitmap_line_xdyi::x#0 = bitmap_line::x1#10 -- vwuz1=vwuz2 + lda.z x1 + sta.z bitmap_line_xdyi.x + lda.z x1+1 + sta.z bitmap_line_xdyi.x+1 + // [479] bitmap_line_xdyi::y#0 = bitmap_line::y1#10 -- vwuz1=vwuz2 + lda.z y1 + sta.z bitmap_line_xdyi.y + lda.z y1+1 + sta.z bitmap_line_xdyi.y+1 + // [480] bitmap_line_xdyi::x1#0 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyi.x1 + lda.z x0+1 + sta.z bitmap_line_xdyi.x1+1 + // [481] bitmap_line_xdyi::xd#0 = bitmap_line::xd#2 + // [482] bitmap_line_xdyi::yd#0 = bitmap_line::yd#2 + // [483] bitmap_line_xdyi::c#0 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyi.c + // [484] call bitmap_line_xdyi + // [661] phi from bitmap_line::@8 to bitmap_line_xdyi [phi:bitmap_line::@8->bitmap_line_xdyi] + // [661] phi bitmap_line_xdyi::x1#6 = bitmap_line_xdyi::x1#0 [phi:bitmap_line::@8->bitmap_line_xdyi#0] -- register_copy + // [661] phi bitmap_line_xdyi::xd#5 = bitmap_line_xdyi::xd#0 [phi:bitmap_line::@8->bitmap_line_xdyi#1] -- register_copy + // [661] phi bitmap_line_xdyi::c#3 = bitmap_line_xdyi::c#0 [phi:bitmap_line::@8->bitmap_line_xdyi#2] -- register_copy + // [661] phi bitmap_line_xdyi::y#5 = bitmap_line_xdyi::y#0 [phi:bitmap_line::@8->bitmap_line_xdyi#3] -- register_copy + // [661] phi bitmap_line_xdyi::x#6 = bitmap_line_xdyi::x#0 [phi:bitmap_line::@8->bitmap_line_xdyi#4] -- register_copy + // [661] phi bitmap_line_xdyi::yd#2 = bitmap_line_xdyi::yd#0 [phi:bitmap_line::@8->bitmap_line_xdyi#5] -- register_copy + jsr bitmap_line_xdyi + rts + // bitmap_line::@7 + __b7: + // yd = y1-y0 + // [485] bitmap_line::yd#1 = bitmap_line::y1#10 - bitmap_line::y0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z y1 + sec + sbc.z y0 + sta.z yd + lda.z y1+1 + sbc.z y0+1 + sta.z yd+1 + // if(ydbitmap_line_ydxd] + // [677] phi bitmap_line_ydxd::y1#6 = bitmap_line_ydxd::y1#0 [phi:bitmap_line::@10->bitmap_line_ydxd#0] -- register_copy + // [677] phi bitmap_line_ydxd::yd#5 = bitmap_line_ydxd::yd#0 [phi:bitmap_line::@10->bitmap_line_ydxd#1] -- register_copy + // [677] phi bitmap_line_ydxd::c#3 = bitmap_line_ydxd::c#0 [phi:bitmap_line::@10->bitmap_line_ydxd#2] -- register_copy + // [677] phi bitmap_line_ydxd::y#7 = bitmap_line_ydxd::y#0 [phi:bitmap_line::@10->bitmap_line_ydxd#3] -- register_copy + // [677] phi bitmap_line_ydxd::x#5 = bitmap_line_ydxd::x#0 [phi:bitmap_line::@10->bitmap_line_ydxd#4] -- register_copy + // [677] phi bitmap_line_ydxd::xd#2 = bitmap_line_ydxd::xd#0 [phi:bitmap_line::@10->bitmap_line_ydxd#5] -- register_copy + jsr bitmap_line_ydxd + rts + // bitmap_line::@9 + __b9: + // bitmap_line_xdyd(x1, y1, x0, xd, yd, c) + // [494] bitmap_line_xdyd::x#0 = bitmap_line::x1#10 -- vwuz1=vwuz2 + lda.z x1 + sta.z bitmap_line_xdyd.x + lda.z x1+1 + sta.z bitmap_line_xdyd.x+1 + // [495] bitmap_line_xdyd::y#0 = bitmap_line::y1#10 -- vwuz1=vwuz2 + lda.z y1 + sta.z bitmap_line_xdyd.y + lda.z y1+1 + sta.z bitmap_line_xdyd.y+1 + // [496] bitmap_line_xdyd::x1#0 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyd.x1 + lda.z x0+1 + sta.z bitmap_line_xdyd.x1+1 + // [497] bitmap_line_xdyd::xd#0 = bitmap_line::xd#2 + // [498] bitmap_line_xdyd::yd#0 = bitmap_line::yd#1 + // [499] bitmap_line_xdyd::c#0 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyd.c + // [500] call bitmap_line_xdyd + // [693] phi from bitmap_line::@9 to bitmap_line_xdyd [phi:bitmap_line::@9->bitmap_line_xdyd] + // [693] phi bitmap_line_xdyd::x1#6 = bitmap_line_xdyd::x1#0 [phi:bitmap_line::@9->bitmap_line_xdyd#0] -- register_copy + // [693] phi bitmap_line_xdyd::xd#5 = bitmap_line_xdyd::xd#0 [phi:bitmap_line::@9->bitmap_line_xdyd#1] -- register_copy + // [693] phi bitmap_line_xdyd::c#3 = bitmap_line_xdyd::c#0 [phi:bitmap_line::@9->bitmap_line_xdyd#2] -- register_copy + // [693] phi bitmap_line_xdyd::y#5 = bitmap_line_xdyd::y#0 [phi:bitmap_line::@9->bitmap_line_xdyd#3] -- register_copy + // [693] phi bitmap_line_xdyd::x#6 = bitmap_line_xdyd::x#0 [phi:bitmap_line::@9->bitmap_line_xdyd#4] -- register_copy + // [693] phi bitmap_line_xdyd::yd#2 = bitmap_line_xdyd::yd#0 [phi:bitmap_line::@9->bitmap_line_xdyd#5] -- register_copy + jsr bitmap_line_xdyd + rts + // bitmap_line::@1 + __b1: + // xd = x1-x0 + // [501] bitmap_line::xd#1 = bitmap_line::x1#10 - bitmap_line::x0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z x1 + sec + sbc.z x0 + sta.z xd + lda.z x1+1 + sbc.z x0+1 + sta.z xd+1 + // if(y0bitmap_line_ydxd] + // [677] phi bitmap_line_ydxd::y1#6 = bitmap_line_ydxd::y1#1 [phi:bitmap_line::@6->bitmap_line_ydxd#0] -- register_copy + // [677] phi bitmap_line_ydxd::yd#5 = bitmap_line_ydxd::yd#1 [phi:bitmap_line::@6->bitmap_line_ydxd#1] -- register_copy + // [677] phi bitmap_line_ydxd::c#3 = bitmap_line_ydxd::c#1 [phi:bitmap_line::@6->bitmap_line_ydxd#2] -- register_copy + // [677] phi bitmap_line_ydxd::y#7 = bitmap_line_ydxd::y#1 [phi:bitmap_line::@6->bitmap_line_ydxd#3] -- register_copy + // [677] phi bitmap_line_ydxd::x#5 = bitmap_line_ydxd::x#1 [phi:bitmap_line::@6->bitmap_line_ydxd#4] -- register_copy + // [677] phi bitmap_line_ydxd::xd#2 = bitmap_line_ydxd::xd#1 [phi:bitmap_line::@6->bitmap_line_ydxd#5] -- register_copy + jsr bitmap_line_ydxd + rts + // bitmap_line::@12 + __b12: + // bitmap_line_xdyd(x0, y0, x1, xd, yd, c) + // [512] bitmap_line_xdyd::x#1 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyd.x + lda.z x0+1 + sta.z bitmap_line_xdyd.x+1 + // [513] bitmap_line_xdyd::y#1 = bitmap_line::y0#10 + // [514] bitmap_line_xdyd::x1#1 = bitmap_line::x1#10 + // [515] bitmap_line_xdyd::xd#1 = bitmap_line::xd#1 + // [516] bitmap_line_xdyd::yd#1 = bitmap_line::yd#10 + // [517] bitmap_line_xdyd::c#1 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyd.c + // [518] call bitmap_line_xdyd + // [693] phi from bitmap_line::@12 to bitmap_line_xdyd [phi:bitmap_line::@12->bitmap_line_xdyd] + // [693] phi bitmap_line_xdyd::x1#6 = bitmap_line_xdyd::x1#1 [phi:bitmap_line::@12->bitmap_line_xdyd#0] -- register_copy + // [693] phi bitmap_line_xdyd::xd#5 = bitmap_line_xdyd::xd#1 [phi:bitmap_line::@12->bitmap_line_xdyd#1] -- register_copy + // [693] phi bitmap_line_xdyd::c#3 = bitmap_line_xdyd::c#1 [phi:bitmap_line::@12->bitmap_line_xdyd#2] -- register_copy + // [693] phi bitmap_line_xdyd::y#5 = bitmap_line_xdyd::y#1 [phi:bitmap_line::@12->bitmap_line_xdyd#3] -- register_copy + // [693] phi bitmap_line_xdyd::x#6 = bitmap_line_xdyd::x#1 [phi:bitmap_line::@12->bitmap_line_xdyd#4] -- register_copy + // [693] phi bitmap_line_xdyd::yd#2 = bitmap_line_xdyd::yd#1 [phi:bitmap_line::@12->bitmap_line_xdyd#5] -- register_copy + jsr bitmap_line_xdyd + rts + // bitmap_line::@11 + __b11: + // yd = y1-y0 + // [519] bitmap_line::yd#11 = bitmap_line::y1#10 - bitmap_line::y0#10 -- vwuz1=vwuz2_minus_vwuz3 + lda.z y1 + sec + sbc.z y0 + sta.z yd_1 + lda.z y1+1 + sbc.z y0+1 + sta.z yd_1+1 + // if(ydbitmap_line_ydxi] + // [645] phi bitmap_line_ydxi::y1#6 = bitmap_line_ydxi::y1#1 [phi:bitmap_line::@14->bitmap_line_ydxi#0] -- register_copy + // [645] phi bitmap_line_ydxi::yd#5 = bitmap_line_ydxi::yd#1 [phi:bitmap_line::@14->bitmap_line_ydxi#1] -- register_copy + // [645] phi bitmap_line_ydxi::c#3 = bitmap_line_ydxi::c#1 [phi:bitmap_line::@14->bitmap_line_ydxi#2] -- register_copy + // [645] phi bitmap_line_ydxi::y#6 = bitmap_line_ydxi::y#1 [phi:bitmap_line::@14->bitmap_line_ydxi#3] -- register_copy + // [645] phi bitmap_line_ydxi::x#5 = bitmap_line_ydxi::x#1 [phi:bitmap_line::@14->bitmap_line_ydxi#4] -- register_copy + // [645] phi bitmap_line_ydxi::xd#2 = bitmap_line_ydxi::xd#1 [phi:bitmap_line::@14->bitmap_line_ydxi#5] -- register_copy + jsr bitmap_line_ydxi + rts + // bitmap_line::@13 + __b13: + // bitmap_line_xdyi(x0, y0, x1, xd, yd, c) + // [528] bitmap_line_xdyi::x#1 = bitmap_line::x0#10 -- vwuz1=vwuz2 + lda.z x0 + sta.z bitmap_line_xdyi.x + lda.z x0+1 + sta.z bitmap_line_xdyi.x+1 + // [529] bitmap_line_xdyi::y#1 = bitmap_line::y0#10 + // [530] bitmap_line_xdyi::x1#1 = bitmap_line::x1#10 + // [531] bitmap_line_xdyi::xd#1 = bitmap_line::xd#1 + // [532] bitmap_line_xdyi::yd#1 = bitmap_line::yd#11 + // [533] bitmap_line_xdyi::c#1 = bitmap_line::c#10 -- vbuz1=vbuxx + stx.z bitmap_line_xdyi.c + // [534] call bitmap_line_xdyi + // [661] phi from bitmap_line::@13 to bitmap_line_xdyi [phi:bitmap_line::@13->bitmap_line_xdyi] + // [661] phi bitmap_line_xdyi::x1#6 = bitmap_line_xdyi::x1#1 [phi:bitmap_line::@13->bitmap_line_xdyi#0] -- register_copy + // [661] phi bitmap_line_xdyi::xd#5 = bitmap_line_xdyi::xd#1 [phi:bitmap_line::@13->bitmap_line_xdyi#1] -- register_copy + // [661] phi bitmap_line_xdyi::c#3 = bitmap_line_xdyi::c#1 [phi:bitmap_line::@13->bitmap_line_xdyi#2] -- register_copy + // [661] phi bitmap_line_xdyi::y#5 = bitmap_line_xdyi::y#1 [phi:bitmap_line::@13->bitmap_line_xdyi#3] -- register_copy + // [661] phi bitmap_line_xdyi::x#6 = bitmap_line_xdyi::x#1 [phi:bitmap_line::@13->bitmap_line_xdyi#4] -- register_copy + // [661] phi bitmap_line_xdyi::yd#2 = bitmap_line_xdyi::yd#1 [phi:bitmap_line::@13->bitmap_line_xdyi#5] -- register_copy + jsr bitmap_line_xdyi + rts +} + // rand +// Returns a pseudo-random number in the range of 0 to RAND_MAX (65535) +// Uses an xorshift pseudorandom number generator that hits all different values +// Information https://en.wikipedia.org/wiki/Xorshift +// Source http://www.retroprogramming.com/2017/07/xorshift-pseudorandom-numbers-in-z80.html +rand: { + .label __0 = $48 + .label __1 = $4a + .label __2 = $6a + .label return = $13 + // rand_state << 7 + // [536] rand::$0 = rand_state#13 << 7 -- vwuz1=vwuz2_rol_7 + lda.z rand_state+1 + lsr + lda.z rand_state + ror + sta.z __0+1 + lda #0 + ror + sta.z __0 + // rand_state ^= rand_state << 7 + // [537] rand_state#0 = rand_state#13 ^ rand::$0 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __0 + sta.z rand_state + lda.z rand_state+1 + eor.z __0+1 + sta.z rand_state+1 + // rand_state >> 9 + // [538] rand::$1 = rand_state#0 >> 9 -- vwuz1=vwuz2_ror_9 + lsr + sta.z __1 + lda #0 + sta.z __1+1 + // rand_state ^= rand_state >> 9 + // [539] rand_state#1 = rand_state#0 ^ rand::$1 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __1 + sta.z rand_state + lda.z rand_state+1 + eor.z __1+1 + sta.z rand_state+1 + // rand_state << 8 + // [540] rand::$2 = rand_state#1 << 8 -- vwuz1=vwuz2_rol_8 + lda.z rand_state + sta.z __2+1 + lda #0 + sta.z __2 + // rand_state ^= rand_state << 8 + // [541] rand_state#14 = rand_state#1 ^ rand::$2 -- vwuz1=vwuz1_bxor_vwuz2 + lda.z rand_state + eor.z __2 + sta.z rand_state + lda.z rand_state+1 + eor.z __2+1 + sta.z rand_state+1 + // return rand_state; + // [542] rand::return#0 = rand_state#14 -- vwuz1=vwuz2 + lda.z rand_state + sta.z return + lda.z rand_state+1 + sta.z return+1 + // rand::@return + // } + // [543] return + rts +} + // modr16u +// Performs modulo on two 16 bit unsigned ints and an initial remainder +// Returns the remainder. +// Implemented using simple binary division +// modr16u(word zp($13) dividend, word zp($17) divisor) +modr16u: { + .label return = $15 + .label dividend = $13 + .label return_1 = $41 + .label return_2 = $43 + .label divisor = $17 + // divr16u(dividend, divisor, rem) + // [545] divr16u::dividend#1 = modr16u::dividend#4 + // [546] divr16u::divisor#0 = modr16u::divisor#4 + // [547] call divr16u + // [709] phi from modr16u to divr16u [phi:modr16u->divr16u] + jsr divr16u + // modr16u::@1 + // return rem16u; + // [548] modr16u::return#0 = rem16u#0 -- vwuz1=vwuz2 + lda.z rem16u + sta.z return + lda.z rem16u+1 + sta.z return+1 + // modr16u::@return + // } + // [549] return + rts +} + // vera_layer_set_text_color_mode +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $4c + // addr = vera_layer_config[layer] + // [550] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) -- pbuz1=_deref_qbuc1 + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // *addr &= ~VERA_LAYER_CONFIG_256C + // [551] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C -- _deref_pbuz1=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + sta (addr),y + // *addr |= color_mode + // [552] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 -- _deref_pbuz1=_deref_pbuz1 + lda (addr),y + sta (addr),y + // vera_layer_set_text_color_mode::@return + // } + // [553] return + rts +} + // vera_layer_get_mapbase_bank +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // return vera_mapbase_bank[layer]; + // [554] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_mapbase_bank,x + // vera_layer_get_mapbase_bank::@return + // } + // [555] return + rts +} + // vera_layer_get_mapbase_offset +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $30 + // return vera_mapbase_offset[layer]; + // [556] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [557] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + // vera_layer_get_mapbase_offset::@return + // } + // [558] return + rts +} + // vera_layer_get_rowshift +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // return vera_layer_rowshift[layer]; + // [559] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_rowshift,x + // vera_layer_get_rowshift::@return + // } + // [560] return + rts +} + // vera_layer_get_rowskip +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $30 + // return vera_layer_rowskip[layer]; + // [561] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [562] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + // vera_layer_get_rowskip::@return + // } + // [563] return + rts +} + // vera_layer_set_config +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $4e + // addr = vera_layer_config[layer] + // [565] vera_layer_set_config::$0 = vera_layer_set_config::layer#2 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [566] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr = config + // [567] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#2 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_config::@return + // } + // [568] return + rts +} + // vera_layer_set_tilebase +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $4e + // addr = vera_layer_tilebase[layer] + // [570] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#2 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [571] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // *addr = tilebase + // [572] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#2 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_tilebase::@return + // } + // [573] return + rts +} + // vera_layer_get_backcolor +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // return vera_layer_backcolor[layer]; + // [574] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_backcolor,x + // vera_layer_get_backcolor::@return + // } + // [575] return + rts +} + // vera_layer_get_textcolor +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // return vera_layer_textcolor[layer]; + // [576] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + // vera_layer_get_textcolor::@return + // } + // [577] return + rts +} + // cputc +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3e) c) +cputc: { + .label __16 = $6e + .label conio_addr = $6c + .label c = $3e + // vera_layer_get_color( conio_screen_layer) + // [578] vera_layer_get_color::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [579] call vera_layer_get_color + // [727] phi from cputc to vera_layer_get_color [phi:cputc->vera_layer_get_color] + // [727] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#0 [phi:cputc->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // [580] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + // cputc::@7 + // color = vera_layer_get_color( conio_screen_layer) + // [581] cputc::color#0 = vera_layer_get_color::return#3 -- vbuxx=vbuaa + tax + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [582] cputc::$15 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // conio_addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [583] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[cputc::$15] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // conio_cursor_x[conio_screen_layer] << 1 + // [584] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 -- vbuaa=pbuc1_derefidx_vbuz1_rol_1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // conio_addr += conio_cursor_x[conio_screen_layer] << 1 + // [585] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 -- pbuz1=pbuz1_plus_vbuaa + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // if(c=='\n') + // [586] if(cputc::c#0==' ') goto cputc::@1 -- vbuz1_eq_vbuc1_then_la1 + lda #'\n' + cmp.z c + beq __b1 + // cputc::@2 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [587] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // conio_addr + // [590] cputc::$5 = > cputc::conio_addr#1 -- vbuaa=_hi_pbuz1 + lda.z conio_addr+1 + // *VERA_ADDRX_M = >conio_addr + // [591] *VERA_ADDRX_M = cputc::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + // [592] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + // [593] *VERA_ADDRX_H = cputc::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // *VERA_DATA0 = c + // [594] *VERA_DATA0 = cputc::c#0 -- _deref_pbuc1=vbuz1 + lda.z c + sta VERA_DATA0 + // *VERA_DATA0 = color + // [595] *VERA_DATA0 = cputc::color#0 -- _deref_pbuc1=vbuxx + stx VERA_DATA0 + // conio_cursor_x[conio_screen_layer]++; + // [596] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_x,x + // scroll_enable = conio_scroll_enable[conio_screen_layer] + // [597] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] -- vbuaa=pbuc1_derefidx_vbuz1 + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // if(scroll_enable) + // [598] if(0!=cputc::scroll_enable#0) goto cputc::@5 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b5 + // cputc::@3 + // (unsigned int)conio_cursor_x[conio_screen_layer] == conio_width + // [599] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] -- vwuz1=_word_pbuc1_derefidx_vbuz2 + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // if((unsigned int)conio_cursor_x[conio_screen_layer] == conio_width) + // [600] if(cputc::$16!=conio_width) goto cputc::@return -- vwuz1_neq_vwuz2_then_la1 + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // [601] phi from cputc::@3 to cputc::@4 [phi:cputc::@3->cputc::@4] + // cputc::@4 + // cputln() + // [602] call cputln + jsr cputln + // cputc::@return + __breturn: + // } + // [603] return + rts + // cputc::@5 + __b5: + // if(conio_cursor_x[conio_screen_layer] == CONIO_WIDTH) + // [604] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return -- pbuc1_derefidx_vbuz1_neq_vbuz2_then_la1 + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // [605] phi from cputc::@5 to cputc::@6 [phi:cputc::@5->cputc::@6] + // cputc::@6 + // cputln() + // [606] call cputln + jsr cputln + rts + // [607] phi from cputc::@7 to cputc::@1 [phi:cputc::@7->cputc::@1] + // cputc::@1 + __b1: + // cputln() + // [608] call cputln + jsr cputln + rts +} + // vera_display_get_hscale +vera_display_get_hscale: { + .const scale = 0 + // [610] phi from vera_display_get_hscale to vera_display_get_hscale::@1 [phi:vera_display_get_hscale->vera_display_get_hscale::@1] + // [610] phi vera_display_get_hscale::s#2 = 1 [phi:vera_display_get_hscale->vera_display_get_hscale::@1#0] -- vbuxx=vbuc1 + ldx #1 + // [610] phi from vera_display_get_hscale::@2 to vera_display_get_hscale::@1 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@1] + // [610] phi vera_display_get_hscale::s#2 = vera_display_get_hscale::s#1 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@1#0] -- register_copy + // vera_display_get_hscale::@1 + __b1: + // if(*VERA_DC_HSCALE==hscale[s]) + // [611] if(*VERA_DC_HSCALE!=vera_display_get_hscale::hscale[vera_display_get_hscale::s#2]) goto vera_display_get_hscale::@2 -- _deref_pbuc1_neq_pbuc2_derefidx_vbuxx_then_la1 + lda hscale,x + cmp VERA_DC_HSCALE + bne __b2 + // [614] phi from vera_display_get_hscale::@1 to vera_display_get_hscale::@3 [phi:vera_display_get_hscale::@1->vera_display_get_hscale::@3] + // [614] phi vera_display_get_hscale::return#0 = vera_display_get_hscale::s#2 [phi:vera_display_get_hscale::@1->vera_display_get_hscale::@3#0] -- register_copy + rts + // vera_display_get_hscale::@2 + __b2: + // for(byte s:1..3) + // [612] vera_display_get_hscale::s#1 = ++ vera_display_get_hscale::s#2 -- vbuxx=_inc_vbuxx + inx + // [613] if(vera_display_get_hscale::s#1!=4) goto vera_display_get_hscale::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #4 + bne __b1 + // [614] phi from vera_display_get_hscale::@2 to vera_display_get_hscale::@3 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@3] + // [614] phi vera_display_get_hscale::return#0 = vera_display_get_hscale::scale#0 [phi:vera_display_get_hscale::@2->vera_display_get_hscale::@3#0] -- vbuxx=vbuc1 + ldx #scale + // vera_display_get_hscale::@3 + // vera_display_get_hscale::@return + // } + // [615] return + rts + .segment Data + hscale: .byte 0, $80, $40, $20 +} +.segment Code + // vera_display_get_vscale +vera_display_get_vscale: { + .const scale = 0 + // [617] phi from vera_display_get_vscale to vera_display_get_vscale::@1 [phi:vera_display_get_vscale->vera_display_get_vscale::@1] + // [617] phi vera_display_get_vscale::s#2 = 1 [phi:vera_display_get_vscale->vera_display_get_vscale::@1#0] -- vbuxx=vbuc1 + ldx #1 + // [617] phi from vera_display_get_vscale::@2 to vera_display_get_vscale::@1 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@1] + // [617] phi vera_display_get_vscale::s#2 = vera_display_get_vscale::s#1 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@1#0] -- register_copy + // vera_display_get_vscale::@1 + __b1: + // if(*VERA_DC_VSCALE==vscale[s]) + // [618] if(*VERA_DC_VSCALE!=vera_display_get_vscale::vscale[vera_display_get_vscale::s#2]) goto vera_display_get_vscale::@2 -- _deref_pbuc1_neq_pbuc2_derefidx_vbuxx_then_la1 + lda vscale,x + cmp VERA_DC_VSCALE + bne __b2 + // [621] phi from vera_display_get_vscale::@1 to vera_display_get_vscale::@3 [phi:vera_display_get_vscale::@1->vera_display_get_vscale::@3] + // [621] phi vera_display_get_vscale::return#0 = vera_display_get_vscale::s#2 [phi:vera_display_get_vscale::@1->vera_display_get_vscale::@3#0] -- register_copy + rts + // vera_display_get_vscale::@2 + __b2: + // for(byte s:1..3) + // [619] vera_display_get_vscale::s#1 = ++ vera_display_get_vscale::s#2 -- vbuxx=_inc_vbuxx + inx + // [620] if(vera_display_get_vscale::s#1!=4) goto vera_display_get_vscale::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #4 + bne __b1 + // [621] phi from vera_display_get_vscale::@2 to vera_display_get_vscale::@3 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@3] + // [621] phi vera_display_get_vscale::return#0 = vera_display_get_vscale::scale#0 [phi:vera_display_get_vscale::@2->vera_display_get_vscale::@3#0] -- vbuxx=vbuc1 + ldx #scale + // vera_display_get_vscale::@3 + // vera_display_get_vscale::@return + // } + // [622] return + rts + .segment Data + vscale: .byte 0, $80, $40, $20 +} +.segment Code + // mul16u +// Perform binary multiplication of two unsigned 16-bit unsigned ints into a 32-bit unsigned long +// mul16u(word zp($15) a, word zp($41) b) +mul16u: { + .label mb = $64 + .label a = $15 + .label res = $5e + .label b = $41 + .label return = $5e + // mb = b + // [623] mul16u::mb#0 = (dword)mul16u::b#0 -- vduz1=_dword_vwuz2 + lda.z b + sta.z mb + lda.z b+1 + sta.z mb+1 + lda #0 + sta.z mb+2 + sta.z mb+3 + // [624] phi from mul16u to mul16u::@1 [phi:mul16u->mul16u::@1] + // [624] phi mul16u::mb#2 = mul16u::mb#0 [phi:mul16u->mul16u::@1#0] -- register_copy + // [624] phi mul16u::res#2 = 0 [phi:mul16u->mul16u::@1#1] -- vduz1=vduc1 + sta.z res + sta.z res+1 + lda #<0>>$10 + sta.z res+2 + lda #>0>>$10 + sta.z res+3 + // [624] phi mul16u::a#2 = mul16u::a#1 [phi:mul16u->mul16u::@1#2] -- register_copy + // mul16u::@1 + __b1: + // while(a!=0) + // [625] if(mul16u::a#2!=0) goto mul16u::@2 -- vwuz1_neq_0_then_la1 + lda.z a + ora.z a+1 + bne __b2 + // mul16u::@return + // } + // [626] return + rts + // mul16u::@2 + __b2: + // a&1 + // [627] mul16u::$1 = mul16u::a#2 & 1 -- vbuaa=vwuz1_band_vbuc1 + lda #1 + and.z a + // if( (a&1) != 0) + // [628] if(mul16u::$1==0) goto mul16u::@3 -- vbuaa_eq_0_then_la1 + cmp #0 + beq __b3 + // mul16u::@4 + // res = res + mb + // [629] mul16u::res#1 = mul16u::res#2 + mul16u::mb#2 -- vduz1=vduz1_plus_vduz2 + lda.z res + clc + adc.z mb + sta.z res + lda.z res+1 + adc.z mb+1 + sta.z res+1 + lda.z res+2 + adc.z mb+2 + sta.z res+2 + lda.z res+3 + adc.z mb+3 + sta.z res+3 + // [630] phi from mul16u::@2 mul16u::@4 to mul16u::@3 [phi:mul16u::@2/mul16u::@4->mul16u::@3] + // [630] phi mul16u::res#6 = mul16u::res#2 [phi:mul16u::@2/mul16u::@4->mul16u::@3#0] -- register_copy + // mul16u::@3 + __b3: + // a = a>>1 + // [631] mul16u::a#0 = mul16u::a#2 >> 1 -- vwuz1=vwuz1_ror_1 + lsr.z a+1 + ror.z a + // mb = mb<<1 + // [632] mul16u::mb#1 = mul16u::mb#2 << 1 -- vduz1=vduz1_rol_1 + asl.z mb + rol.z mb+1 + rol.z mb+2 + rol.z mb+3 + // [624] phi from mul16u::@3 to mul16u::@1 [phi:mul16u::@3->mul16u::@1] + // [624] phi mul16u::mb#2 = mul16u::mb#1 [phi:mul16u::@3->mul16u::@1#0] -- register_copy + // [624] phi mul16u::res#2 = mul16u::res#6 [phi:mul16u::@3->mul16u::@1#1] -- register_copy + // [624] phi mul16u::a#2 = mul16u::a#0 [phi:mul16u::@3->mul16u::@1#2] -- register_copy + jmp __b1 +} + // memset_vram +// Set block of memory to a value in VRAM. +// Sets num bytes to a value to the memory block pointed to by destination in VRAM. +// - vbank: Which 64K VRAM bank to put data into (0/1) +// - vdest: The destination address in VRAM +// - data: The value to set the vram with. +// - num: The number of bytes to set +// memset_vram(byte register(X) vbank, void* zp($45) vdest, dword zp($5e) num) +memset_vram: { + .const data = 0 + .label i = $64 + .label vdest = $45 + .label num = $5e + // *VERA_CTRL &= ~VERA_ADDRSEL + // [633] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // vdest + // [636] memset_vram::$1 = > memset_vram::vdest#0 -- vbuaa=_hi_pvoz1 + lda.z vdest+1 + // *VERA_ADDRX_M = >vdest + // [637] *VERA_ADDRX_M = memset_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // VERA_INC_1 | vbank + // [638] memset_vram::$2 = VERA_INC_1 | memset_vram::vbank#0 -- vbuaa=vbuc1_bor_vbuxx + txa + ora #VERA_INC_1 + // *VERA_ADDRX_H = VERA_INC_1 | vbank + // [639] *VERA_ADDRX_H = memset_vram::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [640] phi from memset_vram to memset_vram::@1 [phi:memset_vram->memset_vram::@1] + // [640] phi memset_vram::i#2 = 0 [phi:memset_vram->memset_vram::@1#0] -- vduz1=vduc1 + lda #<0 + sta.z i + sta.z i+1 + lda #<0>>$10 + sta.z i+2 + lda #>0>>$10 + sta.z i+3 + // Transfer the data + // memset_vram::@1 + __b1: + // for(unsigned long i = 0; imemset_vram::@1] + // [640] phi memset_vram::i#2 = memset_vram::i#1 [phi:memset_vram::@2->memset_vram::@1#0] -- register_copy + jmp __b1 +} + // bitmap_line_ydxi +// bitmap_line_ydxi(word zp($48) y, word zp($41) x, word zp($43) y1, word zp($45) yd, word zp($17) xd, byte zp($3e) c) +bitmap_line_ydxi: { + .label __6 = $50 + .label y = $48 + .label x = $41 + .label y1 = $43 + .label yd = $45 + .label xd = $17 + .label c = $3e + .label e = $5a + // e = xd>>1 + // [646] bitmap_line_ydxi::e#0 = bitmap_line_ydxi::xd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + // [647] phi from bitmap_line_ydxi bitmap_line_ydxi::@2 to bitmap_line_ydxi::@1 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1] + // [647] phi bitmap_line_ydxi::e#3 = bitmap_line_ydxi::e#0 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#0] -- register_copy + // [647] phi bitmap_line_ydxi::y#3 = bitmap_line_ydxi::y#6 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#1] -- register_copy + // [647] phi bitmap_line_ydxi::x#3 = bitmap_line_ydxi::x#5 [phi:bitmap_line_ydxi/bitmap_line_ydxi::@2->bitmap_line_ydxi::@1#2] -- register_copy + // bitmap_line_ydxi::@1 + __b1: + // bitmap_plot(x,y,c) + // [648] bitmap_plot::x#2 = bitmap_line_ydxi::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + // [649] bitmap_plot::y#2 = bitmap_line_ydxi::y#3 + // [650] bitmap_plot::c#3 = bitmap_line_ydxi::c#3 -- vbuxx=vbuz1 + ldx.z c + // [651] call bitmap_plot + // [746] phi from bitmap_line_ydxi::@1 to bitmap_plot [phi:bitmap_line_ydxi::@1->bitmap_plot] + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#3 [phi:bitmap_line_ydxi::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#2 [phi:bitmap_line_ydxi::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#2 [phi:bitmap_line_ydxi::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + // bitmap_line_ydxi::@4 + // y++; + // [652] bitmap_line_ydxi::y#2 = ++ bitmap_line_ydxi::y#3 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // e = e+xd + // [653] bitmap_line_ydxi::e#1 = bitmap_line_ydxi::e#3 + bitmap_line_ydxi::xd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // if(yd=bitmap_line_ydxi::e#1) goto bitmap_line_ydxi::@2 -- vwuz1_ge_vwuz2_then_la1 + cmp.z yd+1 + bne !+ + lda.z e + cmp.z yd + beq __b2 + !: + bcc __b2 + // bitmap_line_ydxi::@3 + // x++; + // [655] bitmap_line_ydxi::x#2 = ++ bitmap_line_ydxi::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // e = e - yd + // [656] bitmap_line_ydxi::e#2 = bitmap_line_ydxi::e#1 - bitmap_line_ydxi::yd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z yd + sta.z e + lda.z e+1 + sbc.z yd+1 + sta.z e+1 + // [657] phi from bitmap_line_ydxi::@3 bitmap_line_ydxi::@4 to bitmap_line_ydxi::@2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2] + // [657] phi bitmap_line_ydxi::e#6 = bitmap_line_ydxi::e#2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2#0] -- register_copy + // [657] phi bitmap_line_ydxi::x#6 = bitmap_line_ydxi::x#2 [phi:bitmap_line_ydxi::@3/bitmap_line_ydxi::@4->bitmap_line_ydxi::@2#1] -- register_copy + // bitmap_line_ydxi::@2 + __b2: + // y1+1 + // [658] bitmap_line_ydxi::$6 = bitmap_line_ydxi::y1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z y1 + adc #1 + sta.z __6 + lda.z y1+1 + adc #0 + sta.z __6+1 + // while (y!=(y1+1)) + // [659] if(bitmap_line_ydxi::y#2!=bitmap_line_ydxi::$6) goto bitmap_line_ydxi::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z y+1 + cmp.z __6+1 + bne __b1 + lda.z y + cmp.z __6 + bne __b1 + // bitmap_line_ydxi::@return + // } + // [660] return + rts +} + // bitmap_line_xdyi +// bitmap_line_xdyi(word zp($4a) x, word zp($43) y, word zp($41) x1, word zp($17) xd, word zp($45) yd, byte zp($3e) c) +bitmap_line_xdyi: { + .label __6 = $52 + .label x = $4a + .label y = $43 + .label x1 = $41 + .label xd = $17 + .label yd = $45 + .label c = $3e + .label e = $5a + // e = yd>>1 + // [662] bitmap_line_xdyi::e#0 = bitmap_line_xdyi::yd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + // [663] phi from bitmap_line_xdyi bitmap_line_xdyi::@2 to bitmap_line_xdyi::@1 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1] + // [663] phi bitmap_line_xdyi::e#3 = bitmap_line_xdyi::e#0 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#0] -- register_copy + // [663] phi bitmap_line_xdyi::y#3 = bitmap_line_xdyi::y#5 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#1] -- register_copy + // [663] phi bitmap_line_xdyi::x#3 = bitmap_line_xdyi::x#6 [phi:bitmap_line_xdyi/bitmap_line_xdyi::@2->bitmap_line_xdyi::@1#2] -- register_copy + // bitmap_line_xdyi::@1 + __b1: + // bitmap_plot(x,y,c) + // [664] bitmap_plot::x#0 = bitmap_line_xdyi::x#3 + // [665] bitmap_plot::y#0 = bitmap_line_xdyi::y#3 -- vwuz1=vwuz2 + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + // [666] bitmap_plot::c#1 = bitmap_line_xdyi::c#3 -- vbuxx=vbuz1 + ldx.z c + // [667] call bitmap_plot + // [746] phi from bitmap_line_xdyi::@1 to bitmap_plot [phi:bitmap_line_xdyi::@1->bitmap_plot] + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#1 [phi:bitmap_line_xdyi::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#0 [phi:bitmap_line_xdyi::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#0 [phi:bitmap_line_xdyi::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + // bitmap_line_xdyi::@4 + // x++; + // [668] bitmap_line_xdyi::x#2 = ++ bitmap_line_xdyi::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // e = e+yd + // [669] bitmap_line_xdyi::e#1 = bitmap_line_xdyi::e#3 + bitmap_line_xdyi::yd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // if(xd=bitmap_line_xdyi::e#1) goto bitmap_line_xdyi::@2 -- vwuz1_ge_vwuz2_then_la1 + cmp.z xd+1 + bne !+ + lda.z e + cmp.z xd + beq __b2 + !: + bcc __b2 + // bitmap_line_xdyi::@3 + // y++; + // [671] bitmap_line_xdyi::y#2 = ++ bitmap_line_xdyi::y#3 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // e = e - xd + // [672] bitmap_line_xdyi::e#2 = bitmap_line_xdyi::e#1 - bitmap_line_xdyi::xd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z xd + sta.z e + lda.z e+1 + sbc.z xd+1 + sta.z e+1 + // [673] phi from bitmap_line_xdyi::@3 bitmap_line_xdyi::@4 to bitmap_line_xdyi::@2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2] + // [673] phi bitmap_line_xdyi::e#6 = bitmap_line_xdyi::e#2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2#0] -- register_copy + // [673] phi bitmap_line_xdyi::y#6 = bitmap_line_xdyi::y#2 [phi:bitmap_line_xdyi::@3/bitmap_line_xdyi::@4->bitmap_line_xdyi::@2#1] -- register_copy + // bitmap_line_xdyi::@2 + __b2: + // x1+1 + // [674] bitmap_line_xdyi::$6 = bitmap_line_xdyi::x1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z x1 + adc #1 + sta.z __6 + lda.z x1+1 + adc #0 + sta.z __6+1 + // while (x!=(x1+1)) + // [675] if(bitmap_line_xdyi::x#2!=bitmap_line_xdyi::$6) goto bitmap_line_xdyi::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z x+1 + cmp.z __6+1 + bne __b1 + lda.z x + cmp.z __6 + bne __b1 + // bitmap_line_xdyi::@return + // } + // [676] return + rts +} + // bitmap_line_ydxd +// bitmap_line_ydxd(word zp($48) y, word zp($41) x, word zp($43) y1, word zp($3f) yd, word zp($17) xd, byte zp($3e) c) +bitmap_line_ydxd: { + .label __6 = $54 + .label y = $48 + .label x = $41 + .label y1 = $43 + .label yd = $3f + .label xd = $17 + .label c = $3e + .label e = $5a + // e = xd>>1 + // [678] bitmap_line_ydxd::e#0 = bitmap_line_ydxd::xd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z xd+1 + lsr + sta.z e+1 + lda.z xd + ror + sta.z e + // [679] phi from bitmap_line_ydxd bitmap_line_ydxd::@2 to bitmap_line_ydxd::@1 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1] + // [679] phi bitmap_line_ydxd::e#3 = bitmap_line_ydxd::e#0 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#0] -- register_copy + // [679] phi bitmap_line_ydxd::y#2 = bitmap_line_ydxd::y#7 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#1] -- register_copy + // [679] phi bitmap_line_ydxd::x#3 = bitmap_line_ydxd::x#5 [phi:bitmap_line_ydxd/bitmap_line_ydxd::@2->bitmap_line_ydxd::@1#2] -- register_copy + // bitmap_line_ydxd::@1 + __b1: + // bitmap_plot(x,y,c) + // [680] bitmap_plot::x#3 = bitmap_line_ydxd::x#3 -- vwuz1=vwuz2 + lda.z x + sta.z bitmap_plot.x + lda.z x+1 + sta.z bitmap_plot.x+1 + // [681] bitmap_plot::y#3 = bitmap_line_ydxd::y#2 + // [682] bitmap_plot::c#4 = bitmap_line_ydxd::c#3 -- vbuxx=vbuz1 + ldx.z c + // [683] call bitmap_plot + // [746] phi from bitmap_line_ydxd::@1 to bitmap_plot [phi:bitmap_line_ydxd::@1->bitmap_plot] + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#4 [phi:bitmap_line_ydxd::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#3 [phi:bitmap_line_ydxd::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#3 [phi:bitmap_line_ydxd::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + // bitmap_line_ydxd::@4 + // y = y++; + // [684] bitmap_line_ydxd::y#3 = ++ bitmap_line_ydxd::y#2 -- vwuz1=_inc_vwuz1 + inc.z y + bne !+ + inc.z y+1 + !: + // e = e+xd + // [685] bitmap_line_ydxd::e#1 = bitmap_line_ydxd::e#3 + bitmap_line_ydxd::xd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z xd + sta.z e + lda.z e+1 + adc.z xd+1 + sta.z e+1 + // if(yd=bitmap_line_ydxd::e#1) goto bitmap_line_ydxd::@2 -- vwuz1_ge_vwuz2_then_la1 + cmp.z yd+1 + bne !+ + lda.z e + cmp.z yd + beq __b2 + !: + bcc __b2 + // bitmap_line_ydxd::@3 + // x--; + // [687] bitmap_line_ydxd::x#2 = -- bitmap_line_ydxd::x#3 -- vwuz1=_dec_vwuz1 + lda.z x + bne !+ + dec.z x+1 + !: + dec.z x + // e = e - yd + // [688] bitmap_line_ydxd::e#2 = bitmap_line_ydxd::e#1 - bitmap_line_ydxd::yd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z yd + sta.z e + lda.z e+1 + sbc.z yd+1 + sta.z e+1 + // [689] phi from bitmap_line_ydxd::@3 bitmap_line_ydxd::@4 to bitmap_line_ydxd::@2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2] + // [689] phi bitmap_line_ydxd::e#6 = bitmap_line_ydxd::e#2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2#0] -- register_copy + // [689] phi bitmap_line_ydxd::x#6 = bitmap_line_ydxd::x#2 [phi:bitmap_line_ydxd::@3/bitmap_line_ydxd::@4->bitmap_line_ydxd::@2#1] -- register_copy + // bitmap_line_ydxd::@2 + __b2: + // y1+1 + // [690] bitmap_line_ydxd::$6 = bitmap_line_ydxd::y1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z y1 + adc #1 + sta.z __6 + lda.z y1+1 + adc #0 + sta.z __6+1 + // while (y!=(y1+1)) + // [691] if(bitmap_line_ydxd::y#3!=bitmap_line_ydxd::$6) goto bitmap_line_ydxd::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z y+1 + cmp.z __6+1 + bne __b1 + lda.z y + cmp.z __6 + bne __b1 + // bitmap_line_ydxd::@return + // } + // [692] return + rts +} + // bitmap_line_xdyd +// bitmap_line_xdyd(word zp($4a) x, word zp($43) y, word zp($41) x1, word zp($17) xd, word zp($3f) yd, byte zp($3e) c) +bitmap_line_xdyd: { + .label __6 = $56 + .label x = $4a + .label y = $43 + .label x1 = $41 + .label xd = $17 + .label yd = $3f + .label c = $3e + .label e = $5a + // e = yd>>1 + // [694] bitmap_line_xdyd::e#0 = bitmap_line_xdyd::yd#2 >> 1 -- vwuz1=vwuz2_ror_1 + lda.z yd+1 + lsr + sta.z e+1 + lda.z yd + ror + sta.z e + // [695] phi from bitmap_line_xdyd bitmap_line_xdyd::@2 to bitmap_line_xdyd::@1 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1] + // [695] phi bitmap_line_xdyd::e#3 = bitmap_line_xdyd::e#0 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#0] -- register_copy + // [695] phi bitmap_line_xdyd::y#3 = bitmap_line_xdyd::y#5 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#1] -- register_copy + // [695] phi bitmap_line_xdyd::x#3 = bitmap_line_xdyd::x#6 [phi:bitmap_line_xdyd/bitmap_line_xdyd::@2->bitmap_line_xdyd::@1#2] -- register_copy + // bitmap_line_xdyd::@1 + __b1: + // bitmap_plot(x,y,c) + // [696] bitmap_plot::x#1 = bitmap_line_xdyd::x#3 + // [697] bitmap_plot::y#1 = bitmap_line_xdyd::y#3 -- vwuz1=vwuz2 + lda.z y + sta.z bitmap_plot.y + lda.z y+1 + sta.z bitmap_plot.y+1 + // [698] bitmap_plot::c#2 = bitmap_line_xdyd::c#3 -- vbuxx=vbuz1 + ldx.z c + // [699] call bitmap_plot + // [746] phi from bitmap_line_xdyd::@1 to bitmap_plot [phi:bitmap_line_xdyd::@1->bitmap_plot] + // [746] phi bitmap_plot::c#5 = bitmap_plot::c#2 [phi:bitmap_line_xdyd::@1->bitmap_plot#0] -- register_copy + // [746] phi bitmap_plot::y#4 = bitmap_plot::y#1 [phi:bitmap_line_xdyd::@1->bitmap_plot#1] -- register_copy + // [746] phi bitmap_plot::x#4 = bitmap_plot::x#1 [phi:bitmap_line_xdyd::@1->bitmap_plot#2] -- register_copy + jsr bitmap_plot + // bitmap_line_xdyd::@4 + // x++; + // [700] bitmap_line_xdyd::x#2 = ++ bitmap_line_xdyd::x#3 -- vwuz1=_inc_vwuz1 + inc.z x + bne !+ + inc.z x+1 + !: + // e = e+yd + // [701] bitmap_line_xdyd::e#1 = bitmap_line_xdyd::e#3 + bitmap_line_xdyd::yd#2 -- vwuz1=vwuz1_plus_vwuz2 + lda.z e + clc + adc.z yd + sta.z e + lda.z e+1 + adc.z yd+1 + sta.z e+1 + // if(xd=bitmap_line_xdyd::e#1) goto bitmap_line_xdyd::@2 -- vwuz1_ge_vwuz2_then_la1 + cmp.z xd+1 + bne !+ + lda.z e + cmp.z xd + beq __b2 + !: + bcc __b2 + // bitmap_line_xdyd::@3 + // y--; + // [703] bitmap_line_xdyd::y#2 = -- bitmap_line_xdyd::y#3 -- vwuz1=_dec_vwuz1 + lda.z y + bne !+ + dec.z y+1 + !: + dec.z y + // e = e - xd + // [704] bitmap_line_xdyd::e#2 = bitmap_line_xdyd::e#1 - bitmap_line_xdyd::xd#5 -- vwuz1=vwuz1_minus_vwuz2 + lda.z e + sec + sbc.z xd + sta.z e + lda.z e+1 + sbc.z xd+1 + sta.z e+1 + // [705] phi from bitmap_line_xdyd::@3 bitmap_line_xdyd::@4 to bitmap_line_xdyd::@2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2] + // [705] phi bitmap_line_xdyd::e#6 = bitmap_line_xdyd::e#2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2#0] -- register_copy + // [705] phi bitmap_line_xdyd::y#6 = bitmap_line_xdyd::y#2 [phi:bitmap_line_xdyd::@3/bitmap_line_xdyd::@4->bitmap_line_xdyd::@2#1] -- register_copy + // bitmap_line_xdyd::@2 + __b2: + // x1+1 + // [706] bitmap_line_xdyd::$6 = bitmap_line_xdyd::x1#6 + 1 -- vwuz1=vwuz2_plus_1 + clc + lda.z x1 + adc #1 + sta.z __6 + lda.z x1+1 + adc #0 + sta.z __6+1 + // while (x!=(x1+1)) + // [707] if(bitmap_line_xdyd::x#2!=bitmap_line_xdyd::$6) goto bitmap_line_xdyd::@1 -- vwuz1_neq_vwuz2_then_la1 + lda.z x+1 + cmp.z __6+1 + bne __b1 + lda.z x + cmp.z __6 + bne __b1 + // bitmap_line_xdyd::@return + // } + // [708] return + rts +} + // divr16u +// Performs division on two 16 bit unsigned ints and an initial remainder +// Returns the quotient dividend/divisor. +// The final remainder will be set into the global variable rem16u +// Implemented using simple binary division +// divr16u(word zp($13) dividend, word zp($17) divisor, word zp($45) rem) +divr16u: { + .label rem = $45 + .label dividend = $13 + .label quotient = $48 + .label return = $48 + .label divisor = $17 + // [710] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1] + // [710] phi divr16u::i#2 = 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 + ldx #0 + // [710] phi divr16u::quotient#3 = 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vwuc1 + txa + sta.z quotient + sta.z quotient+1 + // [710] phi divr16u::dividend#2 = divr16u::dividend#1 [phi:divr16u->divr16u::@1#2] -- register_copy + // [710] phi divr16u::rem#4 = 0 [phi:divr16u->divr16u::@1#3] -- vwuz1=vbuc1 + sta.z rem + sta.z rem+1 + // [710] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1] + // [710] phi divr16u::i#2 = divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy + // [710] phi divr16u::quotient#3 = divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy + // [710] phi divr16u::dividend#2 = divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy + // [710] phi divr16u::rem#4 = divr16u::rem#10 [phi:divr16u::@3->divr16u::@1#3] -- register_copy + // divr16u::@1 + __b1: + // rem = rem << 1 + // [711] divr16u::rem#0 = divr16u::rem#4 << 1 -- vwuz1=vwuz1_rol_1 + asl.z rem + rol.z rem+1 + // >dividend + // [712] divr16u::$1 = > divr16u::dividend#2 -- vbuaa=_hi_vwuz1 + lda.z dividend+1 + // >dividend & $80 + // [713] divr16u::$2 = divr16u::$1 & $80 -- vbuaa=vbuaa_band_vbuc1 + and #$80 + // if( (>dividend & $80) != 0 ) + // [714] if(divr16u::$2==0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 + cmp #0 + beq __b2 + // divr16u::@4 + // rem = rem | 1 + // [715] divr16u::rem#1 = divr16u::rem#0 | 1 -- vwuz1=vwuz1_bor_vbuc1 + lda #1 + ora.z rem + sta.z rem + // [716] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2] + // [716] phi divr16u::rem#5 = divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy + // divr16u::@2 + __b2: + // dividend = dividend << 1 + // [717] divr16u::dividend#0 = divr16u::dividend#2 << 1 -- vwuz1=vwuz1_rol_1 + asl.z dividend + rol.z dividend+1 + // quotient = quotient << 1 + // [718] divr16u::quotient#1 = divr16u::quotient#3 << 1 -- vwuz1=vwuz1_rol_1 + asl.z quotient + rol.z quotient+1 + // if(rem>=divisor) + // [719] if(divr16u::rem#5divr16u::@3] + // [722] phi divr16u::return#0 = divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy + // [722] phi divr16u::rem#10 = divr16u::rem#5 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy + // divr16u::@3 + __b3: + // for( char i : 0..15) + // [723] divr16u::i#1 = ++ divr16u::i#2 -- vbuxx=_inc_vbuxx + inx + // [724] if(divr16u::i#1!=$10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 + cpx #$10 + bne __b1 + // divr16u::@6 + // rem16u = rem + // [725] rem16u#0 = divr16u::rem#10 -- vwuz1=vwuz2 + lda.z rem + sta.z rem16u + lda.z rem+1 + sta.z rem16u+1 + // divr16u::@return + // } + // [726] return + rts +} + // vera_layer_get_color +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $72 + // addr = vera_layer_config[layer] + // [728] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 -- vbuaa=vbuxx_rol_1 + txa + asl + // [729] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr & VERA_LAYER_CONFIG_256C + // [730] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // if( *addr & VERA_LAYER_CONFIG_256C ) + // [731] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + // vera_layer_get_color::@2 + // vera_layer_backcolor[layer] << 4 + // [732] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 -- vbuaa=pbuc1_derefidx_vbuxx_rol_4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // return ((vera_layer_backcolor[layer] << 4) | vera_layer_textcolor[layer]); + // [733] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=vbuaa_bor_pbuc1_derefidx_vbuxx + ora vera_layer_textcolor,x + // [734] phi from vera_layer_get_color::@1 vera_layer_get_color::@2 to vera_layer_get_color::@return [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return] + // [734] phi vera_layer_get_color::return#2 = vera_layer_get_color::return#0 [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return#0] -- register_copy + // vera_layer_get_color::@return + // } + // [735] return + rts + // vera_layer_get_color::@1 + __b1: + // return (vera_layer_textcolor[layer]); + // [736] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + rts +} + // cputln +// Print a newline +cputln: { + .label temp = $5a + // temp = conio_line_text[conio_screen_layer] + // [737] cputln::$2 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [738] cputln::temp#0 = conio_line_text[cputln::$2] -- vwuz1=pwuc1_derefidx_vbuaa + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // temp += conio_rowskip + // [739] cputln::temp#1 = cputln::temp#0 + conio_rowskip -- vwuz1=vwuz1_plus_vwuz2 + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // conio_line_text[conio_screen_layer] = temp + // [740] cputln::$3 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [741] conio_line_text[cputln::$3] = cputln::temp#1 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // conio_cursor_x[conio_screen_layer] = 0 + // [742] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer]++; + // [743] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_y,x + // cscroll() + // [744] call cscroll + jsr cscroll + // cputln::@return + // } + // [745] return + rts +} + // bitmap_plot +// bitmap_plot(word zp($4a) x, word zp($48) y, byte register(X) c) +bitmap_plot: { + .label __9 = $5c + .label __10 = $62 + .label vera_vram_address01___0 = $72 + .label vera_vram_address01___2 = $6a + .label vera_vram_address01___4 = $6c + .label plot_x = $5e + .label plot_y = $64 + .label vera_vram_address01_bankaddr = $5e + .label x = $4a + .label y = $48 + .label __12 = $5c + .label __13 = $62 + .label __14 = $68 + .label __15 = $6e + // plot_x = __bitmap_plot_x[x] + // [747] bitmap_plot::$9 = bitmap_plot::x#4 << 1 -- vwuz1=vwuz2_rol_1 + lda.z x + asl + sta.z __9 + lda.z x+1 + rol + sta.z __9+1 + // [748] bitmap_plot::$12 = __bitmap_plot_x + bitmap_plot::$9 -- pwuz1=pwuc1_plus_vwuz1 + clc + lda.z __12 + adc #<__bitmap_plot_x + sta.z __12 + lda.z __12+1 + adc #>__bitmap_plot_x + sta.z __12+1 + // [749] bitmap_plot::plot_x#0 = (dword)*bitmap_plot::$12 -- vduz1=_dword__deref_pwuz2 + // Needs unsigned int arrays arranged as two underlying char arrays to allow char* plotter_x = plot_x[x]; - and eventually - char* plotter = plot_x[x] + plot_y[y]; + ldy #0 + sty.z plot_x+2 + sty.z plot_x+3 + lda (__12),y + sta.z plot_x + iny + lda (__12),y + sta.z plot_x+1 + // plot_y = __bitmap_plot_y[y] + // [750] bitmap_plot::$10 = bitmap_plot::y#4 << 2 -- vwuz1=vwuz2_rol_2 + lda.z y + asl + sta.z __10 + lda.z y+1 + rol + sta.z __10+1 + asl.z __10 + rol.z __10+1 + // [751] bitmap_plot::$13 = __bitmap_plot_y + bitmap_plot::$10 -- pduz1=pduc1_plus_vwuz1 + clc + lda.z __13 + adc #<__bitmap_plot_y + sta.z __13 + lda.z __13+1 + adc #>__bitmap_plot_y + sta.z __13+1 + // [752] bitmap_plot::plot_y#0 = *bitmap_plot::$13 -- vduz1=_deref_pduz2 + ldy #0 + lda (__13),y + sta.z plot_y + iny + lda (__13),y + sta.z plot_y+1 + iny + lda (__13),y + sta.z plot_y+2 + iny + lda (__13),y + sta.z plot_y+3 + // plotter = plot_x+plot_y + // [753] bitmap_plot::vera_vram_address01_bankaddr#0 = bitmap_plot::plot_x#0 + bitmap_plot::plot_y#0 -- vduz1=vduz1_plus_vduz2 + lda.z vera_vram_address01_bankaddr + clc + adc.z plot_y + sta.z vera_vram_address01_bankaddr + lda.z vera_vram_address01_bankaddr+1 + adc.z plot_y+1 + sta.z vera_vram_address01_bankaddr+1 + lda.z vera_vram_address01_bankaddr+2 + adc.z plot_y+2 + sta.z vera_vram_address01_bankaddr+2 + lda.z vera_vram_address01_bankaddr+3 + adc.z plot_y+3 + sta.z vera_vram_address01_bankaddr+3 + // bitshift = __bitmap_plot_bitshift[x] + // [754] bitmap_plot::$14 = __bitmap_plot_bitshift + bitmap_plot::x#4 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitshift + sta.z __14 + lda.z x+1 + adc #>__bitmap_plot_bitshift + sta.z __14+1 + // [755] bitmap_plot::bitshift#0 = *bitmap_plot::$14 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (__14),y + // bitshift?c<<(bitshift):c + // [756] if(0!=bitmap_plot::bitshift#0) goto bitmap_plot::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + // [758] phi from bitmap_plot bitmap_plot::@1 to bitmap_plot::@2 [phi:bitmap_plot/bitmap_plot::@1->bitmap_plot::@2] + // [758] phi bitmap_plot::c#0 = bitmap_plot::c#5 [phi:bitmap_plot/bitmap_plot::@1->bitmap_plot::@2#0] -- register_copy + jmp __b2 + // bitmap_plot::@1 + __b1: + // [757] bitmap_plot::$3 = bitmap_plot::c#5 << bitmap_plot::bitshift#0 -- vbuxx=vbuxx_rol_vbuaa + tay + txa + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + tax + // bitmap_plot::@2 + __b2: + // bitmap_plot::vera_vram_address01 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [759] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // ( bitmap_plot::vera_vram_address01_$2 -- vbuaa=_hi_vwuz1 + // *VERA_ADDRX_M = >(bankaddr + // [766] bitmap_plot::vera_vram_address01_$4 = > bitmap_plot::vera_vram_address01_bankaddr#0 -- vwuz1=_hi_vduz2 + lda.z vera_vram_address01_bankaddr+2 + sta.z vera_vram_address01___4 + lda.z vera_vram_address01_bankaddr+3 + sta.z vera_vram_address01___4+1 + // <(>bankaddr) | incr + // [767] bitmap_plot::vera_vram_address01_$6 = < bitmap_plot::vera_vram_address01_$4 -- vbuaa=_lo_vwuz1 + lda.z vera_vram_address01___4 + // *VERA_ADDRX_H = <(>bankaddr) | incr + // [768] *VERA_ADDRX_H = bitmap_plot::vera_vram_address01_$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // bitmap_plot::@3 + // ~__bitmap_plot_bitmask[x] + // [769] bitmap_plot::$15 = __bitmap_plot_bitmask + bitmap_plot::x#4 -- pbuz1=pbuc1_plus_vwuz2 + clc + lda.z x + adc #<__bitmap_plot_bitmask + sta.z __15 + lda.z x+1 + adc #>__bitmap_plot_bitmask + sta.z __15+1 + // [770] bitmap_plot::$6 = ~ *bitmap_plot::$15 -- vbuaa=_bnot__deref_pbuz1 + ldy #0 + lda (__15),y + eor #$ff + // *VERA_DATA0 & ~__bitmap_plot_bitmask[x] + // [771] bitmap_plot::$7 = *VERA_DATA0 & bitmap_plot::$6 -- vbuaa=_deref_pbuc1_band_vbuaa + and VERA_DATA0 + // (*VERA_DATA0 & ~__bitmap_plot_bitmask[x]) | c + // [772] bitmap_plot::$8 = bitmap_plot::$7 | bitmap_plot::c#0 -- vbuaa=vbuaa_bor_vbuxx + stx.z $ff + ora.z $ff + // *VERA_DATA0 = (*VERA_DATA0 & ~__bitmap_plot_bitmask[x]) | c + // [773] *VERA_DATA0 = bitmap_plot::$8 -- _deref_pbuc1=vbuaa + sta VERA_DATA0 + // bitmap_plot::@return + // } + // [774] return + rts +} + // cscroll +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // if(conio_cursor_y[conio_screen_layer]>=CONIO_HEIGHT) + // [775] if(conio_cursor_y[conio_screen_layer]=conio_height) + // [777] if(conio_cursor_y[conio_screen_layer]cscroll::@3] + // cscroll::@3 + __b3: + // cscroll::@return + // } + // [779] return + rts + // [780] phi from cscroll::@1 to cscroll::@4 [phi:cscroll::@1->cscroll::@4] + // cscroll::@4 + __b4: + // insertup() + // [781] call insertup + jsr insertup + // cscroll::@5 + // gotoxy( 0, CONIO_HEIGHT-1) + // [782] gotoxy::y#2 = conio_screen_height - 1 -- vbuxx=vbuz1_minus_1 + ldx.z conio_screen_height + dex + // [783] call gotoxy + // [208] phi from cscroll::@5 to gotoxy [phi:cscroll::@5->gotoxy] + // [208] phi gotoxy::y#7 = gotoxy::y#2 [phi:cscroll::@5->gotoxy#0] -- register_copy + jsr gotoxy + rts +} + // insertup +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $70 + .label width = $71 + .label line = $15 + .label start = $15 + // cy = conio_cursor_y[conio_screen_layer] + // [784] insertup::cy#0 = conio_cursor_y[conio_screen_layer] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // width = CONIO_WIDTH * 2 + // [785] insertup::width#0 = conio_screen_width << 1 -- vbuz1=vbuz2_rol_1 + lda.z conio_screen_width + asl + sta.z width + // [786] phi from insertup to insertup::@1 [phi:insertup->insertup::@1] + // [786] phi insertup::i#2 = 1 [phi:insertup->insertup::@1#0] -- vbuxx=vbuc1 + ldx #1 + // insertup::@1 + __b1: + // for(unsigned byte i=1; i<=cy; i++) + // [787] if(insertup::i#2<=insertup::cy#0) goto insertup::@2 -- vbuxx_le_vbuz1_then_la1 + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // [788] phi from insertup::@1 to insertup::@3 [phi:insertup::@1->insertup::@3] + // insertup::@3 + // clearline() + // [789] call clearline + jsr clearline + // insertup::@return + // } + // [790] return + rts + // insertup::@2 + __b2: + // i-1 + // [791] insertup::$3 = insertup::i#2 - 1 -- vbuaa=vbuxx_minus_1 + txa + sec + sbc #1 + // line = (i-1) << conio_rowshift + // [792] insertup::line#0 = insertup::$3 << conio_rowshift -- vwuz1=vbuaa_rol_vbuz2 + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // start = CONIO_SCREEN_TEXT + line + // [793] insertup::start#0 = (byte*)CONIO_SCREEN_TEXT#104 + insertup::line#0 -- pbuz1=pbuz2_plus_vwuz1 + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // start+conio_rowskip + // [794] memcpy_in_vram::src#0 = insertup::start#0 + conio_rowskip -- pbuz1=pbuz2_plus_vwuz3 + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + // [795] memcpy_in_vram::dest#0 = (void*)insertup::start#0 + // [796] memcpy_in_vram::num#0 = insertup::width#0 -- vwuz1=vbuz2 + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // [797] memcpy_in_vram::src#3 = (void*)memcpy_in_vram::src#0 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + // [798] call memcpy_in_vram + // [221] phi from insertup::@2 to memcpy_in_vram [phi:insertup::@2->memcpy_in_vram] + // [221] phi memcpy_in_vram::num#3 = memcpy_in_vram::num#0 [phi:insertup::@2->memcpy_in_vram#0] -- register_copy + // [221] phi memcpy_in_vram::dest_bank#2 = 0 [phi:insertup::@2->memcpy_in_vram#1] -- vbuyy=vbuc1 + tay + // [221] phi memcpy_in_vram::dest#2 = memcpy_in_vram::dest#0 [phi:insertup::@2->memcpy_in_vram#2] -- register_copy + // [221] phi memcpy_in_vram::src#2 = memcpy_in_vram::src#3 [phi:insertup::@2->memcpy_in_vram#3] -- register_copy + jsr memcpy_in_vram + // insertup::@4 + // for(unsigned byte i=1; i<=cy; i++) + // [799] insertup::i#1 = ++ insertup::i#2 -- vbuxx=_inc_vbuxx + inx + // [786] phi from insertup::@4 to insertup::@1 [phi:insertup::@4->insertup::@1] + // [786] phi insertup::i#2 = insertup::i#1 [phi:insertup::@4->insertup::@1#0] -- register_copy + jmp __b1 +} + // clearline +clearline: { + .label addr = $72 + .label c = $4a + // *VERA_CTRL &= ~VERA_ADDRSEL + // [800] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [801] clearline::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [802] clearline::addr#0 = (byte*)CONIO_SCREEN_TEXT#104 + conio_line_text[clearline::$5] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // addr + // [805] clearline::$2 = > clearline::addr#0 -- vbuaa=_hi_pbuz1 + lda.z addr+1 + // *VERA_ADDRX_M = >addr + // [806] *VERA_ADDRX_M = clearline::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 + // [807] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // vera_layer_get_color( conio_screen_layer) + // [808] vera_layer_get_color::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [809] call vera_layer_get_color + // [727] phi from clearline to vera_layer_get_color [phi:clearline->vera_layer_get_color] + // [727] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#1 [phi:clearline->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // [810] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + // clearline::@4 + // color = vera_layer_get_color( conio_screen_layer) + // [811] clearline::color#0 = vera_layer_get_color::return#4 -- vbuxx=vbuaa + tax + // [812] phi from clearline::@4 to clearline::@1 [phi:clearline::@4->clearline::@1] + // [812] phi clearline::c#2 = 0 [phi:clearline::@4->clearline::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z c + sta.z c+1 + // clearline::@1 + __b1: + // for( unsigned int c=0;cclearline::@1] + // [812] phi clearline::c#2 = clearline::c#1 [phi:clearline::@2->clearline::@1#0] -- register_copy + jmp __b1 +} + // File Data +.segment Data + VERA_LAYER_WIDTH: .word $20, $40, $80, $100 + VERA_LAYER_HEIGHT: .word $20, $40, $80, $100 + // --- VERA function encapsulation --- + vera_mapbase_offset: .word 0, 0 + vera_mapbase_bank: .byte 0, 0 + vera_mapbase_address: .dword 0, 0 + vera_tilebase_offset: .word 0, 0 + vera_tilebase_bank: .byte 0, 0 + vera_tilebase_address: .dword 0, 0 + vera_layer_rowshift: .byte 0, 0 + vera_layer_rowskip: .word 0, 0 + vera_layer_config: .word VERA_L0_CONFIG, VERA_L1_CONFIG + vera_layer_enable: .byte VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE + vera_layer_mapbase: .word VERA_L0_MAPBASE, VERA_L1_MAPBASE + vera_layer_tilebase: .word VERA_L0_TILEBASE, VERA_L1_TILEBASE + vera_layer_textcolor: .byte WHITE, WHITE + vera_layer_backcolor: .byte BLUE, BLUE + // The number of bytes on the screen + // The current cursor x-position + conio_cursor_x: .byte 0, 0 + // The current cursor y-position + conio_cursor_y: .byte 0, 0 + // The current text cursor line start + conio_line_text: .word 0, 0 + // Is scrolling enabled when outputting beyond the end of the screen (1: yes, 0: no). + // If disabled the cursor just moves back to (0,0) instead + conio_scroll_enable: .byte 1, 1 + // Tables for the plotter - initialized by calling bitmap_draw_init(); + __bitmap_plot_x: .fill 2*$280, 0 + __bitmap_plot_y: .fill 4*$1e0, 0 + __bitmap_plot_bitmask: .fill $280, 0 + __bitmap_plot_bitshift: .fill $280, 0 + hdeltas: .word 0, $50, $28, $14, 0, $a0, $50, $28, 0, $140, $a0, $50, 0, $280, $140, $a0 + vdeltas: .word 0, $1e0, $f0, $a0 + bitmasks: .byte $80, $c0, $f0, $ff + .fill 1, 0 + bitshifts: .byte 7, 6, 4, 0 + .fill 1, 0 + diff --git a/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.sym b/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.sym new file mode 100644 index 000000000..f9f792f2d --- /dev/null +++ b/src/test/ref/examples/cx16/veralib/bitmap_8bpp_320_x_240.sym @@ -0,0 +1,1090 @@ +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#15 CONIO_SCREEN_BANK zp[1]:43 58.13089005235602 +byte* CONIO_SCREEN_TEXT +word CONIO_SCREEN_TEXT#104 CONIO_SCREEN_TEXT zp[2]:44 0.42083333333333334 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_POINTER = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*) 40738 +const nomodify byte* VERA_ADDRX_L = (byte*) 40736 +const nomodify byte* VERA_ADDRX_M = (byte*) 40737 +const nomodify byte* VERA_CTRL = (byte*) 40741 +const nomodify byte* VERA_DATA0 = (byte*) 40739 +const nomodify byte* VERA_DATA1 = (byte*) 40740 +const nomodify byte* VERA_DC_HSCALE = (byte*) 40746 +const nomodify byte* VERA_DC_VIDEO = (byte*) 40745 +const nomodify byte* VERA_DC_VSCALE = (byte*) 40747 +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*) 40749 +const nomodify byte* VERA_L0_MAPBASE = (byte*) 40750 +const nomodify byte* VERA_L0_TILEBASE = (byte*) 40751 +const nomodify byte* VERA_L1_CONFIG = (byte*) 40756 +const nomodify byte* VERA_L1_MAPBASE = (byte*) 40757 +const nomodify byte* VERA_L1_TILEBASE = (byte*) 40758 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_COLOR_DEPTH_MASK = 3 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const nomodify byte VERA_LAYER_CONFIG_MODE_BITMAP = 4 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte WHITE = 1 +const nomodify byte YELLOW = 7 +dword __bitmap_address loadstore zp[4]:35 4.01980198019802 +byte __bitmap_color_depth loadstore zp[1]:42 80.4074074074074 +byte __bitmap_hscale loadstore zp[1]:40 3.9102564102564106 +byte __bitmap_layer loadstore zp[1]:39 204.0 +const to_nomodify byte* __bitmap_plot_bitmask[$280] = { fill( $280, 0) } +const to_nomodify byte* __bitmap_plot_bitshift[$280] = { fill( $280, 0) } +const to_nomodify word* __bitmap_plot_x[$280] = { fill( $280, 0) } +const to_nomodify dword* __bitmap_plot_y[$1e0] = { fill( $1e0, 0) } +byte __bitmap_vscale loadstore zp[1]:41 2.8732394366197185 +void __start() +void bitmap_clear() +byte~ bitmap_clear::$0 reg byte a 202.0 +byte~ bitmap_clear::$1 reg byte a 202.0 +word~ bitmap_clear::$3 zp[2]:67 202.0 +byte~ bitmap_clear::$7 reg byte a 202.0 +byte~ bitmap_clear::$8 reg byte a 202.0 +dword bitmap_clear::count +dword bitmap_clear::count#0 count zp[4]:94 33.666666666666664 +word bitmap_clear::hdelta +word bitmap_clear::hdelta#0 hdelta zp[2]:21 202.0 +byte bitmap_clear::vbank +byte bitmap_clear::vbank#0 reg byte x 101.0 +word bitmap_clear::vdelta +word bitmap_clear::vdelta#0 vdelta zp[2]:65 33.666666666666664 +void* bitmap_clear::vdest +word bitmap_clear::vdest#0 vdest zp[2]:69 50.5 +void bitmap_init(byte bitmap_init::layer , dword bitmap_init::address) +byte~ bitmap_init::$0 reg byte a 202.0 +byte~ bitmap_init::$1 reg byte x 202.0 +word~ bitmap_init::$10 zp[2]:74 667.3333333333334 +word~ bitmap_init::$13 zp[2]:80 667.3333333333334 +byte~ bitmap_init::$2 reg byte x 202.0 +word~ bitmap_init::$23 zp[2]:67 2002.0 +word~ bitmap_init::$24 zp[2]:106 2002.0 +word~ bitmap_init::$25 zp[2]:82 2002.0 +word~ bitmap_init::$26 zp[2]:114 2002.0 +byte~ bitmap_init::$27 reg byte a 202.0 +word~ bitmap_init::$28 zp[2]:104 2002.0 +word*~ bitmap_init::$29 zp[2]:67 2002.0 +byte~ bitmap_init::$3 reg byte a 202.0 +byte*~ bitmap_init::$30 zp[2]:69 2002.0 +byte*~ bitmap_init::$31 zp[2]:72 2002.0 +word*~ bitmap_init::$32 zp[2]:106 2002.0 +byte*~ bitmap_init::$33 zp[2]:108 2002.0 +byte*~ bitmap_init::$34 zp[2]:110 2002.0 +word*~ bitmap_init::$35 zp[2]:82 2002.0 +byte*~ bitmap_init::$36 zp[2]:84 2002.0 +byte*~ bitmap_init::$37 zp[2]:86 2002.0 +word*~ bitmap_init::$38 zp[2]:114 2002.0 +byte*~ bitmap_init::$39 zp[2]:90 2002.0 +byte~ bitmap_init::$4 reg byte a 202.0 +byte*~ bitmap_init::$40 zp[2]:92 2002.0 +dword*~ bitmap_init::$41 zp[2]:104 2002.0 +word~ bitmap_init::$7 zp[2]:65 667.3333333333334 +dword bitmap_init::address +const dword bitmap_init::address#0 address = 0 +byte bitmap_init::bitmask +byte bitmap_init::bitmask#0 bitmask zp[1]:62 101.0 +byte bitmap_init::bitmask#1 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#10 bitmask zp[1]:62 373.1818181818182 +byte bitmap_init::bitmask#11 bitmask zp[1]:62 455.0 +byte bitmap_init::bitmask#12 bitmask zp[1]:62 455.0 +byte bitmap_init::bitmask#13 bitmask zp[1]:62 385.0 +byte bitmap_init::bitmask#16 bitmask zp[1]:62 1001.0 +byte bitmap_init::bitmask#2 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#3 bitmask zp[1]:62 2002.0 +byte bitmap_init::bitmask#4 bitmask zp[1]:62 2002.0 +signed byte bitmap_init::bitshift +signed byte bitmap_init::bitshift#0 reg byte x 202.0 +signed byte bitmap_init::bitshift#1 reg byte x 1001.0 +signed byte bitmap_init::bitshift#10 reg byte x 310.4 +signed byte bitmap_init::bitshift#11 reg byte x 400.4 +signed byte bitmap_init::bitshift#12 reg byte x 400.4 +signed byte bitmap_init::bitshift#13 reg byte x 400.4 +signed byte bitmap_init::bitshift#14 reg byte x 500.5 +signed byte bitmap_init::bitshift#2 reg byte x 1001.0 +signed byte bitmap_init::bitshift#3 reg byte x 1001.0 +signed byte bitmap_init::bitshift#4 reg byte x 2002.0 +word bitmap_init::hdelta +word bitmap_init::hdelta#0 hdelta zp[2]:98 122.44444444444446 +byte bitmap_init::layer +const byte bitmap_init::layer#0 layer = 0 +byte~ bitmap_init::vera_layer_get_color_depth1_$0 reg byte a 202.0 +byte~ bitmap_init::vera_layer_get_color_depth1_$1 reg byte a 202.0 +byte* bitmap_init::vera_layer_get_color_depth1_config +byte* bitmap_init::vera_layer_get_color_depth1_config#0 vera_layer_get_color_depth1_config zp[2]:63 202.0 +byte bitmap_init::vera_layer_get_color_depth1_layer +byte bitmap_init::vera_layer_get_color_depth1_layer#0 reg byte a 202.0 +byte bitmap_init::vera_layer_get_color_depth1_return +byte bitmap_init::vera_layer_get_color_depth1_return#0 reg byte a 202.0 +byte bitmap_init::vera_layer_get_color_depth1_return#1 reg byte a 202.0 +word bitmap_init::x +word bitmap_init::x#1 x zp[2]:21 1501.5 +word bitmap_init::x#10 x zp[2]:21 353.29411764705884 +word bitmap_init::y +word bitmap_init::y#1 y zp[2]:23 1501.5 +word bitmap_init::y#2 y zp[2]:23 600.5999999999999 +dword bitmap_init::yoffs +dword bitmap_init::yoffs#0 yoffs zp[4]:94 202.0 +dword bitmap_init::yoffs#1 yoffs zp[4]:94 667.3333333333334 +dword bitmap_init::yoffs#2 yoffs zp[4]:94 776.0 +void bitmap_line(word bitmap_line::x0 , word bitmap_line::x1 , word bitmap_line::y0 , word bitmap_line::y1 , byte bitmap_line::c) +byte bitmap_line::c +byte bitmap_line::c#0 reg byte x 202.0 +byte bitmap_line::c#1 reg byte x 2002.0 +byte bitmap_line::c#10 reg byte x 1502.037037037037 +word bitmap_line::x0 +word bitmap_line::x0#0 x0 zp[2]:3 8.782608695652174 +word bitmap_line::x0#1 x0 zp[2]:3 667.3333333333334 +word bitmap_line::x0#10 x0 zp[2]:3 4555.550000000001 +word bitmap_line::x1 +word bitmap_line::x1#0 x1 zp[2]:65 11.882352941176471 +word bitmap_line::x1#1 x1 zp[2]:65 1001.0 +word bitmap_line::x1#10 x1 zp[2]:65 4555.550000000001 +word bitmap_line::xd +word bitmap_line::xd#1 xd zp[2]:23 3500.3500000000004 +word bitmap_line::xd#2 xd zp[2]:23 3500.3500000000004 +word bitmap_line::y0 +word bitmap_line::y0#0 y0 zp[2]:67 18.363636363636363 +word bitmap_line::y0#10 y0 zp[2]:67 6005.6500000000015 +word bitmap_line::y1 +word bitmap_line::y1#0 y1 zp[2]:21 40.4 +word bitmap_line::y1#10 y1 zp[2]:21 6005.6500000000015 +word bitmap_line::yd +word bitmap_line::yd#1 yd zp[2]:63 4444.888888888889 +word bitmap_line::yd#10 yd zp[2]:63 4444.888888888889 +word bitmap_line::yd#11 yd_1 zp[2]:69 4444.888888888889 +word bitmap_line::yd#2 yd_1 zp[2]:69 4444.888888888889 +void bitmap_line_xdyd(word bitmap_line_xdyd::x , word bitmap_line_xdyd::y , word bitmap_line_xdyd::x1 , word bitmap_line_xdyd::xd , word bitmap_line_xdyd::yd , byte bitmap_line_xdyd::c) +word~ bitmap_line_xdyd::$6 zp[2]:86 2.00000002E8 +byte bitmap_line_xdyd::c +byte bitmap_line_xdyd::c#0 c zp[1]:62 20002.0 +byte bitmap_line_xdyd::c#1 c zp[1]:62 20002.0 +byte bitmap_line_xdyd::c#3 c zp[1]:62 6668000.2 +word bitmap_line_xdyd::e +word bitmap_line_xdyd::e#0 e zp[2]:90 200002.0 +word bitmap_line_xdyd::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_xdyd::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_xdyd::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_xdyd::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_xdyd::x +word bitmap_line_xdyd::x#0 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyd::x#1 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyd::x#2 x zp[2]:74 3.7500000375E7 +word bitmap_line_xdyd::x#3 x zp[2]:74 6.00200008E7 +word bitmap_line_xdyd::x#6 x zp[2]:74 60001.5 +word bitmap_line_xdyd::x1 +word bitmap_line_xdyd::x1#0 x1 zp[2]:65 5000.5 +word bitmap_line_xdyd::x1#1 x1 zp[2]:65 5000.5 +word bitmap_line_xdyd::x1#6 x1 zp[2]:65 6668000.2 +word bitmap_line_xdyd::xd +word bitmap_line_xdyd::xd#0 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyd::xd#1 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyd::xd#5 xd zp[2]:23 1.3334666933333334E7 +word bitmap_line_xdyd::y +word bitmap_line_xdyd::y#0 y zp[2]:67 4000.4 +word bitmap_line_xdyd::y#1 y zp[2]:67 4000.4 +word bitmap_line_xdyd::y#2 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyd::y#3 y zp[2]:67 5.0012500625E7 +word bitmap_line_xdyd::y#5 y zp[2]:67 60001.5 +word bitmap_line_xdyd::y#6 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyd::yd +word bitmap_line_xdyd::yd#0 yd zp[2]:63 10001.0 +word bitmap_line_xdyd::yd#1 yd zp[2]:63 10001.0 +word bitmap_line_xdyd::yd#2 yd zp[2]:63 6674666.933333334 +void bitmap_line_xdyi(word bitmap_line_xdyi::x , word bitmap_line_xdyi::y , word bitmap_line_xdyi::x1 , word bitmap_line_xdyi::xd , word bitmap_line_xdyi::yd , byte bitmap_line_xdyi::c) +word~ bitmap_line_xdyi::$6 zp[2]:82 2.00000002E8 +byte bitmap_line_xdyi::c +byte bitmap_line_xdyi::c#0 c zp[1]:62 20002.0 +byte bitmap_line_xdyi::c#1 c zp[1]:62 20002.0 +byte bitmap_line_xdyi::c#3 c zp[1]:62 6668000.2 +word bitmap_line_xdyi::e +word bitmap_line_xdyi::e#0 e zp[2]:90 200002.0 +word bitmap_line_xdyi::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_xdyi::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_xdyi::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_xdyi::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_xdyi::x +word bitmap_line_xdyi::x#0 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyi::x#1 x zp[2]:74 3333.6666666666665 +word bitmap_line_xdyi::x#2 x zp[2]:74 3.7500000375E7 +word bitmap_line_xdyi::x#3 x zp[2]:74 6.00200008E7 +word bitmap_line_xdyi::x#6 x zp[2]:74 60001.5 +word bitmap_line_xdyi::x1 +word bitmap_line_xdyi::x1#0 x1 zp[2]:65 5000.5 +word bitmap_line_xdyi::x1#1 x1 zp[2]:65 5000.5 +word bitmap_line_xdyi::x1#6 x1 zp[2]:65 6668000.2 +word bitmap_line_xdyi::xd +word bitmap_line_xdyi::xd#0 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyi::xd#1 xd zp[2]:23 6667.333333333333 +word bitmap_line_xdyi::xd#5 xd zp[2]:23 1.3334666933333334E7 +word bitmap_line_xdyi::y +word bitmap_line_xdyi::y#0 y zp[2]:67 4000.4 +word bitmap_line_xdyi::y#1 y zp[2]:67 4000.4 +word bitmap_line_xdyi::y#2 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyi::y#3 y zp[2]:67 5.0012500625E7 +word bitmap_line_xdyi::y#5 y zp[2]:67 60001.5 +word bitmap_line_xdyi::y#6 y zp[2]:67 1.00000001E8 +word bitmap_line_xdyi::yd +word bitmap_line_xdyi::yd#0 yd zp[2]:69 10001.0 +word bitmap_line_xdyi::yd#1 yd zp[2]:69 10001.0 +word bitmap_line_xdyi::yd#2 yd zp[2]:69 6674666.933333334 +void bitmap_line_ydxd(word bitmap_line_ydxd::y , word bitmap_line_ydxd::x , word bitmap_line_ydxd::y1 , word bitmap_line_ydxd::yd , word bitmap_line_ydxd::xd , byte bitmap_line_ydxd::c) +word~ bitmap_line_ydxd::$6 zp[2]:84 2.00000002E8 +byte bitmap_line_ydxd::c +byte bitmap_line_ydxd::c#0 c zp[1]:62 20002.0 +byte bitmap_line_ydxd::c#1 c zp[1]:62 20002.0 +byte bitmap_line_ydxd::c#3 c zp[1]:62 6668000.2 +word bitmap_line_ydxd::e +word bitmap_line_ydxd::e#0 e zp[2]:90 200002.0 +word bitmap_line_ydxd::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_ydxd::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_ydxd::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_ydxd::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_ydxd::x +word bitmap_line_ydxd::x#0 x zp[2]:65 4000.4 +word bitmap_line_ydxd::x#1 x zp[2]:65 4000.4 +word bitmap_line_ydxd::x#2 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxd::x#3 x zp[2]:65 5.0012500625E7 +word bitmap_line_ydxd::x#5 x zp[2]:65 60001.5 +word bitmap_line_ydxd::x#6 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxd::xd +word bitmap_line_ydxd::xd#0 xd zp[2]:23 10001.0 +word bitmap_line_ydxd::xd#1 xd zp[2]:23 10001.0 +word bitmap_line_ydxd::xd#2 xd zp[2]:23 6674666.933333334 +word bitmap_line_ydxd::y +word bitmap_line_ydxd::y#0 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxd::y#1 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxd::y#2 y zp[2]:72 6.00200008E7 +word bitmap_line_ydxd::y#3 y zp[2]:72 3.7500000375E7 +word bitmap_line_ydxd::y#7 y zp[2]:72 60001.5 +word bitmap_line_ydxd::y1 +word bitmap_line_ydxd::y1#0 y1 zp[2]:67 5000.5 +word bitmap_line_ydxd::y1#1 y1 zp[2]:67 5000.5 +word bitmap_line_ydxd::y1#6 y1 zp[2]:67 6668000.2 +word bitmap_line_ydxd::yd +word bitmap_line_ydxd::yd#0 yd zp[2]:63 6667.333333333333 +word bitmap_line_ydxd::yd#1 yd zp[2]:63 6667.333333333333 +word bitmap_line_ydxd::yd#5 yd zp[2]:63 1.3334666933333334E7 +void bitmap_line_ydxi(word bitmap_line_ydxi::y , word bitmap_line_ydxi::x , word bitmap_line_ydxi::y1 , word bitmap_line_ydxi::yd , word bitmap_line_ydxi::xd , byte bitmap_line_ydxi::c) +word~ bitmap_line_ydxi::$6 zp[2]:80 2.00000002E8 +byte bitmap_line_ydxi::c +byte bitmap_line_ydxi::c#0 c zp[1]:62 20002.0 +byte bitmap_line_ydxi::c#1 c zp[1]:62 20002.0 +byte bitmap_line_ydxi::c#3 c zp[1]:62 6668000.2 +word bitmap_line_ydxi::e +word bitmap_line_ydxi::e#0 e zp[2]:90 200002.0 +word bitmap_line_ydxi::e#1 e zp[2]:90 1.3333333466666667E8 +word bitmap_line_ydxi::e#2 e zp[2]:90 2.00000002E8 +word bitmap_line_ydxi::e#3 e zp[2]:90 3.33500005E7 +word bitmap_line_ydxi::e#6 e zp[2]:90 1.00000001E8 +word bitmap_line_ydxi::x +word bitmap_line_ydxi::x#0 x zp[2]:65 4000.4 +word bitmap_line_ydxi::x#1 x zp[2]:65 4000.4 +word bitmap_line_ydxi::x#2 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxi::x#3 x zp[2]:65 5.0012500625E7 +word bitmap_line_ydxi::x#5 x zp[2]:65 60001.5 +word bitmap_line_ydxi::x#6 x zp[2]:65 1.00000001E8 +word bitmap_line_ydxi::xd +word bitmap_line_ydxi::xd#0 xd zp[2]:23 10001.0 +word bitmap_line_ydxi::xd#1 xd zp[2]:23 10001.0 +word bitmap_line_ydxi::xd#2 xd zp[2]:23 6674666.933333334 +word bitmap_line_ydxi::y +word bitmap_line_ydxi::y#0 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxi::y#1 y zp[2]:72 3333.6666666666665 +word bitmap_line_ydxi::y#2 y zp[2]:72 3.7500000375E7 +word bitmap_line_ydxi::y#3 y zp[2]:72 6.00200008E7 +word bitmap_line_ydxi::y#6 y zp[2]:72 60001.5 +word bitmap_line_ydxi::y1 +word bitmap_line_ydxi::y1#0 y1 zp[2]:67 5000.5 +word bitmap_line_ydxi::y1#1 y1 zp[2]:67 5000.5 +word bitmap_line_ydxi::y1#6 y1 zp[2]:67 6668000.2 +word bitmap_line_ydxi::yd +word bitmap_line_ydxi::yd#0 yd zp[2]:69 6667.333333333333 +word bitmap_line_ydxi::yd#1 yd zp[2]:69 6667.333333333333 +word bitmap_line_ydxi::yd#5 yd zp[2]:69 1.3334666933333334E7 +void bitmap_plot(word bitmap_plot::x , word bitmap_plot::y , byte bitmap_plot::c) +word~ bitmap_plot::$10 zp[2]:98 2.000000002E9 +word*~ bitmap_plot::$12 zp[2]:92 1.000000001E9 +dword*~ bitmap_plot::$13 zp[2]:98 2.000000002E9 +byte*~ bitmap_plot::$14 zp[2]:104 2.000000002E9 +byte*~ bitmap_plot::$15 zp[2]:110 2.000000002E9 +byte~ bitmap_plot::$3 reg byte x 2.000000002E9 +byte~ bitmap_plot::$6 reg byte a 2.000000002E9 +byte~ bitmap_plot::$7 reg byte a 2.000000002E9 +byte~ bitmap_plot::$8 reg byte a 2.000000002E9 +word~ bitmap_plot::$9 zp[2]:92 2.000000002E9 +byte bitmap_plot::bitshift +byte bitmap_plot::bitshift#0 reg byte a 1.5000000015E9 +byte bitmap_plot::c +byte bitmap_plot::c#0 reg byte x 2.142857145E8 +byte bitmap_plot::c#1 reg byte x 2.00000002E8 +byte bitmap_plot::c#2 reg byte x 2.00000002E8 +byte bitmap_plot::c#3 reg byte x 2.00000002E8 +byte bitmap_plot::c#4 reg byte x 2.00000002E8 +byte bitmap_plot::c#5 reg byte x 2.1818181872727272E8 +dword bitmap_plot::plot_x +dword bitmap_plot::plot_x#0 plot_x zp[4]:94 5.000000005E8 +dword bitmap_plot::plot_y +dword bitmap_plot::plot_y#0 plot_y zp[4]:100 2.000000002E9 +dword bitmap_plot::plotter +word~ bitmap_plot::vera_vram_address01_$0 zp[2]:114 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$1 reg byte a 2.000000002E9 +word~ bitmap_plot::vera_vram_address01_$2 zp[2]:106 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$3 reg byte a 2.000000002E9 +word~ bitmap_plot::vera_vram_address01_$4 zp[2]:108 2.000000002E9 +byte~ bitmap_plot::vera_vram_address01_$6 reg byte a 2.000000002E9 +dword bitmap_plot::vera_vram_address01_bankaddr +dword bitmap_plot::vera_vram_address01_bankaddr#0 vera_vram_address01_bankaddr zp[4]:94 3.07692308E8 +byte bitmap_plot::vera_vram_address01_incr +word bitmap_plot::x +word bitmap_plot::x#0 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#1 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#2 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#3 x zp[2]:74 6.6666667333333336E7 +word bitmap_plot::x#4 x zp[2]:74 1.4782608726086956E8 +word bitmap_plot::y +word bitmap_plot::y#0 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#1 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#2 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#3 y zp[2]:72 1.00000001E8 +word bitmap_plot::y#4 y zp[2]:72 3.5000000125E8 +const to_nomodify byte* bitmasks[5] = { $80, $c0, $f0, $ff } +const to_nomodify signed byte* bitshifts[5] = { 7, 6, 4, 0 } +void clearline() +byte~ clearline::$1 reg byte a 2.00000002E8 +byte~ clearline::$2 reg byte a 2.00000002E8 +byte~ clearline::$5 reg byte a 2.00000002E8 +byte* clearline::addr +byte* clearline::addr#0 addr zp[2]:114 1.00000001E8 +word clearline::c +word clearline::c#1 c zp[2]:74 2.0000000002E10 +word clearline::c#2 c zp[2]:74 7.50000000075E9 +byte clearline::color +byte clearline::color#0 reg byte x 1.6833333336666665E9 +void clrscr() +byte~ clrscr::$0 reg byte a 202.0 +byte~ clrscr::$1 zp[1]:62 40.4 +byte~ clrscr::$2 reg byte a 202.0 +byte~ clrscr::$5 reg byte a 2002.0 +byte~ clrscr::$6 reg byte a 2002.0 +byte~ clrscr::$7 reg byte a 2002.0 +byte~ clrscr::$9 reg byte a 202.0 +byte clrscr::c +byte clrscr::c#1 reg byte y 20002.0 +byte clrscr::c#2 reg byte y 7500.75 +byte* clrscr::ch +byte clrscr::color +byte clrscr::color#0 color zp[1]:62 594.2352941176471 +byte clrscr::l +byte clrscr::l#1 reg byte x 2002.0 +byte clrscr::l#2 reg byte x 200.2 +byte* clrscr::line_text +byte* clrscr::line_text#0 line_text zp[2]:19 18.363636363636363 +byte* clrscr::line_text#1 line_text zp[2]:19 1001.0 +byte* clrscr::line_text#2 line_text zp[2]:19 293.2142857142857 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore zp[2]:30 5720.6 +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore zp[1]:32 5206186.108247423 +word conio_rowskip loadstore zp[2]:33 4975627.393034826 +volatile byte conio_screen_height loadstore zp[1]:26 63829.93085106383 +byte conio_screen_layer loadstore zp[1]:27 1253909.9416058394 +volatile byte conio_screen_width loadstore zp[1]:25 4.473218752678571E7 +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore zp[2]:28 113.58757062146893 +void conio_x16_init() +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*) 214 +byte conio_x16_init::line +byte conio_x16_init::line#0 line zp[1]:2 2.1999999999999997 +byte conio_x16_init::line#1 line zp[1]:2 22.0 +byte conio_x16_init::line#3 line zp[1]:2 33.0 +void cputc(byte cputc::c) +byte~ cputc::$15 reg byte a 20002.0 +word~ cputc::$16 zp[2]:110 20002.0 +byte~ cputc::$2 reg byte a 20002.0 +byte~ cputc::$4 reg byte a 20002.0 +byte~ cputc::$5 reg byte a 20002.0 +byte~ cputc::$6 reg byte a 20002.0 +byte cputc::c +byte cputc::c#0 c zp[1]:62 1235.4705882352941 +byte cputc::color +byte cputc::color#0 reg byte x 1428.7142857142858 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 conio_addr zp[2]:108 10001.0 +byte* cputc::conio_addr#1 conio_addr zp[2]:108 6000.6 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 reg byte a 20002.0 +void cputln() +byte~ cputln::$2 reg byte a 200002.0 +byte~ cputln::$3 reg byte a 200002.0 +word cputln::temp +word cputln::temp#0 temp zp[2]:90 200002.0 +word cputln::temp#1 temp zp[2]:90 100001.0 +void cputs(to_nomodify byte* cputs::s) +byte cputs::c +byte cputs::c#1 reg byte a 1001.0 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 s zp[2]:67 500.5 +to_nomodify byte* cputs::s#8 s zp[2]:67 1552.0 +to_nomodify byte* cputs::s#9 s zp[2]:67 101.0 +void cscroll() +word divr16u(word divr16u::dividend , word divr16u::divisor , word divr16u::rem) +byte~ divr16u::$1 reg byte a 2000002.0 +byte~ divr16u::$2 reg byte a 2000002.0 +word divr16u::dividend +word divr16u::dividend#0 dividend zp[2]:19 250000.25 +word divr16u::dividend#1 dividend zp[2]:19 3667.333333333333 +word divr16u::dividend#2 dividend zp[2]:19 430000.57142857136 +word divr16u::divisor +word divr16u::divisor#0 divisor zp[2]:23 117706.05882352941 +byte divr16u::i +byte divr16u::i#1 reg byte x 1500001.5 +byte divr16u::i#2 reg byte x 153846.3076923077 +word divr16u::quotient +word divr16u::quotient#1 quotient zp[2]:72 1500001.5 +word divr16u::quotient#2 quotient zp[2]:72 1000001.0 +word divr16u::quotient#3 quotient zp[2]:72 250000.25 +word divr16u::rem +word divr16u::rem#0 rem zp[2]:69 750000.75 +word divr16u::rem#1 rem zp[2]:69 2000002.0 +word divr16u::rem#10 rem zp[2]:69 1003334.6666666666 +word divr16u::rem#2 rem zp[2]:69 2000002.0 +word divr16u::rem#4 rem zp[2]:69 2000002.0 +word divr16u::rem#5 rem zp[2]:69 1000001.0 +word divr16u::return +word divr16u::return#0 return zp[2]:72 1000001.0 +void gotoxy(byte gotoxy::x , byte gotoxy::y) +byte~ gotoxy::$5 reg byte a 2.0000002E7 +word~ gotoxy::$6 zp[2]:48 2.0000002E7 +word gotoxy::line_offset +word gotoxy::line_offset#0 line_offset zp[2]:48 1.0000001E7 +byte gotoxy::x +byte gotoxy::y +byte gotoxy::y#0 reg byte x 22.0 +byte gotoxy::y#10 reg byte x 4000000.4 +byte gotoxy::y#2 reg byte x 2000002.0 +byte gotoxy::y#7 reg byte x 7000004.666666666 +const word* hdeltas[$10] = { 0, $50, $28, $14, 0, $a0, $50, $28, 0, $140, $a0, $50, 0, $280, $140, $a0 } +void insertup() +byte~ insertup::$3 reg byte a 2.000000002E9 +byte insertup::cy +byte insertup::cy#0 cy zp[1]:112 7.769230784615384E7 +byte insertup::i +byte insertup::i#1 reg byte x 2.000000002E9 +byte insertup::i#2 reg byte x 4.000000004E8 +word insertup::line +word insertup::line#0 line zp[2]:21 2.000000002E9 +byte* insertup::start +byte* insertup::start#0 start zp[2]:21 1.000000001E9 +byte insertup::width +byte insertup::width#0 width zp[1]:113 8.416666683333334E7 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*) 65508 +const nomodify byte* kbhit::IN_DEV = (byte*) 650 +volatile byte kbhit::ch loadstore zp[1]:71 10001.0 +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 reg byte a 20002.0 +byte kbhit::return#1 reg byte a 2775.75 +byte kbhit::return#2 reg byte a 202.0 +byte kbhit::return#3 reg byte a 2002.0 +void main() +byte~ main::$30 reg byte a 202.0 +word~ main::$40 zp[2]:19 202.0 +byte~ main::$43 reg byte a 2002.0 +byte main::bgcolor1_color +byte main::bgcolor2_color +byte main::bgcolor3_color +byte main::color +byte main::color#1 color zp[1]:5 525.75 +byte main::color#2 color zp[1]:5 344.8888888888889 +const byte* main::s[$16] = "vera in bitmap mode, +" +const byte* main::s1[$1f] = "color depth 8 bits per pixel. +" +const byte* main::s2[$29] = "in this mode, it is possible to display +" +const byte* main::s3[$19] = "graphics in 256 colors. +" +const byte* main::s4[$10] = "press a key ..." +const byte* main::s5[$27] = "here you see all the colors possible. +" +byte main::textcolor1_color +byte main::textcolor2_color +byte main::textcolor3_color +byte main::textcolor4_color +byte main::textcolor5_color +byte main::vera_layer_show1_layer +word main::x +word main::x#1 x zp[2]:3 701.0 +word main::x#3 x zp[2]:3 310.4 +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$1 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$3 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$4 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$5 reg byte a 2.0000000002E10 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 dest zp[2]:21 6.666666673333334E8 +void* memcpy_in_vram::dest#2 dest zp[2]:21 2.1000000003000002E9 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#2 reg byte y 8.333333334166666E8 +byte memcpy_in_vram::dest_increment +word memcpy_in_vram::i +word memcpy_in_vram::i#1 i zp[2]:65 2.00000000002E11 +word memcpy_in_vram::i#2 i zp[2]:65 1.00000000001E11 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 num zp[2]:23 1.000000001E9 +word memcpy_in_vram::num#3 num zp[2]:23 5.611111111222221E9 +void* memcpy_in_vram::src +byte* memcpy_in_vram::src#0 src zp[2]:19 3.333333336666667E8 +void* memcpy_in_vram::src#2 src zp[2]:19 5.25000000075E9 +void* memcpy_in_vram::src#3 src zp[2]:19 2.000000002E9 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_increment +void memset_vram(byte memset_vram::vbank , void* memset_vram::vdest , byte memset_vram::data , dword memset_vram::num) +byte~ memset_vram::$0 reg byte a 2002.0 +byte~ memset_vram::$1 reg byte a 2002.0 +byte~ memset_vram::$2 reg byte a 2002.0 +byte memset_vram::data +const byte memset_vram::data#0 data = 0 +dword memset_vram::i +dword memset_vram::i#1 i zp[4]:100 20002.0 +dword memset_vram::i#2 i zp[4]:100 10001.0 +dword memset_vram::num +dword memset_vram::num#0 num zp[4]:94 841.8333333333333 +byte memset_vram::vbank +byte memset_vram::vbank#0 reg byte x 137.75 +void* memset_vram::vdest +void* memset_vram::vdest#0 vdest zp[2]:69 420.59999999999997 +word modr16u(word modr16u::dividend , word modr16u::divisor , word modr16u::rem) +word modr16u::dividend +word modr16u::dividend#0 dividend zp[2]:19 202.0 +word modr16u::dividend#1 dividend zp[2]:19 202.0 +word modr16u::dividend#2 dividend zp[2]:19 202.0 +word modr16u::dividend#3 dividend zp[2]:19 202.0 +word modr16u::dividend#4 dividend zp[2]:19 1405.0 +word modr16u::divisor +word modr16u::divisor#4 divisor zp[2]:23 500.5 +word modr16u::rem +word modr16u::return +word modr16u::return#0 return zp[2]:21 234.16666666666669 +word modr16u::return#10 return zp[2]:21 202.0 +word modr16u::return#2 return zp[2]:21 202.0 +word modr16u::return#3 return_1 zp[2]:65 202.0 +word modr16u::return#4 return_2 zp[2]:67 202.0 +dword mul16u(word mul16u::a , word mul16u::b) +byte~ mul16u::$1 reg byte a 20002.0 +word mul16u::a +word mul16u::a#0 a zp[2]:21 10001.0 +word mul16u::a#1 a zp[2]:21 367.33333333333337 +word mul16u::a#2 a zp[2]:21 6834.166666666666 +word mul16u::b +word mul16u::b#0 b zp[2]:65 101.0 +dword mul16u::mb +dword mul16u::mb#0 mb zp[4]:100 2002.0 +dword mul16u::mb#1 mb zp[4]:100 20002.0 +dword mul16u::mb#2 mb zp[4]:100 4429.142857142857 +dword mul16u::res +dword mul16u::res#1 res zp[4]:94 20002.0 +dword mul16u::res#2 res zp[4]:94 5017.333333333333 +dword mul16u::res#6 res zp[4]:94 10001.0 +dword mul16u::return +dword mul16u::return#2 return zp[4]:94 202.0 +word rand() +word~ rand::$0 zp[2]:72 2002.0 +word~ rand::$1 zp[2]:74 2002.0 +word~ rand::$2 zp[2]:106 2002.0 +word rand::return +word rand::return#0 return zp[2]:19 215.14285714285714 +word rand::return#10 return zp[2]:19 202.0 +word rand::return#11 return zp[2]:19 202.0 +word rand::return#12 return zp[2]:19 202.0 +word rand::return#2 return zp[2]:19 202.0 +word rand::return#3 return zp[2]:19 202.0 +word rand_state +word rand_state#0 rand_state zp[2]:17 1501.5 +word rand_state#1 rand_state zp[2]:17 1501.5 +word rand_state#13 rand_state zp[2]:17 1253.5 +word rand_state#14 rand_state zp[2]:17 78.34375 +word rand_state#23 rand_state zp[2]:17 33.666666666666664 +word rem16u +word rem16u#0 rem16u zp[2]:88 3667.333333333333 +void screenlayer(byte screenlayer::layer) +word~ screenlayer::$2 zp[2]:56 202.0 +byte~ screenlayer::$3 reg byte a 202.0 +word~ screenlayer::$4 zp[2]:48 202.0 +word~ screenlayer::$5 zp[2]:53 202.0 +byte screenlayer::layer +byte~ screenlayer::vera_layer_get_height1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 vera_layer_get_height1_config zp[2]:50 202.0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 vera_layer_get_height1_return zp[2]:53 202.0 +word screenlayer::vera_layer_get_height1_return#1 vera_layer_get_height1_return zp[2]:53 202.0 +byte~ screenlayer::vera_layer_get_width1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 vera_layer_get_width1_config zp[2]:46 202.0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 vera_layer_get_width1_return zp[2]:56 202.0 +word screenlayer::vera_layer_get_width1_return#1 vera_layer_get_width1_return zp[2]:56 202.0 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$1 reg byte a 202.0 +byte~ screensize::$3 reg byte a 202.0 +byte screensize::hscale +byte screensize::hscale#0 reg byte a 202.0 +byte screensize::vscale +byte screensize::vscale#0 reg byte a 202.0 +byte* screensize::x +const byte* screensize::x#0 x = &conio_screen_width +byte* screensize::y +const byte* screensize::y#0 y = &conio_screen_height +const to_nomodify word* vdeltas[4] = { 0, $1e0, $f0, $a0 } +byte vera_display_get_hscale() +const byte* vera_display_get_hscale::hscale[4] = { 0, $80, $40, $20 } +byte vera_display_get_hscale::return +byte vera_display_get_hscale::return#0 reg byte x 3367.333333333333 +byte vera_display_get_hscale::return#2 reg byte x 202.0 +byte vera_display_get_hscale::s +byte vera_display_get_hscale::s#1 reg byte x 15001.5 +byte vera_display_get_hscale::s#2 reg byte x 20002.0 +byte vera_display_get_hscale::scale +const byte vera_display_get_hscale::scale#0 scale = 0 +byte vera_display_get_vscale() +byte vera_display_get_vscale::return +byte vera_display_get_vscale::return#0 reg byte x 3367.333333333333 +byte vera_display_get_vscale::return#2 reg byte x 202.0 +byte vera_display_get_vscale::s +byte vera_display_get_vscale::s#1 reg byte x 15001.5 +byte vera_display_get_vscale::s#2 reg byte x 20002.0 +byte vera_display_get_vscale::scale +const byte vera_display_get_vscale::scale#0 scale = 0 +const byte* vera_display_get_vscale::vscale[4] = { 0, $80, $40, $20 } +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_backcolor::return#2 reg byte a 202.0 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$1 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$3 reg byte a 2.000000002E9 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 addr zp[2]:114 2.000000002E9 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 reg byte x 20002.0 +byte vera_layer_get_color::layer#1 reg byte x 2.00000002E8 +byte vera_layer_get_color::layer#2 reg byte x 6.833350010000001E8 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#1 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#2 reg byte a 5.25002501E8 +byte vera_layer_get_color::return#3 reg byte a 20002.0 +byte vera_layer_get_color::return#4 reg byte a 2.00000002E8 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 reg byte x 1102.0 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_mapbase_bank::return#2 reg byte a 202.0 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 reg byte a 2002.0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 reg byte a 1102.0 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 return zp[2]:48 367.33333333333337 +word vera_layer_get_mapbase_offset::return#2 return zp[2]:48 202.0 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 reg byte x 1102.0 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_rowshift::return#2 reg byte a 202.0 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 reg byte a 2002.0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 reg byte a 1102.0 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 return zp[2]:48 367.33333333333337 +word vera_layer_get_rowskip::return#2 return zp[2]:48 202.0 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_textcolor::return#2 reg byte a 202.0 +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_bitmap(byte vera_layer_mode_bitmap::layer , dword vera_layer_mode_bitmap::bitmap_address , word vera_layer_mode_bitmap::mapwidth , word vera_layer_mode_bitmap::color_depth) +dword vera_layer_mode_bitmap::bitmap_address +const dword vera_layer_mode_bitmap::bitmap_address#1 bitmap_address = 0 +word vera_layer_mode_bitmap::color_depth +byte vera_layer_mode_bitmap::config +const byte vera_layer_mode_bitmap::config#11 config = VERA_LAYER_COLOR_DEPTH_8BPP|VERA_LAYER_CONFIG_MODE_BITMAP +byte vera_layer_mode_bitmap::layer +const byte vera_layer_mode_bitmap::layer#0 layer = 0 +word vera_layer_mode_bitmap::mapwidth +byte vera_layer_mode_bitmap::tilebase +const byte vera_layer_mode_bitmap::tilebase#1 tilebase = 0 +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +byte vera_layer_mode_text::layer +const byte vera_layer_mode_text::layer#0 layer = 1 +dword vera_layer_mode_text::mapbase_address +const dword vera_layer_mode_text::mapbase_address#0 mapbase_address = 0 +word vera_layer_mode_text::mapheight +const word vera_layer_mode_text::mapheight#0 mapheight = $40 +word vera_layer_mode_text::mapwidth +const word vera_layer_mode_text::mapwidth#0 mapwidth = $80 +dword vera_layer_mode_text::tilebase_address +const dword vera_layer_mode_text::tilebase_address#0 tilebase_address = $f800 +byte vera_layer_mode_text::tileheight +const byte vera_layer_mode_text::tileheight#0 tileheight = 8 +byte vera_layer_mode_text::tilewidth +const byte vera_layer_mode_text::tilewidth#0 tilewidth = 8 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 zp[2]:50 1001.0 +word~ vera_layer_mode_tile::$10 zp[2]:60 2002.0 +byte~ vera_layer_mode_tile::$13 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$14 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$15 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$16 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$19 zp[1]:52 231.0 +word~ vera_layer_mode_tile::$2 zp[2]:53 1001.0 +byte~ vera_layer_mode_tile::$20 zp[1]:55 250.25 +word~ vera_layer_mode_tile::$4 zp[2]:76 2002.0 +word~ vera_layer_mode_tile::$7 zp[2]:56 2002.0 +word~ vera_layer_mode_tile::$8 zp[2]:58 1001.0 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#10 reg byte x 2002.0 +byte vera_layer_mode_tile::config#11 reg byte x 2002.0 +byte vera_layer_mode_tile::config#12 reg byte x 2002.0 +byte vera_layer_mode_tile::config#21 reg byte x 1001.0 +byte vera_layer_mode_tile::config#25 reg byte x 3003.0 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#10 layer zp[1]:6 254.4915254237289 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 reg byte x 1001.0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 mapbase_address zp[4]:7 2002.0 +dword vera_layer_mode_tile::mapbase_address#10 mapbase_address zp[4]:7 111.22222222222223 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#10 mapheight zp[2]:46 190.66666666666666 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#10 mapwidth zp[2]:48 1001.0 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 reg byte a 2002.0 +byte vera_layer_mode_tile::tilebase#1 reg byte x 1334.6666666666667 +byte vera_layer_mode_tile::tilebase#10 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#12 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::tilebase#3 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#5 reg byte x 2002.0 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 tilebase_address zp[4]:11 2002.0 +dword vera_layer_mode_tile::tilebase_address#10 tilebase_address zp[4]:11 85.19148936170212 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#10 tileheight zp[1]:16 35.75 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#10 tilewidth zp[1]:15 38.5 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#4 reg byte a 101.0 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#3 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#4 reg byte x 134.0 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::return +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 reg byte a 20002.0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 addr zp[2]:78 20002.0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 reg byte x 2002.0 +byte vera_layer_set_config::config#2 reg byte x 3667.333333333333 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 reg byte a 1001.0 +byte vera_layer_set_config::layer#2 reg byte a 11002.0 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 reg byte a 20002.0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 addr zp[2]:56 20002.0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 reg byte a 1001.0 +byte vera_layer_set_mapbase::layer#3 reg byte a 11002.0 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 reg byte x 2002.0 +byte vera_layer_set_mapbase::mapbase#3 reg byte x 3667.333333333333 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 addr zp[2]:76 2502.5 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::color#6 reg byte a 101.0 +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#3 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#4 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#5 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#6 reg byte x 156.0 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::return +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 reg byte a 20002.0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 addr zp[2]:78 20002.0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 reg byte a 1001.0 +byte vera_layer_set_tilebase::layer#2 reg byte a 11002.0 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 reg byte x 2002.0 +byte vera_layer_set_tilebase::tilebase#2 reg byte x 3667.333333333333 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +zp[2]:3 [ main::x#3 main::x#1 bitmap_line::x0#10 bitmap_line::x0#0 bitmap_line::x0#1 ] +zp[1]:5 [ main::color#2 main::color#1 ] +reg byte x [ vera_layer_set_textcolor::layer#6 vera_layer_set_textcolor::layer#1 vera_layer_set_textcolor::layer#2 vera_layer_set_textcolor::layer#3 vera_layer_set_textcolor::layer#4 vera_layer_set_textcolor::layer#5 ] +reg byte a [ vera_layer_set_textcolor::color#6 ] +reg byte x [ vera_layer_set_backcolor::layer#4 vera_layer_set_backcolor::layer#1 vera_layer_set_backcolor::layer#2 vera_layer_set_backcolor::layer#3 ] +reg byte a [ vera_layer_set_backcolor::color#4 ] +reg byte a [ vera_layer_set_mapbase::layer#3 vera_layer_set_mapbase::layer#0 ] +reg byte x [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +reg byte x [ gotoxy::y#10 gotoxy::y#7 gotoxy::y#0 gotoxy::y#2 ] +reg byte y [ memcpy_in_vram::dest_bank#2 ] +zp[1]:6 [ vera_layer_mode_tile::layer#10 ] +zp[4]:7 [ vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::mapbase_address#0 ] +zp[4]:11 [ vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilebase_address#0 ] +zp[1]:15 [ vera_layer_mode_tile::tilewidth#10 ] +zp[1]:16 [ vera_layer_mode_tile::tileheight#10 ] +reg byte x [ vera_layer_mode_tile::config#25 vera_layer_mode_tile::config#21 vera_layer_mode_tile::config#10 vera_layer_mode_tile::config#11 vera_layer_mode_tile::config#12 ] +reg byte x [ vera_layer_mode_tile::tilebase#10 vera_layer_mode_tile::tilebase#12 vera_layer_mode_tile::tilebase#1 vera_layer_mode_tile::tilebase#3 vera_layer_mode_tile::tilebase#5 ] +reg byte x [ clrscr::l#2 clrscr::l#1 ] +reg byte y [ clrscr::c#2 clrscr::c#1 ] +reg byte x [ bitmap_init::bitshift#13 bitmap_init::bitshift#3 bitmap_init::bitshift#12 bitmap_init::bitshift#11 bitmap_init::bitshift#10 bitmap_init::bitshift#0 bitmap_init::bitshift#14 bitmap_init::bitshift#1 bitmap_init::bitshift#2 bitmap_init::bitshift#4 ] +reg byte x [ bitmap_line::c#10 bitmap_line::c#0 bitmap_line::c#1 ] +zp[2]:17 [ rand_state#13 rand_state#23 rand_state#14 rand_state#0 rand_state#1 ] +zp[2]:19 [ modr16u::dividend#4 modr16u::dividend#0 modr16u::dividend#1 modr16u::dividend#2 modr16u::dividend#3 divr16u::dividend#2 divr16u::dividend#1 divr16u::dividend#0 rand::return#2 rand::return#3 rand::return#10 rand::return#11 rand::return#12 main::$40 rand::return#0 clrscr::line_text#2 clrscr::line_text#1 clrscr::line_text#0 memcpy_in_vram::src#2 memcpy_in_vram::src#3 memcpy_in_vram::src#0 ] +reg byte a [ vera_layer_set_config::layer#2 vera_layer_set_config::layer#0 ] +reg byte x [ vera_layer_set_config::config#2 vera_layer_set_config::config#0 ] +reg byte a [ vera_layer_set_tilebase::layer#2 vera_layer_set_tilebase::layer#0 ] +reg byte x [ vera_layer_set_tilebase::tilebase#2 vera_layer_set_tilebase::tilebase#0 ] +reg byte x [ vera_display_get_hscale::return#0 vera_display_get_hscale::s#2 vera_display_get_hscale::s#1 ] +reg byte x [ vera_display_get_vscale::return#0 vera_display_get_vscale::s#2 vera_display_get_vscale::s#1 ] +zp[2]:21 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 bitmap_clear::hdelta#0 bitmap_line::y1#10 bitmap_line::y1#0 modr16u::return#10 modr16u::return#2 modr16u::return#0 bitmap_init::x#10 bitmap_init::x#1 memcpy_in_vram::dest#2 memcpy_in_vram::dest#0 insertup::start#0 insertup::line#0 ] +zp[2]:23 [ bitmap_line_ydxi::xd#2 bitmap_line_ydxi::xd#1 bitmap_line_ydxi::xd#0 bitmap_line::xd#2 bitmap_line::xd#1 bitmap_line_xdyi::xd#5 bitmap_line_xdyi::xd#1 bitmap_line_xdyi::xd#0 bitmap_line_ydxd::xd#2 bitmap_line_ydxd::xd#0 bitmap_line_ydxd::xd#1 bitmap_line_xdyd::xd#5 bitmap_line_xdyd::xd#1 bitmap_line_xdyd::xd#0 modr16u::divisor#4 divr16u::divisor#0 bitmap_init::y#2 bitmap_init::y#1 memcpy_in_vram::num#3 memcpy_in_vram::num#0 ] +reg byte x [ divr16u::i#2 divr16u::i#1 ] +reg byte x [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +reg byte a [ vera_layer_get_color::return#2 vera_layer_get_color::return#0 vera_layer_get_color::return#1 ] +reg byte x [ bitmap_plot::c#0 bitmap_plot::$3 bitmap_plot::c#5 bitmap_plot::c#2 bitmap_plot::c#1 bitmap_plot::c#4 bitmap_plot::c#3 ] +reg byte x [ insertup::i#2 insertup::i#1 ] +zp[1]:25 [ conio_screen_width ] +zp[1]:26 [ conio_screen_height ] +zp[1]:27 [ conio_screen_layer ] +zp[2]:28 [ conio_width ] +zp[2]:30 [ conio_height ] +zp[1]:32 [ conio_rowshift ] +zp[2]:33 [ conio_rowskip ] +zp[4]:35 [ __bitmap_address ] +zp[1]:39 [ __bitmap_layer ] +zp[1]:40 [ __bitmap_hscale ] +zp[1]:41 [ __bitmap_vscale ] +zp[1]:42 [ __bitmap_color_depth ] +reg byte a [ kbhit::return#2 ] +reg byte a [ main::$30 ] +reg byte a [ kbhit::return#3 ] +reg byte a [ main::$43 ] +reg byte a [ screensize::hscale#0 ] +reg byte a [ screensize::$1 ] +reg byte a [ screensize::vscale#0 ] +reg byte a [ screensize::$3 ] +reg byte x [ vera_layer_get_mapbase_bank::layer#0 ] +reg byte a [ vera_layer_get_mapbase_bank::return#2 ] +zp[1]:43 [ CONIO_SCREEN_BANK#15 ] +reg byte a [ vera_layer_get_mapbase_offset::layer#0 ] +zp[2]:44 [ CONIO_SCREEN_TEXT#104 ] +reg byte a [ screenlayer::vera_layer_get_width1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$2 ] +zp[2]:46 [ screenlayer::vera_layer_get_width1_config#0 vera_layer_mode_tile::mapheight#10 ] +reg byte a [ screenlayer::vera_layer_get_width1_$0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$1 ] +reg byte a [ screenlayer::vera_layer_get_width1_$3 ] +reg byte x [ vera_layer_get_rowshift::layer#0 ] +reg byte a [ vera_layer_get_rowshift::return#2 ] +reg byte a [ screenlayer::$3 ] +reg byte a [ vera_layer_get_rowskip::layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$2 ] +reg byte a [ screenlayer::vera_layer_get_height1_$0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$1 ] +reg byte a [ screenlayer::vera_layer_get_height1_$3 ] +reg byte a [ vera_layer_set_mapbase::$0 ] +zp[2]:48 [ gotoxy::$6 gotoxy::line_offset#0 vera_layer_get_rowskip::return#2 screenlayer::$4 vera_layer_get_rowskip::return#0 vera_layer_get_mapbase_offset::return#2 vera_layer_get_mapbase_offset::return#0 vera_layer_mode_tile::mapwidth#10 ] +reg byte a [ gotoxy::$5 ] +reg byte a [ memcpy_in_vram::$0 ] +reg byte a [ memcpy_in_vram::$1 ] +reg byte a [ memcpy_in_vram::$3 ] +reg byte a [ memcpy_in_vram::$4 ] +reg byte a [ memcpy_in_vram::$5 ] +reg byte a [ vera_layer_mode_tile::$16 ] +zp[2]:50 [ vera_layer_mode_tile::$1 screenlayer::vera_layer_get_height1_config#0 ] +zp[1]:52 [ vera_layer_mode_tile::$19 ] +zp[2]:53 [ vera_layer_mode_tile::$2 screenlayer::vera_layer_get_height1_return#0 screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 ] +zp[1]:55 [ vera_layer_mode_tile::$20 ] +reg byte x [ vera_layer_mode_tile::mapbase#0 ] +zp[2]:56 [ vera_layer_mode_tile::$7 vera_layer_set_mapbase::addr#0 screenlayer::vera_layer_get_width1_return#0 screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 ] +zp[2]:58 [ vera_layer_mode_tile::$8 ] +zp[2]:60 [ vera_layer_mode_tile::$10 ] +reg byte a [ vera_layer_mode_tile::tilebase#0 ] +reg byte a [ vera_layer_mode_tile::$15 ] +reg byte a [ vera_layer_mode_tile::$14 ] +reg byte a [ vera_layer_mode_tile::$13 ] +reg byte x [ vera_layer_get_backcolor::layer#0 ] +reg byte a [ vera_layer_get_backcolor::return#2 ] +reg byte a [ clrscr::$0 ] +reg byte x [ vera_layer_get_textcolor::layer#0 ] +reg byte a [ vera_layer_get_textcolor::return#2 ] +reg byte a [ clrscr::$2 ] +reg byte a [ clrscr::$9 ] +reg byte a [ clrscr::$5 ] +reg byte a [ clrscr::$6 ] +reg byte a [ clrscr::$7 ] +reg byte a [ cputs::c#1 ] +zp[1]:62 [ cputc::c#0 clrscr::$1 clrscr::color#0 bitmap_line_xdyd::c#3 bitmap_line_xdyd::c#1 bitmap_line_xdyd::c#0 bitmap_line_ydxd::c#3 bitmap_line_ydxd::c#0 bitmap_line_ydxd::c#1 bitmap_line_xdyi::c#3 bitmap_line_xdyi::c#1 bitmap_line_xdyi::c#0 bitmap_line_ydxi::c#3 bitmap_line_ydxi::c#1 bitmap_line_ydxi::c#0 bitmap_init::bitmask#13 bitmap_init::bitmask#3 bitmap_init::bitmask#12 bitmap_init::bitmask#11 bitmap_init::bitmask#10 bitmap_init::bitmask#0 bitmap_init::bitmask#16 bitmap_init::bitmask#1 bitmap_init::bitmask#2 bitmap_init::bitmask#4 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_layer#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_$1 ] +zp[2]:63 [ bitmap_init::vera_layer_get_color_depth1_config#0 bitmap_line_ydxd::yd#5 bitmap_line_ydxd::yd#0 bitmap_line_ydxd::yd#1 bitmap_line::yd#1 bitmap_line::yd#10 bitmap_line_xdyd::yd#2 bitmap_line_xdyd::yd#1 bitmap_line_xdyd::yd#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_$0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_return#0 ] +reg byte a [ bitmap_init::vera_layer_get_color_depth1_return#1 ] +reg byte a [ bitmap_init::$0 ] +reg byte x [ vera_display_get_hscale::return#2 ] +reg byte x [ bitmap_init::$1 ] +reg byte x [ vera_display_get_vscale::return#2 ] +reg byte x [ bitmap_init::$2 ] +reg byte a [ bitmap_init::$3 ] +reg byte a [ bitmap_init::$4 ] +reg byte a [ bitmap_init::$27 ] +reg byte a [ bitmap_clear::$7 ] +zp[2]:65 [ bitmap_clear::vdelta#0 mul16u::b#0 bitmap_init::$7 bitmap_line::x1#10 bitmap_line::x1#0 bitmap_line::x1#1 bitmap_line_ydxi::x#3 bitmap_line_ydxi::x#5 bitmap_line_ydxi::x#1 bitmap_line_ydxi::x#0 bitmap_line_ydxi::x#6 bitmap_line_ydxi::x#2 bitmap_line_xdyi::x1#6 bitmap_line_xdyi::x1#1 bitmap_line_xdyi::x1#0 bitmap_line_ydxd::x#3 bitmap_line_ydxd::x#5 bitmap_line_ydxd::x#0 bitmap_line_ydxd::x#1 bitmap_line_ydxd::x#6 bitmap_line_ydxd::x#2 bitmap_line_xdyd::x1#6 bitmap_line_xdyd::x1#1 bitmap_line_xdyd::x1#0 modr16u::return#3 memcpy_in_vram::i#2 memcpy_in_vram::i#1 ] +reg byte a [ bitmap_clear::$0 ] +reg byte a [ bitmap_clear::$1 ] +reg byte a [ bitmap_clear::$8 ] +zp[2]:67 [ bitmap_clear::$3 bitmap_init::$23 bitmap_init::$29 bitmap_line::y0#10 bitmap_line::y0#0 bitmap_line_ydxi::y1#6 bitmap_line_ydxi::y1#1 bitmap_line_ydxi::y1#0 bitmap_line_xdyi::y#3 bitmap_line_xdyi::y#5 bitmap_line_xdyi::y#1 bitmap_line_xdyi::y#0 bitmap_line_xdyi::y#6 bitmap_line_xdyi::y#2 bitmap_line_ydxd::y1#6 bitmap_line_ydxd::y1#0 bitmap_line_ydxd::y1#1 bitmap_line_xdyd::y#3 bitmap_line_xdyd::y#5 bitmap_line_xdyd::y#1 bitmap_line_xdyd::y#0 bitmap_line_xdyd::y#6 bitmap_line_xdyd::y#2 modr16u::return#4 cputs::s#8 cputs::s#9 cputs::s#0 ] +reg byte x [ bitmap_clear::vbank#0 ] +zp[2]:69 [ bitmap_clear::vdest#0 memset_vram::vdest#0 bitmap_init::$30 divr16u::rem#4 divr16u::rem#10 divr16u::rem#5 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 bitmap_line_ydxi::yd#5 bitmap_line_ydxi::yd#1 bitmap_line_ydxi::yd#0 bitmap_line::yd#2 bitmap_line::yd#11 bitmap_line_xdyi::yd#2 bitmap_line_xdyi::yd#1 bitmap_line_xdyi::yd#0 ] +reg byte x [ memset_vram::vbank#0 ] +zp[1]:71 [ kbhit::ch ] +reg byte a [ kbhit::return#0 ] +reg byte a [ kbhit::return#1 ] +zp[2]:72 [ rand::$0 bitmap_init::$31 divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 bitmap_line_ydxi::y#3 bitmap_line_ydxi::y#6 bitmap_line_ydxi::y#1 bitmap_line_ydxi::y#0 bitmap_line_ydxi::y#2 bitmap_plot::y#4 bitmap_plot::y#1 bitmap_plot::y#0 bitmap_plot::y#3 bitmap_plot::y#2 bitmap_line_ydxd::y#2 bitmap_line_ydxd::y#7 bitmap_line_ydxd::y#0 bitmap_line_ydxd::y#1 bitmap_line_ydxd::y#3 ] +zp[2]:74 [ rand::$1 bitmap_init::$10 clearline::c#2 clearline::c#1 bitmap_line_xdyi::x#3 bitmap_line_xdyi::x#6 bitmap_line_xdyi::x#1 bitmap_line_xdyi::x#0 bitmap_line_xdyi::x#2 bitmap_plot::x#4 bitmap_plot::x#1 bitmap_plot::x#0 bitmap_plot::x#3 bitmap_plot::x#2 bitmap_line_xdyd::x#3 bitmap_line_xdyd::x#6 bitmap_line_xdyd::x#1 bitmap_line_xdyd::x#0 bitmap_line_xdyd::x#2 ] +zp[2]:76 [ vera_layer_set_text_color_mode::addr#0 vera_layer_mode_tile::$4 ] +reg byte a [ vera_layer_get_mapbase_bank::return#0 ] +reg byte a [ vera_layer_get_mapbase_offset::$0 ] +reg byte a [ vera_layer_get_rowshift::return#0 ] +reg byte a [ vera_layer_get_rowskip::$0 ] +reg byte a [ vera_layer_set_config::$0 ] +reg byte a [ vera_layer_set_tilebase::$0 ] +zp[2]:78 [ vera_layer_set_tilebase::addr#0 vera_layer_set_config::addr#0 ] +reg byte a [ vera_layer_get_backcolor::return#0 ] +reg byte a [ vera_layer_get_textcolor::return#0 ] +reg byte a [ vera_layer_get_color::return#3 ] +reg byte x [ cputc::color#0 ] +reg byte a [ cputc::$15 ] +reg byte a [ cputc::$2 ] +reg byte a [ cputc::$4 ] +reg byte a [ cputc::$5 ] +reg byte a [ cputc::$6 ] +reg byte a [ cputc::scroll_enable#0 ] +reg byte a [ mul16u::$1 ] +reg byte a [ memset_vram::$0 ] +reg byte a [ memset_vram::$1 ] +reg byte a [ memset_vram::$2 ] +zp[2]:80 [ bitmap_line_ydxi::$6 bitmap_init::$13 ] +zp[2]:82 [ bitmap_line_xdyi::$6 bitmap_init::$25 bitmap_init::$35 ] +zp[2]:84 [ bitmap_line_ydxd::$6 bitmap_init::$36 ] +zp[2]:86 [ bitmap_line_xdyd::$6 bitmap_init::$37 ] +reg byte a [ divr16u::$1 ] +reg byte a [ divr16u::$2 ] +zp[2]:88 [ rem16u#0 ] +reg byte a [ vera_layer_get_color::$3 ] +reg byte a [ vera_layer_get_color::$0 ] +reg byte a [ vera_layer_get_color::$1 ] +reg byte a [ cputln::$2 ] +zp[2]:90 [ cputln::temp#0 cputln::temp#1 bitmap_init::$39 bitmap_line_xdyd::e#3 bitmap_line_xdyd::e#0 bitmap_line_xdyd::e#6 bitmap_line_xdyd::e#2 bitmap_line_xdyd::e#1 bitmap_line_ydxd::e#3 bitmap_line_ydxd::e#0 bitmap_line_ydxd::e#6 bitmap_line_ydxd::e#2 bitmap_line_ydxd::e#1 bitmap_line_xdyi::e#3 bitmap_line_xdyi::e#0 bitmap_line_xdyi::e#6 bitmap_line_xdyi::e#2 bitmap_line_xdyi::e#1 bitmap_line_ydxi::e#3 bitmap_line_ydxi::e#0 bitmap_line_ydxi::e#6 bitmap_line_ydxi::e#2 bitmap_line_ydxi::e#1 ] +reg byte a [ cputln::$3 ] +zp[2]:92 [ bitmap_plot::$9 bitmap_plot::$12 bitmap_init::$40 ] +zp[4]:94 [ bitmap_plot::plot_x#0 bitmap_plot::vera_vram_address01_bankaddr#0 mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 bitmap_clear::count#0 memset_vram::num#0 bitmap_init::yoffs#2 bitmap_init::yoffs#0 bitmap_init::yoffs#1 ] +zp[2]:98 [ bitmap_plot::$10 bitmap_plot::$13 bitmap_init::hdelta#0 ] +zp[4]:100 [ bitmap_plot::plot_y#0 memset_vram::i#2 memset_vram::i#1 mul16u::mb#2 mul16u::mb#0 mul16u::mb#1 ] +zp[2]:104 [ bitmap_plot::$14 bitmap_init::$28 bitmap_init::$41 ] +reg byte a [ bitmap_plot::bitshift#0 ] +reg byte a [ bitmap_plot::vera_vram_address01_$1 ] +zp[2]:106 [ bitmap_plot::vera_vram_address01_$2 rand::$2 bitmap_init::$24 bitmap_init::$32 ] +reg byte a [ bitmap_plot::vera_vram_address01_$3 ] +zp[2]:108 [ bitmap_plot::vera_vram_address01_$4 cputc::conio_addr#0 cputc::conio_addr#1 bitmap_init::$33 ] +reg byte a [ bitmap_plot::vera_vram_address01_$6 ] +zp[2]:110 [ bitmap_plot::$15 cputc::$16 bitmap_init::$34 ] +reg byte a [ bitmap_plot::$6 ] +reg byte a [ bitmap_plot::$7 ] +reg byte a [ bitmap_plot::$8 ] +zp[1]:112 [ insertup::cy#0 ] +zp[1]:113 [ insertup::width#0 ] +reg byte a [ insertup::$3 ] +reg byte a [ clearline::$5 ] +zp[2]:114 [ clearline::addr#0 bitmap_plot::vera_vram_address01_$0 vera_layer_get_color::addr#0 bitmap_init::$26 bitmap_init::$38 ] +reg byte a [ clearline::$1 ] +reg byte a [ clearline::$2 ] +reg byte a [ vera_layer_get_color::return#4 ] +reg byte x [ clearline::color#0 ] diff --git a/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.asm b/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.asm new file mode 100644 index 000000000..03520d261 --- /dev/null +++ b/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.asm @@ -0,0 +1,2322 @@ +// Example program for the Commander X16. +// Demonstrates the usage of the VERA tile map modes and layering. +.cpu _65c02 + // Commodore 64 PRG executable file +.file [name="tilemap_8bpp_16_x_16.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$0801] +.segmentdef Code [start=$80d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(__start) + // The colors of the CX16 + .const BLACK = 0 + .const WHITE = 1 + .const BLUE = 6 + .const VERA_INC_1 = $10 + .const VERA_ADDRSEL = 1 + .const VERA_LAYER1_ENABLE = $20 + .const VERA_LAYER0_ENABLE = $10 + .const VERA_LAYER_WIDTH_64 = $10 + .const VERA_LAYER_WIDTH_128 = $20 + .const VERA_LAYER_WIDTH_256 = $30 + .const VERA_LAYER_WIDTH_MASK = $30 + .const VERA_LAYER_HEIGHT_64 = $40 + .const VERA_LAYER_HEIGHT_128 = $80 + .const VERA_LAYER_HEIGHT_256 = $c0 + .const VERA_LAYER_HEIGHT_MASK = $c0 + // Bit 0-1: Color Depth (0: 1 bpp, 1: 2 bpp, 2: 4 bpp, 3: 8 bpp) + .const VERA_LAYER_COLOR_DEPTH_1BPP = 0 + .const VERA_LAYER_COLOR_DEPTH_2BPP = 1 + .const VERA_LAYER_COLOR_DEPTH_4BPP = 2 + .const VERA_LAYER_COLOR_DEPTH_8BPP = 3 + .const VERA_LAYER_CONFIG_256C = 8 + .const VERA_TILEBASE_WIDTH_16 = 1 + .const VERA_TILEBASE_HEIGHT_16 = 2 + .const VERA_LAYER_TILEBASE_MASK = $fc + .const SIZEOF_POINTER = 2 + // $9F20 VRAM Address (7:0) + .label VERA_ADDRX_L = $9f20 + // $9F21 VRAM Address (15:8) + .label VERA_ADDRX_M = $9f21 + // $9F22 VRAM Address (7:0) + // Bit 4-7: Address Increment The following is the amount incremented per value value:increment + // 0:0, 1:1, 2:2, 3:4, 4:8, 5:16, 6:32, 7:64, 8:128, 9:256, 10:512, 11:40, 12:80, 13:160, 14:320, 15:640 + // Bit 3: DECR Setting the DECR bit, will decrement instead of increment by the value set by the 'Address Increment' field. + // Bit 0: VRAM Address (16) + .label VERA_ADDRX_H = $9f22 + // $9F23 DATA0 VRAM Data port 0 + .label VERA_DATA0 = $9f23 + // $9F24 DATA1 VRAM Data port 1 + .label VERA_DATA1 = $9f24 + // $9F25 CTRL Control + // Bit 7: Reset + // Bit 1: DCSEL + // Bit 2: ADDRSEL + .label VERA_CTRL = $9f25 + // $9F29 DC_VIDEO (DCSEL=0) + // Bit 7: Current Field Read-only bit which reflects the active interlaced field in composite and RGB modes. (0: even, 1: odd) + // Bit 6: Sprites Enable Enable output from the Sprites renderer + // Bit 5: Layer1 Enable Enable output from the Layer1 renderer + // Bit 4: Layer0 Enable Enable output from the Layer0 renderer + // Bit 2: Chroma Disable Setting 'Chroma Disable' disables output of chroma in NTSC composite mode and will give a better picture on a monochrome display. (Setting this bit will also disable the chroma output on the S-video output.) + // Bit 0-1: Output Mode 0: Video disabled, 1: VGA output, 2: NTSC composite, 3: RGB interlaced, composite sync (via VGA connector) + .label VERA_DC_VIDEO = $9f29 + // $9F2A DC_HSCALE (DCSEL=0) Active Display H-Scale + .label VERA_DC_HSCALE = $9f2a + // $9F2B DC_VSCALE (DCSEL=0) Active Display V-Scale + .label VERA_DC_VSCALE = $9f2b + // $9F2D L0_CONFIG Layer 0 Configuration + .label VERA_L0_CONFIG = $9f2d + // $9F2E L0_MAPBASE Layer 0 Map Base Address (16:9) + .label VERA_L0_MAPBASE = $9f2e + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L0_TILEBASE = $9f2f + // $9F34 L1_CONFIG Layer 1 Configuration + .label VERA_L1_CONFIG = $9f34 + // $9F35 L1_MAPBASE Layer 1 Map Base Address (16:9) + .label VERA_L1_MAPBASE = $9f35 + // $9F36 L1_TILEBASE Layer 1 Tile Base + // Bit 2-7: Tile Base Address (16:11) + // Bit 1: Tile Height (0:8 pixels, 1:16 pixels) + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L1_TILEBASE = $9f36 + // Variable holding the screen width; + .label conio_screen_width = $1d + // Variable holding the screen height; + .label conio_screen_height = $1e + // Variable holding the screen layer on the VERA card with which conio interacts; + .label conio_screen_layer = $1f + // Variables holding the current map width and map height of the layer. + .label conio_width = $20 + .label conio_height = $22 + .label conio_rowshift = $24 + .label conio_rowskip = $25 + .label CONIO_SCREEN_BANK = $27 + // The screen width + // The screen height + // The text screen base address, which is a 16:0 bit value in VERA VRAM. + // That is 128KB addressable space, thus 17 bits in total. + // CONIO_SCREEN_TEXT contains bits 15:0 of the address. + // CONIO_SCREEN_BANK contains bit 16, the the 64K memory bank in VERA VRAM (the upper 17th bit). + // !!! note that these values are not const for the cx16! + // This conio implements the two layers of VERA, which can be layer 0 or layer 1. + // Configuring conio to output to a different layer, will change these fields to the address base + // configured using VERA_L0_MAPBASE = 0x9f2e or VERA_L1_MAPBASE = 0x9f35. + // Using the function setscreenlayer(layer) will re-calculate using CONIO_SCREEN_TEXT and CONIO_SCREEN_BASE + // based on the values of VERA_L0_MAPBASE or VERA_L1_MAPBASE, mapping the base address of the selected layer. + // The function setscreenlayermapbase(layer,mapbase) allows to configure bit 16:9 of the + // mapbase address of the time map in VRAM of the selected layer VERA_L0_MAPBASE or VERA_L1_MAPBASE. + .label CONIO_SCREEN_TEXT = $28 +.segment Code +__start: { + // conio_screen_width = 0 + lda #0 + sta.z conio_screen_width + // conio_screen_height = 0 + sta.z conio_screen_height + // conio_screen_layer = 1 + lda #1 + sta.z conio_screen_layer + // conio_width = 0 + lda #<0 + sta.z conio_width + sta.z conio_width+1 + // conio_height = 0 + sta.z conio_height + sta.z conio_height+1 + // conio_rowshift = 0 + sta.z conio_rowshift + // conio_rowskip = 0 + sta.z conio_rowskip + sta.z conio_rowskip+1 + // #pragma constructor_for(conio_x16_init, cputc, clrscr, cscroll) + jsr conio_x16_init + jsr main + rts +} +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // line = *BASIC_CURSOR_LINE + lda BASIC_CURSOR_LINE + sta.z line + // vera_layer_mode_text(1,(dword)0x00000,(dword)0x0F800,128,64,8,8,16) + jsr vera_layer_mode_text + // screensize(&conio_screen_width, &conio_screen_height) + jsr screensize + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(1, WHITE) + ldx #1 + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(1, BLUE) + lda #BLUE + ldx #1 + jsr vera_layer_set_backcolor + // vera_layer_set_mapbase(0,0x20) + ldx #$20 + lda #0 + jsr vera_layer_set_mapbase + // vera_layer_set_mapbase(1,0x00) + ldx #0 + lda #1 + jsr vera_layer_set_mapbase + // if(line>=CONIO_HEIGHT) + lda.z line + cmp.z conio_screen_height + bcc __b1 + // line=CONIO_HEIGHT-1 + ldx.z conio_screen_height + dex + stx.z line + __b1: + // gotoxy(0, line) + ldx.z line + jsr gotoxy + // } + rts +} +main: { + .label tilebase = 3 + .label t = 5 + .label tile = 8 + .label c = $a + // Draw 4 squares with each tile, starting from row 4, width 1, height 1, separated by 2 characters. + .label row = 6 + .label r = 7 + .label column1 = $c + .label r1 = $b + // memcpy_in_vram(1, 0xF000, VERA_INC_1, 0, 0xF800, VERA_INC_1, 256*8) + // Before we can load the tiles into memory we need to re-arrange a few things! + // The amount of tiles is 256, the color depth is 256, so each tile is 256 bytes! + // That is 65356 bytes of memory, which is 64K. Yup! One memory bank in VRAM. + // VERA VRAM holds in bank 1 many registers that interfere loading all of this data. + // So it is better to load all in bank 0, but then there is an other issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x10000. + // This is now all easily done with a few statements in the new kickc vera lib ... + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + lda #1 + sta.z memcpy_in_vram.dest_bank + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + ldy #0 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // vera_layer_mode_tile(1, 0x10000, 0x1F000, 128, 64, 8, 8, 1) + // We copy the 128 character set of 8 bytes each. + lda #8 + sta.z vera_layer_mode_tile.tileheight + sta.z vera_layer_mode_tile.tilewidth + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #<$10000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$10000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + lda #1 + sta.z vera_layer_mode_tile.layer + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + ldx #1 + jsr vera_layer_mode_tile + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #BLACK + jsr vera_layer_set_backcolor + // clrscr() + jsr clrscr + // vera_layer_mode_tile(0, 0x14000, 0x00000, 64, 64, 16, 16, 8) + // Now we can use the full bank 0! + // We set the mapbase of the tile demo to output to 0x12000, + // and the tilebase is set to 0x0000! + lda #$10 + sta.z vera_layer_mode_tile.tileheight + sta.z vera_layer_mode_tile.tilewidth + lda #0 + sta.z vera_layer_mode_tile.tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + sta.z vera_layer_mode_tile.tilebase_address+2 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + lda #0 + sta.z vera_layer_mode_tile.layer + lda #<$40 + sta.z vera_layer_mode_tile.mapwidth + lda #>$40 + sta.z vera_layer_mode_tile.mapwidth+1 + ldx #8 + jsr vera_layer_mode_tile + // memcpy_to_vram(0, tilebase, tiles, 256) + lda #<0 + sta.z memcpy_to_vram.vdest + sta.z memcpy_to_vram.vdest+1 + jsr memcpy_to_vram + lda #1 + sta.z t + lda #<$100 + sta.z tilebase + lda #>$100 + sta.z tilebase+1 + __b1: + ldx #0 + __b2: + // tiles[p]+=1 + lda tiles,x + inc + sta tiles,x + // for(byte p:0..255) + inx + cpx #0 + bne __b2 + // memcpy_to_vram(0, tilebase, tiles, 256) + lda.z tilebase + sta.z memcpy_to_vram.vdest + lda.z tilebase+1 + sta.z memcpy_to_vram.vdest+1 + jsr memcpy_to_vram + // tilebase+=256 + clc + lda.z tilebase + adc #<$100 + sta.z tilebase + lda.z tilebase+1 + adc #>$100 + sta.z tilebase+1 + // for(byte t:1..255) + inc.z t + lda.z t + cmp #0 + bne __b1 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + //vera_tile_area(byte layer, word tileindex, byte x, byte y, byte w, byte h, byte hflip, byte vflip, byte offset) + lda #$28 + sta.z vera_tile_area.w + lda #$1e + sta.z vera_tile_area.h + lda #0 + sta.z vera_tile_area.x + sta.z vera_tile_area.y + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + lda #0 + sta.z r + lda #1 + sta.z row + lda #<0 + sta.z tile + sta.z tile+1 + __b5: + lda #0 + sta.z c + tax + __b6: + // vera_tile_area(0, tile, column, row, 1, 1, 0, 0, 0) + stx.z vera_tile_area.x + lda #1 + sta.z vera_tile_area.w + sta.z vera_tile_area.h + jsr vera_tile_area + // column+=2 + inx + inx + // tile++; + inc.z tile + bne !+ + inc.z tile+1 + !: + // tile &= 0xff + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // for(byte c:0..19) + inc.z c + lda #$14 + cmp.z c + bne __b6 + // row += 2 + lda.z row + clc + adc #2 + sta.z row + // for(byte r:0..11) + inc.z r + lda #$c + cmp.z r + bne __b5 + // gotoxy(0,50) + ldx #$32 + jsr gotoxy + // printf("vera in tile mode 8 x 8, color depth 8 bits per pixel.\n") + lda #s + sta.z cputs.s+1 + jsr cputs + // printf("in this mode, tiles are 8 pixels wide and 8 pixels tall.\n") + lda #s1 + sta.z cputs.s+1 + jsr cputs + // printf("each tile can have a variation of 256 colors.\n") + lda #s2 + sta.z cputs.s+1 + jsr cputs + // printf("the vera palette of 256 colors, can be used by setting the palette\n") + lda #s3 + sta.z cputs.s+1 + jsr cputs + // printf("offset for each tile.\n") + lda #s4 + sta.z cputs.s+1 + jsr cputs + // printf("here each column is displaying the same tile, but with different offsets!\n") + lda #s5 + sta.z cputs.s+1 + jsr cputs + // printf("each offset aligns to multiples of 16 colors in the palette!.\n") + lda #s6 + sta.z cputs.s+1 + jsr cputs + // printf("however, the first color will always be transparent (black).\n") + lda #s7 + sta.z cputs.s+1 + jsr cputs + // *VERA_DC_VIDEO |= vera_layer_enable[layer] + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + __b9: + // kbhit() + jsr kbhit + // while(!kbhit()) + cmp #0 + beq __b9 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + lda #$28 + sta.z vera_tile_area.w + lda #$1e + sta.z vera_tile_area.h + lda #0 + sta.z vera_tile_area.x + sta.z vera_tile_area.y + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + lda #0 + sta.z r1 + sta.z row + sta.z tile + sta.z tile+1 + __b11: + ldx #0 + txa + sta.z column1 + __b12: + // vera_tile_area(0, tile, column, row, 2, 2, 0, 0, 0) + lda #2 + sta.z vera_tile_area.w + sta.z vera_tile_area.h + jsr vera_tile_area + // column+=2 + lda.z column1 + clc + adc #2 + sta.z column1 + // tile++; + inc.z tile + bne !+ + inc.z tile+1 + !: + // tile &= 0xff + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // for(byte c:0..19) + inx + cpx #$14 + bne __b12 + // row += 2 + lda.z row + clc + adc #2 + sta.z row + // for(byte r:0..11) + inc.z r1 + lda #$c + cmp.z r1 + bne __b11 + __b14: + // kbhit() + jsr kbhit + // while(!kbhit()) + cmp #0 + beq __b14 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + // Now put back the defaults ... + lda #$28 + sta.z vera_tile_area.w + lda #$1e + sta.z vera_tile_area.h + lda #0 + sta.z vera_tile_area.x + sta.z vera_tile_area.y + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // ~vera_layer_enable[layer] + lda vera_layer_enable + eor #$ff + // *VERA_DC_VIDEO &= ~vera_layer_enable[layer] + and VERA_DC_VIDEO + sta VERA_DC_VIDEO + // memcpy_in_vram(0, 0xF800, VERA_INC_1, 1, 0xF000, VERA_INC_1, 256*8) + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + lda #0 + sta.z memcpy_in_vram.dest_bank + lda #<$f800 + sta.z memcpy_in_vram.dest + lda #>$f800 + sta.z memcpy_in_vram.dest+1 + ldy #1 + lda #<$f000 + sta.z memcpy_in_vram.src + lda #>$f000 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // vera_layer_mode_tile(1, 0x00000, 0x0F800, 128, 128, 8, 8, 1) + lda #8 + sta.z vera_layer_mode_tile.tileheight + sta.z vera_layer_mode_tile.tilewidth + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + lda #1 + sta.z vera_layer_mode_tile.layer + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + ldx #1 + jsr vera_layer_mode_tile + // vera_layer_mode_tile(0, 0x00000, 0x0F800, 128, 128, 8, 8, 1) + lda #8 + sta.z vera_layer_mode_tile.tileheight + sta.z vera_layer_mode_tile.tilewidth + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + lda #0 + sta.z vera_layer_mode_tile.layer + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + ldx #1 + jsr vera_layer_mode_tile + // screenlayer(1) + jsr screenlayer + // vera_layer_set_textcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + jsr vera_layer_set_textcolor + // vera_layer_set_backcolor(conio_screen_layer, color) + ldx.z conio_screen_layer + lda #BLUE + jsr vera_layer_set_backcolor + // clrscr() + jsr clrscr + // } + rts + .segment Data + tiles: .byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + s: .text @"vera in tile mode 8 x 8, color depth 8 bits per pixel.\n" + .byte 0 + s1: .text @"in this mode, tiles are 8 pixels wide and 8 pixels tall.\n" + .byte 0 + s2: .text @"each tile can have a variation of 256 colors.\n" + .byte 0 + s3: .text @"the vera palette of 256 colors, can be used by setting the palette\n" + .byte 0 + s4: .text @"offset for each tile.\n" + .byte 0 + s5: .text @"here each column is displaying the same tile, but with different offsets!\n" + .byte 0 + s6: .text @"each offset aligns to multiples of 16 colors in the palette!.\n" + .byte 0 + s7: .text @"however, the first color will always be transparent (black).\n" + .byte 0 +} +.segment Code +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // vera_layer_mode_tile( layer, mapbase_address, tilebase_address, mapwidth, mapheight, tilewidth, tileheight, 1 ) + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + lda #layer + sta.z vera_layer_mode_tile.layer + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + ldx #1 + jsr vera_layer_mode_tile + // vera_layer_set_text_color_mode( layer, VERA_LAYER_CONFIG_16C ) + jsr vera_layer_set_text_color_mode + // } + rts +} +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // hscale = (*VERA_DC_HSCALE) >> 7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // 40 << hscale + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *x = 40 << hscale + sta.z x + // vscale = (*VERA_DC_VSCALE) >> 7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // 30 << vscale + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *y = 30 << vscale + sta.z y + // } + rts +} +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $34 + .label __4 = $2c + .label __5 = $31 + .label vera_layer_get_width1_config = $2a + .label vera_layer_get_width1_return = $34 + .label vera_layer_get_height1_config = $2e + .label vera_layer_get_height1_return = $31 + // conio_screen_layer = layer + lda #1 + sta.z conio_screen_layer + // vera_layer_get_mapbase_bank(conio_screen_layer) + tax + jsr vera_layer_get_mapbase_bank + sta.z CONIO_SCREEN_BANK + // vera_layer_get_mapbase_offset(conio_screen_layer) + lda.z conio_screen_layer + jsr vera_layer_get_mapbase_offset + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // vera_layer_get_width(conio_screen_layer) + lda.z conio_screen_layer + // config = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // *config & VERA_LAYER_WIDTH_MASK + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // (*config & VERA_LAYER_WIDTH_MASK) >> 4 + lsr + lsr + lsr + lsr + // return VERA_LAYER_WIDTH[ (*config & VERA_LAYER_WIDTH_MASK) >> 4]; + asl + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + // } + // vera_layer_get_width(conio_screen_layer) + // conio_width = vera_layer_get_width(conio_screen_layer) + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // vera_layer_get_rowshift(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_rowshift + // conio_rowshift = vera_layer_get_rowshift(conio_screen_layer) + sta.z conio_rowshift + // vera_layer_get_rowskip(conio_screen_layer) + lda.z conio_screen_layer + jsr vera_layer_get_rowskip + // conio_rowskip = vera_layer_get_rowskip(conio_screen_layer) + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // vera_layer_get_height(conio_screen_layer) + lda.z conio_screen_layer + // config = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // *config & VERA_LAYER_HEIGHT_MASK + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // (*config & VERA_LAYER_HEIGHT_MASK) >> 6 + rol + rol + rol + and #3 + // return VERA_LAYER_HEIGHT[ (*config & VERA_LAYER_HEIGHT_MASK) >> 6]; + asl + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + // } + // vera_layer_get_height(conio_screen_layer) + // conio_height = vera_layer_get_height(conio_screen_layer) + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + // } + rts +} +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer) +vera_layer_set_textcolor: { + // vera_layer_textcolor[layer] = color + lda #WHITE + sta vera_layer_textcolor,x + // } + rts +} +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // vera_layer_backcolor[layer] = color + sta vera_layer_backcolor,x + // } + rts +} +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $34 + // addr = vera_layer_mapbase[layer] + asl + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // *addr = mapbase + txa + ldy #0 + sta (addr),y + // } + rts +} +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $2c + .label line_offset = $2c + // if(y>CONIO_HEIGHT) + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b1 + ldx #0 + __b1: + // if(x>=CONIO_WIDTH) + lda.z conio_screen_width + // conio_cursor_x[conio_screen_layer] = x + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer] = y + txa + sta conio_cursor_y,y + // (unsigned int)y << conio_rowshift + txa + sta.z __6 + lda #0 + sta.z __6+1 + // line_offset = (unsigned int)y << conio_rowshift + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // conio_line_text[conio_screen_layer] = line_offset + lda.z conio_screen_layer + asl + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + // } + rts +} +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte zp($18) dest_bank, void* zp($47) dest, byte register(Y) src_bank, byte* zp($45) src, word zp($4d) num) +memcpy_in_vram: { + .label i = $49 + .label dest = $47 + .label src = $45 + .label num = $4d + .label dest_bank = $18 + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // src + lda.z src+1 + // *VERA_ADDRX_M = >src + sta VERA_ADDRX_M + // src_increment | src_bank + tya + ora #VERA_INC_1 + // *VERA_ADDRX_H = src_increment | src_bank + sta VERA_ADDRX_H + // *VERA_CTRL |= VERA_ADDRSEL + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // dest + lda.z dest+1 + // *VERA_ADDRX_M = >dest + sta VERA_ADDRX_M + // dest_increment | dest_bank + lda #VERA_INC_1 + ora.z dest_bank + // *VERA_ADDRX_H = dest_increment | dest_bank + sta VERA_ADDRX_H + lda #<0 + sta.z i + sta.z i+1 + // Transfer the data + __b1: + // for(unsigned int i=0; i$100 + bne __b13 + lda.z mapwidth + cmp #<$100 + bne __b13 + // config |= VERA_LAYER_WIDTH_256 + txa + ora #VERA_LAYER_WIDTH_256 + tax + // vera_layer_rowshift[layer] = 9 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 512 + tya + asl + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + __b13: + // case 32: + // config |= VERA_LAYER_HEIGHT_32; + // break; + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b20 + !: + // case 64: + // config |= VERA_LAYER_HEIGHT_64; + // break; + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b17 + !: + // case 128: + // config |= VERA_LAYER_HEIGHT_128; + // break; + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b18 + !: + // case 256: + // config |= VERA_LAYER_HEIGHT_256; + // break; + lda.z mapheight+1 + cmp #>$100 + bne __b20 + lda.z mapheight + cmp #<$100 + bne __b20 + // config |= VERA_LAYER_HEIGHT_256 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + __b20: + // vera_layer_set_config(layer, config) + lda.z layer + jsr vera_layer_set_config + // mapbase_address + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // vera_mapbase_bank[layer] = (byte)(>mapbase_address) + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // vera_mapbase_address[layer] = mapbase_address + tya + asl + asl + sta.z __20 + tay + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // mapbase_address = mapbase_address >> 1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // (tilebase_address + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // vera_tilebase_bank[layer] = (byte)>tilebase_address + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // vera_tilebase_address[layer] = tilebase_address + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // tilebase_address = tilebase_address >> 1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // ($100 + sta vera_layer_rowskip+1,y + jmp __b13 + __b10: + // config |= VERA_LAYER_WIDTH_64 + txa + ora #VERA_LAYER_WIDTH_64 + tax + // vera_layer_rowshift[layer] = 7 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 128 + tya + asl + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13 + __b9: + // vera_layer_rowshift[layer] = 6 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 64 + tya + asl + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13 +} +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3a + .label line_text = $45 + .label color = $3a + // line_text = CONIO_SCREEN_TEXT + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // vera_layer_get_backcolor(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_backcolor + // vera_layer_get_backcolor(conio_screen_layer) << 4 + asl + asl + asl + asl + sta.z __1 + // vera_layer_get_textcolor(conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_textcolor + // color = ( vera_layer_get_backcolor(conio_screen_layer) << 4 ) | vera_layer_get_textcolor(conio_screen_layer) + ora.z color + sta.z color + ldx #0 + __b1: + // for( char l=0;lch + lda.z line_text+1 + // *VERA_ADDRX_M = >ch + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + sta VERA_ADDRX_H + ldy #0 + __b4: + // for( char c=0;cvdest + lda.z vdest+1 + // *VERA_ADDRX_M = >vdest + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 | vbank + lda #VERA_INC_1 + sta VERA_ADDRX_H + lda #main.tiles + sta.z s+1 + __b1: + // for(char *s = src; s!=end; s++) + lda.z s+1 + cmp #>end + bne __b2 + lda.z s + cmp #1+1 + sta.z rowskip+1 + cpy #0 + beq !e+ + !: + asl.z rowskip + rol.z rowskip+1 + dey + bne !- + !e: + // hflip = vera_layer_hflip[hflip] + lda vera_layer_hflip + sta.z hflip + // vflip = vera_layer_vflip[vflip] + lda vera_layer_vflip + sta.z vflip + // index_l = tileindex + lda.z tileindex+1 + // index_h |= hflip + ora.z hflip + // index_h |= vflip + ora.z index_h + sta.z index_h + // (word)y << shift + lda.z y + sta.z __10 + lda #0 + sta.z __10+1 + ldy.z shift + beq !e+ + !: + asl.z __4 + rol.z __4+1 + dey + bne !- + !e: + // mapbase += ((word)y << shift) + lda.z mapbase + clc + adc.z __4 + sta.z mapbase + lda.z mapbase+1 + adc.z __4+1 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + // x << 1 + lda.z x + asl + // mapbase += (x << 1) + clc + adc.z mapbase + sta.z mapbase + lda.z mapbase+1 + adc #0 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + lda #0 + sta.z r + __b1: + // for(byte r=0; r((bankaddr + lda.z mapbase+2 + sta.z vera_vram_address01___4 + lda.z mapbase+3 + sta.z vera_vram_address01___4+1 + // <(>bankaddr) + lda.z vera_vram_address01___4 + // <(>bankaddr) | incr + ora #VERA_INC_1 + // *VERA_ADDRX_H = <(>bankaddr) | incr + sta VERA_ADDRX_H + ldy #0 + __b2: + // for(byte c=0; c$0000 + rts + + continue1: + nop + + // return ch; + // } + rts +} +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $41 + // addr = vera_layer_config[layer] + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // *addr &= ~VERA_LAYER_CONFIG_256C + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + sta (addr),y + // *addr |= color_mode + lda (addr),y + sta (addr),y + // } + rts +} +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // return vera_mapbase_bank[layer]; + lda vera_mapbase_bank,x + // } + rts +} +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $2c + // return vera_mapbase_offset[layer]; + asl + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + // } + rts +} +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // return vera_layer_rowshift[layer]; + lda vera_layer_rowshift,x + // } + rts +} +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $2c + // return vera_layer_rowskip[layer]; + asl + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + // } + rts +} +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $43 + // addr = vera_layer_config[layer] + asl + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr = config + txa + ldy #0 + sta (addr),y + // } + rts +} +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $43 + // addr = vera_layer_tilebase[layer] + asl + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // *addr = tilebase + txa + ldy #0 + sta (addr),y + // } + rts +} +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // return vera_layer_backcolor[layer]; + lda vera_layer_backcolor,x + // } + rts +} +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // return vera_layer_textcolor[layer]; + lda vera_layer_textcolor,x + // } + rts +} +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3f) c) +cputc: { + .label __16 = $47 + .label conio_addr = $45 + .label c = $3f + // vera_layer_get_color( conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // color = vera_layer_get_color( conio_screen_layer) + tax + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // conio_addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // conio_cursor_x[conio_screen_layer] << 1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // conio_addr += conio_cursor_x[conio_screen_layer] << 1 + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // if(c=='\n') + lda #'\n' + cmp.z c + beq __b1 + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // conio_addr + lda.z conio_addr+1 + // *VERA_ADDRX_M = >conio_addr + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + sta VERA_ADDRX_H + // *VERA_DATA0 = c + lda.z c + sta VERA_DATA0 + // *VERA_DATA0 = color + stx VERA_DATA0 + // conio_cursor_x[conio_screen_layer]++; + ldx.z conio_screen_layer + inc conio_cursor_x,x + // scroll_enable = conio_scroll_enable[conio_screen_layer] + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // if(scroll_enable) + cmp #0 + bne __b5 + // (unsigned int)conio_cursor_x[conio_screen_layer] == conio_width + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // if((unsigned int)conio_cursor_x[conio_screen_layer] == conio_width) + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // cputln() + jsr cputln + __breturn: + // } + rts + __b5: + // if(conio_cursor_x[conio_screen_layer] == CONIO_WIDTH) + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // cputln() + jsr cputln + rts + __b1: + // cputln() + jsr cputln + rts +} +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $4d + // addr = vera_layer_config[layer] + txa + asl + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr & VERA_LAYER_CONFIG_256C + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // if( *addr & VERA_LAYER_CONFIG_256C ) + cmp #0 + bne __b1 + // vera_layer_backcolor[layer] << 4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // return ((vera_layer_backcolor[layer] << 4) | vera_layer_textcolor[layer]); + ora vera_layer_textcolor,x + // } + rts + __b1: + // return (vera_layer_textcolor[layer]); + lda vera_layer_textcolor,x + rts +} +// Print a newline +cputln: { + .label temp = $49 + // temp = conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // temp += conio_rowskip + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // conio_line_text[conio_screen_layer] = temp + lda.z conio_screen_layer + asl + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // conio_cursor_x[conio_screen_layer] = 0 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer]++; + ldx.z conio_screen_layer + inc conio_cursor_y,x + // cscroll() + jsr cscroll + // } + rts +} +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // if(conio_cursor_y[conio_screen_layer]>=CONIO_HEIGHT) + ldy.z conio_screen_layer + lda conio_cursor_y,y + cmp.z conio_screen_height + bcc __b3 + // if(conio_scroll_enable[conio_screen_layer]) + lda conio_scroll_enable,y + cmp #0 + bne __b4 + // if(conio_cursor_y[conio_screen_layer]>=conio_height) + lda conio_cursor_y,y + ldy.z conio_height+1 + bne __b3 + cmp.z conio_height + __b3: + // } + rts + __b4: + // insertup() + jsr insertup + // gotoxy( 0, CONIO_HEIGHT-1) + ldx.z conio_screen_height + dex + jsr gotoxy + rts +} +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $4b + .label width = $4c + .label line = $47 + .label start = $47 + // cy = conio_cursor_y[conio_screen_layer] + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // width = CONIO_WIDTH * 2 + lda.z conio_screen_width + asl + sta.z width + ldx #1 + __b1: + // for(unsigned byte i=1; i<=cy; i++) + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // clearline() + jsr clearline + // } + rts + __b2: + // i-1 + txa + sec + sbc #1 + // line = (i-1) << conio_rowshift + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // start = CONIO_SCREEN_TEXT + line + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // start+conio_rowskip + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + sta.z memcpy_in_vram.dest_bank + tay + jsr memcpy_in_vram + // for(unsigned byte i=1; i<=cy; i++) + inx + jmp __b1 +} +clearline: { + .label addr = $4d + .label c = $49 + // *VERA_CTRL &= ~VERA_ADDRSEL + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + lda.z conio_screen_layer + asl + // addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // addr + lda.z addr+1 + // *VERA_ADDRX_M = >addr + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // vera_layer_get_color( conio_screen_layer) + ldx.z conio_screen_layer + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // color = vera_layer_get_color( conio_screen_layer) + tax + lda #<0 + sta.z c + sta.z c+1 + __b1: + // for( unsigned int c=0;c> 7 + [144] screensize::$1 = $28 << screensize::hscale#0 + [145] *screensize::x#0 = screensize::$1 + [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 + [147] screensize::$3 = $1e << screensize::vscale#0 + [148] *screensize::y#0 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + [149] return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@20 main::@38 + [150] conio_screen_layer = 1 + [151] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + [152] call vera_layer_get_mapbase_bank + [153] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + [154] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 + [155] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + [156] call vera_layer_get_mapbase_offset + [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 + [159] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 + [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 + [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + [168] conio_width = screenlayer::$2 + [169] vera_layer_get_rowshift::layer#0 = conio_screen_layer + [170] call vera_layer_get_rowshift + [171] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + [172] screenlayer::$3 = vera_layer_get_rowshift::return#2 + [173] conio_rowshift = screenlayer::$3 + [174] vera_layer_get_rowskip::layer#0 = conio_screen_layer + [175] call vera_layer_get_rowskip + [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 + [178] conio_rowskip = screenlayer::$4 + [179] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 + [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 + [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + [188] conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + [189] return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 + [190] vera_layer_set_textcolor::layer#3 = phi( conio_x16_init::@5/1, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2 ) + [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + [192] return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 + [193] vera_layer_set_backcolor::color#3 = phi( conio_x16_init::@6/BLUE, main::bgcolor1/BLACK, main::bgcolor2/BLUE ) + [193] vera_layer_set_backcolor::layer#3 = phi( conio_x16_init::@6/1, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2 ) + [194] vera_layer_backcolor[vera_layer_set_backcolor::layer#3] = vera_layer_set_backcolor::color#3 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + [195] return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@27 + [196] vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/$20, conio_x16_init::@8/0, vera_layer_mode_tile::@27/vera_layer_set_mapbase::mapbase#0 ) + [196] vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/0, conio_x16_init::@8/1, vera_layer_mode_tile::@27/vera_layer_set_mapbase::layer#0 ) + [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 + [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + [200] return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@8 + [201] gotoxy::y#4 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@8/$32 ) + [202] if(gotoxy::y#4<=conio_screen_height) goto gotoxy::@4 + to:gotoxy::@1 +gotoxy::@4: scope:[gotoxy] from gotoxy + [203] phi() + to:gotoxy::@1 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@4 + [204] gotoxy::y#5 = phi( gotoxy::@4/gotoxy::y#4, gotoxy/0 ) + [205] if(0 memcpy_in_vram::src#3 + [219] *VERA_ADDRX_M = memcpy_in_vram::$1 + [220] memcpy_in_vram::$2 = VERA_INC_1 | memcpy_in_vram::src_bank#3 + [221] *VERA_ADDRX_H = memcpy_in_vram::$2 + [222] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + [223] memcpy_in_vram::$3 = < memcpy_in_vram::dest#3 + [224] *VERA_ADDRX_L = memcpy_in_vram::$3 + [225] memcpy_in_vram::$4 = > memcpy_in_vram::dest#3 + [226] *VERA_ADDRX_M = memcpy_in_vram::$4 + [227] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#3 + [228] *VERA_ADDRX_H = memcpy_in_vram::$5 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + [229] memcpy_in_vram::i#2 = phi( memcpy_in_vram/0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + [230] if(memcpy_in_vram::i#2 vera_layer_mode_tile::mapbase_address#10 + [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 + [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 + [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 + [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 + [267] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + [268] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 + [269] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 + [270] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + [271] call vera_layer_set_mapbase + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@28: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@27 + [272] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 + [273] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 + [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 + [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 + [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 + [278] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + [279] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 + [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + [281] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@21 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + [282] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@22 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@21 + [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@23 +vera_layer_mode_tile::@23: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@28 + [284] vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilebase#3 ) + [285] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 + [286] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@25 +vera_layer_mode_tile::@25: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@26 +vera_layer_mode_tile::@26: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 vera_layer_mode_tile::@24 vera_layer_mode_tile::@25 + [288] vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#5 ) + [289] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 + [290] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + [291] call vera_layer_set_tilebase + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@26 + [292] return + to:@return +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@15 + [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@14 + [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@11: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@7 + [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 + [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 + [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 + [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@13 +vera_layer_mode_tile::@10: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@6 + [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 + [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 + [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 + [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@13 +vera_layer_mode_tile::@9: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@5 + [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 + [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 + [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@13 + +void clrscr() +clrscr: scope:[clrscr] from main::@16 main::@18 + [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 + [307] vera_layer_get_backcolor::layer#0 = conio_screen_layer + [308] call vera_layer_get_backcolor + [309] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + [310] clrscr::$0 = vera_layer_get_backcolor::return#2 + [311] clrscr::$1 = clrscr::$0 << 4 + [312] vera_layer_get_textcolor::layer#0 = conio_screen_layer + [313] call vera_layer_get_textcolor + [314] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + [315] clrscr::$2 = vera_layer_get_textcolor::return#2 + [316] clrscr::color#0 = clrscr::$1 | clrscr::$2 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + [317] clrscr::line_text#2 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#0 ) + [317] clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/0 ) + [318] if(clrscr::l#2 clrscr::line_text#2 + [328] *VERA_ADDRX_M = clrscr::$6 + [329] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [330] *VERA_ADDRX_H = clrscr::$7 + to:clrscr::@4 +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + [331] clrscr::c#2 = phi( clrscr::@2/0, clrscr::@5/clrscr::c#1 ) + [332] if(clrscr::c#2 memcpy_to_vram::vdest#2 + [343] *VERA_ADDRX_M = memcpy_to_vram::$1 + [344] *VERA_ADDRX_H = VERA_INC_1 + to:memcpy_to_vram::@1 +memcpy_to_vram::@1: scope:[memcpy_to_vram] from memcpy_to_vram memcpy_to_vram::@2 + [345] memcpy_to_vram::s#2 = phi( memcpy_to_vram/(byte*)(void*)main::tiles, memcpy_to_vram::@2/memcpy_to_vram::s#1 ) + [346] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 + to:memcpy_to_vram::@return +memcpy_to_vram::@return: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + [347] return + to:@return +memcpy_to_vram::@2: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + [348] *VERA_DATA0 = *memcpy_to_vram::s#2 + [349] memcpy_to_vram::s#1 = ++ memcpy_to_vram::s#2 + to:memcpy_to_vram::@1 + +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +vera_tile_area: scope:[vera_tile_area] from main::@10 main::@12 main::@15 main::@4 main::@6 + [350] vera_tile_area::w#11 = phi( main::@10/$28, main::@12/2, main::@15/$28, main::@4/$28, main::@6/1 ) + [350] vera_tile_area::h#6 = phi( main::@10/$1e, main::@12/2, main::@15/$1e, main::@4/$1e, main::@6/1 ) + [350] vera_tile_area::x#5 = phi( main::@10/0, main::@12/vera_tile_area::x#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::x#1 ) + [350] vera_tile_area::y#5 = phi( main::@10/0, main::@12/vera_tile_area::y#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::y#1 ) + [350] vera_tile_area::tileindex#5 = phi( main::@10/0, main::@12/vera_tile_area::tileindex#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::tileindex#1 ) + [351] vera_tile_area::mapbase#0 = *vera_mapbase_address + [352] vera_tile_area::shift#0 = *vera_layer_rowshift + [353] vera_tile_area::rowskip#0 = 1 << vera_tile_area::shift#0 + [354] vera_tile_area::hflip#0 = *vera_layer_hflip + [355] vera_tile_area::vflip#0 = *vera_layer_vflip + [356] vera_tile_area::index_l#0 = < vera_tile_area::tileindex#5 + [357] vera_tile_area::index_h#0 = > vera_tile_area::tileindex#5 + [358] vera_tile_area::index_h#1 = vera_tile_area::index_h#0 | vera_tile_area::hflip#0 + [359] vera_tile_area::index_h#2 = vera_tile_area::index_h#1 | vera_tile_area::vflip#0 + [360] vera_tile_area::$10 = (word)vera_tile_area::y#5 + [361] vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 + [362] vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 + [363] vera_tile_area::$5 = vera_tile_area::x#5 << 1 + [364] vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 + to:vera_tile_area::@1 +vera_tile_area::@1: scope:[vera_tile_area] from vera_tile_area vera_tile_area::@4 + [365] vera_tile_area::mapbase#10 = phi( vera_tile_area/vera_tile_area::mapbase#2, vera_tile_area::@4/vera_tile_area::mapbase#3 ) + [365] vera_tile_area::r#2 = phi( vera_tile_area/0, vera_tile_area::@4/vera_tile_area::r#1 ) + [366] if(vera_tile_area::r#2 vera_tile_area::vera_vram_address01_$2 + [374] *VERA_ADDRX_M = vera_tile_area::vera_vram_address01_$3 + [375] vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::mapbase#10 + [376] vera_tile_area::vera_vram_address01_$5 = < vera_tile_area::vera_vram_address01_$4 + [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 + [378] *VERA_ADDRX_H = vera_tile_area::vera_vram_address01_$6 + to:vera_tile_area::@2 +vera_tile_area::@2: scope:[vera_tile_area] from vera_tile_area::@3 vera_tile_area::vera_vram_address01 + [379] vera_tile_area::c#2 = phi( vera_tile_area::@3/vera_tile_area::c#1, vera_tile_area::vera_vram_address01/0 ) + [380] if(vera_tile_area::c#2$0000 + rts + + continue1: + nop + }} + [396] kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + [397] kbhit::return#1 = kbhit::return#0 + [398] return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@1 + [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) + [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + [402] return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + [403] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + [404] return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 + [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + [407] return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + [408] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + [409] return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 + [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + [412] return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_tile::@20 + [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 + [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + [416] return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_tile::@26 + [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 + [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + [420] return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + [421] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + [422] return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + [423] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + [424] return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + [425] vera_layer_get_color::layer#0 = conio_screen_layer + [426] call vera_layer_get_color + [427] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + [428] cputc::color#0 = vera_layer_get_color::return#3 + [429] cputc::$15 = conio_screen_layer << 1 + [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] + [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + [433] if(cputc::c#0==' +') goto cputc::@1 + to:cputc::@2 +cputc::@2: scope:[cputc] from cputc::@7 + [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [435] cputc::$4 = < cputc::conio_addr#1 + [436] *VERA_ADDRX_L = cputc::$4 + [437] cputc::$5 = > cputc::conio_addr#1 + [438] *VERA_ADDRX_M = cputc::$5 + [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [440] *VERA_ADDRX_H = cputc::$6 + [441] *VERA_DATA0 = cputc::c#0 + [442] *VERA_DATA0 = cputc::color#0 + [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + [445] if(0!=cputc::scroll_enable#0) goto cputc::@5 + to:cputc::@3 +cputc::@3: scope:[cputc] from cputc::@2 + [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + [447] if(cputc::$16!=conio_width) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + [448] phi() + [449] call cputln + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@1 cputc::@3 cputc::@4 cputc::@5 cputc::@6 + [450] return + to:@return +cputc::@5: scope:[cputc] from cputc::@2 + [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return + to:cputc::@6 +cputc::@6: scope:[cputc] from cputc::@5 + [452] phi() + [453] call cputln + to:cputc::@return +cputc::@1: scope:[cputc] from cputc::@7 + [454] phi() + [455] call cputln + to:cputc::@return + +byte vera_layer_get_color(byte vera_layer_get_color::layer) +vera_layer_get_color: scope:[vera_layer_get_color] from clearline cputc + [456] vera_layer_get_color::layer#2 = phi( clearline/vera_layer_get_color::layer#1, cputc/vera_layer_get_color::layer#0 ) + [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 + [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] + [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C + [460] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 + to:vera_layer_get_color::@2 +vera_layer_get_color::@2: scope:[vera_layer_get_color] from vera_layer_get_color + [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 + [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] + to:vera_layer_get_color::@return +vera_layer_get_color::@return: scope:[vera_layer_get_color] from vera_layer_get_color::@1 vera_layer_get_color::@2 + [463] vera_layer_get_color::return#2 = phi( vera_layer_get_color::@1/vera_layer_get_color::return#0, vera_layer_get_color::@2/vera_layer_get_color::return#1 ) + [464] return + to:@return +vera_layer_get_color::@1: scope:[vera_layer_get_color] from vera_layer_get_color + [465] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] + to:vera_layer_get_color::@return + +void cputln() +cputln: scope:[cputln] from cputc::@1 cputc::@4 cputc::@6 + [466] cputln::$2 = conio_screen_layer << 1 + [467] cputln::temp#0 = conio_line_text[cputln::$2] + [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip + [469] cputln::$3 = conio_screen_layer << 1 + [470] conio_line_text[cputln::$3] = cputln::temp#1 + [471] conio_cursor_x[conio_screen_layer] = 0 + [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] + [473] call cscroll + to:cputln::@return +cputln::@return: scope:[cputln] from cputln + [474] return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + [475] if(conio_cursor_y[conio_screen_layer] clearline::addr#0 + [506] *VERA_ADDRX_M = clearline::$2 + [507] *VERA_ADDRX_H = VERA_INC_1 + [508] vera_layer_get_color::layer#1 = conio_screen_layer + [509] call vera_layer_get_color + [510] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + [511] clearline::color#0 = vera_layer_get_color::return#4 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + [512] clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/0 ) + [513] if(clearline::c#2 memcpy_to_vram::vdest#2 + *VERA_ADDRX_M = memcpy_to_vram::$1 + memcpy_to_vram::$2 = VERA_INC_1 | memcpy_to_vram::vbank#2 + *VERA_ADDRX_H = memcpy_to_vram::$2 + memcpy_to_vram::$5 = (byte*)memcpy_to_vram::src#2 + memcpy_to_vram::$3 = memcpy_to_vram::$5 + memcpy_to_vram::num#2 + memcpy_to_vram::end#0 = memcpy_to_vram::$3 + memcpy_to_vram::s#0 = ((byte*)) memcpy_to_vram::src#2 + to:memcpy_to_vram::@1 +memcpy_to_vram::@1: scope:[memcpy_to_vram] from memcpy_to_vram memcpy_to_vram::@2 + memcpy_to_vram::end#1 = phi( memcpy_to_vram/memcpy_to_vram::end#0, memcpy_to_vram::@2/memcpy_to_vram::end#2 ) + memcpy_to_vram::s#2 = phi( memcpy_to_vram/memcpy_to_vram::s#0, memcpy_to_vram::@2/memcpy_to_vram::s#1 ) + memcpy_to_vram::$4 = memcpy_to_vram::s#2 != memcpy_to_vram::end#1 + if(memcpy_to_vram::$4) goto memcpy_to_vram::@2 + to:memcpy_to_vram::@return +memcpy_to_vram::@2: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + memcpy_to_vram::end#2 = phi( memcpy_to_vram::@1/memcpy_to_vram::end#1 ) + memcpy_to_vram::s#3 = phi( memcpy_to_vram::@1/memcpy_to_vram::s#2 ) + *VERA_DATA0 = *memcpy_to_vram::s#3 + memcpy_to_vram::s#1 = ++ memcpy_to_vram::s#3 + to:memcpy_to_vram::@1 +memcpy_to_vram::@return: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + return + to:@return + +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +memcpy_in_vram: scope:[memcpy_in_vram] from insertup::@2 main main::@18 + memcpy_in_vram::num#4 = phi( insertup::@2/memcpy_in_vram::num#0, main/memcpy_in_vram::num#1, main::@18/memcpy_in_vram::num#2 ) + memcpy_in_vram::dest_bank#3 = phi( insertup::@2/memcpy_in_vram::dest_bank#0, main/memcpy_in_vram::dest_bank#1, main::@18/memcpy_in_vram::dest_bank#2 ) + memcpy_in_vram::dest_increment#3 = phi( insertup::@2/memcpy_in_vram::dest_increment#0, main/memcpy_in_vram::dest_increment#1, main::@18/memcpy_in_vram::dest_increment#2 ) + memcpy_in_vram::dest#3 = phi( insertup::@2/memcpy_in_vram::dest#0, main/memcpy_in_vram::dest#1, main::@18/memcpy_in_vram::dest#2 ) + memcpy_in_vram::src_bank#3 = phi( insertup::@2/memcpy_in_vram::src_bank#0, main/memcpy_in_vram::src_bank#1, main::@18/memcpy_in_vram::src_bank#2 ) + memcpy_in_vram::src_increment#3 = phi( insertup::@2/memcpy_in_vram::src_increment#0, main/memcpy_in_vram::src_increment#1, main::@18/memcpy_in_vram::src_increment#2 ) + memcpy_in_vram::src#3 = phi( insertup::@2/memcpy_in_vram::src#0, main/memcpy_in_vram::src#1, main::@18/memcpy_in_vram::src#2 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + memcpy_in_vram::$0 = < memcpy_in_vram::src#3 + *VERA_ADDRX_L = memcpy_in_vram::$0 + memcpy_in_vram::$1 = > memcpy_in_vram::src#3 + *VERA_ADDRX_M = memcpy_in_vram::$1 + memcpy_in_vram::$2 = memcpy_in_vram::src_increment#3 | memcpy_in_vram::src_bank#3 + *VERA_ADDRX_H = memcpy_in_vram::$2 + *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + memcpy_in_vram::$3 = < memcpy_in_vram::dest#3 + *VERA_ADDRX_L = memcpy_in_vram::$3 + memcpy_in_vram::$4 = > memcpy_in_vram::dest#3 + *VERA_ADDRX_M = memcpy_in_vram::$4 + memcpy_in_vram::$5 = memcpy_in_vram::dest_increment#3 | memcpy_in_vram::dest_bank#3 + *VERA_ADDRX_H = memcpy_in_vram::$5 + memcpy_in_vram::i#0 = 0 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + memcpy_in_vram::num#3 = phi( memcpy_in_vram/memcpy_in_vram::num#4, memcpy_in_vram::@2/memcpy_in_vram::num#5 ) + memcpy_in_vram::i#2 = phi( memcpy_in_vram/memcpy_in_vram::i#0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + memcpy_in_vram::$6 = memcpy_in_vram::i#2 < memcpy_in_vram::num#3 + if(memcpy_in_vram::$6) goto memcpy_in_vram::@2 + to:memcpy_in_vram::@return +memcpy_in_vram::@2: scope:[memcpy_in_vram] from memcpy_in_vram::@1 + memcpy_in_vram::num#5 = phi( memcpy_in_vram::@1/memcpy_in_vram::num#3 ) + memcpy_in_vram::i#3 = phi( memcpy_in_vram::@1/memcpy_in_vram::i#2 ) + *VERA_DATA1 = *VERA_DATA0 + memcpy_in_vram::i#1 = ++ memcpy_in_vram::i#3 + to:memcpy_in_vram::@1 +memcpy_in_vram::@return: scope:[memcpy_in_vram] from memcpy_in_vram::@1 + return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_tile::@24 + vera_layer_set_config::config#1 = phi( vera_layer_mode_tile::@24/vera_layer_set_config::config#0 ) + vera_layer_set_config::layer#1 = phi( vera_layer_mode_tile::@24/vera_layer_set_config::layer#0 ) + vera_layer_set_config::$0 = vera_layer_set_config::layer#1 * SIZEOF_POINTER + vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + *vera_layer_set_config::addr#0 = vera_layer_set_config::config#1 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@2 vera_layer_mode_text::@3 + vera_layer_set_text_color_mode::color_mode#2 = phi( vera_layer_mode_text::@2/vera_layer_set_text_color_mode::color_mode#0, vera_layer_mode_text::@3/vera_layer_set_text_color_mode::color_mode#1 ) + vera_layer_set_text_color_mode::layer#2 = phi( vera_layer_mode_text::@2/vera_layer_set_text_color_mode::layer#0, vera_layer_mode_text::@3/vera_layer_set_text_color_mode::layer#1 ) + vera_layer_set_text_color_mode::$0 = vera_layer_set_text_color_mode::layer#2 * SIZEOF_POINTER + vera_layer_set_text_color_mode::addr#0 = vera_layer_config[vera_layer_set_text_color_mode::$0] + *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 | vera_layer_set_text_color_mode::color_mode#2 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@33 + vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/vera_layer_set_mapbase::mapbase#1, conio_x16_init::@8/vera_layer_set_mapbase::mapbase#2, vera_layer_mode_tile::@33/vera_layer_set_mapbase::mapbase#0 ) + vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/vera_layer_set_mapbase::layer#1, conio_x16_init::@8/vera_layer_set_mapbase::layer#2, vera_layer_mode_tile::@33/vera_layer_set_mapbase::layer#0 ) + vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 * SIZEOF_POINTER + vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + vera_layer_get_mapbase_bank::layer#1 = phi( screenlayer/vera_layer_get_mapbase_bank::layer#0 ) + vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#1] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + vera_layer_get_mapbase_bank::return#3 = phi( vera_layer_get_mapbase_bank/vera_layer_get_mapbase_bank::return#0 ) + vera_layer_get_mapbase_bank::return#1 = vera_layer_get_mapbase_bank::return#3 + return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + vera_layer_get_mapbase_offset::layer#1 = phi( screenlayer::@3/vera_layer_get_mapbase_offset::layer#0 ) + vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#1 * SIZEOF_WORD + vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + vera_layer_get_mapbase_offset::return#3 = phi( vera_layer_get_mapbase_offset/vera_layer_get_mapbase_offset::return#0 ) + vera_layer_get_mapbase_offset::return#1 = vera_layer_get_mapbase_offset::return#3 + return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_tile::@32 + vera_layer_set_tilebase::tilebase#1 = phi( vera_layer_mode_tile::@32/vera_layer_set_tilebase::tilebase#0 ) + vera_layer_set_tilebase::layer#1 = phi( vera_layer_mode_tile::@32/vera_layer_set_tilebase::layer#0 ) + vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#1 * SIZEOF_POINTER + vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#1 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 + vera_layer_set_textcolor::color#3 = phi( conio_x16_init::@5/vera_layer_set_textcolor::color#0, main::textcolor1/vera_layer_set_textcolor::color#1, main::textcolor2/vera_layer_set_textcolor::color#2 ) + vera_layer_set_textcolor::layer#3 = phi( conio_x16_init::@5/vera_layer_set_textcolor::layer#0, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2 ) + vera_layer_set_textcolor::old#0 = vera_layer_textcolor[vera_layer_set_textcolor::layer#3] + vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = vera_layer_set_textcolor::color#3 + vera_layer_set_textcolor::return#0 = vera_layer_set_textcolor::old#0 + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + vera_layer_set_textcolor::return#5 = phi( vera_layer_set_textcolor/vera_layer_set_textcolor::return#0 ) + vera_layer_set_textcolor::return#1 = vera_layer_set_textcolor::return#5 + return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + vera_layer_get_textcolor::layer#1 = phi( clrscr::@7/vera_layer_get_textcolor::layer#0 ) + vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#1] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + vera_layer_get_textcolor::return#3 = phi( vera_layer_get_textcolor/vera_layer_get_textcolor::return#0 ) + vera_layer_get_textcolor::return#1 = vera_layer_get_textcolor::return#3 + return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 + vera_layer_set_backcolor::color#3 = phi( conio_x16_init::@6/vera_layer_set_backcolor::color#0, main::bgcolor1/vera_layer_set_backcolor::color#1, main::bgcolor2/vera_layer_set_backcolor::color#2 ) + vera_layer_set_backcolor::layer#3 = phi( conio_x16_init::@6/vera_layer_set_backcolor::layer#0, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2 ) + vera_layer_set_backcolor::old#0 = vera_layer_backcolor[vera_layer_set_backcolor::layer#3] + vera_layer_backcolor[vera_layer_set_backcolor::layer#3] = vera_layer_set_backcolor::color#3 + vera_layer_set_backcolor::return#0 = vera_layer_set_backcolor::old#0 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + vera_layer_set_backcolor::return#5 = phi( vera_layer_set_backcolor/vera_layer_set_backcolor::return#0 ) + vera_layer_set_backcolor::return#1 = vera_layer_set_backcolor::return#5 + return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + vera_layer_get_backcolor::layer#1 = phi( clrscr/vera_layer_get_backcolor::layer#0 ) + vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#1] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + vera_layer_get_backcolor::return#3 = phi( vera_layer_get_backcolor/vera_layer_get_backcolor::return#0 ) + vera_layer_get_backcolor::return#1 = vera_layer_get_backcolor::return#3 + return + to:@return + +byte vera_layer_get_color(byte vera_layer_get_color::layer) +vera_layer_get_color: scope:[vera_layer_get_color] from clearline cputc + vera_layer_get_color::layer#2 = phi( clearline/vera_layer_get_color::layer#1, cputc/vera_layer_get_color::layer#0 ) + vera_layer_get_color::$3 = vera_layer_get_color::layer#2 * SIZEOF_POINTER + vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] + vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C + vera_layer_get_color::$4 = 0 != vera_layer_get_color::$0 + if(vera_layer_get_color::$4) goto vera_layer_get_color::@1 + to:vera_layer_get_color::@2 +vera_layer_get_color::@1: scope:[vera_layer_get_color] from vera_layer_get_color + vera_layer_get_color::layer#3 = phi( vera_layer_get_color/vera_layer_get_color::layer#2 ) + vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#3] + to:vera_layer_get_color::@return +vera_layer_get_color::@2: scope:[vera_layer_get_color] from vera_layer_get_color + vera_layer_get_color::layer#4 = phi( vera_layer_get_color/vera_layer_get_color::layer#2 ) + vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#4] << 4 + vera_layer_get_color::$2 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#4] + vera_layer_get_color::return#1 = vera_layer_get_color::$2 + to:vera_layer_get_color::@return +vera_layer_get_color::@return: scope:[vera_layer_get_color] from vera_layer_get_color::@1 vera_layer_get_color::@2 + vera_layer_get_color::return#5 = phi( vera_layer_get_color::@1/vera_layer_get_color::return#0, vera_layer_get_color::@2/vera_layer_get_color::return#1 ) + vera_layer_get_color::return#2 = vera_layer_get_color::return#5 + return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + vera_layer_get_rowshift::layer#1 = phi( screenlayer::@1/vera_layer_get_rowshift::layer#0 ) + vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#1] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + vera_layer_get_rowshift::return#3 = phi( vera_layer_get_rowshift/vera_layer_get_rowshift::return#0 ) + vera_layer_get_rowshift::return#1 = vera_layer_get_rowshift::return#3 + return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + vera_layer_get_rowskip::layer#1 = phi( screenlayer::@5/vera_layer_get_rowskip::layer#0 ) + vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#1 * SIZEOF_WORD + vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + vera_layer_get_rowskip::return#3 = phi( vera_layer_get_rowskip/vera_layer_get_rowskip::return#0 ) + vera_layer_get_rowskip::return#1 = vera_layer_get_rowskip::return#3 + return + to:@return + +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +vera_layer_mode_tile: scope:[vera_layer_mode_tile] from main::@21 main::@26 main::@46 main::@47 vera_layer_mode_text + vera_layer_mode_tile::tileheight#34 = phi( main::@21/vera_layer_mode_tile::tileheight#1, main::@26/vera_layer_mode_tile::tileheight#2, main::@46/vera_layer_mode_tile::tileheight#3, main::@47/vera_layer_mode_tile::tileheight#4, vera_layer_mode_text/vera_layer_mode_tile::tileheight#0 ) + vera_layer_mode_tile::tilewidth#30 = phi( main::@21/vera_layer_mode_tile::tilewidth#1, main::@26/vera_layer_mode_tile::tilewidth#2, main::@46/vera_layer_mode_tile::tilewidth#3, main::@47/vera_layer_mode_tile::tilewidth#4, vera_layer_mode_text/vera_layer_mode_tile::tilewidth#0 ) + vera_layer_mode_tile::tilebase_address#30 = phi( main::@21/vera_layer_mode_tile::tilebase_address#2, main::@26/vera_layer_mode_tile::tilebase_address#3, main::@46/vera_layer_mode_tile::tilebase_address#4, main::@47/vera_layer_mode_tile::tilebase_address#5, vera_layer_mode_text/vera_layer_mode_tile::tilebase_address#1 ) + vera_layer_mode_tile::mapbase_address#29 = phi( main::@21/vera_layer_mode_tile::mapbase_address#2, main::@26/vera_layer_mode_tile::mapbase_address#3, main::@46/vera_layer_mode_tile::mapbase_address#4, main::@47/vera_layer_mode_tile::mapbase_address#5, vera_layer_mode_text/vera_layer_mode_tile::mapbase_address#1 ) + vera_layer_mode_tile::mapheight#22 = phi( main::@21/vera_layer_mode_tile::mapheight#1, main::@26/vera_layer_mode_tile::mapheight#2, main::@46/vera_layer_mode_tile::mapheight#3, main::@47/vera_layer_mode_tile::mapheight#4, vera_layer_mode_text/vera_layer_mode_tile::mapheight#0 ) + vera_layer_mode_tile::layer#34 = phi( main::@21/vera_layer_mode_tile::layer#1, main::@26/vera_layer_mode_tile::layer#2, main::@46/vera_layer_mode_tile::layer#3, main::@47/vera_layer_mode_tile::layer#4, vera_layer_mode_text/vera_layer_mode_tile::layer#0 ) + vera_layer_mode_tile::mapwidth#14 = phi( main::@21/vera_layer_mode_tile::mapwidth#1, main::@26/vera_layer_mode_tile::mapwidth#2, main::@46/vera_layer_mode_tile::mapwidth#3, main::@47/vera_layer_mode_tile::mapwidth#4, vera_layer_mode_text/vera_layer_mode_tile::mapwidth#0 ) + vera_layer_mode_tile::color_depth#5 = phi( main::@21/vera_layer_mode_tile::color_depth#1, main::@26/vera_layer_mode_tile::color_depth#2, main::@46/vera_layer_mode_tile::color_depth#3, main::@47/vera_layer_mode_tile::color_depth#4, vera_layer_mode_text/vera_layer_mode_tile::color_depth#0 ) + vera_layer_mode_tile::config#0 = 0 + if(vera_layer_mode_tile::color_depth#5==1) goto vera_layer_mode_tile::@4 + to:vera_layer_mode_tile::@1 +vera_layer_mode_tile::@4: scope:[vera_layer_mode_tile] from vera_layer_mode_tile + vera_layer_mode_tile::tileheight#30 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tileheight#34 ) + vera_layer_mode_tile::tilewidth#26 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilewidth#30 ) + vera_layer_mode_tile::tilebase_address#26 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilebase_address#30 ) + vera_layer_mode_tile::mapbase_address#25 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapbase_address#29 ) + vera_layer_mode_tile::mapheight#18 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapheight#22 ) + vera_layer_mode_tile::layer#26 = phi( vera_layer_mode_tile/vera_layer_mode_tile::layer#34 ) + vera_layer_mode_tile::mapwidth#10 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapwidth#14 ) + vera_layer_mode_tile::config#13 = phi( vera_layer_mode_tile/vera_layer_mode_tile::config#0 ) + vera_layer_mode_tile::config#1 = vera_layer_mode_tile::config#13 | VERA_LAYER_COLOR_DEPTH_1BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@1: scope:[vera_layer_mode_tile] from vera_layer_mode_tile + vera_layer_mode_tile::tileheight#35 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tileheight#34 ) + vera_layer_mode_tile::tilewidth#31 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilewidth#30 ) + vera_layer_mode_tile::tilebase_address#31 = phi( vera_layer_mode_tile/vera_layer_mode_tile::tilebase_address#30 ) + vera_layer_mode_tile::mapbase_address#30 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapbase_address#29 ) + vera_layer_mode_tile::mapheight#23 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapheight#22 ) + vera_layer_mode_tile::layer#35 = phi( vera_layer_mode_tile/vera_layer_mode_tile::layer#34 ) + vera_layer_mode_tile::mapwidth#15 = phi( vera_layer_mode_tile/vera_layer_mode_tile::mapwidth#14 ) + vera_layer_mode_tile::config#26 = phi( vera_layer_mode_tile/vera_layer_mode_tile::config#0 ) + vera_layer_mode_tile::color_depth#6 = phi( vera_layer_mode_tile/vera_layer_mode_tile::color_depth#5 ) + if(vera_layer_mode_tile::color_depth#6==2) goto vera_layer_mode_tile::@5 + to:vera_layer_mode_tile::@2 +vera_layer_mode_tile::@5: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + vera_layer_mode_tile::tileheight#31 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tileheight#35 ) + vera_layer_mode_tile::tilewidth#27 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilewidth#31 ) + vera_layer_mode_tile::tilebase_address#27 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilebase_address#31 ) + vera_layer_mode_tile::mapbase_address#26 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapbase_address#30 ) + vera_layer_mode_tile::mapheight#19 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapheight#23 ) + vera_layer_mode_tile::layer#27 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::layer#35 ) + vera_layer_mode_tile::mapwidth#11 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapwidth#15 ) + vera_layer_mode_tile::config#14 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::config#26 ) + vera_layer_mode_tile::config#2 = vera_layer_mode_tile::config#14 | VERA_LAYER_COLOR_DEPTH_2BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@2: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@1 + vera_layer_mode_tile::tileheight#36 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tileheight#35 ) + vera_layer_mode_tile::tilewidth#32 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilewidth#31 ) + vera_layer_mode_tile::tilebase_address#32 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::tilebase_address#31 ) + vera_layer_mode_tile::mapbase_address#31 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapbase_address#30 ) + vera_layer_mode_tile::mapheight#24 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapheight#23 ) + vera_layer_mode_tile::layer#36 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::layer#35 ) + vera_layer_mode_tile::mapwidth#16 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::mapwidth#15 ) + vera_layer_mode_tile::config#27 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::config#26 ) + vera_layer_mode_tile::color_depth#7 = phi( vera_layer_mode_tile::@1/vera_layer_mode_tile::color_depth#6 ) + if(vera_layer_mode_tile::color_depth#7==4) goto vera_layer_mode_tile::@6 + to:vera_layer_mode_tile::@3 +vera_layer_mode_tile::@6: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + vera_layer_mode_tile::tileheight#32 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tileheight#36 ) + vera_layer_mode_tile::tilewidth#28 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilewidth#32 ) + vera_layer_mode_tile::tilebase_address#28 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilebase_address#32 ) + vera_layer_mode_tile::mapbase_address#27 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapbase_address#31 ) + vera_layer_mode_tile::mapheight#20 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapheight#24 ) + vera_layer_mode_tile::layer#28 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::layer#36 ) + vera_layer_mode_tile::mapwidth#12 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapwidth#16 ) + vera_layer_mode_tile::config#15 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::config#27 ) + vera_layer_mode_tile::config#3 = vera_layer_mode_tile::config#15 | VERA_LAYER_COLOR_DEPTH_4BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@3: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@2 + vera_layer_mode_tile::tileheight#29 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tileheight#36 ) + vera_layer_mode_tile::tilewidth#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilewidth#32 ) + vera_layer_mode_tile::tilebase_address#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::tilebase_address#32 ) + vera_layer_mode_tile::mapbase_address#24 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapbase_address#31 ) + vera_layer_mode_tile::mapheight#17 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapheight#24 ) + vera_layer_mode_tile::layer#25 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::layer#36 ) + vera_layer_mode_tile::mapwidth#9 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::mapwidth#16 ) + vera_layer_mode_tile::config#28 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::config#27 ) + vera_layer_mode_tile::color_depth#8 = phi( vera_layer_mode_tile::@2/vera_layer_mode_tile::color_depth#7 ) + if(vera_layer_mode_tile::color_depth#8==8) goto vera_layer_mode_tile::@7 + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@7: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 + vera_layer_mode_tile::tileheight#33 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tileheight#29 ) + vera_layer_mode_tile::tilewidth#29 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilewidth#25 ) + vera_layer_mode_tile::tilebase_address#29 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilebase_address#25 ) + vera_layer_mode_tile::mapbase_address#28 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapbase_address#24 ) + vera_layer_mode_tile::mapheight#21 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapheight#17 ) + vera_layer_mode_tile::layer#29 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::layer#25 ) + vera_layer_mode_tile::mapwidth#13 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapwidth#9 ) + vera_layer_mode_tile::config#16 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::config#28 ) + vera_layer_mode_tile::config#4 = vera_layer_mode_tile::config#16 | VERA_LAYER_COLOR_DEPTH_8BPP + to:vera_layer_mode_tile::@8 +vera_layer_mode_tile::@8: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@3 vera_layer_mode_tile::@4 vera_layer_mode_tile::@5 vera_layer_mode_tile::@6 vera_layer_mode_tile::@7 + vera_layer_mode_tile::tileheight#26 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tileheight#29, vera_layer_mode_tile::@4/vera_layer_mode_tile::tileheight#30, vera_layer_mode_tile::@5/vera_layer_mode_tile::tileheight#31, vera_layer_mode_tile::@6/vera_layer_mode_tile::tileheight#32, vera_layer_mode_tile::@7/vera_layer_mode_tile::tileheight#33 ) + vera_layer_mode_tile::tilewidth#22 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilewidth#25, vera_layer_mode_tile::@4/vera_layer_mode_tile::tilewidth#26, vera_layer_mode_tile::@5/vera_layer_mode_tile::tilewidth#27, vera_layer_mode_tile::@6/vera_layer_mode_tile::tilewidth#28, vera_layer_mode_tile::@7/vera_layer_mode_tile::tilewidth#29 ) + vera_layer_mode_tile::tilebase_address#22 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::tilebase_address#25, vera_layer_mode_tile::@4/vera_layer_mode_tile::tilebase_address#26, vera_layer_mode_tile::@5/vera_layer_mode_tile::tilebase_address#27, vera_layer_mode_tile::@6/vera_layer_mode_tile::tilebase_address#28, vera_layer_mode_tile::@7/vera_layer_mode_tile::tilebase_address#29 ) + vera_layer_mode_tile::mapbase_address#21 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapbase_address#24, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapbase_address#25, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapbase_address#26, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapbase_address#27, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapbase_address#28 ) + vera_layer_mode_tile::mapheight#14 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapheight#17, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapheight#18, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapheight#19, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapheight#20, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapheight#21 ) + vera_layer_mode_tile::layer#13 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::layer#25, vera_layer_mode_tile::@4/vera_layer_mode_tile::layer#26, vera_layer_mode_tile::@5/vera_layer_mode_tile::layer#27, vera_layer_mode_tile::@6/vera_layer_mode_tile::layer#28, vera_layer_mode_tile::@7/vera_layer_mode_tile::layer#29 ) + vera_layer_mode_tile::config#29 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::config#28, vera_layer_mode_tile::@4/vera_layer_mode_tile::config#1, vera_layer_mode_tile::@5/vera_layer_mode_tile::config#2, vera_layer_mode_tile::@6/vera_layer_mode_tile::config#3, vera_layer_mode_tile::@7/vera_layer_mode_tile::config#4 ) + vera_layer_mode_tile::mapwidth#5 = phi( vera_layer_mode_tile::@3/vera_layer_mode_tile::mapwidth#9, vera_layer_mode_tile::@4/vera_layer_mode_tile::mapwidth#10, vera_layer_mode_tile::@5/vera_layer_mode_tile::mapwidth#11, vera_layer_mode_tile::@6/vera_layer_mode_tile::mapwidth#12, vera_layer_mode_tile::@7/vera_layer_mode_tile::mapwidth#13 ) + if(vera_layer_mode_tile::mapwidth#5==$20) goto vera_layer_mode_tile::@12 + to:vera_layer_mode_tile::@9 +vera_layer_mode_tile::@12: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@8 + vera_layer_mode_tile::tileheight#22 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tileheight#26 ) + vera_layer_mode_tile::tilewidth#18 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilewidth#22 ) + vera_layer_mode_tile::tilebase_address#18 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilebase_address#22 ) + vera_layer_mode_tile::mapbase_address#17 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapbase_address#21 ) + vera_layer_mode_tile::mapheight#10 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapheight#14 ) + vera_layer_mode_tile::layer#5 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::layer#13 ) + vera_layer_mode_tile::config#17 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::config#29 ) + vera_layer_mode_tile::config#5 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_32 + vera_layer_rowshift[vera_layer_mode_tile::layer#5] = 6 + vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#5 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@9: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@8 + vera_layer_mode_tile::tileheight#27 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tileheight#26 ) + vera_layer_mode_tile::tilewidth#23 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilewidth#22 ) + vera_layer_mode_tile::tilebase_address#23 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::tilebase_address#22 ) + vera_layer_mode_tile::mapbase_address#22 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapbase_address#21 ) + vera_layer_mode_tile::mapheight#15 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapheight#14 ) + vera_layer_mode_tile::layer#14 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::layer#13 ) + vera_layer_mode_tile::config#30 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::config#29 ) + vera_layer_mode_tile::mapwidth#6 = phi( vera_layer_mode_tile::@8/vera_layer_mode_tile::mapwidth#5 ) + if(vera_layer_mode_tile::mapwidth#6==$40) goto vera_layer_mode_tile::@13 + to:vera_layer_mode_tile::@10 +vera_layer_mode_tile::@13: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@9 + vera_layer_mode_tile::tileheight#23 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tileheight#27 ) + vera_layer_mode_tile::tilewidth#19 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilewidth#23 ) + vera_layer_mode_tile::tilebase_address#19 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilebase_address#23 ) + vera_layer_mode_tile::mapbase_address#18 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapbase_address#22 ) + vera_layer_mode_tile::mapheight#11 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapheight#15 ) + vera_layer_mode_tile::layer#6 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::layer#14 ) + vera_layer_mode_tile::config#18 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::config#30 ) + vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#18 | VERA_LAYER_WIDTH_64 + vera_layer_rowshift[vera_layer_mode_tile::layer#6] = 7 + vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#6 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@10: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@9 + vera_layer_mode_tile::tileheight#28 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tileheight#27 ) + vera_layer_mode_tile::tilewidth#24 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilewidth#23 ) + vera_layer_mode_tile::tilebase_address#24 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::tilebase_address#23 ) + vera_layer_mode_tile::mapbase_address#23 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapbase_address#22 ) + vera_layer_mode_tile::mapheight#16 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapheight#15 ) + vera_layer_mode_tile::layer#15 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::layer#14 ) + vera_layer_mode_tile::config#31 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::config#30 ) + vera_layer_mode_tile::mapwidth#7 = phi( vera_layer_mode_tile::@9/vera_layer_mode_tile::mapwidth#6 ) + if(vera_layer_mode_tile::mapwidth#7==$80) goto vera_layer_mode_tile::@14 + to:vera_layer_mode_tile::@11 +vera_layer_mode_tile::@14: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + vera_layer_mode_tile::tileheight#24 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tileheight#28 ) + vera_layer_mode_tile::tilewidth#20 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilewidth#24 ) + vera_layer_mode_tile::tilebase_address#20 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilebase_address#24 ) + vera_layer_mode_tile::mapbase_address#19 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapbase_address#23 ) + vera_layer_mode_tile::mapheight#12 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapheight#16 ) + vera_layer_mode_tile::layer#7 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::layer#15 ) + vera_layer_mode_tile::config#19 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::config#31 ) + vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#19 | VERA_LAYER_WIDTH_128 + vera_layer_rowshift[vera_layer_mode_tile::layer#7] = 8 + vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#7 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@11: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@10 + vera_layer_mode_tile::tileheight#21 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tileheight#28 ) + vera_layer_mode_tile::tilewidth#17 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilewidth#24 ) + vera_layer_mode_tile::tilebase_address#17 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::tilebase_address#24 ) + vera_layer_mode_tile::mapbase_address#16 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapbase_address#23 ) + vera_layer_mode_tile::mapheight#9 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapheight#16 ) + vera_layer_mode_tile::layer#16 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::layer#15 ) + vera_layer_mode_tile::config#32 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::config#31 ) + vera_layer_mode_tile::mapwidth#8 = phi( vera_layer_mode_tile::@10/vera_layer_mode_tile::mapwidth#7 ) + if(vera_layer_mode_tile::mapwidth#8==$100) goto vera_layer_mode_tile::@15 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@15: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 + vera_layer_mode_tile::tileheight#25 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tileheight#21 ) + vera_layer_mode_tile::tilewidth#21 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilewidth#17 ) + vera_layer_mode_tile::tilebase_address#21 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilebase_address#17 ) + vera_layer_mode_tile::mapbase_address#20 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapbase_address#16 ) + vera_layer_mode_tile::mapheight#13 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapheight#9 ) + vera_layer_mode_tile::layer#8 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::layer#16 ) + vera_layer_mode_tile::config#20 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::config#32 ) + vera_layer_mode_tile::config#8 = vera_layer_mode_tile::config#20 | VERA_LAYER_WIDTH_256 + vera_layer_rowshift[vera_layer_mode_tile::layer#8] = 9 + vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#8 * SIZEOF_WORD + vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 + to:vera_layer_mode_tile::@16 +vera_layer_mode_tile::@16: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@11 vera_layer_mode_tile::@12 vera_layer_mode_tile::@13 vera_layer_mode_tile::@14 vera_layer_mode_tile::@15 + vera_layer_mode_tile::tileheight#18 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tileheight#21, vera_layer_mode_tile::@12/vera_layer_mode_tile::tileheight#22, vera_layer_mode_tile::@13/vera_layer_mode_tile::tileheight#23, vera_layer_mode_tile::@14/vera_layer_mode_tile::tileheight#24, vera_layer_mode_tile::@15/vera_layer_mode_tile::tileheight#25 ) + vera_layer_mode_tile::tilewidth#14 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilewidth#17, vera_layer_mode_tile::@12/vera_layer_mode_tile::tilewidth#18, vera_layer_mode_tile::@13/vera_layer_mode_tile::tilewidth#19, vera_layer_mode_tile::@14/vera_layer_mode_tile::tilewidth#20, vera_layer_mode_tile::@15/vera_layer_mode_tile::tilewidth#21 ) + vera_layer_mode_tile::tilebase_address#14 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::tilebase_address#17, vera_layer_mode_tile::@12/vera_layer_mode_tile::tilebase_address#18, vera_layer_mode_tile::@13/vera_layer_mode_tile::tilebase_address#19, vera_layer_mode_tile::@14/vera_layer_mode_tile::tilebase_address#20, vera_layer_mode_tile::@15/vera_layer_mode_tile::tilebase_address#21 ) + vera_layer_mode_tile::mapbase_address#13 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapbase_address#16, vera_layer_mode_tile::@12/vera_layer_mode_tile::mapbase_address#17, vera_layer_mode_tile::@13/vera_layer_mode_tile::mapbase_address#18, vera_layer_mode_tile::@14/vera_layer_mode_tile::mapbase_address#19, vera_layer_mode_tile::@15/vera_layer_mode_tile::mapbase_address#20 ) + vera_layer_mode_tile::layer#30 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::layer#16, vera_layer_mode_tile::@12/vera_layer_mode_tile::layer#5, vera_layer_mode_tile::@13/vera_layer_mode_tile::layer#6, vera_layer_mode_tile::@14/vera_layer_mode_tile::layer#7, vera_layer_mode_tile::@15/vera_layer_mode_tile::layer#8 ) + vera_layer_mode_tile::config#33 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::config#32, vera_layer_mode_tile::@12/vera_layer_mode_tile::config#5, vera_layer_mode_tile::@13/vera_layer_mode_tile::config#6, vera_layer_mode_tile::@14/vera_layer_mode_tile::config#7, vera_layer_mode_tile::@15/vera_layer_mode_tile::config#8 ) + vera_layer_mode_tile::mapheight#5 = phi( vera_layer_mode_tile::@11/vera_layer_mode_tile::mapheight#9, vera_layer_mode_tile::@12/vera_layer_mode_tile::mapheight#10, vera_layer_mode_tile::@13/vera_layer_mode_tile::mapheight#11, vera_layer_mode_tile::@14/vera_layer_mode_tile::mapheight#12, vera_layer_mode_tile::@15/vera_layer_mode_tile::mapheight#13 ) + if(vera_layer_mode_tile::mapheight#5==$20) goto vera_layer_mode_tile::@20 + to:vera_layer_mode_tile::@17 +vera_layer_mode_tile::@20: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@16 + vera_layer_mode_tile::tileheight#14 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tileheight#18 ) + vera_layer_mode_tile::tilewidth#10 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilewidth#14 ) + vera_layer_mode_tile::tilebase_address#10 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilebase_address#14 ) + vera_layer_mode_tile::mapbase_address#9 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapbase_address#13 ) + vera_layer_mode_tile::layer#18 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::layer#30 ) + vera_layer_mode_tile::config#21 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::config#33 ) + vera_layer_mode_tile::config#9 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_32 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@16 + vera_layer_mode_tile::tileheight#19 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tileheight#18 ) + vera_layer_mode_tile::tilewidth#15 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilewidth#14 ) + vera_layer_mode_tile::tilebase_address#15 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::tilebase_address#14 ) + vera_layer_mode_tile::mapbase_address#14 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapbase_address#13 ) + vera_layer_mode_tile::layer#31 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::layer#30 ) + vera_layer_mode_tile::config#34 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::config#33 ) + vera_layer_mode_tile::mapheight#6 = phi( vera_layer_mode_tile::@16/vera_layer_mode_tile::mapheight#5 ) + if(vera_layer_mode_tile::mapheight#6==$40) goto vera_layer_mode_tile::@21 + to:vera_layer_mode_tile::@18 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + vera_layer_mode_tile::tileheight#15 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tileheight#19 ) + vera_layer_mode_tile::tilewidth#11 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilewidth#15 ) + vera_layer_mode_tile::tilebase_address#11 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase_address#15 ) + vera_layer_mode_tile::mapbase_address#10 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapbase_address#14 ) + vera_layer_mode_tile::layer#19 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::layer#31 ) + vera_layer_mode_tile::config#22 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::config#34 ) + vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#22 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@17 + vera_layer_mode_tile::tileheight#20 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tileheight#19 ) + vera_layer_mode_tile::tilewidth#16 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilewidth#15 ) + vera_layer_mode_tile::tilebase_address#16 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::tilebase_address#15 ) + vera_layer_mode_tile::mapbase_address#15 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapbase_address#14 ) + vera_layer_mode_tile::layer#32 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::layer#31 ) + vera_layer_mode_tile::config#35 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::config#34 ) + vera_layer_mode_tile::mapheight#7 = phi( vera_layer_mode_tile::@17/vera_layer_mode_tile::mapheight#6 ) + if(vera_layer_mode_tile::mapheight#7==$80) goto vera_layer_mode_tile::@22 + to:vera_layer_mode_tile::@19 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@18 + vera_layer_mode_tile::tileheight#16 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tileheight#20 ) + vera_layer_mode_tile::tilewidth#12 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilewidth#16 ) + vera_layer_mode_tile::tilebase_address#12 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase_address#16 ) + vera_layer_mode_tile::mapbase_address#11 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapbase_address#15 ) + vera_layer_mode_tile::layer#20 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::layer#32 ) + vera_layer_mode_tile::config#23 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::config#35 ) + vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#23 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@19: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@18 + vera_layer_mode_tile::tileheight#13 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tileheight#20 ) + vera_layer_mode_tile::tilewidth#9 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilewidth#16 ) + vera_layer_mode_tile::tilebase_address#9 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::tilebase_address#16 ) + vera_layer_mode_tile::mapbase_address#8 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapbase_address#15 ) + vera_layer_mode_tile::layer#17 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::layer#32 ) + vera_layer_mode_tile::config#36 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::config#35 ) + vera_layer_mode_tile::mapheight#8 = phi( vera_layer_mode_tile::@18/vera_layer_mode_tile::mapheight#7 ) + if(vera_layer_mode_tile::mapheight#8==$100) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@23: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 + vera_layer_mode_tile::tileheight#17 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tileheight#13 ) + vera_layer_mode_tile::tilewidth#13 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilewidth#9 ) + vera_layer_mode_tile::tilebase_address#13 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase_address#9 ) + vera_layer_mode_tile::mapbase_address#12 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::mapbase_address#8 ) + vera_layer_mode_tile::layer#21 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::layer#17 ) + vera_layer_mode_tile::config#24 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::config#36 ) + vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#24 | VERA_LAYER_HEIGHT_256 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@19 vera_layer_mode_tile::@20 vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@23 + vera_layer_mode_tile::tileheight#12 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tileheight#13, vera_layer_mode_tile::@20/vera_layer_mode_tile::tileheight#14, vera_layer_mode_tile::@21/vera_layer_mode_tile::tileheight#15, vera_layer_mode_tile::@22/vera_layer_mode_tile::tileheight#16, vera_layer_mode_tile::@23/vera_layer_mode_tile::tileheight#17 ) + vera_layer_mode_tile::tilewidth#8 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilewidth#9, vera_layer_mode_tile::@20/vera_layer_mode_tile::tilewidth#10, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilewidth#11, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilewidth#12, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilewidth#13 ) + vera_layer_mode_tile::tilebase_address#8 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::tilebase_address#9, vera_layer_mode_tile::@20/vera_layer_mode_tile::tilebase_address#10, vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase_address#11, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilebase_address#12, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilebase_address#13 ) + vera_layer_mode_tile::mapbase_address#7 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::mapbase_address#8, vera_layer_mode_tile::@20/vera_layer_mode_tile::mapbase_address#9, vera_layer_mode_tile::@21/vera_layer_mode_tile::mapbase_address#10, vera_layer_mode_tile::@22/vera_layer_mode_tile::mapbase_address#11, vera_layer_mode_tile::@23/vera_layer_mode_tile::mapbase_address#12 ) + vera_layer_mode_tile::config#25 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::config#36, vera_layer_mode_tile::@20/vera_layer_mode_tile::config#9, vera_layer_mode_tile::@21/vera_layer_mode_tile::config#10, vera_layer_mode_tile::@22/vera_layer_mode_tile::config#11, vera_layer_mode_tile::@23/vera_layer_mode_tile::config#12 ) + vera_layer_mode_tile::layer#9 = phi( vera_layer_mode_tile::@19/vera_layer_mode_tile::layer#17, vera_layer_mode_tile::@20/vera_layer_mode_tile::layer#18, vera_layer_mode_tile::@21/vera_layer_mode_tile::layer#19, vera_layer_mode_tile::@22/vera_layer_mode_tile::layer#20, vera_layer_mode_tile::@23/vera_layer_mode_tile::layer#21 ) + vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#9 + vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + call vera_layer_set_config + to:vera_layer_mode_tile::@33 +vera_layer_mode_tile::@33: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + vera_layer_mode_tile::tileheight#11 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tileheight#12 ) + vera_layer_mode_tile::tilewidth#7 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilewidth#8 ) + vera_layer_mode_tile::tilebase_address#7 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase_address#8 ) + vera_layer_mode_tile::layer#10 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::layer#9 ) + vera_layer_mode_tile::mapbase_address#6 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::mapbase_address#7 ) + vera_layer_mode_tile::$1 = < vera_layer_mode_tile::mapbase_address#6 + vera_layer_mode_tile::$17 = vera_layer_mode_tile::layer#10 * SIZEOF_WORD + vera_mapbase_offset[vera_layer_mode_tile::$17] = vera_layer_mode_tile::$1 + vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#6 + vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 + vera_layer_mode_tile::$18 = vera_layer_mode_tile::layer#10 * SIZEOF_DWORD + vera_mapbase_address[vera_layer_mode_tile::$18] = vera_layer_mode_tile::mapbase_address#6 + vera_layer_mode_tile::$3 = vera_layer_mode_tile::mapbase_address#6 >> 1 + vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::$3 + vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + vera_layer_mode_tile::$5 = > vera_layer_mode_tile::$4 + vera_layer_mode_tile::mapbase#0 = vera_layer_mode_tile::$5 + vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 + vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + call vera_layer_set_mapbase + to:vera_layer_mode_tile::@34 +vera_layer_mode_tile::@34: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@33 + vera_layer_mode_tile::tileheight#10 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tileheight#11 ) + vera_layer_mode_tile::tilewidth#5 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tilewidth#7 ) + vera_layer_mode_tile::layer#11 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::layer#10 ) + vera_layer_mode_tile::tilebase_address#6 = phi( vera_layer_mode_tile::@33/vera_layer_mode_tile::tilebase_address#7 ) + vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#6 + vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#11 * SIZEOF_WORD + vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#6 + vera_tilebase_bank[vera_layer_mode_tile::layer#11] = (byte)vera_layer_mode_tile::$8 + vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#11 * SIZEOF_DWORD + vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#6 + vera_layer_mode_tile::$9 = vera_layer_mode_tile::tilebase_address#6 >> 1 + vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::$9 + vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + vera_layer_mode_tile::$11 = > vera_layer_mode_tile::$10 + vera_layer_mode_tile::tilebase#0 = vera_layer_mode_tile::$11 + vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + if(vera_layer_mode_tile::tilewidth#5==8) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@25 +vera_layer_mode_tile::@26: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@34 + vera_layer_mode_tile::layer#38 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::layer#11 ) + vera_layer_mode_tile::tileheight#8 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tileheight#10 ) + vera_layer_mode_tile::tilebase#6 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilebase#1 ) + vera_layer_mode_tile::tilebase#2 = vera_layer_mode_tile::tilebase#6 | VERA_TILEBASE_WIDTH_8 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@25: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@34 + vera_layer_mode_tile::layer#37 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::layer#11 ) + vera_layer_mode_tile::tileheight#7 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tileheight#10 ) + vera_layer_mode_tile::tilebase#11 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilebase#1 ) + vera_layer_mode_tile::tilewidth#6 = phi( vera_layer_mode_tile::@34/vera_layer_mode_tile::tilewidth#5 ) + if(vera_layer_mode_tile::tilewidth#6==$10) goto vera_layer_mode_tile::@27 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@27: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@25 + vera_layer_mode_tile::layer#39 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::layer#37 ) + vera_layer_mode_tile::tileheight#9 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tileheight#7 ) + vera_layer_mode_tile::tilebase#7 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#11 ) + vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#7 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@28: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@25 vera_layer_mode_tile::@26 vera_layer_mode_tile::@27 + vera_layer_mode_tile::layer#33 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::layer#37, vera_layer_mode_tile::@26/vera_layer_mode_tile::layer#38, vera_layer_mode_tile::@27/vera_layer_mode_tile::layer#39 ) + vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#11, vera_layer_mode_tile::@26/vera_layer_mode_tile::tilebase#2, vera_layer_mode_tile::@27/vera_layer_mode_tile::tilebase#3 ) + vera_layer_mode_tile::tileheight#5 = phi( vera_layer_mode_tile::@25/vera_layer_mode_tile::tileheight#7, vera_layer_mode_tile::@26/vera_layer_mode_tile::tileheight#8, vera_layer_mode_tile::@27/vera_layer_mode_tile::tileheight#9 ) + if(vera_layer_mode_tile::tileheight#5==8) goto vera_layer_mode_tile::@30 + to:vera_layer_mode_tile::@29 +vera_layer_mode_tile::@30: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + vera_layer_mode_tile::layer#23 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::layer#33 ) + vera_layer_mode_tile::tilebase#8 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#12 ) + vera_layer_mode_tile::tilebase#4 = vera_layer_mode_tile::tilebase#8 | VERA_TILEBASE_HEIGHT_8 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@29: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + vera_layer_mode_tile::layer#22 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::layer#33 ) + vera_layer_mode_tile::tilebase#13 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#12 ) + vera_layer_mode_tile::tileheight#6 = phi( vera_layer_mode_tile::@28/vera_layer_mode_tile::tileheight#5 ) + if(vera_layer_mode_tile::tileheight#6==$10) goto vera_layer_mode_tile::@31 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@31: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@29 + vera_layer_mode_tile::layer#24 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::layer#22 ) + vera_layer_mode_tile::tilebase#9 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::tilebase#13 ) + vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#9 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@32 +vera_layer_mode_tile::@32: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@29 vera_layer_mode_tile::@30 vera_layer_mode_tile::@31 + vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::tilebase#13, vera_layer_mode_tile::@30/vera_layer_mode_tile::tilebase#4, vera_layer_mode_tile::@31/vera_layer_mode_tile::tilebase#5 ) + vera_layer_mode_tile::layer#12 = phi( vera_layer_mode_tile::@29/vera_layer_mode_tile::layer#22, vera_layer_mode_tile::@30/vera_layer_mode_tile::layer#23, vera_layer_mode_tile::@31/vera_layer_mode_tile::layer#24 ) + vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#12 + vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + call vera_layer_set_tilebase + to:vera_layer_mode_tile::@35 +vera_layer_mode_tile::@35: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@32 + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@35 + return + to:@return + +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +vera_layer_mode_text: scope:[vera_layer_mode_text] from conio_x16_init + vera_layer_mode_text::color_mode#3 = phi( conio_x16_init/vera_layer_mode_text::color_mode#0 ) + vera_layer_mode_text::tileheight#1 = phi( conio_x16_init/vera_layer_mode_text::tileheight#0 ) + vera_layer_mode_text::tilewidth#1 = phi( conio_x16_init/vera_layer_mode_text::tilewidth#0 ) + vera_layer_mode_text::mapheight#1 = phi( conio_x16_init/vera_layer_mode_text::mapheight#0 ) + vera_layer_mode_text::mapwidth#1 = phi( conio_x16_init/vera_layer_mode_text::mapwidth#0 ) + vera_layer_mode_text::tilebase_address#1 = phi( conio_x16_init/vera_layer_mode_text::tilebase_address#0 ) + vera_layer_mode_text::mapbase_address#1 = phi( conio_x16_init/vera_layer_mode_text::mapbase_address#0 ) + vera_layer_mode_text::layer#1 = phi( conio_x16_init/vera_layer_mode_text::layer#0 ) + vera_layer_mode_tile::layer#0 = vera_layer_mode_text::layer#1 + vera_layer_mode_tile::mapbase_address#1 = vera_layer_mode_text::mapbase_address#1 + vera_layer_mode_tile::tilebase_address#1 = vera_layer_mode_text::tilebase_address#1 + vera_layer_mode_tile::mapwidth#0 = vera_layer_mode_text::mapwidth#1 + vera_layer_mode_tile::mapheight#0 = vera_layer_mode_text::mapheight#1 + vera_layer_mode_tile::tilewidth#0 = vera_layer_mode_text::tilewidth#1 + vera_layer_mode_tile::tileheight#0 = vera_layer_mode_text::tileheight#1 + vera_layer_mode_tile::color_depth#0 = 1 + call vera_layer_mode_tile + to:vera_layer_mode_text::@4 +vera_layer_mode_text::@4: scope:[vera_layer_mode_text] from vera_layer_mode_text + vera_layer_mode_text::layer#4 = phi( vera_layer_mode_text/vera_layer_mode_text::layer#1 ) + vera_layer_mode_text::color_mode#1 = phi( vera_layer_mode_text/vera_layer_mode_text::color_mode#3 ) + if(vera_layer_mode_text::color_mode#1==$10) goto vera_layer_mode_text::@2 + to:vera_layer_mode_text::@1 +vera_layer_mode_text::@2: scope:[vera_layer_mode_text] from vera_layer_mode_text::@4 + vera_layer_mode_text::layer#2 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::layer#4 ) + vera_layer_set_text_color_mode::layer#0 = vera_layer_mode_text::layer#2 + vera_layer_set_text_color_mode::color_mode#0 = VERA_LAYER_CONFIG_16C + call vera_layer_set_text_color_mode + to:vera_layer_mode_text::@5 +vera_layer_mode_text::@5: scope:[vera_layer_mode_text] from vera_layer_mode_text::@2 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@1: scope:[vera_layer_mode_text] from vera_layer_mode_text::@4 + vera_layer_mode_text::layer#5 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::layer#4 ) + vera_layer_mode_text::color_mode#2 = phi( vera_layer_mode_text::@4/vera_layer_mode_text::color_mode#1 ) + if(vera_layer_mode_text::color_mode#2==$100) goto vera_layer_mode_text::@3 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@3: scope:[vera_layer_mode_text] from vera_layer_mode_text::@1 + vera_layer_mode_text::layer#3 = phi( vera_layer_mode_text::@1/vera_layer_mode_text::layer#5 ) + vera_layer_set_text_color_mode::layer#1 = vera_layer_mode_text::layer#3 + vera_layer_set_text_color_mode::color_mode#1 = VERA_LAYER_CONFIG_256C + call vera_layer_set_text_color_mode + to:vera_layer_mode_text::@6 +vera_layer_mode_text::@6: scope:[vera_layer_mode_text] from vera_layer_mode_text::@3 + to:vera_layer_mode_text::@return +vera_layer_mode_text::@return: scope:[vera_layer_mode_text] from vera_layer_mode_text::@1 vera_layer_mode_text::@5 vera_layer_mode_text::@6 + return + to:@return + +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +vera_tile_area: scope:[vera_tile_area] from main::@10 main::@12 main::@15 main::@4 main::@6 + vera_tile_area::w#11 = phi( main::@10/vera_tile_area::w#2, main::@12/vera_tile_area::w#3, main::@15/vera_tile_area::w#4, main::@4/vera_tile_area::w#0, main::@6/vera_tile_area::w#1 ) + vera_tile_area::h#6 = phi( main::@10/vera_tile_area::h#2, main::@12/vera_tile_area::h#3, main::@15/vera_tile_area::h#4, main::@4/vera_tile_area::h#0, main::@6/vera_tile_area::h#1 ) + vera_tile_area::x#5 = phi( main::@10/vera_tile_area::x#2, main::@12/vera_tile_area::x#3, main::@15/vera_tile_area::x#4, main::@4/vera_tile_area::x#0, main::@6/vera_tile_area::x#1 ) + vera_tile_area::y#5 = phi( main::@10/vera_tile_area::y#2, main::@12/vera_tile_area::y#3, main::@15/vera_tile_area::y#4, main::@4/vera_tile_area::y#0, main::@6/vera_tile_area::y#1 ) + vera_tile_area::tileindex#5 = phi( main::@10/vera_tile_area::tileindex#2, main::@12/vera_tile_area::tileindex#3, main::@15/vera_tile_area::tileindex#4, main::@4/vera_tile_area::tileindex#0, main::@6/vera_tile_area::tileindex#1 ) + vera_tile_area::offset#6 = phi( main::@10/vera_tile_area::offset#3, main::@12/vera_tile_area::offset#4, main::@15/vera_tile_area::offset#5, main::@4/vera_tile_area::offset#1, main::@6/vera_tile_area::offset#2 ) + vera_tile_area::vflip#6 = phi( main::@10/vera_tile_area::vflip#3, main::@12/vera_tile_area::vflip#4, main::@15/vera_tile_area::vflip#5, main::@4/vera_tile_area::vflip#1, main::@6/vera_tile_area::vflip#2 ) + vera_tile_area::hflip#6 = phi( main::@10/vera_tile_area::hflip#3, main::@12/vera_tile_area::hflip#4, main::@15/vera_tile_area::hflip#5, main::@4/vera_tile_area::hflip#1, main::@6/vera_tile_area::hflip#2 ) + vera_tile_area::layer#5 = phi( main::@10/vera_tile_area::layer#2, main::@12/vera_tile_area::layer#3, main::@15/vera_tile_area::layer#4, main::@4/vera_tile_area::layer#0, main::@6/vera_tile_area::layer#1 ) + vera_tile_area::$9 = vera_tile_area::layer#5 * SIZEOF_DWORD + vera_tile_area::mapbase#0 = vera_mapbase_address[vera_tile_area::$9] + vera_tile_area::shift#0 = vera_layer_rowshift[vera_tile_area::layer#5] + vera_tile_area::$0 = (word)1 << vera_tile_area::shift#0 + vera_tile_area::rowskip#0 = vera_tile_area::$0 + vera_tile_area::hflip#0 = vera_layer_hflip[vera_tile_area::hflip#6] + vera_tile_area::vflip#0 = vera_layer_vflip[vera_tile_area::vflip#6] + vera_tile_area::$1 = vera_tile_area::offset#6 << 4 + vera_tile_area::offset#0 = vera_tile_area::$1 + vera_tile_area::$2 = < vera_tile_area::tileindex#5 + vera_tile_area::index_l#0 = vera_tile_area::$2 + vera_tile_area::$3 = > vera_tile_area::tileindex#5 + vera_tile_area::index_h#0 = vera_tile_area::$3 + vera_tile_area::index_h#1 = vera_tile_area::index_h#0 | vera_tile_area::hflip#0 + vera_tile_area::index_h#2 = vera_tile_area::index_h#1 | vera_tile_area::vflip#0 + vera_tile_area::index_h#3 = vera_tile_area::index_h#2 | vera_tile_area::offset#0 + vera_tile_area::$10 = (word)vera_tile_area::y#5 + vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 + vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 + vera_tile_area::$5 = vera_tile_area::x#5 << 1 + vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 + vera_tile_area::r#0 = 0 + to:vera_tile_area::@1 +vera_tile_area::@1: scope:[vera_tile_area] from vera_tile_area vera_tile_area::@5 + vera_tile_area::rowskip#7 = phi( vera_tile_area/vera_tile_area::rowskip#0, vera_tile_area::@5/vera_tile_area::rowskip#1 ) + vera_tile_area::index_h#9 = phi( vera_tile_area/vera_tile_area::index_h#3, vera_tile_area::@5/vera_tile_area::index_h#10 ) + vera_tile_area::index_l#6 = phi( vera_tile_area/vera_tile_area::index_l#0, vera_tile_area::@5/vera_tile_area::index_l#7 ) + vera_tile_area::w#10 = phi( vera_tile_area/vera_tile_area::w#11, vera_tile_area::@5/vera_tile_area::w#12 ) + vera_tile_area::mapbase#6 = phi( vera_tile_area/vera_tile_area::mapbase#2, vera_tile_area::@5/vera_tile_area::mapbase#3 ) + vera_tile_area::h#5 = phi( vera_tile_area/vera_tile_area::h#6, vera_tile_area::@5/vera_tile_area::h#7 ) + vera_tile_area::r#2 = phi( vera_tile_area/vera_tile_area::r#0, vera_tile_area::@5/vera_tile_area::r#1 ) + vera_tile_area::$6 = vera_tile_area::r#2 < vera_tile_area::h#5 + if(vera_tile_area::$6) goto vera_tile_area::@2 + to:vera_tile_area::@return +vera_tile_area::@2: scope:[vera_tile_area] from vera_tile_area::@1 + vera_tile_area::h#12 = phi( vera_tile_area::@1/vera_tile_area::h#5 ) + vera_tile_area::r#8 = phi( vera_tile_area::@1/vera_tile_area::r#2 ) + vera_tile_area::rowskip#6 = phi( vera_tile_area::@1/vera_tile_area::rowskip#7 ) + vera_tile_area::index_h#8 = phi( vera_tile_area::@1/vera_tile_area::index_h#9 ) + vera_tile_area::index_l#5 = phi( vera_tile_area::@1/vera_tile_area::index_l#6 ) + vera_tile_area::w#9 = phi( vera_tile_area::@1/vera_tile_area::w#10 ) + vera_tile_area::mapbase#4 = phi( vera_tile_area::@1/vera_tile_area::mapbase#6 ) + vera_tile_area::vera_vram_address01_bankaddr#0 = vera_tile_area::mapbase#4 + vera_tile_area::vera_vram_address01_incr#0 = VERA_INC_1 + to:vera_tile_area::vera_vram_address01 +vera_tile_area::vera_vram_address01: scope:[vera_tile_area] from vera_tile_area::@2 + vera_tile_area::h#11 = phi( vera_tile_area::@2/vera_tile_area::h#12 ) + vera_tile_area::r#7 = phi( vera_tile_area::@2/vera_tile_area::r#8 ) + vera_tile_area::rowskip#5 = phi( vera_tile_area::@2/vera_tile_area::rowskip#6 ) + vera_tile_area::mapbase#10 = phi( vera_tile_area::@2/vera_tile_area::mapbase#4 ) + vera_tile_area::index_h#7 = phi( vera_tile_area::@2/vera_tile_area::index_h#8 ) + vera_tile_area::index_l#4 = phi( vera_tile_area::@2/vera_tile_area::index_l#5 ) + vera_tile_area::w#8 = phi( vera_tile_area::@2/vera_tile_area::w#9 ) + vera_tile_area::vera_vram_address01_incr#1 = phi( vera_tile_area::@2/vera_tile_area::vera_vram_address01_incr#0 ) + vera_tile_area::vera_vram_address01_bankaddr#1 = phi( vera_tile_area::@2/vera_tile_area::vera_vram_address01_bankaddr#0 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + vera_tile_area::vera_vram_address01_$0 = < vera_tile_area::vera_vram_address01_bankaddr#1 + vera_tile_area::vera_vram_address01_$1 = < vera_tile_area::vera_vram_address01_$0 + *VERA_ADDRX_L = vera_tile_area::vera_vram_address01_$1 + vera_tile_area::vera_vram_address01_$2 = < vera_tile_area::vera_vram_address01_bankaddr#1 + vera_tile_area::vera_vram_address01_$3 = > vera_tile_area::vera_vram_address01_$2 + *VERA_ADDRX_M = vera_tile_area::vera_vram_address01_$3 + vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::vera_vram_address01_bankaddr#1 + vera_tile_area::vera_vram_address01_$5 = < vera_tile_area::vera_vram_address01_$4 + vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | vera_tile_area::vera_vram_address01_incr#1 + *VERA_ADDRX_H = vera_tile_area::vera_vram_address01_$6 + to:vera_tile_area::@6 +vera_tile_area::@6: scope:[vera_tile_area] from vera_tile_area::vera_vram_address01 + vera_tile_area::h#10 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::h#11 ) + vera_tile_area::r#6 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::r#7 ) + vera_tile_area::rowskip#4 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::rowskip#5 ) + vera_tile_area::mapbase#9 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::mapbase#10 ) + vera_tile_area::index_h#6 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::index_h#7 ) + vera_tile_area::index_l#3 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::index_l#4 ) + vera_tile_area::w#7 = phi( vera_tile_area::vera_vram_address01/vera_tile_area::w#8 ) + vera_tile_area::c#0 = 0 + to:vera_tile_area::@3 +vera_tile_area::@3: scope:[vera_tile_area] from vera_tile_area::@4 vera_tile_area::@6 + vera_tile_area::h#8 = phi( vera_tile_area::@4/vera_tile_area::h#9, vera_tile_area::@6/vera_tile_area::h#10 ) + vera_tile_area::r#4 = phi( vera_tile_area::@4/vera_tile_area::r#5, vera_tile_area::@6/vera_tile_area::r#6 ) + vera_tile_area::rowskip#2 = phi( vera_tile_area::@4/vera_tile_area::rowskip#3, vera_tile_area::@6/vera_tile_area::rowskip#4 ) + vera_tile_area::mapbase#7 = phi( vera_tile_area::@4/vera_tile_area::mapbase#8, vera_tile_area::@6/vera_tile_area::mapbase#9 ) + vera_tile_area::index_h#5 = phi( vera_tile_area::@4/vera_tile_area::index_h#4, vera_tile_area::@6/vera_tile_area::index_h#6 ) + vera_tile_area::index_l#2 = phi( vera_tile_area::@4/vera_tile_area::index_l#1, vera_tile_area::@6/vera_tile_area::index_l#3 ) + vera_tile_area::w#5 = phi( vera_tile_area::@4/vera_tile_area::w#6, vera_tile_area::@6/vera_tile_area::w#7 ) + vera_tile_area::c#2 = phi( vera_tile_area::@4/vera_tile_area::c#1, vera_tile_area::@6/vera_tile_area::c#0 ) + vera_tile_area::$8 = vera_tile_area::c#2 < vera_tile_area::w#5 + if(vera_tile_area::$8) goto vera_tile_area::@4 + to:vera_tile_area::@5 +vera_tile_area::@4: scope:[vera_tile_area] from vera_tile_area::@3 + vera_tile_area::h#9 = phi( vera_tile_area::@3/vera_tile_area::h#8 ) + vera_tile_area::r#5 = phi( vera_tile_area::@3/vera_tile_area::r#4 ) + vera_tile_area::rowskip#3 = phi( vera_tile_area::@3/vera_tile_area::rowskip#2 ) + vera_tile_area::mapbase#8 = phi( vera_tile_area::@3/vera_tile_area::mapbase#7 ) + vera_tile_area::w#6 = phi( vera_tile_area::@3/vera_tile_area::w#5 ) + vera_tile_area::c#3 = phi( vera_tile_area::@3/vera_tile_area::c#2 ) + vera_tile_area::index_h#4 = phi( vera_tile_area::@3/vera_tile_area::index_h#5 ) + vera_tile_area::index_l#1 = phi( vera_tile_area::@3/vera_tile_area::index_l#2 ) + *VERA_DATA0 = vera_tile_area::index_l#1 + *VERA_DATA0 = vera_tile_area::index_h#4 + vera_tile_area::c#1 = ++ vera_tile_area::c#3 + to:vera_tile_area::@3 +vera_tile_area::@5: scope:[vera_tile_area] from vera_tile_area::@3 + vera_tile_area::index_h#10 = phi( vera_tile_area::@3/vera_tile_area::index_h#5 ) + vera_tile_area::index_l#7 = phi( vera_tile_area::@3/vera_tile_area::index_l#2 ) + vera_tile_area::w#12 = phi( vera_tile_area::@3/vera_tile_area::w#5 ) + vera_tile_area::h#7 = phi( vera_tile_area::@3/vera_tile_area::h#8 ) + vera_tile_area::r#3 = phi( vera_tile_area::@3/vera_tile_area::r#4 ) + vera_tile_area::rowskip#1 = phi( vera_tile_area::@3/vera_tile_area::rowskip#2 ) + vera_tile_area::mapbase#5 = phi( vera_tile_area::@3/vera_tile_area::mapbase#7 ) + vera_tile_area::mapbase#3 = vera_tile_area::mapbase#5 + vera_tile_area::rowskip#1 + vera_tile_area::r#1 = ++ vera_tile_area::r#3 + to:vera_tile_area::@1 +vera_tile_area::@return: scope:[vera_tile_area] from vera_tile_area::@1 + return + to:@return + +void conio_x16_init() +conio_x16_init: scope:[conio_x16_init] from __start::__init1 + CONIO_SCREEN_TEXT#46 = phi( __start::__init1/CONIO_SCREEN_TEXT#7 ) + CONIO_SCREEN_BANK#40 = phi( __start::__init1/CONIO_SCREEN_BANK#7 ) + conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE + vera_layer_mode_text::layer#0 = 1 + vera_layer_mode_text::mapbase_address#0 = (dword)0 + vera_layer_mode_text::tilebase_address#0 = (dword)$f800 + vera_layer_mode_text::mapwidth#0 = $80 + vera_layer_mode_text::mapheight#0 = $40 + vera_layer_mode_text::tilewidth#0 = 8 + vera_layer_mode_text::tileheight#0 = 8 + vera_layer_mode_text::color_mode#0 = $10 + call vera_layer_mode_text + to:conio_x16_init::@3 +conio_x16_init::@3: scope:[conio_x16_init] from conio_x16_init + conio_x16_init::line#9 = phi( conio_x16_init/conio_x16_init::line#0 ) + CONIO_SCREEN_TEXT#36 = phi( conio_x16_init/CONIO_SCREEN_TEXT#46 ) + CONIO_SCREEN_BANK#31 = phi( conio_x16_init/CONIO_SCREEN_BANK#40 ) + screensize::x#0 = &conio_screen_width + screensize::y#0 = &conio_screen_height + call screensize + to:conio_x16_init::@4 +conio_x16_init::@4: scope:[conio_x16_init] from conio_x16_init::@3 + conio_x16_init::line#8 = phi( conio_x16_init::@3/conio_x16_init::line#9 ) + CONIO_SCREEN_TEXT#24 = phi( conio_x16_init::@3/CONIO_SCREEN_TEXT#36 ) + CONIO_SCREEN_BANK#22 = phi( conio_x16_init::@3/CONIO_SCREEN_BANK#31 ) + screenlayer::layer#0 = 1 + call screenlayer + to:conio_x16_init::@5 +conio_x16_init::@5: scope:[conio_x16_init] from conio_x16_init::@4 + conio_x16_init::line#7 = phi( conio_x16_init::@4/conio_x16_init::line#8 ) + CONIO_SCREEN_TEXT#11 = phi( conio_x16_init::@4/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#11 = phi( conio_x16_init::@4/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#11 + CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#11 + vera_layer_set_textcolor::layer#0 = 1 + vera_layer_set_textcolor::color#0 = WHITE + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#2 = vera_layer_set_textcolor::return#1 + to:conio_x16_init::@6 +conio_x16_init::@6: scope:[conio_x16_init] from conio_x16_init::@5 + CONIO_SCREEN_TEXT#78 = phi( conio_x16_init::@5/CONIO_SCREEN_TEXT#0 ) + CONIO_SCREEN_BANK#64 = phi( conio_x16_init::@5/CONIO_SCREEN_BANK#0 ) + conio_x16_init::line#6 = phi( conio_x16_init::@5/conio_x16_init::line#7 ) + vera_layer_set_backcolor::layer#0 = 1 + vera_layer_set_backcolor::color#0 = BLUE + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#2 = vera_layer_set_backcolor::return#1 + to:conio_x16_init::@7 +conio_x16_init::@7: scope:[conio_x16_init] from conio_x16_init::@6 + CONIO_SCREEN_TEXT#64 = phi( conio_x16_init::@6/CONIO_SCREEN_TEXT#78 ) + CONIO_SCREEN_BANK#57 = phi( conio_x16_init::@6/CONIO_SCREEN_BANK#64 ) + conio_x16_init::line#5 = phi( conio_x16_init::@6/conio_x16_init::line#6 ) + vera_layer_set_mapbase::layer#1 = 0 + vera_layer_set_mapbase::mapbase#1 = $20 + call vera_layer_set_mapbase + to:conio_x16_init::@8 +conio_x16_init::@8: scope:[conio_x16_init] from conio_x16_init::@7 + CONIO_SCREEN_TEXT#56 = phi( conio_x16_init::@7/CONIO_SCREEN_TEXT#64 ) + CONIO_SCREEN_BANK#50 = phi( conio_x16_init::@7/CONIO_SCREEN_BANK#57 ) + conio_x16_init::line#4 = phi( conio_x16_init::@7/conio_x16_init::line#5 ) + vera_layer_set_mapbase::layer#2 = 1 + vera_layer_set_mapbase::mapbase#2 = 0 + call vera_layer_set_mapbase + to:conio_x16_init::@9 +conio_x16_init::@9: scope:[conio_x16_init] from conio_x16_init::@8 + CONIO_SCREEN_TEXT#48 = phi( conio_x16_init::@8/CONIO_SCREEN_TEXT#56 ) + CONIO_SCREEN_BANK#42 = phi( conio_x16_init::@8/CONIO_SCREEN_BANK#50 ) + conio_x16_init::line#2 = phi( conio_x16_init::@8/conio_x16_init::line#4 ) + conio_x16_init::$7 = conio_x16_init::line#2 >= conio_screen_height + conio_x16_init::$8 = ! conio_x16_init::$7 + if(conio_x16_init::$8) goto conio_x16_init::@1 + to:conio_x16_init::@2 +conio_x16_init::@1: scope:[conio_x16_init] from conio_x16_init::@2 conio_x16_init::@9 + CONIO_SCREEN_TEXT#37 = phi( conio_x16_init::@2/CONIO_SCREEN_TEXT#47, conio_x16_init::@9/CONIO_SCREEN_TEXT#48 ) + CONIO_SCREEN_BANK#32 = phi( conio_x16_init::@2/CONIO_SCREEN_BANK#41, conio_x16_init::@9/CONIO_SCREEN_BANK#42 ) + conio_x16_init::line#3 = phi( conio_x16_init::@2/conio_x16_init::line#1, conio_x16_init::@9/conio_x16_init::line#2 ) + gotoxy::x#0 = 0 + gotoxy::y#0 = conio_x16_init::line#3 + call gotoxy + to:conio_x16_init::@10 +conio_x16_init::@10: scope:[conio_x16_init] from conio_x16_init::@1 + CONIO_SCREEN_TEXT#25 = phi( conio_x16_init::@1/CONIO_SCREEN_TEXT#37 ) + CONIO_SCREEN_BANK#23 = phi( conio_x16_init::@1/CONIO_SCREEN_BANK#32 ) + to:conio_x16_init::@return +conio_x16_init::@2: scope:[conio_x16_init] from conio_x16_init::@9 + CONIO_SCREEN_TEXT#47 = phi( conio_x16_init::@9/CONIO_SCREEN_TEXT#48 ) + CONIO_SCREEN_BANK#41 = phi( conio_x16_init::@9/CONIO_SCREEN_BANK#42 ) + conio_x16_init::$9 = conio_screen_height - 1 + conio_x16_init::line#1 = conio_x16_init::$9 + to:conio_x16_init::@1 +conio_x16_init::@return: scope:[conio_x16_init] from conio_x16_init::@10 + CONIO_SCREEN_TEXT#12 = phi( conio_x16_init::@10/CONIO_SCREEN_TEXT#25 ) + CONIO_SCREEN_BANK#12 = phi( conio_x16_init::@10/CONIO_SCREEN_BANK#23 ) + CONIO_SCREEN_BANK#1 = CONIO_SCREEN_BANK#12 + CONIO_SCREEN_TEXT#1 = CONIO_SCREEN_TEXT#12 + return + to:@return + +byte kbhit() +kbhit: scope:[kbhit] from main::@14 main::@9 + kbhit::ch = 0 + kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + }} + kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + kbhit::return#4 = phi( kbhit/kbhit::return#0 ) + kbhit::return#1 = kbhit::return#4 + return + to:@return + +void clrscr() +clrscr: scope:[clrscr] from main::@17 main::@20 + CONIO_SCREEN_BANK#51 = phi( main::@17/CONIO_SCREEN_BANK#58, main::@20/CONIO_SCREEN_BANK#39 ) + CONIO_SCREEN_TEXT#13 = phi( main::@17/CONIO_SCREEN_TEXT#26, main::@20/CONIO_SCREEN_TEXT#27 ) + clrscr::line_text#0 = CONIO_SCREEN_TEXT#13 + vera_layer_get_backcolor::layer#0 = conio_screen_layer + call vera_layer_get_backcolor + vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#1 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + CONIO_SCREEN_BANK#43 = phi( clrscr/CONIO_SCREEN_BANK#51 ) + clrscr::line_text#8 = phi( clrscr/clrscr::line_text#0 ) + vera_layer_get_backcolor::return#4 = phi( clrscr/vera_layer_get_backcolor::return#2 ) + clrscr::$0 = vera_layer_get_backcolor::return#4 + clrscr::$1 = clrscr::$0 << 4 + vera_layer_get_textcolor::layer#0 = conio_screen_layer + call vera_layer_get_textcolor + vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#1 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + CONIO_SCREEN_BANK#34 = phi( clrscr::@7/CONIO_SCREEN_BANK#43 ) + clrscr::line_text#6 = phi( clrscr::@7/clrscr::line_text#8 ) + vera_layer_get_textcolor::return#4 = phi( clrscr::@7/vera_layer_get_textcolor::return#2 ) + clrscr::$2 = vera_layer_get_textcolor::return#4 + clrscr::$3 = clrscr::$1 | clrscr::$2 + clrscr::color#0 = clrscr::$3 + clrscr::l#0 = 0 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + clrscr::color#4 = phi( clrscr::@6/clrscr::color#5, clrscr::@8/clrscr::color#0 ) + CONIO_SCREEN_BANK#24 = phi( clrscr::@6/CONIO_SCREEN_BANK#33, clrscr::@8/CONIO_SCREEN_BANK#34 ) + clrscr::line_text#4 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#6 ) + clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/clrscr::l#0 ) + clrscr::$4 = clrscr::l#2 < conio_height + if(clrscr::$4) goto clrscr::@2 + to:clrscr::@3 +clrscr::@2: scope:[clrscr] from clrscr::@1 + clrscr::l#5 = phi( clrscr::@1/clrscr::l#2 ) + clrscr::color#3 = phi( clrscr::@1/clrscr::color#4 ) + CONIO_SCREEN_BANK#13 = phi( clrscr::@1/CONIO_SCREEN_BANK#24 ) + clrscr::line_text#2 = phi( clrscr::@1/clrscr::line_text#4 ) + clrscr::ch#0 = clrscr::line_text#2 + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + clrscr::$5 = < clrscr::ch#0 + *VERA_ADDRX_L = clrscr::$5 + clrscr::$6 = > clrscr::ch#0 + *VERA_ADDRX_M = clrscr::$6 + clrscr::$7 = CONIO_SCREEN_BANK#13 | VERA_INC_1 + *VERA_ADDRX_H = clrscr::$7 + clrscr::c#0 = 0 + to:clrscr::@4 +clrscr::@3: scope:[clrscr] from clrscr::@1 + conio_cursor_x[conio_screen_layer] = 0 + conio_cursor_y[conio_screen_layer] = 0 + clrscr::$9 = conio_screen_layer * SIZEOF_WORD + conio_line_text[clrscr::$9] = 0 + to:clrscr::@return +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + CONIO_SCREEN_BANK#44 = phi( clrscr::@2/CONIO_SCREEN_BANK#13, clrscr::@5/CONIO_SCREEN_BANK#52 ) + clrscr::l#4 = phi( clrscr::@2/clrscr::l#5, clrscr::@5/clrscr::l#6 ) + clrscr::line_text#5 = phi( clrscr::@2/clrscr::line_text#2, clrscr::@5/clrscr::line_text#7 ) + clrscr::color#2 = phi( clrscr::@2/clrscr::color#3, clrscr::@5/clrscr::color#1 ) + clrscr::c#2 = phi( clrscr::@2/clrscr::c#0, clrscr::@5/clrscr::c#1 ) + clrscr::$8 = clrscr::c#2 < conio_width + if(clrscr::$8) goto clrscr::@5 + to:clrscr::@6 +clrscr::@5: scope:[clrscr] from clrscr::@4 + CONIO_SCREEN_BANK#52 = phi( clrscr::@4/CONIO_SCREEN_BANK#44 ) + clrscr::l#6 = phi( clrscr::@4/clrscr::l#4 ) + clrscr::line_text#7 = phi( clrscr::@4/clrscr::line_text#5 ) + clrscr::c#3 = phi( clrscr::@4/clrscr::c#2 ) + clrscr::color#1 = phi( clrscr::@4/clrscr::color#2 ) + *VERA_DATA0 = ' ' + *VERA_DATA0 = clrscr::color#1 + clrscr::c#1 = ++ clrscr::c#3 + to:clrscr::@4 +clrscr::@6: scope:[clrscr] from clrscr::@4 + clrscr::color#5 = phi( clrscr::@4/clrscr::color#2 ) + CONIO_SCREEN_BANK#33 = phi( clrscr::@4/CONIO_SCREEN_BANK#44 ) + clrscr::l#3 = phi( clrscr::@4/clrscr::l#4 ) + clrscr::line_text#3 = phi( clrscr::@4/clrscr::line_text#5 ) + clrscr::line_text#1 = clrscr::line_text#3 + conio_rowskip + clrscr::l#1 = ++ clrscr::l#3 + to:clrscr::@1 +clrscr::@return: scope:[clrscr] from clrscr::@3 + return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@8 + gotoxy::x#6 = phi( conio_x16_init::@1/gotoxy::x#0, cscroll::@5/gotoxy::x#2, main::@8/gotoxy::x#3 ) + gotoxy::y#4 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@8/gotoxy::y#3 ) + gotoxy::$0 = gotoxy::y#4 > conio_screen_height + gotoxy::$1 = ! gotoxy::$0 + if(gotoxy::$1) goto gotoxy::@1 + to:gotoxy::@3 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@3 + gotoxy::y#6 = phi( gotoxy/gotoxy::y#4, gotoxy::@3/gotoxy::y#1 ) + gotoxy::x#4 = phi( gotoxy/gotoxy::x#6, gotoxy::@3/gotoxy::x#7 ) + gotoxy::$2 = gotoxy::x#4 >= conio_screen_width + gotoxy::$3 = ! gotoxy::$2 + if(gotoxy::$3) goto gotoxy::@2 + to:gotoxy::@4 +gotoxy::@3: scope:[gotoxy] from gotoxy + gotoxy::x#7 = phi( gotoxy/gotoxy::x#6 ) + gotoxy::y#1 = 0 + to:gotoxy::@1 +gotoxy::@2: scope:[gotoxy] from gotoxy::@1 gotoxy::@4 + gotoxy::y#5 = phi( gotoxy::@1/gotoxy::y#6, gotoxy::@4/gotoxy::y#7 ) + gotoxy::x#5 = phi( gotoxy::@1/gotoxy::x#4, gotoxy::@4/gotoxy::x#1 ) + conio_cursor_x[conio_screen_layer] = gotoxy::x#5 + conio_cursor_y[conio_screen_layer] = gotoxy::y#5 + gotoxy::$6 = (word)gotoxy::y#5 + gotoxy::$4 = gotoxy::$6 << conio_rowshift + gotoxy::line_offset#0 = gotoxy::$4 + gotoxy::$5 = conio_screen_layer * SIZEOF_WORD + conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 + to:gotoxy::@return +gotoxy::@4: scope:[gotoxy] from gotoxy::@1 + gotoxy::y#7 = phi( gotoxy::@1/gotoxy::y#6 ) + gotoxy::x#1 = 0 + to:gotoxy::@2 +gotoxy::@return: scope:[gotoxy] from gotoxy::@2 + return + to:@return + +void screensize(byte* screensize::x , byte* screensize::y) +screensize: scope:[screensize] from conio_x16_init::@3 + screensize::y#1 = phi( conio_x16_init::@3/screensize::y#0 ) + screensize::x#1 = phi( conio_x16_init::@3/screensize::x#0 ) + screensize::$0 = *VERA_DC_HSCALE >> 7 + screensize::hscale#0 = screensize::$0 + screensize::$1 = $28 << screensize::hscale#0 + *screensize::x#1 = screensize::$1 + screensize::$2 = *VERA_DC_VSCALE >> 7 + screensize::vscale#0 = screensize::$2 + screensize::$3 = $1e << screensize::vscale#0 + *screensize::y#1 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + CONIO_SCREEN_BANK#35 = phi( cputs::@2/CONIO_SCREEN_BANK#45 ) + cputc::c#3 = phi( cputs::@2/cputc::c#0 ) + CONIO_SCREEN_TEXT#28 = phi( cputs::@2/CONIO_SCREEN_TEXT#38 ) + vera_layer_get_color::layer#0 = conio_screen_layer + call vera_layer_get_color + vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + CONIO_SCREEN_BANK#25 = phi( cputc/CONIO_SCREEN_BANK#35 ) + cputc::c#1 = phi( cputc/cputc::c#3 ) + CONIO_SCREEN_TEXT#14 = phi( cputc/CONIO_SCREEN_TEXT#28 ) + vera_layer_get_color::return#6 = phi( cputc/vera_layer_get_color::return#3 ) + cputc::$0 = vera_layer_get_color::return#6 + cputc::color#0 = cputc::$0 + cputc::$15 = conio_screen_layer * SIZEOF_WORD + cputc::$1 = CONIO_SCREEN_TEXT#14 + conio_line_text[cputc::$15] + cputc::conio_addr#0 = cputc::$1 + cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + cputc::$3 = cputc::c#1 == ' +' + if(cputc::$3) goto cputc::@1 + to:cputc::@2 +cputc::@1: scope:[cputc] from cputc::@7 + CONIO_SCREEN_TEXT#85 = phi( cputc::@7/CONIO_SCREEN_TEXT#14 ) + call cputln + to:cputc::@8 +cputc::@8: scope:[cputc] from cputc::@1 + to:cputc::@return +cputc::@2: scope:[cputc] from cputc::@7 + CONIO_SCREEN_TEXT#96 = phi( cputc::@7/CONIO_SCREEN_TEXT#14 ) + cputc::color#1 = phi( cputc::@7/cputc::color#0 ) + cputc::c#2 = phi( cputc::@7/cputc::c#1 ) + CONIO_SCREEN_BANK#14 = phi( cputc::@7/CONIO_SCREEN_BANK#25 ) + cputc::conio_addr#2 = phi( cputc::@7/cputc::conio_addr#1 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + cputc::$4 = < cputc::conio_addr#2 + *VERA_ADDRX_L = cputc::$4 + cputc::$5 = > cputc::conio_addr#2 + *VERA_ADDRX_M = cputc::$5 + cputc::$6 = CONIO_SCREEN_BANK#14 | VERA_INC_1 + *VERA_ADDRX_H = cputc::$6 + *VERA_DATA0 = cputc::c#2 + *VERA_DATA0 = cputc::color#1 + conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + cputc::$17 = 0 != cputc::scroll_enable#0 + if(cputc::$17) goto cputc::@5 + to:cputc::@3 +cputc::@5: scope:[cputc] from cputc::@2 + CONIO_SCREEN_TEXT#92 = phi( cputc::@2/CONIO_SCREEN_TEXT#96 ) + cputc::$11 = conio_cursor_x[conio_screen_layer] == conio_screen_width + cputc::$12 = ! cputc::$11 + if(cputc::$12) goto cputc::@return + to:cputc::@6 +cputc::@3: scope:[cputc] from cputc::@2 + CONIO_SCREEN_TEXT#91 = phi( cputc::@2/CONIO_SCREEN_TEXT#96 ) + cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + cputc::$8 = cputc::$16 == conio_width + cputc::$9 = ! cputc::$8 + if(cputc::$9) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + CONIO_SCREEN_TEXT#86 = phi( cputc::@3/CONIO_SCREEN_TEXT#91 ) + call cputln + to:cputc::@9 +cputc::@9: scope:[cputc] from cputc::@4 + to:cputc::@return +cputc::@6: scope:[cputc] from cputc::@5 + CONIO_SCREEN_TEXT#87 = phi( cputc::@5/CONIO_SCREEN_TEXT#92 ) + call cputln + to:cputc::@10 +cputc::@10: scope:[cputc] from cputc::@6 + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@10 cputc::@3 cputc::@5 cputc::@8 cputc::@9 + return + to:@return + +void cputln() +cputln: scope:[cputln] from cputc::@1 cputc::@4 cputc::@6 + CONIO_SCREEN_TEXT#79 = phi( cputc::@1/CONIO_SCREEN_TEXT#85, cputc::@4/CONIO_SCREEN_TEXT#86, cputc::@6/CONIO_SCREEN_TEXT#87 ) + cputln::$2 = conio_screen_layer * SIZEOF_WORD + cputln::temp#0 = conio_line_text[cputln::$2] + cputln::temp#1 = cputln::temp#0 + conio_rowskip + cputln::$3 = conio_screen_layer * SIZEOF_WORD + conio_line_text[cputln::$3] = cputln::temp#1 + conio_cursor_x[conio_screen_layer] = 0 + conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] + call cscroll + to:cputln::@1 +cputln::@1: scope:[cputln] from cputln + to:cputln::@return +cputln::@return: scope:[cputln] from cputln::@1 + return + to:@return + +void clearline() +clearline: scope:[clearline] from insertup::@3 + CONIO_SCREEN_TEXT#15 = phi( insertup::@3/CONIO_SCREEN_TEXT#29 ) + *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + clearline::$5 = conio_screen_layer * SIZEOF_WORD + clearline::$0 = CONIO_SCREEN_TEXT#15 + conio_line_text[clearline::$5] + clearline::addr#0 = clearline::$0 + clearline::$1 = < clearline::addr#0 + *VERA_ADDRX_L = clearline::$1 + clearline::$2 = > clearline::addr#0 + *VERA_ADDRX_M = clearline::$2 + *VERA_ADDRX_H = VERA_INC_1 + vera_layer_get_color::layer#1 = conio_screen_layer + call vera_layer_get_color + vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + vera_layer_get_color::return#7 = phi( clearline/vera_layer_get_color::return#4 ) + clearline::$3 = vera_layer_get_color::return#7 + clearline::color#0 = clearline::$3 + clearline::c#0 = 0 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + clearline::color#2 = phi( clearline::@2/clearline::color#1, clearline::@4/clearline::color#0 ) + clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/clearline::c#0 ) + clearline::$4 = clearline::c#2 < conio_screen_width + if(clearline::$4) goto clearline::@2 + to:clearline::@3 +clearline::@2: scope:[clearline] from clearline::@1 + clearline::c#3 = phi( clearline::@1/clearline::c#2 ) + clearline::color#1 = phi( clearline::@1/clearline::color#2 ) + *VERA_DATA0 = ' ' + *VERA_DATA0 = clearline::color#1 + clearline::c#1 = ++ clearline::c#3 + to:clearline::@1 +clearline::@3: scope:[clearline] from clearline::@1 + conio_cursor_x[conio_screen_layer] = 0 + to:clearline::@return +clearline::@return: scope:[clearline] from clearline::@3 + return + to:@return + +void insertup() +insertup: scope:[insertup] from cscroll::@4 + CONIO_SCREEN_TEXT#39 = phi( cscroll::@4/CONIO_SCREEN_TEXT#49 ) + insertup::cy#0 = conio_cursor_y[conio_screen_layer] + insertup::$0 = conio_screen_width * 2 + insertup::width#0 = insertup::$0 + insertup::i#0 = 1 + to:insertup::@1 +insertup::@1: scope:[insertup] from insertup insertup::@4 + insertup::width#2 = phi( insertup/insertup::width#0, insertup::@4/insertup::width#3 ) + CONIO_SCREEN_TEXT#30 = phi( insertup/CONIO_SCREEN_TEXT#39, insertup::@4/CONIO_SCREEN_TEXT#40 ) + insertup::cy#1 = phi( insertup/insertup::cy#0, insertup::@4/insertup::cy#2 ) + insertup::i#2 = phi( insertup/insertup::i#0, insertup::@4/insertup::i#1 ) + insertup::$2 = insertup::i#2 <= insertup::cy#1 + if(insertup::$2) goto insertup::@2 + to:insertup::@3 +insertup::@2: scope:[insertup] from insertup::@1 + insertup::cy#3 = phi( insertup::@1/insertup::cy#1 ) + insertup::width#1 = phi( insertup::@1/insertup::width#2 ) + CONIO_SCREEN_TEXT#16 = phi( insertup::@1/CONIO_SCREEN_TEXT#30 ) + insertup::i#3 = phi( insertup::@1/insertup::i#2 ) + insertup::$3 = insertup::i#3 - 1 + insertup::$4 = insertup::$3 << conio_rowshift + insertup::line#0 = insertup::$4 + insertup::$5 = CONIO_SCREEN_TEXT#16 + insertup::line#0 + insertup::start#0 = insertup::$5 + insertup::$6 = insertup::start#0 + conio_rowskip + memcpy_in_vram::dest_bank#0 = 0 + memcpy_in_vram::dest#0 = (void*)insertup::start#0 + memcpy_in_vram::dest_increment#0 = VERA_INC_1 + memcpy_in_vram::src_bank#0 = 0 + memcpy_in_vram::src#0 = (void*)insertup::$6 + memcpy_in_vram::src_increment#0 = VERA_INC_1 + memcpy_in_vram::num#0 = insertup::width#1 + call memcpy_in_vram + to:insertup::@4 +insertup::@4: scope:[insertup] from insertup::@2 + insertup::width#3 = phi( insertup::@2/insertup::width#1 ) + CONIO_SCREEN_TEXT#40 = phi( insertup::@2/CONIO_SCREEN_TEXT#16 ) + insertup::cy#2 = phi( insertup::@2/insertup::cy#3 ) + insertup::i#4 = phi( insertup::@2/insertup::i#3 ) + insertup::i#1 = ++ insertup::i#4 + to:insertup::@1 +insertup::@3: scope:[insertup] from insertup::@1 + CONIO_SCREEN_TEXT#29 = phi( insertup::@1/CONIO_SCREEN_TEXT#30 ) + call clearline + to:insertup::@5 +insertup::@5: scope:[insertup] from insertup::@3 + to:insertup::@return +insertup::@return: scope:[insertup] from insertup::@5 + return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + CONIO_SCREEN_TEXT#65 = phi( cputln/CONIO_SCREEN_TEXT#79 ) + cscroll::$0 = conio_cursor_y[conio_screen_layer] >= conio_screen_height + cscroll::$1 = ! cscroll::$0 + if(cscroll::$1) goto cscroll::@return + to:cscroll::@1 +cscroll::@1: scope:[cscroll] from cscroll + CONIO_SCREEN_TEXT#57 = phi( cscroll/CONIO_SCREEN_TEXT#65 ) + cscroll::$7 = 0 != conio_scroll_enable[conio_screen_layer] + if(cscroll::$7) goto cscroll::@4 + to:cscroll::@2 +cscroll::@4: scope:[cscroll] from cscroll::@1 + CONIO_SCREEN_TEXT#49 = phi( cscroll::@1/CONIO_SCREEN_TEXT#57 ) + call insertup + to:cscroll::@5 +cscroll::@5: scope:[cscroll] from cscroll::@4 + cscroll::$5 = conio_screen_height - 1 + gotoxy::x#2 = 0 + gotoxy::y#2 = cscroll::$5 + call gotoxy + to:cscroll::@6 +cscroll::@6: scope:[cscroll] from cscroll::@5 + to:cscroll::@return +cscroll::@2: scope:[cscroll] from cscroll::@1 + cscroll::$2 = conio_cursor_y[conio_screen_layer] >= conio_height + cscroll::$3 = ! cscroll::$2 + if(cscroll::$3) goto cscroll::@return + to:cscroll::@3 +cscroll::@3: scope:[cscroll] from cscroll::@2 + to:cscroll::@return +cscroll::@return: scope:[cscroll] from cscroll cscroll::@2 cscroll::@3 cscroll::@6 + return + to:@return + +void cputs(to_nomodify byte* cputs::s) +cputs: scope:[cputs] from main::@32 main::@33 main::@34 main::@35 main::@36 main::@37 main::@38 main::@39 + CONIO_SCREEN_BANK#59 = phi( main::@32/CONIO_SCREEN_BANK#65, main::@33/CONIO_SCREEN_BANK#66, main::@34/CONIO_SCREEN_BANK#67, main::@35/CONIO_SCREEN_BANK#68, main::@36/CONIO_SCREEN_BANK#69, main::@37/CONIO_SCREEN_BANK#70, main::@38/CONIO_SCREEN_BANK#71, main::@39/CONIO_SCREEN_BANK#72 ) + CONIO_SCREEN_TEXT#58 = phi( main::@32/CONIO_SCREEN_TEXT#66, main::@33/CONIO_SCREEN_TEXT#67, main::@34/CONIO_SCREEN_TEXT#68, main::@35/CONIO_SCREEN_TEXT#69, main::@36/CONIO_SCREEN_TEXT#70, main::@37/CONIO_SCREEN_TEXT#71, main::@38/CONIO_SCREEN_TEXT#72, main::@39/CONIO_SCREEN_TEXT#73 ) + cputs::s#10 = phi( main::@32/cputs::s#1, main::@33/cputs::s#2, main::@34/cputs::s#3, main::@35/cputs::s#4, main::@36/cputs::s#5, main::@37/cputs::s#6, main::@38/cputs::s#7, main::@39/cputs::s#8 ) + cputs::c#0 = 0 + to:cputs::@1 +cputs::@1: scope:[cputs] from cputs cputs::@3 + CONIO_SCREEN_BANK#53 = phi( cputs/CONIO_SCREEN_BANK#59, cputs::@3/CONIO_SCREEN_BANK#60 ) + CONIO_SCREEN_TEXT#50 = phi( cputs/CONIO_SCREEN_TEXT#58, cputs::@3/CONIO_SCREEN_TEXT#59 ) + cputs::s#9 = phi( cputs/cputs::s#10, cputs::@3/cputs::s#11 ) + cputs::c#1 = *cputs::s#9 + cputs::$0 = cputs::c#1 + cputs::s#0 = ++ cputs::s#9 + cputs::$2 = 0 != cputs::$0 + if(cputs::$2) goto cputs::@2 + to:cputs::@return +cputs::@2: scope:[cputs] from cputs::@1 + CONIO_SCREEN_BANK#45 = phi( cputs::@1/CONIO_SCREEN_BANK#53 ) + cputs::s#12 = phi( cputs::@1/cputs::s#0 ) + CONIO_SCREEN_TEXT#38 = phi( cputs::@1/CONIO_SCREEN_TEXT#50 ) + cputs::c#2 = phi( cputs::@1/cputs::c#1 ) + cputc::c#0 = cputs::c#2 + call cputc + to:cputs::@3 +cputs::@3: scope:[cputs] from cputs::@2 + CONIO_SCREEN_BANK#60 = phi( cputs::@2/CONIO_SCREEN_BANK#45 ) + CONIO_SCREEN_TEXT#59 = phi( cputs::@2/CONIO_SCREEN_TEXT#38 ) + cputs::s#11 = phi( cputs::@2/cputs::s#12 ) + to:cputs::@1 +cputs::@return: scope:[cputs] from cputs::@1 + return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@22 main::@48 + screenlayer::layer#3 = phi( conio_x16_init::@4/screenlayer::layer#0, main::@22/screenlayer::layer#1, main::@48/screenlayer::layer#2 ) + conio_screen_layer = screenlayer::layer#3 + vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + call vera_layer_get_mapbase_bank + vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#1 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + vera_layer_get_mapbase_bank::return#4 = phi( screenlayer/vera_layer_get_mapbase_bank::return#2 ) + screenlayer::$0 = vera_layer_get_mapbase_bank::return#4 + CONIO_SCREEN_BANK#2 = screenlayer::$0 + vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + call vera_layer_get_mapbase_offset + vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#1 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + CONIO_SCREEN_BANK#86 = phi( screenlayer::@3/CONIO_SCREEN_BANK#2 ) + vera_layer_get_mapbase_offset::return#4 = phi( screenlayer::@3/vera_layer_get_mapbase_offset::return#2 ) + screenlayer::$1 = vera_layer_get_mapbase_offset::return#4 + CONIO_SCREEN_TEXT#2 = ((byte*)) screenlayer::$1 + screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + CONIO_SCREEN_TEXT#93 = phi( screenlayer::@4/CONIO_SCREEN_TEXT#2 ) + CONIO_SCREEN_BANK#82 = phi( screenlayer::@4/CONIO_SCREEN_BANK#86 ) + screenlayer::vera_layer_get_width1_layer#1 = phi( screenlayer::@4/screenlayer::vera_layer_get_width1_layer#0 ) + screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#1 * SIZEOF_POINTER + screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 * SIZEOF_WORD + screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + CONIO_SCREEN_TEXT#88 = phi( screenlayer::vera_layer_get_width1/CONIO_SCREEN_TEXT#93 ) + CONIO_SCREEN_BANK#77 = phi( screenlayer::vera_layer_get_width1/CONIO_SCREEN_BANK#82 ) + screenlayer::vera_layer_get_width1_return#2 = phi( screenlayer::vera_layer_get_width1/screenlayer::vera_layer_get_width1_return#0 ) + screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#2 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + CONIO_SCREEN_TEXT#80 = phi( screenlayer::vera_layer_get_width1_@return/CONIO_SCREEN_TEXT#88 ) + CONIO_SCREEN_BANK#73 = phi( screenlayer::vera_layer_get_width1_@return/CONIO_SCREEN_BANK#77 ) + screenlayer::vera_layer_get_width1_return#3 = phi( screenlayer::vera_layer_get_width1_@return/screenlayer::vera_layer_get_width1_return#1 ) + screenlayer::$2 = screenlayer::vera_layer_get_width1_return#3 + conio_width = screenlayer::$2 + vera_layer_get_rowshift::layer#0 = conio_screen_layer + call vera_layer_get_rowshift + vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#1 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + CONIO_SCREEN_TEXT#74 = phi( screenlayer::@1/CONIO_SCREEN_TEXT#80 ) + CONIO_SCREEN_BANK#61 = phi( screenlayer::@1/CONIO_SCREEN_BANK#73 ) + vera_layer_get_rowshift::return#4 = phi( screenlayer::@1/vera_layer_get_rowshift::return#2 ) + screenlayer::$3 = vera_layer_get_rowshift::return#4 + conio_rowshift = screenlayer::$3 + vera_layer_get_rowskip::layer#0 = conio_screen_layer + call vera_layer_get_rowskip + vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#1 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + CONIO_SCREEN_TEXT#60 = phi( screenlayer::@5/CONIO_SCREEN_TEXT#74 ) + CONIO_SCREEN_BANK#54 = phi( screenlayer::@5/CONIO_SCREEN_BANK#61 ) + vera_layer_get_rowskip::return#4 = phi( screenlayer::@5/vera_layer_get_rowskip::return#2 ) + screenlayer::$4 = vera_layer_get_rowskip::return#4 + conio_rowskip = screenlayer::$4 + screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + CONIO_SCREEN_TEXT#51 = phi( screenlayer::@6/CONIO_SCREEN_TEXT#60 ) + CONIO_SCREEN_BANK#46 = phi( screenlayer::@6/CONIO_SCREEN_BANK#54 ) + screenlayer::vera_layer_get_height1_layer#1 = phi( screenlayer::@6/screenlayer::vera_layer_get_height1_layer#0 ) + screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#1 * SIZEOF_POINTER + screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 * SIZEOF_WORD + screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + CONIO_SCREEN_TEXT#41 = phi( screenlayer::vera_layer_get_height1/CONIO_SCREEN_TEXT#51 ) + CONIO_SCREEN_BANK#36 = phi( screenlayer::vera_layer_get_height1/CONIO_SCREEN_BANK#46 ) + screenlayer::vera_layer_get_height1_return#2 = phi( screenlayer::vera_layer_get_height1/screenlayer::vera_layer_get_height1_return#0 ) + screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#2 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + CONIO_SCREEN_TEXT#31 = phi( screenlayer::vera_layer_get_height1_@return/CONIO_SCREEN_TEXT#41 ) + CONIO_SCREEN_BANK#26 = phi( screenlayer::vera_layer_get_height1_@return/CONIO_SCREEN_BANK#36 ) + screenlayer::vera_layer_get_height1_return#3 = phi( screenlayer::vera_layer_get_height1_@return/screenlayer::vera_layer_get_height1_return#1 ) + screenlayer::$5 = screenlayer::vera_layer_get_height1_return#3 + conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + CONIO_SCREEN_TEXT#17 = phi( screenlayer::@2/CONIO_SCREEN_TEXT#31 ) + CONIO_SCREEN_BANK#15 = phi( screenlayer::@2/CONIO_SCREEN_BANK#26 ) + CONIO_SCREEN_BANK#3 = CONIO_SCREEN_BANK#15 + CONIO_SCREEN_TEXT#3 = CONIO_SCREEN_TEXT#17 + return + to:@return + +void main() +main: scope:[main] from __start::@1 + CONIO_SCREEN_TEXT#52 = phi( __start::@1/CONIO_SCREEN_TEXT#35 ) + CONIO_SCREEN_BANK#47 = phi( __start::@1/CONIO_SCREEN_BANK#30 ) + memcpy_in_vram::dest_bank#1 = 1 + memcpy_in_vram::dest#1 = (void*)$f000 + memcpy_in_vram::dest_increment#1 = VERA_INC_1 + memcpy_in_vram::src_bank#1 = 0 + memcpy_in_vram::src#1 = (void*)$f800 + memcpy_in_vram::src_increment#1 = VERA_INC_1 + memcpy_in_vram::num#1 = $100*8 + call memcpy_in_vram + to:main::@21 +main::@21: scope:[main] from main + CONIO_SCREEN_TEXT#42 = phi( main/CONIO_SCREEN_TEXT#52 ) + CONIO_SCREEN_BANK#37 = phi( main/CONIO_SCREEN_BANK#47 ) + vera_layer_mode_tile::layer#1 = 1 + vera_layer_mode_tile::mapbase_address#2 = $10000 + vera_layer_mode_tile::tilebase_address#2 = $1f000 + vera_layer_mode_tile::mapwidth#1 = $80 + vera_layer_mode_tile::mapheight#1 = $40 + vera_layer_mode_tile::tilewidth#1 = 8 + vera_layer_mode_tile::tileheight#1 = 8 + vera_layer_mode_tile::color_depth#1 = 1 + call vera_layer_mode_tile + to:main::@22 +main::@22: scope:[main] from main::@21 + CONIO_SCREEN_TEXT#32 = phi( main::@21/CONIO_SCREEN_TEXT#42 ) + CONIO_SCREEN_BANK#27 = phi( main::@21/CONIO_SCREEN_BANK#37 ) + screenlayer::layer#1 = 1 + call screenlayer + to:main::@23 +main::@23: scope:[main] from main::@22 + CONIO_SCREEN_TEXT#18 = phi( main::@22/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#16 = phi( main::@22/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#4 = CONIO_SCREEN_BANK#16 + CONIO_SCREEN_TEXT#4 = CONIO_SCREEN_TEXT#18 + main::textcolor1_color#0 = WHITE + to:main::textcolor1 +main::textcolor1: scope:[main] from main::@23 + CONIO_SCREEN_BANK#90 = phi( main::@23/CONIO_SCREEN_BANK#4 ) + CONIO_SCREEN_TEXT#81 = phi( main::@23/CONIO_SCREEN_TEXT#4 ) + main::textcolor1_color#1 = phi( main::@23/main::textcolor1_color#0 ) + vera_layer_set_textcolor::layer#1 = conio_screen_layer + vera_layer_set_textcolor::color#1 = main::textcolor1_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#3 = vera_layer_set_textcolor::return#1 + to:main::@24 +main::@24: scope:[main] from main::textcolor1 + CONIO_SCREEN_BANK#87 = phi( main::textcolor1/CONIO_SCREEN_BANK#90 ) + CONIO_SCREEN_TEXT#75 = phi( main::textcolor1/CONIO_SCREEN_TEXT#81 ) + to:main::@16 +main::@16: scope:[main] from main::@24 + CONIO_SCREEN_BANK#83 = phi( main::@24/CONIO_SCREEN_BANK#87 ) + CONIO_SCREEN_TEXT#61 = phi( main::@24/CONIO_SCREEN_TEXT#75 ) + main::bgcolor1_color#0 = BLACK + to:main::bgcolor1 +main::bgcolor1: scope:[main] from main::@16 + CONIO_SCREEN_BANK#78 = phi( main::@16/CONIO_SCREEN_BANK#83 ) + CONIO_SCREEN_TEXT#53 = phi( main::@16/CONIO_SCREEN_TEXT#61 ) + main::bgcolor1_color#1 = phi( main::@16/main::bgcolor1_color#0 ) + vera_layer_set_backcolor::layer#1 = conio_screen_layer + vera_layer_set_backcolor::color#1 = main::bgcolor1_color#1 + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#3 = vera_layer_set_backcolor::return#1 + to:main::@25 +main::@25: scope:[main] from main::bgcolor1 + CONIO_SCREEN_BANK#74 = phi( main::bgcolor1/CONIO_SCREEN_BANK#78 ) + CONIO_SCREEN_TEXT#43 = phi( main::bgcolor1/CONIO_SCREEN_TEXT#53 ) + to:main::@17 +main::@17: scope:[main] from main::@25 + CONIO_SCREEN_BANK#58 = phi( main::@25/CONIO_SCREEN_BANK#74 ) + CONIO_SCREEN_TEXT#26 = phi( main::@25/CONIO_SCREEN_TEXT#43 ) + call clrscr + to:main::@26 +main::@26: scope:[main] from main::@17 + CONIO_SCREEN_BANK#111 = phi( main::@17/CONIO_SCREEN_BANK#58 ) + CONIO_SCREEN_TEXT#117 = phi( main::@17/CONIO_SCREEN_TEXT#26 ) + vera_layer_mode_tile::layer#2 = 0 + vera_layer_mode_tile::mapbase_address#3 = $14000 + vera_layer_mode_tile::tilebase_address#3 = 0 + vera_layer_mode_tile::mapwidth#2 = $40 + vera_layer_mode_tile::mapheight#2 = $40 + vera_layer_mode_tile::tilewidth#2 = $10 + vera_layer_mode_tile::tileheight#2 = $10 + vera_layer_mode_tile::color_depth#2 = 8 + call vera_layer_mode_tile + to:main::@27 +main::@27: scope:[main] from main::@26 + CONIO_SCREEN_BANK#109 = phi( main::@26/CONIO_SCREEN_BANK#111 ) + CONIO_SCREEN_TEXT#115 = phi( main::@26/CONIO_SCREEN_TEXT#117 ) + main::tilebase#0 = 0 + memcpy_to_vram::vbank#0 = 0 + memcpy_to_vram::vdest#0 = (void*)main::tilebase#0 + memcpy_to_vram::src#0 = (void*)main::tiles + memcpy_to_vram::num#0 = $100 + call memcpy_to_vram + to:main::@28 +main::@28: scope:[main] from main::@27 + CONIO_SCREEN_BANK#107 = phi( main::@27/CONIO_SCREEN_BANK#109 ) + CONIO_SCREEN_TEXT#113 = phi( main::@27/CONIO_SCREEN_TEXT#115 ) + main::tilebase#3 = phi( main::@27/main::tilebase#0 ) + main::tilebase#1 = main::tilebase#3 + $100 + main::t#0 = 1 + to:main::@1 +main::@1: scope:[main] from main::@28 main::@29 + CONIO_SCREEN_BANK#105 = phi( main::@28/CONIO_SCREEN_BANK#107, main::@29/CONIO_SCREEN_BANK#99 ) + CONIO_SCREEN_TEXT#111 = phi( main::@28/CONIO_SCREEN_TEXT#113, main::@29/CONIO_SCREEN_TEXT#105 ) + main::t#5 = phi( main::@28/main::t#0, main::@29/main::t#1 ) + main::tilebase#7 = phi( main::@28/main::tilebase#1, main::@29/main::tilebase#2 ) + main::p#0 = 0 + to:main::@2 +main::@2: scope:[main] from main::@1 main::@2 + CONIO_SCREEN_BANK#103 = phi( main::@1/CONIO_SCREEN_BANK#105, main::@2/CONIO_SCREEN_BANK#103 ) + CONIO_SCREEN_TEXT#109 = phi( main::@1/CONIO_SCREEN_TEXT#111, main::@2/CONIO_SCREEN_TEXT#109 ) + main::t#4 = phi( main::@1/main::t#5, main::@2/main::t#4 ) + main::tilebase#6 = phi( main::@1/main::tilebase#7, main::@2/main::tilebase#6 ) + main::p#2 = phi( main::@1/main::p#0, main::@2/main::p#1 ) + main::tiles[main::p#2] = main::tiles[main::p#2] + 1 + main::p#1 = main::p#2 + rangenext(0,$ff) + main::$29 = main::p#1 != rangelast(0,$ff) + if(main::$29) goto main::@2 + to:main::@3 +main::@3: scope:[main] from main::@2 + CONIO_SCREEN_BANK#101 = phi( main::@2/CONIO_SCREEN_BANK#103 ) + CONIO_SCREEN_TEXT#107 = phi( main::@2/CONIO_SCREEN_TEXT#109 ) + main::t#3 = phi( main::@2/main::t#4 ) + main::tilebase#4 = phi( main::@2/main::tilebase#6 ) + memcpy_to_vram::vbank#1 = 0 + memcpy_to_vram::vdest#1 = (void*)main::tilebase#4 + memcpy_to_vram::src#1 = (void*)main::tiles + memcpy_to_vram::num#1 = $100 + call memcpy_to_vram + to:main::@29 +main::@29: scope:[main] from main::@3 + CONIO_SCREEN_BANK#99 = phi( main::@3/CONIO_SCREEN_BANK#101 ) + CONIO_SCREEN_TEXT#105 = phi( main::@3/CONIO_SCREEN_TEXT#107 ) + main::t#2 = phi( main::@3/main::t#3 ) + main::tilebase#5 = phi( main::@3/main::tilebase#4 ) + main::tilebase#2 = main::tilebase#5 + $100 + main::t#1 = main::t#2 + rangenext(1,$ff) + main::$31 = main::t#1 != rangelast(1,$ff) + if(main::$31) goto main::@1 + to:main::@4 +main::@4: scope:[main] from main::@29 + CONIO_SCREEN_BANK#97 = phi( main::@29/CONIO_SCREEN_BANK#99 ) + CONIO_SCREEN_TEXT#103 = phi( main::@29/CONIO_SCREEN_TEXT#105 ) + vera_tile_area::layer#0 = 0 + vera_tile_area::tileindex#0 = 0 + vera_tile_area::x#0 = 0 + vera_tile_area::y#0 = 0 + vera_tile_area::w#0 = $28 + vera_tile_area::h#0 = $1e + vera_tile_area::hflip#1 = 0 + vera_tile_area::vflip#1 = 0 + vera_tile_area::offset#1 = 0 + call vera_tile_area + to:main::@30 +main::@30: scope:[main] from main::@4 + CONIO_SCREEN_BANK#95 = phi( main::@4/CONIO_SCREEN_BANK#97 ) + CONIO_SCREEN_TEXT#101 = phi( main::@4/CONIO_SCREEN_TEXT#103 ) + main::tile#0 = 0 + main::row#0 = 1 + main::r#0 = 0 + to:main::@5 +main::@5: scope:[main] from main::@30 main::@7 + CONIO_SCREEN_BANK#93 = phi( main::@30/CONIO_SCREEN_BANK#95, main::@7/CONIO_SCREEN_BANK#84 ) + CONIO_SCREEN_TEXT#99 = phi( main::@30/CONIO_SCREEN_TEXT#101, main::@7/CONIO_SCREEN_TEXT#89 ) + main::r#5 = phi( main::@30/main::r#0, main::@7/main::r#1 ) + main::row#9 = phi( main::@30/main::row#0, main::@7/main::row#1 ) + main::tile#10 = phi( main::@30/main::tile#0, main::@7/main::tile#12 ) + main::column#0 = 0 + main::c#0 = 0 + to:main::@6 +main::@6: scope:[main] from main::@31 main::@5 + CONIO_SCREEN_BANK#91 = phi( main::@31/CONIO_SCREEN_BANK#88, main::@5/CONIO_SCREEN_BANK#93 ) + CONIO_SCREEN_TEXT#97 = phi( main::@31/CONIO_SCREEN_TEXT#94, main::@5/CONIO_SCREEN_TEXT#99 ) + main::r#4 = phi( main::@31/main::r#3, main::@5/main::r#5 ) + main::c#3 = phi( main::@31/main::c#1, main::@5/main::c#0 ) + main::row#4 = phi( main::@31/main::row#8, main::@5/main::row#9 ) + main::column#2 = phi( main::@31/main::column#1, main::@5/main::column#0 ) + main::tile#6 = phi( main::@31/main::tile#2, main::@5/main::tile#10 ) + vera_tile_area::layer#1 = 0 + vera_tile_area::tileindex#1 = main::tile#6 + vera_tile_area::x#1 = main::column#2 + vera_tile_area::y#1 = main::row#4 + vera_tile_area::w#1 = 1 + vera_tile_area::h#1 = 1 + vera_tile_area::hflip#2 = 0 + vera_tile_area::vflip#2 = 0 + vera_tile_area::offset#2 = 0 + call vera_tile_area + to:main::@31 +main::@31: scope:[main] from main::@6 + CONIO_SCREEN_BANK#88 = phi( main::@6/CONIO_SCREEN_BANK#91 ) + CONIO_SCREEN_TEXT#94 = phi( main::@6/CONIO_SCREEN_TEXT#97 ) + main::r#3 = phi( main::@6/main::r#4 ) + main::row#8 = phi( main::@6/main::row#4 ) + main::c#2 = phi( main::@6/main::c#3 ) + main::tile#7 = phi( main::@6/main::tile#6 ) + main::column#3 = phi( main::@6/main::column#2 ) + main::column#1 = main::column#3 + 2 + main::tile#1 = ++ main::tile#7 + main::tile#2 = main::tile#1 & $ff + main::c#1 = main::c#2 + rangenext(0,$13) + main::$33 = main::c#1 != rangelast(0,$13) + if(main::$33) goto main::@6 + to:main::@7 +main::@7: scope:[main] from main::@31 + CONIO_SCREEN_BANK#84 = phi( main::@31/CONIO_SCREEN_BANK#88 ) + CONIO_SCREEN_TEXT#89 = phi( main::@31/CONIO_SCREEN_TEXT#94 ) + main::tile#12 = phi( main::@31/main::tile#2 ) + main::r#2 = phi( main::@31/main::r#3 ) + main::row#5 = phi( main::@31/main::row#8 ) + main::row#1 = main::row#5 + 2 + main::r#1 = main::r#2 + rangenext(0,$b) + main::$34 = main::r#1 != rangelast(0,$b) + if(main::$34) goto main::@5 + to:main::@8 +main::@8: scope:[main] from main::@7 + CONIO_SCREEN_BANK#79 = phi( main::@7/CONIO_SCREEN_BANK#84 ) + CONIO_SCREEN_TEXT#82 = phi( main::@7/CONIO_SCREEN_TEXT#89 ) + gotoxy::x#3 = 0 + gotoxy::y#3 = $32 + call gotoxy + to:main::@32 +main::@32: scope:[main] from main::@8 + CONIO_SCREEN_BANK#65 = phi( main::@8/CONIO_SCREEN_BANK#79 ) + CONIO_SCREEN_TEXT#66 = phi( main::@8/CONIO_SCREEN_TEXT#82 ) + cputs::s#1 = main::s + call cputs + to:main::@33 +main::@33: scope:[main] from main::@32 + CONIO_SCREEN_BANK#66 = phi( main::@32/CONIO_SCREEN_BANK#65 ) + CONIO_SCREEN_TEXT#67 = phi( main::@32/CONIO_SCREEN_TEXT#66 ) + cputs::s#2 = main::s1 + call cputs + to:main::@34 +main::@34: scope:[main] from main::@33 + CONIO_SCREEN_BANK#67 = phi( main::@33/CONIO_SCREEN_BANK#66 ) + CONIO_SCREEN_TEXT#68 = phi( main::@33/CONIO_SCREEN_TEXT#67 ) + cputs::s#3 = main::s2 + call cputs + to:main::@35 +main::@35: scope:[main] from main::@34 + CONIO_SCREEN_BANK#68 = phi( main::@34/CONIO_SCREEN_BANK#67 ) + CONIO_SCREEN_TEXT#69 = phi( main::@34/CONIO_SCREEN_TEXT#68 ) + cputs::s#4 = main::s3 + call cputs + to:main::@36 +main::@36: scope:[main] from main::@35 + CONIO_SCREEN_BANK#69 = phi( main::@35/CONIO_SCREEN_BANK#68 ) + CONIO_SCREEN_TEXT#70 = phi( main::@35/CONIO_SCREEN_TEXT#69 ) + cputs::s#5 = main::s4 + call cputs + to:main::@37 +main::@37: scope:[main] from main::@36 + CONIO_SCREEN_BANK#70 = phi( main::@36/CONIO_SCREEN_BANK#69 ) + CONIO_SCREEN_TEXT#71 = phi( main::@36/CONIO_SCREEN_TEXT#70 ) + cputs::s#6 = main::s5 + call cputs + to:main::@38 +main::@38: scope:[main] from main::@37 + CONIO_SCREEN_BANK#71 = phi( main::@37/CONIO_SCREEN_BANK#70 ) + CONIO_SCREEN_TEXT#72 = phi( main::@37/CONIO_SCREEN_TEXT#71 ) + cputs::s#7 = main::s6 + call cputs + to:main::@39 +main::@39: scope:[main] from main::@38 + CONIO_SCREEN_BANK#72 = phi( main::@38/CONIO_SCREEN_BANK#71 ) + CONIO_SCREEN_TEXT#73 = phi( main::@38/CONIO_SCREEN_TEXT#72 ) + cputs::s#8 = main::s7 + call cputs + to:main::@40 +main::@40: scope:[main] from main::@39 + CONIO_SCREEN_TEXT#118 = phi( main::@39/CONIO_SCREEN_TEXT#73 ) + CONIO_SCREEN_BANK#110 = phi( main::@39/CONIO_SCREEN_BANK#72 ) + main::vera_layer_show1_layer#0 = 0 + to:main::vera_layer_show1 +main::vera_layer_show1: scope:[main] from main::@40 + CONIO_SCREEN_TEXT#116 = phi( main::@40/CONIO_SCREEN_TEXT#118 ) + CONIO_SCREEN_BANK#108 = phi( main::@40/CONIO_SCREEN_BANK#110 ) + main::vera_layer_show1_layer#1 = phi( main::@40/main::vera_layer_show1_layer#0 ) + *VERA_DC_VIDEO = *VERA_DC_VIDEO | vera_layer_enable[main::vera_layer_show1_layer#1] + to:main::@9 +main::@9: scope:[main] from main::@41 main::vera_layer_show1 + CONIO_SCREEN_TEXT#114 = phi( main::@41/CONIO_SCREEN_TEXT#112, main::vera_layer_show1/CONIO_SCREEN_TEXT#116 ) + CONIO_SCREEN_BANK#106 = phi( main::@41/CONIO_SCREEN_BANK#104, main::vera_layer_show1/CONIO_SCREEN_BANK#108 ) + call kbhit + kbhit::return#2 = kbhit::return#1 + to:main::@41 +main::@41: scope:[main] from main::@9 + CONIO_SCREEN_TEXT#112 = phi( main::@9/CONIO_SCREEN_TEXT#114 ) + CONIO_SCREEN_BANK#104 = phi( main::@9/CONIO_SCREEN_BANK#106 ) + kbhit::return#5 = phi( main::@9/kbhit::return#2 ) + main::$35 = kbhit::return#5 + main::$42 = 0 != main::$35 + main::$36 = ! main::$42 + if(main::$36) goto main::@9 + to:main::@10 +main::@10: scope:[main] from main::@41 + CONIO_SCREEN_TEXT#110 = phi( main::@41/CONIO_SCREEN_TEXT#112 ) + CONIO_SCREEN_BANK#102 = phi( main::@41/CONIO_SCREEN_BANK#104 ) + vera_tile_area::layer#2 = 0 + vera_tile_area::tileindex#2 = 0 + vera_tile_area::x#2 = 0 + vera_tile_area::y#2 = 0 + vera_tile_area::w#2 = $28 + vera_tile_area::h#2 = $1e + vera_tile_area::hflip#3 = 0 + vera_tile_area::vflip#3 = 0 + vera_tile_area::offset#3 = 0 + call vera_tile_area + to:main::@42 +main::@42: scope:[main] from main::@10 + CONIO_SCREEN_TEXT#108 = phi( main::@10/CONIO_SCREEN_TEXT#110 ) + CONIO_SCREEN_BANK#100 = phi( main::@10/CONIO_SCREEN_BANK#102 ) + main::tile#3 = 0 + main::row#2 = 0 + main::r1#0 = 0 + to:main::@11 +main::@11: scope:[main] from main::@13 main::@42 + CONIO_SCREEN_TEXT#106 = phi( main::@13/CONIO_SCREEN_TEXT#100, main::@42/CONIO_SCREEN_TEXT#108 ) + CONIO_SCREEN_BANK#98 = phi( main::@13/CONIO_SCREEN_BANK#92, main::@42/CONIO_SCREEN_BANK#100 ) + main::r1#5 = phi( main::@13/main::r1#1, main::@42/main::r1#0 ) + main::row#10 = phi( main::@13/main::row#3, main::@42/main::row#2 ) + main::tile#11 = phi( main::@13/main::tile#13, main::@42/main::tile#3 ) + main::column1#0 = 0 + main::c1#0 = 0 + to:main::@12 +main::@12: scope:[main] from main::@11 main::@43 + CONIO_SCREEN_TEXT#104 = phi( main::@11/CONIO_SCREEN_TEXT#106, main::@43/CONIO_SCREEN_TEXT#102 ) + CONIO_SCREEN_BANK#96 = phi( main::@11/CONIO_SCREEN_BANK#98, main::@43/CONIO_SCREEN_BANK#94 ) + main::r1#4 = phi( main::@11/main::r1#5, main::@43/main::r1#3 ) + main::c1#3 = phi( main::@11/main::c1#0, main::@43/main::c1#1 ) + main::row#6 = phi( main::@11/main::row#10, main::@43/main::row#11 ) + main::column1#2 = phi( main::@11/main::column1#0, main::@43/main::column1#1 ) + main::tile#8 = phi( main::@11/main::tile#11, main::@43/main::tile#5 ) + vera_tile_area::layer#3 = 0 + vera_tile_area::tileindex#3 = main::tile#8 + vera_tile_area::x#3 = main::column1#2 + vera_tile_area::y#3 = main::row#6 + vera_tile_area::w#3 = 2 + vera_tile_area::h#3 = 2 + vera_tile_area::hflip#4 = 0 + vera_tile_area::vflip#4 = 0 + vera_tile_area::offset#4 = 0 + call vera_tile_area + to:main::@43 +main::@43: scope:[main] from main::@12 + CONIO_SCREEN_TEXT#102 = phi( main::@12/CONIO_SCREEN_TEXT#104 ) + CONIO_SCREEN_BANK#94 = phi( main::@12/CONIO_SCREEN_BANK#96 ) + main::r1#3 = phi( main::@12/main::r1#4 ) + main::row#11 = phi( main::@12/main::row#6 ) + main::c1#2 = phi( main::@12/main::c1#3 ) + main::tile#9 = phi( main::@12/main::tile#8 ) + main::column1#3 = phi( main::@12/main::column1#2 ) + main::column1#1 = main::column1#3 + 2 + main::tile#4 = ++ main::tile#9 + main::tile#5 = main::tile#4 & $ff + main::c1#1 = main::c1#2 + rangenext(0,$13) + main::$38 = main::c1#1 != rangelast(0,$13) + if(main::$38) goto main::@12 + to:main::@13 +main::@13: scope:[main] from main::@43 + CONIO_SCREEN_TEXT#100 = phi( main::@43/CONIO_SCREEN_TEXT#102 ) + CONIO_SCREEN_BANK#92 = phi( main::@43/CONIO_SCREEN_BANK#94 ) + main::tile#13 = phi( main::@43/main::tile#5 ) + main::r1#2 = phi( main::@43/main::r1#3 ) + main::row#7 = phi( main::@43/main::row#11 ) + main::row#3 = main::row#7 + 2 + main::r1#1 = main::r1#2 + rangenext(0,$b) + main::$39 = main::r1#1 != rangelast(0,$b) + if(main::$39) goto main::@11 + to:main::@14 +main::@14: scope:[main] from main::@13 main::@44 + CONIO_SCREEN_TEXT#98 = phi( main::@13/CONIO_SCREEN_TEXT#100, main::@44/CONIO_SCREEN_TEXT#95 ) + CONIO_SCREEN_BANK#89 = phi( main::@13/CONIO_SCREEN_BANK#92, main::@44/CONIO_SCREEN_BANK#85 ) + call kbhit + kbhit::return#3 = kbhit::return#1 + to:main::@44 +main::@44: scope:[main] from main::@14 + CONIO_SCREEN_TEXT#95 = phi( main::@14/CONIO_SCREEN_TEXT#98 ) + CONIO_SCREEN_BANK#85 = phi( main::@14/CONIO_SCREEN_BANK#89 ) + kbhit::return#6 = phi( main::@14/kbhit::return#3 ) + main::$40 = kbhit::return#6 + main::$43 = 0 != main::$40 + main::$41 = ! main::$43 + if(main::$41) goto main::@14 + to:main::@15 +main::@15: scope:[main] from main::@44 + CONIO_SCREEN_TEXT#90 = phi( main::@44/CONIO_SCREEN_TEXT#95 ) + CONIO_SCREEN_BANK#80 = phi( main::@44/CONIO_SCREEN_BANK#85 ) + vera_tile_area::layer#4 = 0 + vera_tile_area::tileindex#4 = 0 + vera_tile_area::x#4 = 0 + vera_tile_area::y#4 = 0 + vera_tile_area::w#4 = $28 + vera_tile_area::h#4 = $1e + vera_tile_area::hflip#5 = 0 + vera_tile_area::vflip#5 = 0 + vera_tile_area::offset#5 = 0 + call vera_tile_area + to:main::@45 +main::@45: scope:[main] from main::@15 + CONIO_SCREEN_TEXT#83 = phi( main::@15/CONIO_SCREEN_TEXT#90 ) + CONIO_SCREEN_BANK#75 = phi( main::@15/CONIO_SCREEN_BANK#80 ) + main::vera_layer_hide1_layer#0 = 0 + to:main::vera_layer_hide1 +main::vera_layer_hide1: scope:[main] from main::@45 + CONIO_SCREEN_TEXT#76 = phi( main::@45/CONIO_SCREEN_TEXT#83 ) + CONIO_SCREEN_BANK#62 = phi( main::@45/CONIO_SCREEN_BANK#75 ) + main::vera_layer_hide1_layer#1 = phi( main::@45/main::vera_layer_hide1_layer#0 ) + main::vera_layer_hide1_$0 = ~ vera_layer_enable[main::vera_layer_hide1_layer#1] + *VERA_DC_VIDEO = *VERA_DC_VIDEO & main::vera_layer_hide1_$0 + to:main::@18 +main::@18: scope:[main] from main::vera_layer_hide1 + CONIO_SCREEN_TEXT#62 = phi( main::vera_layer_hide1/CONIO_SCREEN_TEXT#76 ) + CONIO_SCREEN_BANK#55 = phi( main::vera_layer_hide1/CONIO_SCREEN_BANK#62 ) + memcpy_in_vram::dest_bank#2 = 0 + memcpy_in_vram::dest#2 = (void*)$f800 + memcpy_in_vram::dest_increment#2 = VERA_INC_1 + memcpy_in_vram::src_bank#2 = 1 + memcpy_in_vram::src#2 = (void*)$f000 + memcpy_in_vram::src_increment#2 = VERA_INC_1 + memcpy_in_vram::num#2 = $100*8 + call memcpy_in_vram + to:main::@46 +main::@46: scope:[main] from main::@18 + CONIO_SCREEN_TEXT#54 = phi( main::@18/CONIO_SCREEN_TEXT#62 ) + CONIO_SCREEN_BANK#48 = phi( main::@18/CONIO_SCREEN_BANK#55 ) + vera_layer_mode_tile::layer#3 = 1 + vera_layer_mode_tile::mapbase_address#4 = 0 + vera_layer_mode_tile::tilebase_address#4 = $f800 + vera_layer_mode_tile::mapwidth#3 = $80 + vera_layer_mode_tile::mapheight#3 = $80 + vera_layer_mode_tile::tilewidth#3 = 8 + vera_layer_mode_tile::tileheight#3 = 8 + vera_layer_mode_tile::color_depth#3 = 1 + call vera_layer_mode_tile + to:main::@47 +main::@47: scope:[main] from main::@46 + CONIO_SCREEN_TEXT#44 = phi( main::@46/CONIO_SCREEN_TEXT#54 ) + CONIO_SCREEN_BANK#38 = phi( main::@46/CONIO_SCREEN_BANK#48 ) + vera_layer_mode_tile::layer#4 = 0 + vera_layer_mode_tile::mapbase_address#5 = 0 + vera_layer_mode_tile::tilebase_address#5 = $f800 + vera_layer_mode_tile::mapwidth#4 = $80 + vera_layer_mode_tile::mapheight#4 = $80 + vera_layer_mode_tile::tilewidth#4 = 8 + vera_layer_mode_tile::tileheight#4 = 8 + vera_layer_mode_tile::color_depth#4 = 1 + call vera_layer_mode_tile + to:main::@48 +main::@48: scope:[main] from main::@47 + CONIO_SCREEN_TEXT#33 = phi( main::@47/CONIO_SCREEN_TEXT#44 ) + CONIO_SCREEN_BANK#28 = phi( main::@47/CONIO_SCREEN_BANK#38 ) + screenlayer::layer#2 = 1 + call screenlayer + to:main::@49 +main::@49: scope:[main] from main::@48 + CONIO_SCREEN_TEXT#19 = phi( main::@48/CONIO_SCREEN_TEXT#3 ) + CONIO_SCREEN_BANK#17 = phi( main::@48/CONIO_SCREEN_BANK#3 ) + CONIO_SCREEN_BANK#5 = CONIO_SCREEN_BANK#17 + CONIO_SCREEN_TEXT#5 = CONIO_SCREEN_TEXT#19 + main::textcolor2_color#0 = WHITE + to:main::textcolor2 +main::textcolor2: scope:[main] from main::@49 + CONIO_SCREEN_BANK#81 = phi( main::@49/CONIO_SCREEN_BANK#5 ) + CONIO_SCREEN_TEXT#84 = phi( main::@49/CONIO_SCREEN_TEXT#5 ) + main::textcolor2_color#1 = phi( main::@49/main::textcolor2_color#0 ) + vera_layer_set_textcolor::layer#2 = conio_screen_layer + vera_layer_set_textcolor::color#2 = main::textcolor2_color#1 + call vera_layer_set_textcolor + vera_layer_set_textcolor::return#4 = vera_layer_set_textcolor::return#1 + to:main::@50 +main::@50: scope:[main] from main::textcolor2 + CONIO_SCREEN_BANK#76 = phi( main::textcolor2/CONIO_SCREEN_BANK#81 ) + CONIO_SCREEN_TEXT#77 = phi( main::textcolor2/CONIO_SCREEN_TEXT#84 ) + to:main::@19 +main::@19: scope:[main] from main::@50 + CONIO_SCREEN_BANK#63 = phi( main::@50/CONIO_SCREEN_BANK#76 ) + CONIO_SCREEN_TEXT#63 = phi( main::@50/CONIO_SCREEN_TEXT#77 ) + main::bgcolor2_color#0 = BLUE + to:main::bgcolor2 +main::bgcolor2: scope:[main] from main::@19 + CONIO_SCREEN_BANK#56 = phi( main::@19/CONIO_SCREEN_BANK#63 ) + CONIO_SCREEN_TEXT#55 = phi( main::@19/CONIO_SCREEN_TEXT#63 ) + main::bgcolor2_color#1 = phi( main::@19/main::bgcolor2_color#0 ) + vera_layer_set_backcolor::layer#2 = conio_screen_layer + vera_layer_set_backcolor::color#2 = main::bgcolor2_color#1 + call vera_layer_set_backcolor + vera_layer_set_backcolor::return#4 = vera_layer_set_backcolor::return#1 + to:main::@51 +main::@51: scope:[main] from main::bgcolor2 + CONIO_SCREEN_BANK#49 = phi( main::bgcolor2/CONIO_SCREEN_BANK#56 ) + CONIO_SCREEN_TEXT#45 = phi( main::bgcolor2/CONIO_SCREEN_TEXT#55 ) + to:main::@20 +main::@20: scope:[main] from main::@51 + CONIO_SCREEN_BANK#39 = phi( main::@51/CONIO_SCREEN_BANK#49 ) + CONIO_SCREEN_TEXT#27 = phi( main::@51/CONIO_SCREEN_TEXT#45 ) + call clrscr + to:main::@52 +main::@52: scope:[main] from main::@20 + CONIO_SCREEN_TEXT#34 = phi( main::@20/CONIO_SCREEN_TEXT#27 ) + CONIO_SCREEN_BANK#29 = phi( main::@20/CONIO_SCREEN_BANK#39 ) + to:main::@return +main::@return: scope:[main] from main::@52 + CONIO_SCREEN_TEXT#20 = phi( main::@52/CONIO_SCREEN_TEXT#34 ) + CONIO_SCREEN_BANK#18 = phi( main::@52/CONIO_SCREEN_BANK#29 ) + CONIO_SCREEN_BANK#6 = CONIO_SCREEN_BANK#18 + CONIO_SCREEN_TEXT#6 = CONIO_SCREEN_TEXT#20 + return + to:@return + +void __start() +__start: scope:[__start] from + to:__start::__init1 +__start::__init1: scope:[__start] from __start + CONIO_SCREEN_TEXT#7 = DEFAULT_SCREEN + CONIO_SCREEN_BANK#7 = 0 + conio_screen_width = 0 + conio_screen_height = 0 + conio_screen_layer = 1 + conio_width = 0 + conio_height = 0 + conio_rowshift = 0 + conio_rowskip = 0 + call conio_x16_init + to:__start::@2 +__start::@2: scope:[__start] from __start::__init1 + CONIO_SCREEN_TEXT#21 = phi( __start::__init1/CONIO_SCREEN_TEXT#1 ) + CONIO_SCREEN_BANK#19 = phi( __start::__init1/CONIO_SCREEN_BANK#1 ) + CONIO_SCREEN_BANK#8 = CONIO_SCREEN_BANK#19 + CONIO_SCREEN_TEXT#8 = CONIO_SCREEN_TEXT#21 + to:__start::@1 +__start::@1: scope:[__start] from __start::@2 + CONIO_SCREEN_TEXT#35 = phi( __start::@2/CONIO_SCREEN_TEXT#8 ) + CONIO_SCREEN_BANK#30 = phi( __start::@2/CONIO_SCREEN_BANK#8 ) + call main + to:__start::@3 +__start::@3: scope:[__start] from __start::@1 + CONIO_SCREEN_TEXT#22 = phi( __start::@1/CONIO_SCREEN_TEXT#6 ) + CONIO_SCREEN_BANK#20 = phi( __start::@1/CONIO_SCREEN_BANK#6 ) + CONIO_SCREEN_BANK#9 = CONIO_SCREEN_BANK#20 + CONIO_SCREEN_TEXT#9 = CONIO_SCREEN_TEXT#22 + to:__start::@return +__start::@return: scope:[__start] from __start::@3 + CONIO_SCREEN_BANK#21 = phi( __start::@3/CONIO_SCREEN_BANK#9 ) + CONIO_SCREEN_TEXT#23 = phi( __start::@3/CONIO_SCREEN_TEXT#9 ) + CONIO_SCREEN_TEXT#10 = CONIO_SCREEN_TEXT#23 + CONIO_SCREEN_BANK#10 = CONIO_SCREEN_BANK#21 + return + to:@return + +SYMBOL TABLE SSA +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#0 +byte CONIO_SCREEN_BANK#1 +byte CONIO_SCREEN_BANK#10 +byte CONIO_SCREEN_BANK#100 +byte CONIO_SCREEN_BANK#101 +byte CONIO_SCREEN_BANK#102 +byte CONIO_SCREEN_BANK#103 +byte CONIO_SCREEN_BANK#104 +byte CONIO_SCREEN_BANK#105 +byte CONIO_SCREEN_BANK#106 +byte CONIO_SCREEN_BANK#107 +byte CONIO_SCREEN_BANK#108 +byte CONIO_SCREEN_BANK#109 +byte CONIO_SCREEN_BANK#11 +byte CONIO_SCREEN_BANK#110 +byte CONIO_SCREEN_BANK#111 +byte CONIO_SCREEN_BANK#12 +byte CONIO_SCREEN_BANK#13 +byte CONIO_SCREEN_BANK#14 +byte CONIO_SCREEN_BANK#15 +byte CONIO_SCREEN_BANK#16 +byte CONIO_SCREEN_BANK#17 +byte CONIO_SCREEN_BANK#18 +byte CONIO_SCREEN_BANK#19 +byte CONIO_SCREEN_BANK#2 +byte CONIO_SCREEN_BANK#20 +byte CONIO_SCREEN_BANK#21 +byte CONIO_SCREEN_BANK#22 +byte CONIO_SCREEN_BANK#23 +byte CONIO_SCREEN_BANK#24 +byte CONIO_SCREEN_BANK#25 +byte CONIO_SCREEN_BANK#26 +byte CONIO_SCREEN_BANK#27 +byte CONIO_SCREEN_BANK#28 +byte CONIO_SCREEN_BANK#29 +byte CONIO_SCREEN_BANK#3 +byte CONIO_SCREEN_BANK#30 +byte CONIO_SCREEN_BANK#31 +byte CONIO_SCREEN_BANK#32 +byte CONIO_SCREEN_BANK#33 +byte CONIO_SCREEN_BANK#34 +byte CONIO_SCREEN_BANK#35 +byte CONIO_SCREEN_BANK#36 +byte CONIO_SCREEN_BANK#37 +byte CONIO_SCREEN_BANK#38 +byte CONIO_SCREEN_BANK#39 +byte CONIO_SCREEN_BANK#4 +byte CONIO_SCREEN_BANK#40 +byte CONIO_SCREEN_BANK#41 +byte CONIO_SCREEN_BANK#42 +byte CONIO_SCREEN_BANK#43 +byte CONIO_SCREEN_BANK#44 +byte CONIO_SCREEN_BANK#45 +byte CONIO_SCREEN_BANK#46 +byte CONIO_SCREEN_BANK#47 +byte CONIO_SCREEN_BANK#48 +byte CONIO_SCREEN_BANK#49 +byte CONIO_SCREEN_BANK#5 +byte CONIO_SCREEN_BANK#50 +byte CONIO_SCREEN_BANK#51 +byte CONIO_SCREEN_BANK#52 +byte CONIO_SCREEN_BANK#53 +byte CONIO_SCREEN_BANK#54 +byte CONIO_SCREEN_BANK#55 +byte CONIO_SCREEN_BANK#56 +byte CONIO_SCREEN_BANK#57 +byte CONIO_SCREEN_BANK#58 +byte CONIO_SCREEN_BANK#59 +byte CONIO_SCREEN_BANK#6 +byte CONIO_SCREEN_BANK#60 +byte CONIO_SCREEN_BANK#61 +byte CONIO_SCREEN_BANK#62 +byte CONIO_SCREEN_BANK#63 +byte CONIO_SCREEN_BANK#64 +byte CONIO_SCREEN_BANK#65 +byte CONIO_SCREEN_BANK#66 +byte CONIO_SCREEN_BANK#67 +byte CONIO_SCREEN_BANK#68 +byte CONIO_SCREEN_BANK#69 +byte CONIO_SCREEN_BANK#7 +byte CONIO_SCREEN_BANK#70 +byte CONIO_SCREEN_BANK#71 +byte CONIO_SCREEN_BANK#72 +byte CONIO_SCREEN_BANK#73 +byte CONIO_SCREEN_BANK#74 +byte CONIO_SCREEN_BANK#75 +byte CONIO_SCREEN_BANK#76 +byte CONIO_SCREEN_BANK#77 +byte CONIO_SCREEN_BANK#78 +byte CONIO_SCREEN_BANK#79 +byte CONIO_SCREEN_BANK#8 +byte CONIO_SCREEN_BANK#80 +byte CONIO_SCREEN_BANK#81 +byte CONIO_SCREEN_BANK#82 +byte CONIO_SCREEN_BANK#83 +byte CONIO_SCREEN_BANK#84 +byte CONIO_SCREEN_BANK#85 +byte CONIO_SCREEN_BANK#86 +byte CONIO_SCREEN_BANK#87 +byte CONIO_SCREEN_BANK#88 +byte CONIO_SCREEN_BANK#89 +byte CONIO_SCREEN_BANK#9 +byte CONIO_SCREEN_BANK#90 +byte CONIO_SCREEN_BANK#91 +byte CONIO_SCREEN_BANK#92 +byte CONIO_SCREEN_BANK#93 +byte CONIO_SCREEN_BANK#94 +byte CONIO_SCREEN_BANK#95 +byte CONIO_SCREEN_BANK#96 +byte CONIO_SCREEN_BANK#97 +byte CONIO_SCREEN_BANK#98 +byte CONIO_SCREEN_BANK#99 +byte* CONIO_SCREEN_TEXT +byte* CONIO_SCREEN_TEXT#0 +byte* CONIO_SCREEN_TEXT#1 +byte* CONIO_SCREEN_TEXT#10 +byte* CONIO_SCREEN_TEXT#100 +byte* CONIO_SCREEN_TEXT#101 +byte* CONIO_SCREEN_TEXT#102 +byte* CONIO_SCREEN_TEXT#103 +byte* CONIO_SCREEN_TEXT#104 +byte* CONIO_SCREEN_TEXT#105 +byte* CONIO_SCREEN_TEXT#106 +byte* CONIO_SCREEN_TEXT#107 +byte* CONIO_SCREEN_TEXT#108 +byte* CONIO_SCREEN_TEXT#109 +byte* CONIO_SCREEN_TEXT#11 +byte* CONIO_SCREEN_TEXT#110 +byte* CONIO_SCREEN_TEXT#111 +byte* CONIO_SCREEN_TEXT#112 +byte* CONIO_SCREEN_TEXT#113 +byte* CONIO_SCREEN_TEXT#114 +byte* CONIO_SCREEN_TEXT#115 +byte* CONIO_SCREEN_TEXT#116 +byte* CONIO_SCREEN_TEXT#117 +byte* CONIO_SCREEN_TEXT#118 +byte* CONIO_SCREEN_TEXT#12 +byte* CONIO_SCREEN_TEXT#13 +byte* CONIO_SCREEN_TEXT#14 +byte* CONIO_SCREEN_TEXT#15 +byte* CONIO_SCREEN_TEXT#16 +byte* CONIO_SCREEN_TEXT#17 +byte* CONIO_SCREEN_TEXT#18 +byte* CONIO_SCREEN_TEXT#19 +byte* CONIO_SCREEN_TEXT#2 +byte* CONIO_SCREEN_TEXT#20 +byte* CONIO_SCREEN_TEXT#21 +byte* CONIO_SCREEN_TEXT#22 +byte* CONIO_SCREEN_TEXT#23 +byte* CONIO_SCREEN_TEXT#24 +byte* CONIO_SCREEN_TEXT#25 +byte* CONIO_SCREEN_TEXT#26 +byte* CONIO_SCREEN_TEXT#27 +byte* CONIO_SCREEN_TEXT#28 +byte* CONIO_SCREEN_TEXT#29 +byte* CONIO_SCREEN_TEXT#3 +byte* CONIO_SCREEN_TEXT#30 +byte* CONIO_SCREEN_TEXT#31 +byte* CONIO_SCREEN_TEXT#32 +byte* CONIO_SCREEN_TEXT#33 +byte* CONIO_SCREEN_TEXT#34 +byte* CONIO_SCREEN_TEXT#35 +byte* CONIO_SCREEN_TEXT#36 +byte* CONIO_SCREEN_TEXT#37 +byte* CONIO_SCREEN_TEXT#38 +byte* CONIO_SCREEN_TEXT#39 +byte* CONIO_SCREEN_TEXT#4 +byte* CONIO_SCREEN_TEXT#40 +byte* CONIO_SCREEN_TEXT#41 +byte* CONIO_SCREEN_TEXT#42 +byte* CONIO_SCREEN_TEXT#43 +byte* CONIO_SCREEN_TEXT#44 +byte* CONIO_SCREEN_TEXT#45 +byte* CONIO_SCREEN_TEXT#46 +byte* CONIO_SCREEN_TEXT#47 +byte* CONIO_SCREEN_TEXT#48 +byte* CONIO_SCREEN_TEXT#49 +byte* CONIO_SCREEN_TEXT#5 +byte* CONIO_SCREEN_TEXT#50 +byte* CONIO_SCREEN_TEXT#51 +byte* CONIO_SCREEN_TEXT#52 +byte* CONIO_SCREEN_TEXT#53 +byte* CONIO_SCREEN_TEXT#54 +byte* CONIO_SCREEN_TEXT#55 +byte* CONIO_SCREEN_TEXT#56 +byte* CONIO_SCREEN_TEXT#57 +byte* CONIO_SCREEN_TEXT#58 +byte* CONIO_SCREEN_TEXT#59 +byte* CONIO_SCREEN_TEXT#6 +byte* CONIO_SCREEN_TEXT#60 +byte* CONIO_SCREEN_TEXT#61 +byte* CONIO_SCREEN_TEXT#62 +byte* CONIO_SCREEN_TEXT#63 +byte* CONIO_SCREEN_TEXT#64 +byte* CONIO_SCREEN_TEXT#65 +byte* CONIO_SCREEN_TEXT#66 +byte* CONIO_SCREEN_TEXT#67 +byte* CONIO_SCREEN_TEXT#68 +byte* CONIO_SCREEN_TEXT#69 +byte* CONIO_SCREEN_TEXT#7 +byte* CONIO_SCREEN_TEXT#70 +byte* CONIO_SCREEN_TEXT#71 +byte* CONIO_SCREEN_TEXT#72 +byte* CONIO_SCREEN_TEXT#73 +byte* CONIO_SCREEN_TEXT#74 +byte* CONIO_SCREEN_TEXT#75 +byte* CONIO_SCREEN_TEXT#76 +byte* CONIO_SCREEN_TEXT#77 +byte* CONIO_SCREEN_TEXT#78 +byte* CONIO_SCREEN_TEXT#79 +byte* CONIO_SCREEN_TEXT#8 +byte* CONIO_SCREEN_TEXT#80 +byte* CONIO_SCREEN_TEXT#81 +byte* CONIO_SCREEN_TEXT#82 +byte* CONIO_SCREEN_TEXT#83 +byte* CONIO_SCREEN_TEXT#84 +byte* CONIO_SCREEN_TEXT#85 +byte* CONIO_SCREEN_TEXT#86 +byte* CONIO_SCREEN_TEXT#87 +byte* CONIO_SCREEN_TEXT#88 +byte* CONIO_SCREEN_TEXT#89 +byte* CONIO_SCREEN_TEXT#9 +byte* CONIO_SCREEN_TEXT#90 +byte* CONIO_SCREEN_TEXT#91 +byte* CONIO_SCREEN_TEXT#92 +byte* CONIO_SCREEN_TEXT#93 +byte* CONIO_SCREEN_TEXT#94 +byte* CONIO_SCREEN_TEXT#95 +byte* CONIO_SCREEN_TEXT#96 +byte* CONIO_SCREEN_TEXT#97 +byte* CONIO_SCREEN_TEXT#98 +byte* CONIO_SCREEN_TEXT#99 +const nomodify byte* DEFAULT_SCREEN = (byte*)0 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_DWORD = 4 +const byte SIZEOF_POINTER = 2 +const byte SIZEOF_WORD = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*)$9f22 +const nomodify byte* VERA_ADDRX_L = (byte*)$9f20 +const nomodify byte* VERA_ADDRX_M = (byte*)$9f21 +const nomodify byte* VERA_CTRL = (byte*)$9f25 +const nomodify byte* VERA_DATA0 = (byte*)$9f23 +const nomodify byte* VERA_DATA1 = (byte*)$9f24 +const nomodify byte* VERA_DC_HSCALE = (byte*)$9f2a +const nomodify byte* VERA_DC_VIDEO = (byte*)$9f29 +const nomodify byte* VERA_DC_VSCALE = (byte*)$9f2b +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*)$9f2d +const nomodify byte* VERA_L0_MAPBASE = (byte*)$9f2e +const nomodify byte* VERA_L0_TILEBASE = (byte*)$9f2f +const nomodify byte* VERA_L1_CONFIG = (byte*)$9f34 +const nomodify byte* VERA_L1_MAPBASE = (byte*)$9f35 +const nomodify byte* VERA_L1_TILEBASE = (byte*)$9f36 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_2BPP = 1 +const nomodify byte VERA_LAYER_COLOR_DEPTH_4BPP = 2 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_CONFIG_16C = 0 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_32 = 0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_32 = 0 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_HEIGHT_8 = 0 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte VERA_TILEBASE_WIDTH_8 = 0 +const nomodify byte WHITE = 1 +void __start() +void clearline() +byte*~ clearline::$0 +byte~ clearline::$1 +byte~ clearline::$2 +byte~ clearline::$3 +bool~ clearline::$4 +byte~ clearline::$5 +byte* clearline::addr +byte* clearline::addr#0 +word clearline::c +word clearline::c#0 +word clearline::c#1 +word clearline::c#2 +word clearline::c#3 +byte clearline::color +byte clearline::color#0 +byte clearline::color#1 +byte clearline::color#2 +void clrscr() +byte~ clrscr::$0 +byte~ clrscr::$1 +byte~ clrscr::$2 +byte~ clrscr::$3 +bool~ clrscr::$4 +byte~ clrscr::$5 +byte~ clrscr::$6 +byte~ clrscr::$7 +bool~ clrscr::$8 +byte~ clrscr::$9 +byte clrscr::c +byte clrscr::c#0 +byte clrscr::c#1 +byte clrscr::c#2 +byte clrscr::c#3 +byte* clrscr::ch +byte* clrscr::ch#0 +byte clrscr::color +byte clrscr::color#0 +byte clrscr::color#1 +byte clrscr::color#2 +byte clrscr::color#3 +byte clrscr::color#4 +byte clrscr::color#5 +byte clrscr::l +byte clrscr::l#0 +byte clrscr::l#1 +byte clrscr::l#2 +byte clrscr::l#3 +byte clrscr::l#4 +byte clrscr::l#5 +byte clrscr::l#6 +byte* clrscr::line_text +byte* clrscr::line_text#0 +byte* clrscr::line_text#1 +byte* clrscr::line_text#2 +byte* clrscr::line_text#3 +byte* clrscr::line_text#4 +byte* clrscr::line_text#5 +byte* clrscr::line_text#6 +byte* clrscr::line_text#7 +byte* clrscr::line_text#8 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore +word conio_rowskip loadstore +volatile byte conio_screen_height loadstore +byte conio_screen_layer loadstore +volatile byte conio_screen_width loadstore +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore +void conio_x16_init() +bool~ conio_x16_init::$7 +bool~ conio_x16_init::$8 +number~ conio_x16_init::$9 +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*)$d6 +byte conio_x16_init::line +byte conio_x16_init::line#0 +byte conio_x16_init::line#1 +byte conio_x16_init::line#2 +byte conio_x16_init::line#3 +byte conio_x16_init::line#4 +byte conio_x16_init::line#5 +byte conio_x16_init::line#6 +byte conio_x16_init::line#7 +byte conio_x16_init::line#8 +byte conio_x16_init::line#9 +void cputc(byte cputc::c) +byte~ cputc::$0 +byte*~ cputc::$1 +bool~ cputc::$11 +bool~ cputc::$12 +byte~ cputc::$15 +word~ cputc::$16 +bool~ cputc::$17 +byte~ cputc::$2 +bool~ cputc::$3 +byte~ cputc::$4 +byte~ cputc::$5 +byte~ cputc::$6 +bool~ cputc::$8 +bool~ cputc::$9 +byte cputc::c +byte cputc::c#0 +byte cputc::c#1 +byte cputc::c#2 +byte cputc::c#3 +byte cputc::color +byte cputc::color#0 +byte cputc::color#1 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 +byte* cputc::conio_addr#1 +byte* cputc::conio_addr#2 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 +void cputln() +byte~ cputln::$2 +byte~ cputln::$3 +word cputln::temp +word cputln::temp#0 +word cputln::temp#1 +void cputs(to_nomodify byte* cputs::s) +byte~ cputs::$0 +bool~ cputs::$2 +byte cputs::c +byte cputs::c#0 +byte cputs::c#1 +byte cputs::c#2 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 +to_nomodify byte* cputs::s#1 +to_nomodify byte* cputs::s#10 +to_nomodify byte* cputs::s#11 +to_nomodify byte* cputs::s#12 +to_nomodify byte* cputs::s#2 +to_nomodify byte* cputs::s#3 +to_nomodify byte* cputs::s#4 +to_nomodify byte* cputs::s#5 +to_nomodify byte* cputs::s#6 +to_nomodify byte* cputs::s#7 +to_nomodify byte* cputs::s#8 +to_nomodify byte* cputs::s#9 +void cscroll() +bool~ cscroll::$0 +bool~ cscroll::$1 +bool~ cscroll::$2 +bool~ cscroll::$3 +number~ cscroll::$5 +bool~ cscroll::$7 +void gotoxy(byte gotoxy::x , byte gotoxy::y) +bool~ gotoxy::$0 +bool~ gotoxy::$1 +bool~ gotoxy::$2 +bool~ gotoxy::$3 +word~ gotoxy::$4 +byte~ gotoxy::$5 +word~ gotoxy::$6 +word gotoxy::line_offset +word gotoxy::line_offset#0 +byte gotoxy::x +byte gotoxy::x#0 +byte gotoxy::x#1 +byte gotoxy::x#2 +byte gotoxy::x#3 +byte gotoxy::x#4 +byte gotoxy::x#5 +byte gotoxy::x#6 +byte gotoxy::x#7 +byte gotoxy::y +byte gotoxy::y#0 +byte gotoxy::y#1 +byte gotoxy::y#2 +byte gotoxy::y#3 +byte gotoxy::y#4 +byte gotoxy::y#5 +byte gotoxy::y#6 +byte gotoxy::y#7 +void insertup() +number~ insertup::$0 +bool~ insertup::$2 +number~ insertup::$3 +number~ insertup::$4 +byte*~ insertup::$5 +byte*~ insertup::$6 +byte insertup::cy +byte insertup::cy#0 +byte insertup::cy#1 +byte insertup::cy#2 +byte insertup::cy#3 +byte insertup::i +byte insertup::i#0 +byte insertup::i#1 +byte insertup::i#2 +byte insertup::i#3 +byte insertup::i#4 +word insertup::line +word insertup::line#0 +byte* insertup::start +byte* insertup::start#0 +byte insertup::width +byte insertup::width#0 +byte insertup::width#1 +byte insertup::width#2 +byte insertup::width#3 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*)$ffe4 +const nomodify byte* kbhit::IN_DEV = (byte*)$28a +volatile byte kbhit::ch loadstore +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 +byte kbhit::return#1 +byte kbhit::return#2 +byte kbhit::return#3 +byte kbhit::return#4 +byte kbhit::return#5 +byte kbhit::return#6 +void main() +bool~ main::$29 +bool~ main::$31 +bool~ main::$33 +bool~ main::$34 +byte~ main::$35 +bool~ main::$36 +bool~ main::$38 +bool~ main::$39 +byte~ main::$40 +bool~ main::$41 +bool~ main::$42 +bool~ main::$43 +byte main::bgcolor1_color +byte main::bgcolor1_color#0 +byte main::bgcolor1_color#1 +byte main::bgcolor2_color +byte main::bgcolor2_color#0 +byte main::bgcolor2_color#1 +byte main::c +byte main::c#0 +byte main::c#1 +byte main::c#2 +byte main::c#3 +byte main::c1 +byte main::c1#0 +byte main::c1#1 +byte main::c1#2 +byte main::c1#3 +byte main::column +byte main::column#0 +byte main::column#1 +byte main::column#2 +byte main::column#3 +byte main::column1 +byte main::column1#0 +byte main::column1#1 +byte main::column1#2 +byte main::column1#3 +byte main::p +byte main::p#0 +byte main::p#1 +byte main::p#2 +byte main::r +byte main::r#0 +byte main::r#1 +byte main::r#2 +byte main::r#3 +byte main::r#4 +byte main::r#5 +byte main::r1 +byte main::r1#0 +byte main::r1#1 +byte main::r1#2 +byte main::r1#3 +byte main::r1#4 +byte main::r1#5 +byte main::row +byte main::row#0 +byte main::row#1 +byte main::row#10 +byte main::row#11 +byte main::row#2 +byte main::row#3 +byte main::row#4 +byte main::row#5 +byte main::row#6 +byte main::row#7 +byte main::row#8 +byte main::row#9 +const byte* main::s[$38] = "vera in tile mode 8 x 8, color depth 8 bits per pixel. +" +const byte* main::s1[$3a] = "in this mode, tiles are 8 pixels wide and 8 pixels tall. +" +const byte* main::s2[$2f] = "each tile can have a variation of 256 colors. +" +const byte* main::s3[$44] = "the vera palette of 256 colors, can be used by setting the palette +" +const byte* main::s4[$17] = "offset for each tile. +" +const byte* main::s5[$4b] = "here each column is displaying the same tile, but with different offsets! +" +const byte* main::s6[$3f] = "each offset aligns to multiples of 16 colors in the palette!. +" +const byte* main::s7[$3e] = "however, the first color will always be transparent (black). +" +byte main::t +byte main::t#0 +byte main::t#1 +byte main::t#2 +byte main::t#3 +byte main::t#4 +byte main::t#5 +byte main::textcolor1_color +byte main::textcolor1_color#0 +byte main::textcolor1_color#1 +byte main::textcolor2_color +byte main::textcolor2_color#0 +byte main::textcolor2_color#1 +word main::tile +word main::tile#0 +word main::tile#1 +word main::tile#10 +word main::tile#11 +word main::tile#12 +word main::tile#13 +word main::tile#2 +word main::tile#3 +word main::tile#4 +word main::tile#5 +word main::tile#6 +word main::tile#7 +word main::tile#8 +word main::tile#9 +word main::tilebase +word main::tilebase#0 +word main::tilebase#1 +word main::tilebase#2 +word main::tilebase#3 +word main::tilebase#4 +word main::tilebase#5 +word main::tilebase#6 +word main::tilebase#7 +const byte* main::tiles[$100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +byte~ main::vera_layer_hide1_$0 +byte main::vera_layer_hide1_layer +byte main::vera_layer_hide1_layer#0 +byte main::vera_layer_hide1_layer#1 +byte main::vera_layer_show1_layer +byte main::vera_layer_show1_layer#0 +byte main::vera_layer_show1_layer#1 +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 +byte~ memcpy_in_vram::$1 +byte~ memcpy_in_vram::$2 +byte~ memcpy_in_vram::$3 +byte~ memcpy_in_vram::$4 +byte~ memcpy_in_vram::$5 +bool~ memcpy_in_vram::$6 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 +void* memcpy_in_vram::dest#1 +void* memcpy_in_vram::dest#2 +void* memcpy_in_vram::dest#3 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#0 +byte memcpy_in_vram::dest_bank#1 +byte memcpy_in_vram::dest_bank#2 +byte memcpy_in_vram::dest_bank#3 +byte memcpy_in_vram::dest_increment +byte memcpy_in_vram::dest_increment#0 +byte memcpy_in_vram::dest_increment#1 +byte memcpy_in_vram::dest_increment#2 +byte memcpy_in_vram::dest_increment#3 +word memcpy_in_vram::i +word memcpy_in_vram::i#0 +word memcpy_in_vram::i#1 +word memcpy_in_vram::i#2 +word memcpy_in_vram::i#3 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 +word memcpy_in_vram::num#1 +word memcpy_in_vram::num#2 +word memcpy_in_vram::num#3 +word memcpy_in_vram::num#4 +word memcpy_in_vram::num#5 +void* memcpy_in_vram::src +void* memcpy_in_vram::src#0 +void* memcpy_in_vram::src#1 +void* memcpy_in_vram::src#2 +void* memcpy_in_vram::src#3 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_bank#0 +byte memcpy_in_vram::src_bank#1 +byte memcpy_in_vram::src_bank#2 +byte memcpy_in_vram::src_bank#3 +byte memcpy_in_vram::src_increment +byte memcpy_in_vram::src_increment#0 +byte memcpy_in_vram::src_increment#1 +byte memcpy_in_vram::src_increment#2 +byte memcpy_in_vram::src_increment#3 +void memcpy_to_vram(byte memcpy_to_vram::vbank , void* memcpy_to_vram::vdest , void* memcpy_to_vram::src , word memcpy_to_vram::num) +byte~ memcpy_to_vram::$0 +byte~ memcpy_to_vram::$1 +byte~ memcpy_to_vram::$2 +byte*~ memcpy_to_vram::$3 +bool~ memcpy_to_vram::$4 +byte*~ memcpy_to_vram::$5 +byte* memcpy_to_vram::end +byte* memcpy_to_vram::end#0 +byte* memcpy_to_vram::end#1 +byte* memcpy_to_vram::end#2 +word memcpy_to_vram::num +word memcpy_to_vram::num#0 +word memcpy_to_vram::num#1 +word memcpy_to_vram::num#2 +byte* memcpy_to_vram::s +byte* memcpy_to_vram::s#0 +byte* memcpy_to_vram::s#1 +byte* memcpy_to_vram::s#2 +byte* memcpy_to_vram::s#3 +void* memcpy_to_vram::src +void* memcpy_to_vram::src#0 +void* memcpy_to_vram::src#1 +void* memcpy_to_vram::src#2 +byte memcpy_to_vram::vbank +byte memcpy_to_vram::vbank#0 +byte memcpy_to_vram::vbank#1 +byte memcpy_to_vram::vbank#2 +void* memcpy_to_vram::vdest +void* memcpy_to_vram::vdest#0 +void* memcpy_to_vram::vdest#1 +void* memcpy_to_vram::vdest#2 +void screenlayer(byte screenlayer::layer) +byte~ screenlayer::$0 +word~ screenlayer::$1 +word~ screenlayer::$2 +byte~ screenlayer::$3 +word~ screenlayer::$4 +word~ screenlayer::$5 +byte screenlayer::layer +byte screenlayer::layer#0 +byte screenlayer::layer#1 +byte screenlayer::layer#2 +byte screenlayer::layer#3 +byte~ screenlayer::vera_layer_get_height1_$0 +byte~ screenlayer::vera_layer_get_height1_$1 +byte~ screenlayer::vera_layer_get_height1_$2 +byte~ screenlayer::vera_layer_get_height1_$3 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 +byte screenlayer::vera_layer_get_height1_layer#1 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 +word screenlayer::vera_layer_get_height1_return#1 +word screenlayer::vera_layer_get_height1_return#2 +word screenlayer::vera_layer_get_height1_return#3 +byte~ screenlayer::vera_layer_get_width1_$0 +byte~ screenlayer::vera_layer_get_width1_$1 +byte~ screenlayer::vera_layer_get_width1_$2 +byte~ screenlayer::vera_layer_get_width1_$3 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 +byte screenlayer::vera_layer_get_width1_layer#1 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 +word screenlayer::vera_layer_get_width1_return#1 +word screenlayer::vera_layer_get_width1_return#2 +word screenlayer::vera_layer_get_width1_return#3 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$0 +number~ screensize::$1 +byte~ screensize::$2 +number~ screensize::$3 +byte screensize::hscale +byte screensize::hscale#0 +byte screensize::vscale +byte screensize::vscale#0 +byte* screensize::x +byte* screensize::x#0 +byte* screensize::x#1 +byte* screensize::y +byte* screensize::y#0 +byte* screensize::y#1 +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 +byte vera_layer_get_backcolor::layer#1 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 +byte vera_layer_get_backcolor::return#1 +byte vera_layer_get_backcolor::return#2 +byte vera_layer_get_backcolor::return#3 +byte vera_layer_get_backcolor::return#4 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 +byte~ vera_layer_get_color::$1 +byte~ vera_layer_get_color::$2 +byte~ vera_layer_get_color::$3 +bool~ vera_layer_get_color::$4 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 +byte vera_layer_get_color::layer#1 +byte vera_layer_get_color::layer#2 +byte vera_layer_get_color::layer#3 +byte vera_layer_get_color::layer#4 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 +byte vera_layer_get_color::return#1 +byte vera_layer_get_color::return#2 +byte vera_layer_get_color::return#3 +byte vera_layer_get_color::return#4 +byte vera_layer_get_color::return#5 +byte vera_layer_get_color::return#6 +byte vera_layer_get_color::return#7 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 +byte vera_layer_get_mapbase_bank::layer#1 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 +byte vera_layer_get_mapbase_bank::return#1 +byte vera_layer_get_mapbase_bank::return#2 +byte vera_layer_get_mapbase_bank::return#3 +byte vera_layer_get_mapbase_bank::return#4 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 +byte vera_layer_get_mapbase_offset::layer#1 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 +word vera_layer_get_mapbase_offset::return#1 +word vera_layer_get_mapbase_offset::return#2 +word vera_layer_get_mapbase_offset::return#3 +word vera_layer_get_mapbase_offset::return#4 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 +byte vera_layer_get_rowshift::layer#1 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 +byte vera_layer_get_rowshift::return#1 +byte vera_layer_get_rowshift::return#2 +byte vera_layer_get_rowshift::return#3 +byte vera_layer_get_rowshift::return#4 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 +byte vera_layer_get_rowskip::layer#1 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 +word vera_layer_get_rowskip::return#1 +word vera_layer_get_rowskip::return#2 +word vera_layer_get_rowskip::return#3 +word vera_layer_get_rowskip::return#4 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 +byte vera_layer_get_textcolor::layer#1 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 +byte vera_layer_get_textcolor::return#1 +byte vera_layer_get_textcolor::return#2 +byte vera_layer_get_textcolor::return#3 +byte vera_layer_get_textcolor::return#4 +const to_nomodify byte* vera_layer_hflip[2] = { 0, 4 } +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +word vera_layer_mode_text::color_mode#0 +word vera_layer_mode_text::color_mode#1 +word vera_layer_mode_text::color_mode#2 +word vera_layer_mode_text::color_mode#3 +byte vera_layer_mode_text::layer +byte vera_layer_mode_text::layer#0 +byte vera_layer_mode_text::layer#1 +byte vera_layer_mode_text::layer#2 +byte vera_layer_mode_text::layer#3 +byte vera_layer_mode_text::layer#4 +byte vera_layer_mode_text::layer#5 +dword vera_layer_mode_text::mapbase_address +dword vera_layer_mode_text::mapbase_address#0 +dword vera_layer_mode_text::mapbase_address#1 +word vera_layer_mode_text::mapheight +word vera_layer_mode_text::mapheight#0 +word vera_layer_mode_text::mapheight#1 +word vera_layer_mode_text::mapwidth +word vera_layer_mode_text::mapwidth#0 +word vera_layer_mode_text::mapwidth#1 +dword vera_layer_mode_text::tilebase_address +dword vera_layer_mode_text::tilebase_address#0 +dword vera_layer_mode_text::tilebase_address#1 +byte vera_layer_mode_text::tileheight +byte vera_layer_mode_text::tileheight#0 +byte vera_layer_mode_text::tileheight#1 +byte vera_layer_mode_text::tilewidth +byte vera_layer_mode_text::tilewidth#0 +byte vera_layer_mode_text::tilewidth#1 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 +word~ vera_layer_mode_tile::$10 +byte~ vera_layer_mode_tile::$11 +byte~ vera_layer_mode_tile::$13 +byte~ vera_layer_mode_tile::$14 +byte~ vera_layer_mode_tile::$15 +byte~ vera_layer_mode_tile::$16 +byte~ vera_layer_mode_tile::$17 +byte~ vera_layer_mode_tile::$18 +byte~ vera_layer_mode_tile::$19 +word~ vera_layer_mode_tile::$2 +byte~ vera_layer_mode_tile::$20 +dword~ vera_layer_mode_tile::$3 +word~ vera_layer_mode_tile::$4 +byte~ vera_layer_mode_tile::$5 +word~ vera_layer_mode_tile::$7 +word~ vera_layer_mode_tile::$8 +dword~ vera_layer_mode_tile::$9 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::color_depth#0 +byte vera_layer_mode_tile::color_depth#1 +byte vera_layer_mode_tile::color_depth#2 +byte vera_layer_mode_tile::color_depth#3 +byte vera_layer_mode_tile::color_depth#4 +byte vera_layer_mode_tile::color_depth#5 +byte vera_layer_mode_tile::color_depth#6 +byte vera_layer_mode_tile::color_depth#7 +byte vera_layer_mode_tile::color_depth#8 +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#0 +byte vera_layer_mode_tile::config#1 +byte vera_layer_mode_tile::config#10 +byte vera_layer_mode_tile::config#11 +byte vera_layer_mode_tile::config#12 +byte vera_layer_mode_tile::config#13 +byte vera_layer_mode_tile::config#14 +byte vera_layer_mode_tile::config#15 +byte vera_layer_mode_tile::config#16 +byte vera_layer_mode_tile::config#17 +byte vera_layer_mode_tile::config#18 +byte vera_layer_mode_tile::config#19 +byte vera_layer_mode_tile::config#2 +byte vera_layer_mode_tile::config#20 +byte vera_layer_mode_tile::config#21 +byte vera_layer_mode_tile::config#22 +byte vera_layer_mode_tile::config#23 +byte vera_layer_mode_tile::config#24 +byte vera_layer_mode_tile::config#25 +byte vera_layer_mode_tile::config#26 +byte vera_layer_mode_tile::config#27 +byte vera_layer_mode_tile::config#28 +byte vera_layer_mode_tile::config#29 +byte vera_layer_mode_tile::config#3 +byte vera_layer_mode_tile::config#30 +byte vera_layer_mode_tile::config#31 +byte vera_layer_mode_tile::config#32 +byte vera_layer_mode_tile::config#33 +byte vera_layer_mode_tile::config#34 +byte vera_layer_mode_tile::config#35 +byte vera_layer_mode_tile::config#36 +byte vera_layer_mode_tile::config#4 +byte vera_layer_mode_tile::config#5 +byte vera_layer_mode_tile::config#6 +byte vera_layer_mode_tile::config#7 +byte vera_layer_mode_tile::config#8 +byte vera_layer_mode_tile::config#9 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#0 +byte vera_layer_mode_tile::layer#1 +byte vera_layer_mode_tile::layer#10 +byte vera_layer_mode_tile::layer#11 +byte vera_layer_mode_tile::layer#12 +byte vera_layer_mode_tile::layer#13 +byte vera_layer_mode_tile::layer#14 +byte vera_layer_mode_tile::layer#15 +byte vera_layer_mode_tile::layer#16 +byte vera_layer_mode_tile::layer#17 +byte vera_layer_mode_tile::layer#18 +byte vera_layer_mode_tile::layer#19 +byte vera_layer_mode_tile::layer#2 +byte vera_layer_mode_tile::layer#20 +byte vera_layer_mode_tile::layer#21 +byte vera_layer_mode_tile::layer#22 +byte vera_layer_mode_tile::layer#23 +byte vera_layer_mode_tile::layer#24 +byte vera_layer_mode_tile::layer#25 +byte vera_layer_mode_tile::layer#26 +byte vera_layer_mode_tile::layer#27 +byte vera_layer_mode_tile::layer#28 +byte vera_layer_mode_tile::layer#29 +byte vera_layer_mode_tile::layer#3 +byte vera_layer_mode_tile::layer#30 +byte vera_layer_mode_tile::layer#31 +byte vera_layer_mode_tile::layer#32 +byte vera_layer_mode_tile::layer#33 +byte vera_layer_mode_tile::layer#34 +byte vera_layer_mode_tile::layer#35 +byte vera_layer_mode_tile::layer#36 +byte vera_layer_mode_tile::layer#37 +byte vera_layer_mode_tile::layer#38 +byte vera_layer_mode_tile::layer#39 +byte vera_layer_mode_tile::layer#4 +byte vera_layer_mode_tile::layer#5 +byte vera_layer_mode_tile::layer#6 +byte vera_layer_mode_tile::layer#7 +byte vera_layer_mode_tile::layer#8 +byte vera_layer_mode_tile::layer#9 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 +dword vera_layer_mode_tile::mapbase_address#1 +dword vera_layer_mode_tile::mapbase_address#10 +dword vera_layer_mode_tile::mapbase_address#11 +dword vera_layer_mode_tile::mapbase_address#12 +dword vera_layer_mode_tile::mapbase_address#13 +dword vera_layer_mode_tile::mapbase_address#14 +dword vera_layer_mode_tile::mapbase_address#15 +dword vera_layer_mode_tile::mapbase_address#16 +dword vera_layer_mode_tile::mapbase_address#17 +dword vera_layer_mode_tile::mapbase_address#18 +dword vera_layer_mode_tile::mapbase_address#19 +dword vera_layer_mode_tile::mapbase_address#2 +dword vera_layer_mode_tile::mapbase_address#20 +dword vera_layer_mode_tile::mapbase_address#21 +dword vera_layer_mode_tile::mapbase_address#22 +dword vera_layer_mode_tile::mapbase_address#23 +dword vera_layer_mode_tile::mapbase_address#24 +dword vera_layer_mode_tile::mapbase_address#25 +dword vera_layer_mode_tile::mapbase_address#26 +dword vera_layer_mode_tile::mapbase_address#27 +dword vera_layer_mode_tile::mapbase_address#28 +dword vera_layer_mode_tile::mapbase_address#29 +dword vera_layer_mode_tile::mapbase_address#3 +dword vera_layer_mode_tile::mapbase_address#30 +dword vera_layer_mode_tile::mapbase_address#31 +dword vera_layer_mode_tile::mapbase_address#4 +dword vera_layer_mode_tile::mapbase_address#5 +dword vera_layer_mode_tile::mapbase_address#6 +dword vera_layer_mode_tile::mapbase_address#7 +dword vera_layer_mode_tile::mapbase_address#8 +dword vera_layer_mode_tile::mapbase_address#9 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#0 +word vera_layer_mode_tile::mapheight#1 +word vera_layer_mode_tile::mapheight#10 +word vera_layer_mode_tile::mapheight#11 +word vera_layer_mode_tile::mapheight#12 +word vera_layer_mode_tile::mapheight#13 +word vera_layer_mode_tile::mapheight#14 +word vera_layer_mode_tile::mapheight#15 +word vera_layer_mode_tile::mapheight#16 +word vera_layer_mode_tile::mapheight#17 +word vera_layer_mode_tile::mapheight#18 +word vera_layer_mode_tile::mapheight#19 +word vera_layer_mode_tile::mapheight#2 +word vera_layer_mode_tile::mapheight#20 +word vera_layer_mode_tile::mapheight#21 +word vera_layer_mode_tile::mapheight#22 +word vera_layer_mode_tile::mapheight#23 +word vera_layer_mode_tile::mapheight#24 +word vera_layer_mode_tile::mapheight#3 +word vera_layer_mode_tile::mapheight#4 +word vera_layer_mode_tile::mapheight#5 +word vera_layer_mode_tile::mapheight#6 +word vera_layer_mode_tile::mapheight#7 +word vera_layer_mode_tile::mapheight#8 +word vera_layer_mode_tile::mapheight#9 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#0 +word vera_layer_mode_tile::mapwidth#1 +word vera_layer_mode_tile::mapwidth#10 +word vera_layer_mode_tile::mapwidth#11 +word vera_layer_mode_tile::mapwidth#12 +word vera_layer_mode_tile::mapwidth#13 +word vera_layer_mode_tile::mapwidth#14 +word vera_layer_mode_tile::mapwidth#15 +word vera_layer_mode_tile::mapwidth#16 +word vera_layer_mode_tile::mapwidth#2 +word vera_layer_mode_tile::mapwidth#3 +word vera_layer_mode_tile::mapwidth#4 +word vera_layer_mode_tile::mapwidth#5 +word vera_layer_mode_tile::mapwidth#6 +word vera_layer_mode_tile::mapwidth#7 +word vera_layer_mode_tile::mapwidth#8 +word vera_layer_mode_tile::mapwidth#9 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 +byte vera_layer_mode_tile::tilebase#1 +byte vera_layer_mode_tile::tilebase#10 +byte vera_layer_mode_tile::tilebase#11 +byte vera_layer_mode_tile::tilebase#12 +byte vera_layer_mode_tile::tilebase#13 +byte vera_layer_mode_tile::tilebase#2 +byte vera_layer_mode_tile::tilebase#3 +byte vera_layer_mode_tile::tilebase#4 +byte vera_layer_mode_tile::tilebase#5 +byte vera_layer_mode_tile::tilebase#6 +byte vera_layer_mode_tile::tilebase#7 +byte vera_layer_mode_tile::tilebase#8 +byte vera_layer_mode_tile::tilebase#9 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 +dword vera_layer_mode_tile::tilebase_address#1 +dword vera_layer_mode_tile::tilebase_address#10 +dword vera_layer_mode_tile::tilebase_address#11 +dword vera_layer_mode_tile::tilebase_address#12 +dword vera_layer_mode_tile::tilebase_address#13 +dword vera_layer_mode_tile::tilebase_address#14 +dword vera_layer_mode_tile::tilebase_address#15 +dword vera_layer_mode_tile::tilebase_address#16 +dword vera_layer_mode_tile::tilebase_address#17 +dword vera_layer_mode_tile::tilebase_address#18 +dword vera_layer_mode_tile::tilebase_address#19 +dword vera_layer_mode_tile::tilebase_address#2 +dword vera_layer_mode_tile::tilebase_address#20 +dword vera_layer_mode_tile::tilebase_address#21 +dword vera_layer_mode_tile::tilebase_address#22 +dword vera_layer_mode_tile::tilebase_address#23 +dword vera_layer_mode_tile::tilebase_address#24 +dword vera_layer_mode_tile::tilebase_address#25 +dword vera_layer_mode_tile::tilebase_address#26 +dword vera_layer_mode_tile::tilebase_address#27 +dword vera_layer_mode_tile::tilebase_address#28 +dword vera_layer_mode_tile::tilebase_address#29 +dword vera_layer_mode_tile::tilebase_address#3 +dword vera_layer_mode_tile::tilebase_address#30 +dword vera_layer_mode_tile::tilebase_address#31 +dword vera_layer_mode_tile::tilebase_address#32 +dword vera_layer_mode_tile::tilebase_address#4 +dword vera_layer_mode_tile::tilebase_address#5 +dword vera_layer_mode_tile::tilebase_address#6 +dword vera_layer_mode_tile::tilebase_address#7 +dword vera_layer_mode_tile::tilebase_address#8 +dword vera_layer_mode_tile::tilebase_address#9 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#0 +byte vera_layer_mode_tile::tileheight#1 +byte vera_layer_mode_tile::tileheight#10 +byte vera_layer_mode_tile::tileheight#11 +byte vera_layer_mode_tile::tileheight#12 +byte vera_layer_mode_tile::tileheight#13 +byte vera_layer_mode_tile::tileheight#14 +byte vera_layer_mode_tile::tileheight#15 +byte vera_layer_mode_tile::tileheight#16 +byte vera_layer_mode_tile::tileheight#17 +byte vera_layer_mode_tile::tileheight#18 +byte vera_layer_mode_tile::tileheight#19 +byte vera_layer_mode_tile::tileheight#2 +byte vera_layer_mode_tile::tileheight#20 +byte vera_layer_mode_tile::tileheight#21 +byte vera_layer_mode_tile::tileheight#22 +byte vera_layer_mode_tile::tileheight#23 +byte vera_layer_mode_tile::tileheight#24 +byte vera_layer_mode_tile::tileheight#25 +byte vera_layer_mode_tile::tileheight#26 +byte vera_layer_mode_tile::tileheight#27 +byte vera_layer_mode_tile::tileheight#28 +byte vera_layer_mode_tile::tileheight#29 +byte vera_layer_mode_tile::tileheight#3 +byte vera_layer_mode_tile::tileheight#30 +byte vera_layer_mode_tile::tileheight#31 +byte vera_layer_mode_tile::tileheight#32 +byte vera_layer_mode_tile::tileheight#33 +byte vera_layer_mode_tile::tileheight#34 +byte vera_layer_mode_tile::tileheight#35 +byte vera_layer_mode_tile::tileheight#36 +byte vera_layer_mode_tile::tileheight#4 +byte vera_layer_mode_tile::tileheight#5 +byte vera_layer_mode_tile::tileheight#6 +byte vera_layer_mode_tile::tileheight#7 +byte vera_layer_mode_tile::tileheight#8 +byte vera_layer_mode_tile::tileheight#9 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#0 +byte vera_layer_mode_tile::tilewidth#1 +byte vera_layer_mode_tile::tilewidth#10 +byte vera_layer_mode_tile::tilewidth#11 +byte vera_layer_mode_tile::tilewidth#12 +byte vera_layer_mode_tile::tilewidth#13 +byte vera_layer_mode_tile::tilewidth#14 +byte vera_layer_mode_tile::tilewidth#15 +byte vera_layer_mode_tile::tilewidth#16 +byte vera_layer_mode_tile::tilewidth#17 +byte vera_layer_mode_tile::tilewidth#18 +byte vera_layer_mode_tile::tilewidth#19 +byte vera_layer_mode_tile::tilewidth#2 +byte vera_layer_mode_tile::tilewidth#20 +byte vera_layer_mode_tile::tilewidth#21 +byte vera_layer_mode_tile::tilewidth#22 +byte vera_layer_mode_tile::tilewidth#23 +byte vera_layer_mode_tile::tilewidth#24 +byte vera_layer_mode_tile::tilewidth#25 +byte vera_layer_mode_tile::tilewidth#26 +byte vera_layer_mode_tile::tilewidth#27 +byte vera_layer_mode_tile::tilewidth#28 +byte vera_layer_mode_tile::tilewidth#29 +byte vera_layer_mode_tile::tilewidth#3 +byte vera_layer_mode_tile::tilewidth#30 +byte vera_layer_mode_tile::tilewidth#31 +byte vera_layer_mode_tile::tilewidth#32 +byte vera_layer_mode_tile::tilewidth#4 +byte vera_layer_mode_tile::tilewidth#5 +byte vera_layer_mode_tile::tilewidth#6 +byte vera_layer_mode_tile::tilewidth#7 +byte vera_layer_mode_tile::tilewidth#8 +byte vera_layer_mode_tile::tilewidth#9 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#0 +byte vera_layer_set_backcolor::color#1 +byte vera_layer_set_backcolor::color#2 +byte vera_layer_set_backcolor::color#3 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#0 +byte vera_layer_set_backcolor::layer#1 +byte vera_layer_set_backcolor::layer#2 +byte vera_layer_set_backcolor::layer#3 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::old#0 +byte vera_layer_set_backcolor::return +byte vera_layer_set_backcolor::return#0 +byte vera_layer_set_backcolor::return#1 +byte vera_layer_set_backcolor::return#2 +byte vera_layer_set_backcolor::return#3 +byte vera_layer_set_backcolor::return#4 +byte vera_layer_set_backcolor::return#5 +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 +byte vera_layer_set_config::config#1 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 +byte vera_layer_set_config::layer#1 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 +byte vera_layer_set_mapbase::layer#1 +byte vera_layer_set_mapbase::layer#2 +byte vera_layer_set_mapbase::layer#3 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 +byte vera_layer_set_mapbase::mapbase#1 +byte vera_layer_set_mapbase::mapbase#2 +byte vera_layer_set_mapbase::mapbase#3 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte~ vera_layer_set_text_color_mode::$0 +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::color_mode#0 +byte vera_layer_set_text_color_mode::color_mode#1 +byte vera_layer_set_text_color_mode::color_mode#2 +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_text_color_mode::layer#0 +byte vera_layer_set_text_color_mode::layer#1 +byte vera_layer_set_text_color_mode::layer#2 +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::color#0 +byte vera_layer_set_textcolor::color#1 +byte vera_layer_set_textcolor::color#2 +byte vera_layer_set_textcolor::color#3 +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#0 +byte vera_layer_set_textcolor::layer#1 +byte vera_layer_set_textcolor::layer#2 +byte vera_layer_set_textcolor::layer#3 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::old#0 +byte vera_layer_set_textcolor::return +byte vera_layer_set_textcolor::return#0 +byte vera_layer_set_textcolor::return#1 +byte vera_layer_set_textcolor::return#2 +byte vera_layer_set_textcolor::return#3 +byte vera_layer_set_textcolor::return#4 +byte vera_layer_set_textcolor::return#5 +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 +byte vera_layer_set_tilebase::layer#1 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 +byte vera_layer_set_tilebase::tilebase#1 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const to_nomodify byte* vera_layer_vflip[2] = { 0, 8 } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +word~ vera_tile_area::$0 +byte~ vera_tile_area::$1 +word~ vera_tile_area::$10 +byte~ vera_tile_area::$2 +byte~ vera_tile_area::$3 +word~ vera_tile_area::$4 +byte~ vera_tile_area::$5 +bool~ vera_tile_area::$6 +bool~ vera_tile_area::$8 +byte~ vera_tile_area::$9 +byte vera_tile_area::c +byte vera_tile_area::c#0 +byte vera_tile_area::c#1 +byte vera_tile_area::c#2 +byte vera_tile_area::c#3 +byte vera_tile_area::h +byte vera_tile_area::h#0 +byte vera_tile_area::h#1 +byte vera_tile_area::h#10 +byte vera_tile_area::h#11 +byte vera_tile_area::h#12 +byte vera_tile_area::h#2 +byte vera_tile_area::h#3 +byte vera_tile_area::h#4 +byte vera_tile_area::h#5 +byte vera_tile_area::h#6 +byte vera_tile_area::h#7 +byte vera_tile_area::h#8 +byte vera_tile_area::h#9 +byte vera_tile_area::hflip +byte vera_tile_area::hflip#0 +byte vera_tile_area::hflip#1 +byte vera_tile_area::hflip#2 +byte vera_tile_area::hflip#3 +byte vera_tile_area::hflip#4 +byte vera_tile_area::hflip#5 +byte vera_tile_area::hflip#6 +byte vera_tile_area::index_h +byte vera_tile_area::index_h#0 +byte vera_tile_area::index_h#1 +byte vera_tile_area::index_h#10 +byte vera_tile_area::index_h#2 +byte vera_tile_area::index_h#3 +byte vera_tile_area::index_h#4 +byte vera_tile_area::index_h#5 +byte vera_tile_area::index_h#6 +byte vera_tile_area::index_h#7 +byte vera_tile_area::index_h#8 +byte vera_tile_area::index_h#9 +byte vera_tile_area::index_l +byte vera_tile_area::index_l#0 +byte vera_tile_area::index_l#1 +byte vera_tile_area::index_l#2 +byte vera_tile_area::index_l#3 +byte vera_tile_area::index_l#4 +byte vera_tile_area::index_l#5 +byte vera_tile_area::index_l#6 +byte vera_tile_area::index_l#7 +byte vera_tile_area::layer +byte vera_tile_area::layer#0 +byte vera_tile_area::layer#1 +byte vera_tile_area::layer#2 +byte vera_tile_area::layer#3 +byte vera_tile_area::layer#4 +byte vera_tile_area::layer#5 +dword vera_tile_area::mapbase +dword vera_tile_area::mapbase#0 +dword vera_tile_area::mapbase#1 +dword vera_tile_area::mapbase#10 +dword vera_tile_area::mapbase#2 +dword vera_tile_area::mapbase#3 +dword vera_tile_area::mapbase#4 +dword vera_tile_area::mapbase#5 +dword vera_tile_area::mapbase#6 +dword vera_tile_area::mapbase#7 +dword vera_tile_area::mapbase#8 +dword vera_tile_area::mapbase#9 +byte vera_tile_area::offset +byte vera_tile_area::offset#0 +byte vera_tile_area::offset#1 +byte vera_tile_area::offset#2 +byte vera_tile_area::offset#3 +byte vera_tile_area::offset#4 +byte vera_tile_area::offset#5 +byte vera_tile_area::offset#6 +byte vera_tile_area::r +byte vera_tile_area::r#0 +byte vera_tile_area::r#1 +byte vera_tile_area::r#2 +byte vera_tile_area::r#3 +byte vera_tile_area::r#4 +byte vera_tile_area::r#5 +byte vera_tile_area::r#6 +byte vera_tile_area::r#7 +byte vera_tile_area::r#8 +word vera_tile_area::rowskip +word vera_tile_area::rowskip#0 +word vera_tile_area::rowskip#1 +word vera_tile_area::rowskip#2 +word vera_tile_area::rowskip#3 +word vera_tile_area::rowskip#4 +word vera_tile_area::rowskip#5 +word vera_tile_area::rowskip#6 +word vera_tile_area::rowskip#7 +byte vera_tile_area::shift +byte vera_tile_area::shift#0 +word vera_tile_area::tileindex +word vera_tile_area::tileindex#0 +word vera_tile_area::tileindex#1 +word vera_tile_area::tileindex#2 +word vera_tile_area::tileindex#3 +word vera_tile_area::tileindex#4 +word vera_tile_area::tileindex#5 +word~ vera_tile_area::vera_vram_address01_$0 +byte~ vera_tile_area::vera_vram_address01_$1 +word~ vera_tile_area::vera_vram_address01_$2 +byte~ vera_tile_area::vera_vram_address01_$3 +word~ vera_tile_area::vera_vram_address01_$4 +byte~ vera_tile_area::vera_vram_address01_$5 +byte~ vera_tile_area::vera_vram_address01_$6 +dword vera_tile_area::vera_vram_address01_bankaddr +dword vera_tile_area::vera_vram_address01_bankaddr#0 +dword vera_tile_area::vera_vram_address01_bankaddr#1 +byte vera_tile_area::vera_vram_address01_incr +byte vera_tile_area::vera_vram_address01_incr#0 +byte vera_tile_area::vera_vram_address01_incr#1 +byte vera_tile_area::vflip +byte vera_tile_area::vflip#0 +byte vera_tile_area::vflip#1 +byte vera_tile_area::vflip#2 +byte vera_tile_area::vflip#3 +byte vera_tile_area::vflip#4 +byte vera_tile_area::vflip#5 +byte vera_tile_area::vflip#6 +byte vera_tile_area::w +byte vera_tile_area::w#0 +byte vera_tile_area::w#1 +byte vera_tile_area::w#10 +byte vera_tile_area::w#11 +byte vera_tile_area::w#12 +byte vera_tile_area::w#2 +byte vera_tile_area::w#3 +byte vera_tile_area::w#4 +byte vera_tile_area::w#5 +byte vera_tile_area::w#6 +byte vera_tile_area::w#7 +byte vera_tile_area::w#8 +byte vera_tile_area::w#9 +byte vera_tile_area::x +byte vera_tile_area::x#0 +byte vera_tile_area::x#1 +byte vera_tile_area::x#2 +byte vera_tile_area::x#3 +byte vera_tile_area::x#4 +byte vera_tile_area::x#5 +byte vera_tile_area::y +byte vera_tile_area::y#0 +byte vera_tile_area::y#1 +byte vera_tile_area::y#2 +byte vera_tile_area::y#3 +byte vera_tile_area::y#4 +byte vera_tile_area::y#5 +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +Adding number conversion cast (unumber) 0 in vera_layer_get_color::$4 = 0 != vera_layer_get_color::$0 +Adding number conversion cast (unumber) 4 in vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#4] << 4 +Adding number conversion cast (unumber) 1 in if(vera_layer_mode_tile::color_depth#5==1) goto vera_layer_mode_tile::@4 +Adding number conversion cast (unumber) 2 in if(vera_layer_mode_tile::color_depth#6==2) goto vera_layer_mode_tile::@5 +Adding number conversion cast (unumber) 4 in if(vera_layer_mode_tile::color_depth#7==4) goto vera_layer_mode_tile::@6 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::color_depth#8==8) goto vera_layer_mode_tile::@7 +Adding number conversion cast (unumber) $20 in if(vera_layer_mode_tile::mapwidth#5==$20) goto vera_layer_mode_tile::@12 +Adding number conversion cast (unumber) 6 in vera_layer_rowshift[vera_layer_mode_tile::layer#5] = 6 +Adding number conversion cast (unumber) $40 in vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 +Adding number conversion cast (unumber) $40 in if(vera_layer_mode_tile::mapwidth#6==$40) goto vera_layer_mode_tile::@13 +Adding number conversion cast (unumber) 7 in vera_layer_rowshift[vera_layer_mode_tile::layer#6] = 7 +Adding number conversion cast (unumber) $80 in vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 +Adding number conversion cast (unumber) $80 in if(vera_layer_mode_tile::mapwidth#7==$80) goto vera_layer_mode_tile::@14 +Adding number conversion cast (unumber) 8 in vera_layer_rowshift[vera_layer_mode_tile::layer#7] = 8 +Adding number conversion cast (unumber) $100 in vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_tile::mapwidth#8==$100) goto vera_layer_mode_tile::@15 +Adding number conversion cast (unumber) 9 in vera_layer_rowshift[vera_layer_mode_tile::layer#8] = 9 +Adding number conversion cast (unumber) $200 in vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 +Adding number conversion cast (unumber) $20 in if(vera_layer_mode_tile::mapheight#5==$20) goto vera_layer_mode_tile::@20 +Adding number conversion cast (unumber) $40 in if(vera_layer_mode_tile::mapheight#6==$40) goto vera_layer_mode_tile::@21 +Adding number conversion cast (unumber) $80 in if(vera_layer_mode_tile::mapheight#7==$80) goto vera_layer_mode_tile::@22 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_tile::mapheight#8==$100) goto vera_layer_mode_tile::@23 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::$3 = vera_layer_mode_tile::mapbase_address#6 >> 1 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::$9 = vera_layer_mode_tile::tilebase_address#6 >> 1 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::tilewidth#5==8) goto vera_layer_mode_tile::@26 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_tile::tilewidth#6==$10) goto vera_layer_mode_tile::@27 +Adding number conversion cast (unumber) 8 in if(vera_layer_mode_tile::tileheight#5==8) goto vera_layer_mode_tile::@30 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_tile::tileheight#6==$10) goto vera_layer_mode_tile::@31 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#0 = 1 +Adding number conversion cast (unumber) $10 in if(vera_layer_mode_text::color_mode#1==$10) goto vera_layer_mode_text::@2 +Adding number conversion cast (unumber) $100 in if(vera_layer_mode_text::color_mode#2==$100) goto vera_layer_mode_text::@3 +Adding number conversion cast (unumber) 4 in vera_tile_area::$1 = vera_tile_area::offset#6 << 4 +Adding number conversion cast (unumber) 1 in vera_tile_area::$5 = vera_tile_area::x#5 << 1 +Adding number conversion cast (unumber) 1 in vera_layer_mode_text::layer#0 = 1 +Adding number conversion cast (unumber) $80 in vera_layer_mode_text::mapwidth#0 = $80 +Adding number conversion cast (unumber) $40 in vera_layer_mode_text::mapheight#0 = $40 +Adding number conversion cast (unumber) 8 in vera_layer_mode_text::tilewidth#0 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_text::tileheight#0 = 8 +Adding number conversion cast (unumber) $10 in vera_layer_mode_text::color_mode#0 = $10 +Adding number conversion cast (unumber) 1 in screenlayer::layer#0 = 1 +Adding number conversion cast (unumber) 1 in vera_layer_set_textcolor::layer#0 = 1 +Adding number conversion cast (unumber) 1 in vera_layer_set_backcolor::layer#0 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_set_mapbase::layer#1 = 0 +Adding number conversion cast (unumber) $20 in vera_layer_set_mapbase::mapbase#1 = $20 +Adding number conversion cast (unumber) 1 in vera_layer_set_mapbase::layer#2 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_set_mapbase::mapbase#2 = 0 +Adding number conversion cast (unumber) 0 in gotoxy::x#0 = 0 +Adding number conversion cast (unumber) 1 in conio_x16_init::$9 = conio_screen_height - 1 +Adding number conversion cast (unumber) conio_x16_init::$9 in conio_x16_init::$9 = conio_screen_height - (unumber)1 +Adding number conversion cast (unumber) 4 in clrscr::$1 = clrscr::$0 << 4 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_cursor_y[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_line_text[clrscr::$9] = 0 +Adding number conversion cast (unumber) 0 in gotoxy::y#1 = 0 +Adding number conversion cast (unumber) 0 in gotoxy::x#1 = 0 +Adding number conversion cast (unumber) 7 in screensize::$0 = *VERA_DC_HSCALE >> 7 +Adding number conversion cast (unumber) $28 in screensize::$1 = $28 << screensize::hscale#0 +Adding number conversion cast (unumber) screensize::$1 in screensize::$1 = (unumber)$28 << screensize::hscale#0 +Adding number conversion cast (unumber) 7 in screensize::$2 = *VERA_DC_VSCALE >> 7 +Adding number conversion cast (unumber) $1e in screensize::$3 = $1e << screensize::vscale#0 +Adding number conversion cast (unumber) screensize::$3 in screensize::$3 = (unumber)$1e << screensize::vscale#0 +Adding number conversion cast (unumber) 1 in cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 +Adding number conversion cast (unumber) 0 in cputc::$17 = 0 != cputc::scroll_enable#0 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 0 in conio_cursor_x[conio_screen_layer] = 0 +Adding number conversion cast (unumber) 2 in insertup::$0 = conio_screen_width * 2 +Adding number conversion cast (unumber) insertup::$0 in insertup::$0 = conio_screen_width * (unumber)2 +Adding number conversion cast (unumber) 1 in insertup::$3 = insertup::i#3 - 1 +Adding number conversion cast (unumber) insertup::$3 in insertup::$3 = insertup::i#3 - (unumber)1 +Adding number conversion cast (unumber) insertup::$4 in insertup::$4 = insertup::$3 << conio_rowshift +Adding number conversion cast (unumber) 0 in memcpy_in_vram::dest_bank#0 = 0 +Adding number conversion cast (unumber) 0 in memcpy_in_vram::src_bank#0 = 0 +Adding number conversion cast (unumber) 0 in cscroll::$7 = 0 != conio_scroll_enable[conio_screen_layer] +Adding number conversion cast (unumber) 1 in cscroll::$5 = conio_screen_height - 1 +Adding number conversion cast (unumber) cscroll::$5 in cscroll::$5 = conio_screen_height - (unumber)1 +Adding number conversion cast (unumber) 0 in gotoxy::x#2 = 0 +Adding number conversion cast (unumber) 0 in cputs::$2 = 0 != cputs::$0 +Adding number conversion cast (unumber) 4 in screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 +Adding number conversion cast (unumber) 6 in screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 +Adding number conversion cast (unumber) 1 in memcpy_in_vram::dest_bank#1 = 1 +Adding number conversion cast (unumber) 0 in memcpy_in_vram::src_bank#1 = 0 +Adding number conversion cast (unumber) $100*8 in memcpy_in_vram::num#1 = $100*8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::layer#1 = 1 +Adding number conversion cast (unumber) $10000 in vera_layer_mode_tile::mapbase_address#2 = $10000 +Adding number conversion cast (unumber) $1f000 in vera_layer_mode_tile::tilebase_address#2 = $1f000 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapwidth#1 = $80 +Adding number conversion cast (unumber) $40 in vera_layer_mode_tile::mapheight#1 = $40 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tilewidth#1 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tileheight#1 = 8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#1 = 1 +Adding number conversion cast (unumber) 1 in screenlayer::layer#1 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_mode_tile::layer#2 = 0 +Adding number conversion cast (unumber) $14000 in vera_layer_mode_tile::mapbase_address#3 = $14000 +Adding number conversion cast (unumber) 0 in vera_layer_mode_tile::tilebase_address#3 = 0 +Adding number conversion cast (unumber) $40 in vera_layer_mode_tile::mapwidth#2 = $40 +Adding number conversion cast (unumber) $40 in vera_layer_mode_tile::mapheight#2 = $40 +Adding number conversion cast (unumber) $10 in vera_layer_mode_tile::tilewidth#2 = $10 +Adding number conversion cast (unumber) $10 in vera_layer_mode_tile::tileheight#2 = $10 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::color_depth#2 = 8 +Adding number conversion cast (unumber) 0 in memcpy_to_vram::vbank#0 = 0 +Adding number conversion cast (unumber) $100 in memcpy_to_vram::num#0 = $100 +Adding number conversion cast (unumber) $100 in main::tilebase#1 = main::tilebase#3 + $100 +Adding number conversion cast (unumber) 1 in main::tiles[main::p#2] = main::tiles[main::p#2] + 1 +Adding number conversion cast (unumber) 0 in memcpy_to_vram::vbank#1 = 0 +Adding number conversion cast (unumber) $100 in memcpy_to_vram::num#1 = $100 +Adding number conversion cast (unumber) $100 in main::tilebase#2 = main::tilebase#5 + $100 +Adding number conversion cast (unumber) 0 in vera_tile_area::layer#0 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::tileindex#0 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::x#0 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::y#0 = 0 +Adding number conversion cast (unumber) $28 in vera_tile_area::w#0 = $28 +Adding number conversion cast (unumber) $1e in vera_tile_area::h#0 = $1e +Adding number conversion cast (unumber) 0 in vera_tile_area::hflip#1 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::vflip#1 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::offset#1 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::layer#1 = 0 +Adding number conversion cast (unumber) 1 in vera_tile_area::w#1 = 1 +Adding number conversion cast (unumber) 1 in vera_tile_area::h#1 = 1 +Adding number conversion cast (unumber) 0 in vera_tile_area::hflip#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::vflip#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::offset#2 = 0 +Adding number conversion cast (unumber) 2 in main::column#1 = main::column#3 + 2 +Adding number conversion cast (unumber) $ff in main::tile#2 = main::tile#1 & $ff +Adding number conversion cast (unumber) 2 in main::row#1 = main::row#5 + 2 +Adding number conversion cast (unumber) 0 in gotoxy::x#3 = 0 +Adding number conversion cast (unumber) $32 in gotoxy::y#3 = $32 +Adding number conversion cast (unumber) 0 in main::vera_layer_show1_layer#0 = 0 +Adding number conversion cast (unumber) 0 in main::$42 = 0 != main::$35 +Adding number conversion cast (unumber) 0 in vera_tile_area::layer#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::tileindex#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::x#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::y#2 = 0 +Adding number conversion cast (unumber) $28 in vera_tile_area::w#2 = $28 +Adding number conversion cast (unumber) $1e in vera_tile_area::h#2 = $1e +Adding number conversion cast (unumber) 0 in vera_tile_area::hflip#3 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::vflip#3 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::offset#3 = 0 +Adding number conversion cast (unumber) 0 in main::tile#3 = 0 +Adding number conversion cast (unumber) 0 in main::row#2 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::layer#3 = 0 +Adding number conversion cast (unumber) 2 in vera_tile_area::w#3 = 2 +Adding number conversion cast (unumber) 2 in vera_tile_area::h#3 = 2 +Adding number conversion cast (unumber) 0 in vera_tile_area::hflip#4 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::vflip#4 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::offset#4 = 0 +Adding number conversion cast (unumber) 2 in main::column1#1 = main::column1#3 + 2 +Adding number conversion cast (unumber) $ff in main::tile#5 = main::tile#4 & $ff +Adding number conversion cast (unumber) 2 in main::row#3 = main::row#7 + 2 +Adding number conversion cast (unumber) 0 in main::$43 = 0 != main::$40 +Adding number conversion cast (unumber) 0 in vera_tile_area::layer#4 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::tileindex#4 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::x#4 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::y#4 = 0 +Adding number conversion cast (unumber) $28 in vera_tile_area::w#4 = $28 +Adding number conversion cast (unumber) $1e in vera_tile_area::h#4 = $1e +Adding number conversion cast (unumber) 0 in vera_tile_area::hflip#5 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::vflip#5 = 0 +Adding number conversion cast (unumber) 0 in vera_tile_area::offset#5 = 0 +Adding number conversion cast (unumber) 0 in main::vera_layer_hide1_layer#0 = 0 +Adding number conversion cast (unumber) 0 in memcpy_in_vram::dest_bank#2 = 0 +Adding number conversion cast (unumber) 1 in memcpy_in_vram::src_bank#2 = 1 +Adding number conversion cast (unumber) $100*8 in memcpy_in_vram::num#2 = $100*8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::layer#3 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_mode_tile::mapbase_address#4 = 0 +Adding number conversion cast (unumber) $f800 in vera_layer_mode_tile::tilebase_address#4 = $f800 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapwidth#3 = $80 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapheight#3 = $80 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tilewidth#3 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tileheight#3 = 8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#3 = 1 +Adding number conversion cast (unumber) 0 in vera_layer_mode_tile::layer#4 = 0 +Adding number conversion cast (unumber) 0 in vera_layer_mode_tile::mapbase_address#5 = 0 +Adding number conversion cast (unumber) $f800 in vera_layer_mode_tile::tilebase_address#5 = $f800 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapwidth#4 = $80 +Adding number conversion cast (unumber) $80 in vera_layer_mode_tile::mapheight#4 = $80 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tilewidth#4 = 8 +Adding number conversion cast (unumber) 8 in vera_layer_mode_tile::tileheight#4 = 8 +Adding number conversion cast (unumber) 1 in vera_layer_mode_tile::color_depth#4 = 1 +Adding number conversion cast (unumber) 1 in screenlayer::layer#2 = 1 +Successful SSA optimization PassNAddNumberTypeConversions +Inlining cast memcpy_to_vram::s#0 = (byte*)memcpy_to_vram::src#2 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#5] = (unumber)6 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$13] = (unumber)$40 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#6] = (unumber)7 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$14] = (unumber)$80 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#7] = (unumber)8 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$15] = (unumber)$100 +Inlining cast vera_layer_rowshift[vera_layer_mode_tile::layer#8] = (unumber)9 +Inlining cast vera_layer_rowskip[vera_layer_mode_tile::$16] = (unumber)$200 +Inlining cast vera_layer_mode_tile::color_depth#0 = (unumber)1 +Inlining cast vera_layer_mode_text::layer#0 = (unumber)1 +Inlining cast vera_layer_mode_text::mapwidth#0 = (unumber)$80 +Inlining cast vera_layer_mode_text::mapheight#0 = (unumber)$40 +Inlining cast vera_layer_mode_text::tilewidth#0 = (unumber)8 +Inlining cast vera_layer_mode_text::tileheight#0 = (unumber)8 +Inlining cast vera_layer_mode_text::color_mode#0 = (unumber)$10 +Inlining cast screenlayer::layer#0 = (unumber)1 +Inlining cast vera_layer_set_textcolor::layer#0 = (unumber)1 +Inlining cast vera_layer_set_backcolor::layer#0 = (unumber)1 +Inlining cast vera_layer_set_mapbase::layer#1 = (unumber)0 +Inlining cast vera_layer_set_mapbase::mapbase#1 = (unumber)$20 +Inlining cast vera_layer_set_mapbase::layer#2 = (unumber)1 +Inlining cast vera_layer_set_mapbase::mapbase#2 = (unumber)0 +Inlining cast gotoxy::x#0 = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast conio_cursor_y[conio_screen_layer] = (unumber)0 +Inlining cast conio_line_text[clrscr::$9] = (unumber)0 +Inlining cast gotoxy::y#1 = (unumber)0 +Inlining cast gotoxy::x#1 = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast conio_cursor_x[conio_screen_layer] = (unumber)0 +Inlining cast memcpy_in_vram::dest_bank#0 = (unumber)0 +Inlining cast memcpy_in_vram::src_bank#0 = (unumber)0 +Inlining cast gotoxy::x#2 = (unumber)0 +Inlining cast CONIO_SCREEN_TEXT#2 = (byte*)screenlayer::$1 +Inlining cast memcpy_in_vram::dest_bank#1 = (unumber)1 +Inlining cast memcpy_in_vram::src_bank#1 = (unumber)0 +Inlining cast memcpy_in_vram::num#1 = (unumber)$100*8 +Inlining cast vera_layer_mode_tile::layer#1 = (unumber)1 +Inlining cast vera_layer_mode_tile::mapbase_address#2 = (unumber)$10000 +Inlining cast vera_layer_mode_tile::tilebase_address#2 = (unumber)$1f000 +Inlining cast vera_layer_mode_tile::mapwidth#1 = (unumber)$80 +Inlining cast vera_layer_mode_tile::mapheight#1 = (unumber)$40 +Inlining cast vera_layer_mode_tile::tilewidth#1 = (unumber)8 +Inlining cast vera_layer_mode_tile::tileheight#1 = (unumber)8 +Inlining cast vera_layer_mode_tile::color_depth#1 = (unumber)1 +Inlining cast screenlayer::layer#1 = (unumber)1 +Inlining cast vera_layer_mode_tile::layer#2 = (unumber)0 +Inlining cast vera_layer_mode_tile::mapbase_address#3 = (unumber)$14000 +Inlining cast vera_layer_mode_tile::tilebase_address#3 = (unumber)0 +Inlining cast vera_layer_mode_tile::mapwidth#2 = (unumber)$40 +Inlining cast vera_layer_mode_tile::mapheight#2 = (unumber)$40 +Inlining cast vera_layer_mode_tile::tilewidth#2 = (unumber)$10 +Inlining cast vera_layer_mode_tile::tileheight#2 = (unumber)$10 +Inlining cast vera_layer_mode_tile::color_depth#2 = (unumber)8 +Inlining cast memcpy_to_vram::vbank#0 = (unumber)0 +Inlining cast memcpy_to_vram::num#0 = (unumber)$100 +Inlining cast memcpy_to_vram::vbank#1 = (unumber)0 +Inlining cast memcpy_to_vram::num#1 = (unumber)$100 +Inlining cast vera_tile_area::layer#0 = (unumber)0 +Inlining cast vera_tile_area::tileindex#0 = (unumber)0 +Inlining cast vera_tile_area::x#0 = (unumber)0 +Inlining cast vera_tile_area::y#0 = (unumber)0 +Inlining cast vera_tile_area::w#0 = (unumber)$28 +Inlining cast vera_tile_area::h#0 = (unumber)$1e +Inlining cast vera_tile_area::hflip#1 = (unumber)0 +Inlining cast vera_tile_area::vflip#1 = (unumber)0 +Inlining cast vera_tile_area::offset#1 = (unumber)0 +Inlining cast vera_tile_area::layer#1 = (unumber)0 +Inlining cast vera_tile_area::w#1 = (unumber)1 +Inlining cast vera_tile_area::h#1 = (unumber)1 +Inlining cast vera_tile_area::hflip#2 = (unumber)0 +Inlining cast vera_tile_area::vflip#2 = (unumber)0 +Inlining cast vera_tile_area::offset#2 = (unumber)0 +Inlining cast gotoxy::x#3 = (unumber)0 +Inlining cast gotoxy::y#3 = (unumber)$32 +Inlining cast main::vera_layer_show1_layer#0 = (unumber)0 +Inlining cast vera_tile_area::layer#2 = (unumber)0 +Inlining cast vera_tile_area::tileindex#2 = (unumber)0 +Inlining cast vera_tile_area::x#2 = (unumber)0 +Inlining cast vera_tile_area::y#2 = (unumber)0 +Inlining cast vera_tile_area::w#2 = (unumber)$28 +Inlining cast vera_tile_area::h#2 = (unumber)$1e +Inlining cast vera_tile_area::hflip#3 = (unumber)0 +Inlining cast vera_tile_area::vflip#3 = (unumber)0 +Inlining cast vera_tile_area::offset#3 = (unumber)0 +Inlining cast main::tile#3 = (unumber)0 +Inlining cast main::row#2 = (unumber)0 +Inlining cast vera_tile_area::layer#3 = (unumber)0 +Inlining cast vera_tile_area::w#3 = (unumber)2 +Inlining cast vera_tile_area::h#3 = (unumber)2 +Inlining cast vera_tile_area::hflip#4 = (unumber)0 +Inlining cast vera_tile_area::vflip#4 = (unumber)0 +Inlining cast vera_tile_area::offset#4 = (unumber)0 +Inlining cast vera_tile_area::layer#4 = (unumber)0 +Inlining cast vera_tile_area::tileindex#4 = (unumber)0 +Inlining cast vera_tile_area::x#4 = (unumber)0 +Inlining cast vera_tile_area::y#4 = (unumber)0 +Inlining cast vera_tile_area::w#4 = (unumber)$28 +Inlining cast vera_tile_area::h#4 = (unumber)$1e +Inlining cast vera_tile_area::hflip#5 = (unumber)0 +Inlining cast vera_tile_area::vflip#5 = (unumber)0 +Inlining cast vera_tile_area::offset#5 = (unumber)0 +Inlining cast main::vera_layer_hide1_layer#0 = (unumber)0 +Inlining cast memcpy_in_vram::dest_bank#2 = (unumber)0 +Inlining cast memcpy_in_vram::src_bank#2 = (unumber)1 +Inlining cast memcpy_in_vram::num#2 = (unumber)$100*8 +Inlining cast vera_layer_mode_tile::layer#3 = (unumber)1 +Inlining cast vera_layer_mode_tile::mapbase_address#4 = (unumber)0 +Inlining cast vera_layer_mode_tile::tilebase_address#4 = (unumber)$f800 +Inlining cast vera_layer_mode_tile::mapwidth#3 = (unumber)$80 +Inlining cast vera_layer_mode_tile::mapheight#3 = (unumber)$80 +Inlining cast vera_layer_mode_tile::tilewidth#3 = (unumber)8 +Inlining cast vera_layer_mode_tile::tileheight#3 = (unumber)8 +Inlining cast vera_layer_mode_tile::color_depth#3 = (unumber)1 +Inlining cast vera_layer_mode_tile::layer#4 = (unumber)0 +Inlining cast vera_layer_mode_tile::mapbase_address#5 = (unumber)0 +Inlining cast vera_layer_mode_tile::tilebase_address#5 = (unumber)$f800 +Inlining cast vera_layer_mode_tile::mapwidth#4 = (unumber)$80 +Inlining cast vera_layer_mode_tile::mapheight#4 = (unumber)$80 +Inlining cast vera_layer_mode_tile::tilewidth#4 = (unumber)8 +Inlining cast vera_layer_mode_tile::tileheight#4 = (unumber)8 +Inlining cast vera_layer_mode_tile::color_depth#4 = (unumber)1 +Inlining cast screenlayer::layer#2 = (unumber)1 +Successful SSA optimization Pass2InlineCast +Simplifying constant pointer cast (byte*) 40736 +Simplifying constant pointer cast (byte*) 40737 +Simplifying constant pointer cast (byte*) 40738 +Simplifying constant pointer cast (byte*) 40739 +Simplifying constant pointer cast (byte*) 40740 +Simplifying constant pointer cast (byte*) 40741 +Simplifying constant pointer cast (byte*) 40745 +Simplifying constant pointer cast (byte*) 40746 +Simplifying constant pointer cast (byte*) 40747 +Simplifying constant pointer cast (byte*) 40749 +Simplifying constant pointer cast (byte*) 40750 +Simplifying constant pointer cast (byte*) 40751 +Simplifying constant pointer cast (byte*) 40756 +Simplifying constant pointer cast (byte*) 40757 +Simplifying constant pointer cast (byte*) 40758 +Simplifying constant pointer cast (byte*) 0 +Simplifying constant pointer cast (byte*) 214 +Simplifying constant pointer cast (byte*) 650 +Simplifying constant pointer cast (byte*) 65508 +Simplifying constant integer cast 0 +Simplifying constant integer cast 4 +Simplifying constant integer cast 1 +Simplifying constant integer cast 2 +Simplifying constant integer cast 4 +Simplifying constant integer cast 8 +Simplifying constant integer cast $20 +Simplifying constant integer cast 6 +Simplifying constant integer cast $40 +Simplifying constant integer cast $40 +Simplifying constant integer cast 7 +Simplifying constant integer cast $80 +Simplifying constant integer cast $80 +Simplifying constant integer cast 8 +Simplifying constant integer cast $100 +Simplifying constant integer cast $100 +Simplifying constant integer cast 9 +Simplifying constant integer cast $200 +Simplifying constant integer cast $20 +Simplifying constant integer cast $40 +Simplifying constant integer cast $80 +Simplifying constant integer cast $100 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 1 +Simplifying constant integer cast $10 +Simplifying constant integer cast $100 +Simplifying constant integer cast 1 +Simplifying constant integer cast 4 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $f800 +Simplifying constant integer cast $80 +Simplifying constant integer cast $40 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast $10 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $20 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 4 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 7 +Simplifying constant integer cast $28 +Simplifying constant integer cast 7 +Simplifying constant integer cast $1e +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 4 +Simplifying constant integer cast 6 +Simplifying constant integer cast 1 +Simplifying constant pointer cast (void*) 61440 +Simplifying constant integer cast 0 +Simplifying constant pointer cast (void*) 63488 +Simplifying constant integer cast 1 +Simplifying constant integer cast $10000 +Simplifying constant integer cast $1f000 +Simplifying constant integer cast $80 +Simplifying constant integer cast $40 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $14000 +Simplifying constant integer cast 0 +Simplifying constant integer cast $40 +Simplifying constant integer cast $40 +Simplifying constant integer cast $10 +Simplifying constant integer cast $10 +Simplifying constant integer cast 8 +Simplifying constant integer cast 0 +Simplifying constant integer cast $100 +Simplifying constant integer cast $100 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $100 +Simplifying constant integer cast $100 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $28 +Simplifying constant integer cast $1e +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast $ff +Simplifying constant integer cast 2 +Simplifying constant integer cast 0 +Simplifying constant integer cast $32 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $28 +Simplifying constant integer cast $1e +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast 2 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 2 +Simplifying constant integer cast $ff +Simplifying constant integer cast 2 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $28 +Simplifying constant integer cast $1e +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant pointer cast (void*) 63488 +Simplifying constant integer cast 1 +Simplifying constant pointer cast (void*) 61440 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast $f800 +Simplifying constant integer cast $80 +Simplifying constant integer cast $80 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast 0 +Simplifying constant integer cast 0 +Simplifying constant integer cast $f800 +Simplifying constant integer cast $80 +Simplifying constant integer cast $80 +Simplifying constant integer cast 8 +Simplifying constant integer cast 8 +Simplifying constant integer cast 1 +Simplifying constant integer cast 1 +Successful SSA optimization PassNCastSimplification +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) 6 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 9 +Finalized unsigned number type (word) $200 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $20 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $28 +Finalized unsigned number type (byte) 7 +Finalized unsigned number type (byte) $1e +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 4 +Finalized unsigned number type (byte) 6 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (dword) $10000 +Finalized unsigned number type (dword) $1f000 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (dword) $14000 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $40 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) $10 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (word) $100 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $28 +Finalized unsigned number type (byte) $1e +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) $ff +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $32 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $28 +Finalized unsigned number type (byte) $1e +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) $ff +Finalized unsigned number type (byte) 2 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) $28 +Finalized unsigned number type (byte) $1e +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $f800 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (byte) 0 +Finalized unsigned number type (word) $f800 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) $80 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 8 +Finalized unsigned number type (byte) 1 +Finalized unsigned number type (byte) 1 +Successful SSA optimization PassNFinalizeNumberTypeConversions +Inferred type updated to byte in conio_x16_init::$9 = conio_screen_height - 1 +Inferred type updated to byte in screensize::$1 = $28 << screensize::hscale#0 +Inferred type updated to byte in screensize::$3 = $1e << screensize::vscale#0 +Inferred type updated to byte in insertup::$0 = conio_screen_width * 2 +Inferred type updated to byte in insertup::$3 = insertup::i#3 - 1 +Inferred type updated to byte in insertup::$4 = insertup::$3 << conio_rowshift +Inferred type updated to byte in cscroll::$5 = conio_screen_height - 1 +Inversing boolean not [356] conio_x16_init::$8 = conio_x16_init::line#2 < conio_screen_height from [355] conio_x16_init::$7 = conio_x16_init::line#2 >= conio_screen_height +Inversing boolean not [422] gotoxy::$1 = gotoxy::y#4 <= conio_screen_height from [421] gotoxy::$0 = gotoxy::y#4 > conio_screen_height +Inversing boolean not [426] gotoxy::$3 = gotoxy::x#4 < conio_screen_width from [425] gotoxy::$2 = gotoxy::x#4 >= conio_screen_width +Inversing boolean not [483] cputc::$12 = conio_cursor_x[conio_screen_layer] != conio_screen_width from [482] cputc::$11 = conio_cursor_x[conio_screen_layer] == conio_screen_width +Inversing boolean not [488] cputc::$9 = cputc::$16 != conio_width from [487] cputc::$8 = cputc::$16 == conio_width +Inversing boolean not [561] cscroll::$1 = conio_cursor_y[conio_screen_layer] < conio_screen_height from [560] cscroll::$0 = conio_cursor_y[conio_screen_layer] >= conio_screen_height +Inversing boolean not [573] cscroll::$3 = conio_cursor_y[conio_screen_layer] < conio_height from [572] cscroll::$2 = conio_cursor_y[conio_screen_layer] >= conio_height +Inversing boolean not [804] main::$36 = 0 == main::$35 from [803] main::$42 = 0 != main::$35 +Inversing boolean not [853] main::$41 = 0 == main::$40 from [852] main::$43 = 0 != main::$40 +Successful SSA optimization Pass2UnaryNotSimplification +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Alias memcpy_to_vram::end#0 = memcpy_to_vram::$3 +Alias memcpy_to_vram::s#2 = memcpy_to_vram::s#3 +Alias memcpy_to_vram::end#1 = memcpy_to_vram::end#2 +Alias memcpy_in_vram::i#2 = memcpy_in_vram::i#3 +Alias memcpy_in_vram::num#3 = memcpy_in_vram::num#5 +Alias vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#3 vera_layer_get_mapbase_bank::return#1 +Alias vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#3 vera_layer_get_mapbase_offset::return#1 +Alias vera_layer_set_textcolor::return#0 = vera_layer_set_textcolor::old#0 vera_layer_set_textcolor::return#5 vera_layer_set_textcolor::return#1 +Alias vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#3 vera_layer_get_textcolor::return#1 +Alias vera_layer_set_backcolor::return#0 = vera_layer_set_backcolor::old#0 vera_layer_set_backcolor::return#5 vera_layer_set_backcolor::return#1 +Alias vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#3 vera_layer_get_backcolor::return#1 +Alias vera_layer_get_color::layer#2 = vera_layer_get_color::layer#3 vera_layer_get_color::layer#4 +Alias vera_layer_get_color::return#1 = vera_layer_get_color::$2 +Alias vera_layer_get_color::return#2 = vera_layer_get_color::return#5 +Alias vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#3 vera_layer_get_rowshift::return#1 +Alias vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#3 vera_layer_get_rowskip::return#1 +Alias vera_layer_mode_tile::config#0 = vera_layer_mode_tile::config#13 vera_layer_mode_tile::config#26 vera_layer_mode_tile::config#14 vera_layer_mode_tile::config#27 vera_layer_mode_tile::config#15 vera_layer_mode_tile::config#28 vera_layer_mode_tile::config#16 +Alias vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_tile::mapwidth#14 vera_layer_mode_tile::mapwidth#15 vera_layer_mode_tile::mapwidth#11 vera_layer_mode_tile::mapwidth#16 vera_layer_mode_tile::mapwidth#12 vera_layer_mode_tile::mapwidth#9 vera_layer_mode_tile::mapwidth#13 +Alias vera_layer_mode_tile::layer#25 = vera_layer_mode_tile::layer#26 vera_layer_mode_tile::layer#34 vera_layer_mode_tile::layer#35 vera_layer_mode_tile::layer#27 vera_layer_mode_tile::layer#36 vera_layer_mode_tile::layer#28 vera_layer_mode_tile::layer#29 +Alias vera_layer_mode_tile::mapheight#17 = vera_layer_mode_tile::mapheight#18 vera_layer_mode_tile::mapheight#22 vera_layer_mode_tile::mapheight#23 vera_layer_mode_tile::mapheight#19 vera_layer_mode_tile::mapheight#24 vera_layer_mode_tile::mapheight#20 vera_layer_mode_tile::mapheight#21 +Alias vera_layer_mode_tile::mapbase_address#24 = vera_layer_mode_tile::mapbase_address#25 vera_layer_mode_tile::mapbase_address#29 vera_layer_mode_tile::mapbase_address#30 vera_layer_mode_tile::mapbase_address#26 vera_layer_mode_tile::mapbase_address#31 vera_layer_mode_tile::mapbase_address#27 vera_layer_mode_tile::mapbase_address#28 +Alias vera_layer_mode_tile::tilebase_address#25 = vera_layer_mode_tile::tilebase_address#26 vera_layer_mode_tile::tilebase_address#30 vera_layer_mode_tile::tilebase_address#31 vera_layer_mode_tile::tilebase_address#27 vera_layer_mode_tile::tilebase_address#32 vera_layer_mode_tile::tilebase_address#28 vera_layer_mode_tile::tilebase_address#29 +Alias vera_layer_mode_tile::tilewidth#25 = vera_layer_mode_tile::tilewidth#26 vera_layer_mode_tile::tilewidth#30 vera_layer_mode_tile::tilewidth#31 vera_layer_mode_tile::tilewidth#27 vera_layer_mode_tile::tilewidth#32 vera_layer_mode_tile::tilewidth#28 vera_layer_mode_tile::tilewidth#29 +Alias vera_layer_mode_tile::tileheight#29 = vera_layer_mode_tile::tileheight#30 vera_layer_mode_tile::tileheight#34 vera_layer_mode_tile::tileheight#35 vera_layer_mode_tile::tileheight#31 vera_layer_mode_tile::tileheight#36 vera_layer_mode_tile::tileheight#32 vera_layer_mode_tile::tileheight#33 +Alias vera_layer_mode_tile::color_depth#5 = vera_layer_mode_tile::color_depth#6 vera_layer_mode_tile::color_depth#7 vera_layer_mode_tile::color_depth#8 +Alias vera_layer_mode_tile::config#17 = vera_layer_mode_tile::config#29 vera_layer_mode_tile::config#30 vera_layer_mode_tile::config#18 vera_layer_mode_tile::config#31 vera_layer_mode_tile::config#19 vera_layer_mode_tile::config#32 vera_layer_mode_tile::config#20 +Alias vera_layer_mode_tile::layer#13 = vera_layer_mode_tile::layer#5 vera_layer_mode_tile::layer#14 vera_layer_mode_tile::layer#6 vera_layer_mode_tile::layer#15 vera_layer_mode_tile::layer#7 vera_layer_mode_tile::layer#16 vera_layer_mode_tile::layer#8 +Alias vera_layer_mode_tile::mapheight#10 = vera_layer_mode_tile::mapheight#14 vera_layer_mode_tile::mapheight#15 vera_layer_mode_tile::mapheight#11 vera_layer_mode_tile::mapheight#16 vera_layer_mode_tile::mapheight#12 vera_layer_mode_tile::mapheight#9 vera_layer_mode_tile::mapheight#13 +Alias vera_layer_mode_tile::mapbase_address#16 = vera_layer_mode_tile::mapbase_address#17 vera_layer_mode_tile::mapbase_address#21 vera_layer_mode_tile::mapbase_address#22 vera_layer_mode_tile::mapbase_address#18 vera_layer_mode_tile::mapbase_address#23 vera_layer_mode_tile::mapbase_address#19 vera_layer_mode_tile::mapbase_address#20 +Alias vera_layer_mode_tile::tilebase_address#17 = vera_layer_mode_tile::tilebase_address#18 vera_layer_mode_tile::tilebase_address#22 vera_layer_mode_tile::tilebase_address#23 vera_layer_mode_tile::tilebase_address#19 vera_layer_mode_tile::tilebase_address#24 vera_layer_mode_tile::tilebase_address#20 vera_layer_mode_tile::tilebase_address#21 +Alias vera_layer_mode_tile::tilewidth#17 = vera_layer_mode_tile::tilewidth#18 vera_layer_mode_tile::tilewidth#22 vera_layer_mode_tile::tilewidth#23 vera_layer_mode_tile::tilewidth#19 vera_layer_mode_tile::tilewidth#24 vera_layer_mode_tile::tilewidth#20 vera_layer_mode_tile::tilewidth#21 +Alias vera_layer_mode_tile::tileheight#21 = vera_layer_mode_tile::tileheight#22 vera_layer_mode_tile::tileheight#26 vera_layer_mode_tile::tileheight#27 vera_layer_mode_tile::tileheight#23 vera_layer_mode_tile::tileheight#28 vera_layer_mode_tile::tileheight#24 vera_layer_mode_tile::tileheight#25 +Alias vera_layer_mode_tile::mapwidth#5 = vera_layer_mode_tile::mapwidth#6 vera_layer_mode_tile::mapwidth#7 vera_layer_mode_tile::mapwidth#8 +Alias vera_layer_mode_tile::config#21 = vera_layer_mode_tile::config#33 vera_layer_mode_tile::config#34 vera_layer_mode_tile::config#22 vera_layer_mode_tile::config#35 vera_layer_mode_tile::config#23 vera_layer_mode_tile::config#36 vera_layer_mode_tile::config#24 +Alias vera_layer_mode_tile::layer#17 = vera_layer_mode_tile::layer#18 vera_layer_mode_tile::layer#30 vera_layer_mode_tile::layer#31 vera_layer_mode_tile::layer#19 vera_layer_mode_tile::layer#32 vera_layer_mode_tile::layer#20 vera_layer_mode_tile::layer#21 +Alias vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_tile::mapbase_address#9 vera_layer_mode_tile::mapbase_address#13 vera_layer_mode_tile::mapbase_address#14 vera_layer_mode_tile::mapbase_address#15 vera_layer_mode_tile::mapbase_address#11 vera_layer_mode_tile::mapbase_address#8 vera_layer_mode_tile::mapbase_address#12 +Alias vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_tile::tilebase_address#14 vera_layer_mode_tile::tilebase_address#15 vera_layer_mode_tile::tilebase_address#11 vera_layer_mode_tile::tilebase_address#16 vera_layer_mode_tile::tilebase_address#12 vera_layer_mode_tile::tilebase_address#9 vera_layer_mode_tile::tilebase_address#13 +Alias vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_tile::tilewidth#14 vera_layer_mode_tile::tilewidth#15 vera_layer_mode_tile::tilewidth#11 vera_layer_mode_tile::tilewidth#16 vera_layer_mode_tile::tilewidth#12 vera_layer_mode_tile::tilewidth#9 vera_layer_mode_tile::tilewidth#13 +Alias vera_layer_mode_tile::tileheight#13 = vera_layer_mode_tile::tileheight#14 vera_layer_mode_tile::tileheight#18 vera_layer_mode_tile::tileheight#19 vera_layer_mode_tile::tileheight#15 vera_layer_mode_tile::tileheight#20 vera_layer_mode_tile::tileheight#16 vera_layer_mode_tile::tileheight#17 +Alias vera_layer_mode_tile::mapheight#5 = vera_layer_mode_tile::mapheight#6 vera_layer_mode_tile::mapheight#7 vera_layer_mode_tile::mapheight#8 +Alias vera_layer_mode_tile::mapbase_address#6 = vera_layer_mode_tile::mapbase_address#7 +Alias vera_layer_mode_tile::layer#10 = vera_layer_mode_tile::layer#9 vera_layer_mode_tile::layer#11 vera_layer_mode_tile::layer#38 vera_layer_mode_tile::layer#37 vera_layer_mode_tile::layer#39 +Alias vera_layer_mode_tile::tilebase_address#6 = vera_layer_mode_tile::tilebase_address#7 vera_layer_mode_tile::tilebase_address#8 +Alias vera_layer_mode_tile::tilewidth#5 = vera_layer_mode_tile::tilewidth#7 vera_layer_mode_tile::tilewidth#8 vera_layer_mode_tile::tilewidth#6 +Alias vera_layer_mode_tile::tileheight#10 = vera_layer_mode_tile::tileheight#11 vera_layer_mode_tile::tileheight#12 vera_layer_mode_tile::tileheight#8 vera_layer_mode_tile::tileheight#7 vera_layer_mode_tile::tileheight#9 +Alias vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::$3 +Alias vera_layer_mode_tile::mapbase#0 = vera_layer_mode_tile::$5 +Alias vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::$9 +Alias vera_layer_mode_tile::tilebase#0 = vera_layer_mode_tile::$11 +Alias vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#6 vera_layer_mode_tile::tilebase#11 vera_layer_mode_tile::tilebase#7 +Alias vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#8 vera_layer_mode_tile::tilebase#13 vera_layer_mode_tile::tilebase#9 +Alias vera_layer_mode_tile::layer#22 = vera_layer_mode_tile::layer#23 vera_layer_mode_tile::layer#33 vera_layer_mode_tile::layer#24 +Alias vera_layer_mode_tile::tileheight#5 = vera_layer_mode_tile::tileheight#6 +Alias vera_layer_mode_text::color_mode#1 = vera_layer_mode_text::color_mode#3 vera_layer_mode_text::color_mode#2 +Alias vera_layer_mode_text::layer#1 = vera_layer_mode_text::layer#4 vera_layer_mode_text::layer#2 vera_layer_mode_text::layer#5 vera_layer_mode_text::layer#3 +Alias vera_tile_area::rowskip#0 = vera_tile_area::$0 +Alias vera_tile_area::offset#0 = vera_tile_area::$1 +Alias vera_tile_area::index_l#0 = vera_tile_area::$2 +Alias vera_tile_area::index_h#0 = vera_tile_area::$3 +Alias vera_tile_area::mapbase#10 = vera_tile_area::mapbase#4 vera_tile_area::mapbase#6 vera_tile_area::vera_vram_address01_bankaddr#0 vera_tile_area::vera_vram_address01_bankaddr#1 vera_tile_area::mapbase#9 +Alias vera_tile_area::w#10 = vera_tile_area::w#9 vera_tile_area::w#8 vera_tile_area::w#7 +Alias vera_tile_area::index_l#3 = vera_tile_area::index_l#5 vera_tile_area::index_l#6 vera_tile_area::index_l#4 +Alias vera_tile_area::index_h#6 = vera_tile_area::index_h#8 vera_tile_area::index_h#9 vera_tile_area::index_h#7 +Alias vera_tile_area::rowskip#4 = vera_tile_area::rowskip#6 vera_tile_area::rowskip#7 vera_tile_area::rowskip#5 +Alias vera_tile_area::r#2 = vera_tile_area::r#8 vera_tile_area::r#7 vera_tile_area::r#6 +Alias vera_tile_area::h#10 = vera_tile_area::h#12 vera_tile_area::h#5 vera_tile_area::h#11 +Alias vera_tile_area::vera_vram_address01_incr#0 = vera_tile_area::vera_vram_address01_incr#1 +Alias vera_tile_area::index_l#1 = vera_tile_area::index_l#2 vera_tile_area::index_l#7 +Alias vera_tile_area::index_h#10 = vera_tile_area::index_h#4 vera_tile_area::index_h#5 +Alias vera_tile_area::c#2 = vera_tile_area::c#3 +Alias vera_tile_area::w#12 = vera_tile_area::w#6 vera_tile_area::w#5 +Alias vera_tile_area::mapbase#5 = vera_tile_area::mapbase#8 vera_tile_area::mapbase#7 +Alias vera_tile_area::rowskip#1 = vera_tile_area::rowskip#3 vera_tile_area::rowskip#2 +Alias vera_tile_area::r#3 = vera_tile_area::r#5 vera_tile_area::r#4 +Alias vera_tile_area::h#7 = vera_tile_area::h#9 vera_tile_area::h#8 +Alias CONIO_SCREEN_BANK#22 = CONIO_SCREEN_BANK#31 CONIO_SCREEN_BANK#40 +Alias CONIO_SCREEN_TEXT#24 = CONIO_SCREEN_TEXT#36 CONIO_SCREEN_TEXT#46 +Alias conio_x16_init::line#0 = conio_x16_init::line#9 conio_x16_init::line#8 conio_x16_init::line#7 conio_x16_init::line#6 conio_x16_init::line#5 conio_x16_init::line#4 conio_x16_init::line#2 +Alias CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#11 CONIO_SCREEN_BANK#64 CONIO_SCREEN_BANK#57 CONIO_SCREEN_BANK#50 CONIO_SCREEN_BANK#42 CONIO_SCREEN_BANK#41 +Alias CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#11 CONIO_SCREEN_TEXT#78 CONIO_SCREEN_TEXT#64 CONIO_SCREEN_TEXT#56 CONIO_SCREEN_TEXT#48 CONIO_SCREEN_TEXT#47 +Alias CONIO_SCREEN_BANK#1 = CONIO_SCREEN_BANK#23 CONIO_SCREEN_BANK#32 CONIO_SCREEN_BANK#12 +Alias CONIO_SCREEN_TEXT#1 = CONIO_SCREEN_TEXT#25 CONIO_SCREEN_TEXT#37 CONIO_SCREEN_TEXT#12 +Alias conio_x16_init::line#1 = conio_x16_init::$9 +Alias vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#4 +Alias clrscr::line_text#0 = clrscr::line_text#8 clrscr::line_text#6 +Alias CONIO_SCREEN_BANK#34 = CONIO_SCREEN_BANK#43 CONIO_SCREEN_BANK#51 +Alias vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#4 +Alias clrscr::color#0 = clrscr::$3 +Alias clrscr::line_text#2 = clrscr::line_text#4 clrscr::ch#0 +Alias CONIO_SCREEN_BANK#13 = CONIO_SCREEN_BANK#24 +Alias clrscr::color#3 = clrscr::color#4 +Alias clrscr::l#2 = clrscr::l#5 +Alias clrscr::color#1 = clrscr::color#2 clrscr::color#5 +Alias clrscr::c#2 = clrscr::c#3 +Alias clrscr::line_text#3 = clrscr::line_text#7 clrscr::line_text#5 +Alias clrscr::l#3 = clrscr::l#6 clrscr::l#4 +Alias CONIO_SCREEN_BANK#33 = CONIO_SCREEN_BANK#52 CONIO_SCREEN_BANK#44 +Alias gotoxy::x#6 = gotoxy::x#7 +Alias gotoxy::line_offset#0 = gotoxy::$4 +Alias gotoxy::y#6 = gotoxy::y#7 +Alias screensize::hscale#0 = screensize::$0 +Alias screensize::vscale#0 = screensize::$2 +Alias vera_layer_get_color::return#3 = vera_layer_get_color::return#6 +Alias CONIO_SCREEN_TEXT#14 = CONIO_SCREEN_TEXT#28 CONIO_SCREEN_TEXT#85 CONIO_SCREEN_TEXT#96 CONIO_SCREEN_TEXT#92 CONIO_SCREEN_TEXT#91 CONIO_SCREEN_TEXT#86 CONIO_SCREEN_TEXT#87 +Alias cputc::c#1 = cputc::c#3 cputc::c#2 +Alias CONIO_SCREEN_BANK#14 = CONIO_SCREEN_BANK#25 CONIO_SCREEN_BANK#35 +Alias cputc::color#0 = cputc::$0 cputc::color#1 +Alias cputc::conio_addr#0 = cputc::$1 +Alias cputc::conio_addr#1 = cputc::conio_addr#2 +Alias clearline::addr#0 = clearline::$0 +Alias vera_layer_get_color::return#4 = vera_layer_get_color::return#7 +Alias clearline::color#0 = clearline::$3 +Alias clearline::color#1 = clearline::color#2 +Alias clearline::c#2 = clearline::c#3 +Alias insertup::width#0 = insertup::$0 +Alias insertup::i#2 = insertup::i#3 insertup::i#4 +Alias CONIO_SCREEN_TEXT#16 = CONIO_SCREEN_TEXT#30 CONIO_SCREEN_TEXT#40 CONIO_SCREEN_TEXT#29 +Alias insertup::width#1 = insertup::width#2 insertup::width#3 +Alias insertup::cy#1 = insertup::cy#3 insertup::cy#2 +Alias insertup::line#0 = insertup::$4 +Alias insertup::start#0 = insertup::$5 +Alias CONIO_SCREEN_TEXT#49 = CONIO_SCREEN_TEXT#57 CONIO_SCREEN_TEXT#65 +Alias gotoxy::y#2 = cscroll::$5 +Alias cputs::c#1 = cputs::$0 cputs::c#2 +Alias CONIO_SCREEN_TEXT#38 = CONIO_SCREEN_TEXT#50 CONIO_SCREEN_TEXT#59 +Alias cputs::s#0 = cputs::s#12 cputs::s#11 +Alias CONIO_SCREEN_BANK#45 = CONIO_SCREEN_BANK#53 CONIO_SCREEN_BANK#60 +Alias vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#4 +Alias CONIO_SCREEN_BANK#15 = CONIO_SCREEN_BANK#2 screenlayer::$0 CONIO_SCREEN_BANK#86 CONIO_SCREEN_BANK#82 CONIO_SCREEN_BANK#77 CONIO_SCREEN_BANK#73 CONIO_SCREEN_BANK#61 CONIO_SCREEN_BANK#54 CONIO_SCREEN_BANK#46 CONIO_SCREEN_BANK#36 CONIO_SCREEN_BANK#26 CONIO_SCREEN_BANK#3 +Alias vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#4 +Alias screenlayer::vera_layer_get_width1_layer#0 = screenlayer::vera_layer_get_width1_layer#1 +Alias CONIO_SCREEN_TEXT#17 = CONIO_SCREEN_TEXT#93 CONIO_SCREEN_TEXT#2 CONIO_SCREEN_TEXT#88 CONIO_SCREEN_TEXT#80 CONIO_SCREEN_TEXT#74 CONIO_SCREEN_TEXT#60 CONIO_SCREEN_TEXT#51 CONIO_SCREEN_TEXT#41 CONIO_SCREEN_TEXT#31 CONIO_SCREEN_TEXT#3 +Alias vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#4 +Alias vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#4 +Alias screenlayer::vera_layer_get_height1_layer#0 = screenlayer::vera_layer_get_height1_layer#1 +Alias CONIO_SCREEN_BANK#27 = CONIO_SCREEN_BANK#37 CONIO_SCREEN_BANK#47 +Alias CONIO_SCREEN_TEXT#32 = CONIO_SCREEN_TEXT#42 CONIO_SCREEN_TEXT#52 +Alias CONIO_SCREEN_BANK#107 = CONIO_SCREEN_BANK#4 CONIO_SCREEN_BANK#16 CONIO_SCREEN_BANK#90 CONIO_SCREEN_BANK#87 CONIO_SCREEN_BANK#83 CONIO_SCREEN_BANK#78 CONIO_SCREEN_BANK#74 CONIO_SCREEN_BANK#58 CONIO_SCREEN_BANK#111 CONIO_SCREEN_BANK#109 +Alias CONIO_SCREEN_TEXT#113 = CONIO_SCREEN_TEXT#4 CONIO_SCREEN_TEXT#18 CONIO_SCREEN_TEXT#81 CONIO_SCREEN_TEXT#75 CONIO_SCREEN_TEXT#61 CONIO_SCREEN_TEXT#53 CONIO_SCREEN_TEXT#43 CONIO_SCREEN_TEXT#26 CONIO_SCREEN_TEXT#117 CONIO_SCREEN_TEXT#115 +Alias main::textcolor1_color#0 = main::textcolor1_color#1 +Alias main::bgcolor1_color#0 = main::bgcolor1_color#1 +Alias main::tilebase#0 = main::tilebase#3 +Alias main::tilebase#4 = main::tilebase#6 main::tilebase#5 +Alias main::t#2 = main::t#3 main::t#4 +Alias CONIO_SCREEN_TEXT#101 = CONIO_SCREEN_TEXT#107 CONIO_SCREEN_TEXT#109 CONIO_SCREEN_TEXT#105 CONIO_SCREEN_TEXT#103 +Alias CONIO_SCREEN_BANK#101 = CONIO_SCREEN_BANK#103 CONIO_SCREEN_BANK#99 CONIO_SCREEN_BANK#97 CONIO_SCREEN_BANK#95 +Alias main::column#2 = main::column#3 +Alias main::tile#6 = main::tile#7 +Alias main::c#2 = main::c#3 +Alias main::row#4 = main::row#8 main::row#5 +Alias main::r#2 = main::r#3 main::r#4 +Alias CONIO_SCREEN_TEXT#116 = CONIO_SCREEN_TEXT#94 CONIO_SCREEN_TEXT#97 CONIO_SCREEN_TEXT#89 CONIO_SCREEN_TEXT#82 CONIO_SCREEN_TEXT#66 CONIO_SCREEN_TEXT#67 CONIO_SCREEN_TEXT#68 CONIO_SCREEN_TEXT#69 CONIO_SCREEN_TEXT#70 CONIO_SCREEN_TEXT#71 CONIO_SCREEN_TEXT#72 CONIO_SCREEN_TEXT#73 CONIO_SCREEN_TEXT#118 +Alias CONIO_SCREEN_BANK#108 = CONIO_SCREEN_BANK#88 CONIO_SCREEN_BANK#91 CONIO_SCREEN_BANK#84 CONIO_SCREEN_BANK#79 CONIO_SCREEN_BANK#65 CONIO_SCREEN_BANK#66 CONIO_SCREEN_BANK#67 CONIO_SCREEN_BANK#68 CONIO_SCREEN_BANK#69 CONIO_SCREEN_BANK#70 CONIO_SCREEN_BANK#71 CONIO_SCREEN_BANK#72 CONIO_SCREEN_BANK#110 +Alias main::tile#12 = main::tile#2 +Alias main::vera_layer_show1_layer#0 = main::vera_layer_show1_layer#1 +Alias kbhit::return#2 = kbhit::return#5 +Alias CONIO_SCREEN_BANK#100 = CONIO_SCREEN_BANK#104 CONIO_SCREEN_BANK#106 CONIO_SCREEN_BANK#102 +Alias CONIO_SCREEN_TEXT#108 = CONIO_SCREEN_TEXT#112 CONIO_SCREEN_TEXT#114 CONIO_SCREEN_TEXT#110 +Alias main::column1#2 = main::column1#3 +Alias main::tile#8 = main::tile#9 +Alias main::c1#2 = main::c1#3 +Alias main::row#11 = main::row#6 main::row#7 +Alias main::r1#2 = main::r1#3 main::r1#4 +Alias CONIO_SCREEN_BANK#92 = CONIO_SCREEN_BANK#94 CONIO_SCREEN_BANK#96 +Alias CONIO_SCREEN_TEXT#100 = CONIO_SCREEN_TEXT#102 CONIO_SCREEN_TEXT#104 +Alias main::tile#13 = main::tile#5 +Alias kbhit::return#3 = kbhit::return#6 +Alias CONIO_SCREEN_BANK#28 = CONIO_SCREEN_BANK#85 CONIO_SCREEN_BANK#89 CONIO_SCREEN_BANK#80 CONIO_SCREEN_BANK#75 CONIO_SCREEN_BANK#62 CONIO_SCREEN_BANK#55 CONIO_SCREEN_BANK#48 CONIO_SCREEN_BANK#38 +Alias CONIO_SCREEN_TEXT#33 = CONIO_SCREEN_TEXT#95 CONIO_SCREEN_TEXT#98 CONIO_SCREEN_TEXT#90 CONIO_SCREEN_TEXT#83 CONIO_SCREEN_TEXT#76 CONIO_SCREEN_TEXT#62 CONIO_SCREEN_TEXT#54 CONIO_SCREEN_TEXT#44 +Alias main::vera_layer_hide1_layer#0 = main::vera_layer_hide1_layer#1 +Alias CONIO_SCREEN_BANK#17 = CONIO_SCREEN_BANK#5 CONIO_SCREEN_BANK#81 CONIO_SCREEN_BANK#76 CONIO_SCREEN_BANK#63 CONIO_SCREEN_BANK#56 CONIO_SCREEN_BANK#49 CONIO_SCREEN_BANK#39 CONIO_SCREEN_BANK#29 CONIO_SCREEN_BANK#18 CONIO_SCREEN_BANK#6 +Alias CONIO_SCREEN_TEXT#19 = CONIO_SCREEN_TEXT#5 CONIO_SCREEN_TEXT#84 CONIO_SCREEN_TEXT#77 CONIO_SCREEN_TEXT#63 CONIO_SCREEN_TEXT#55 CONIO_SCREEN_TEXT#45 CONIO_SCREEN_TEXT#27 CONIO_SCREEN_TEXT#34 CONIO_SCREEN_TEXT#20 CONIO_SCREEN_TEXT#6 +Alias main::textcolor2_color#0 = main::textcolor2_color#1 +Alias main::bgcolor2_color#0 = main::bgcolor2_color#1 +Alias CONIO_SCREEN_BANK#19 = CONIO_SCREEN_BANK#8 CONIO_SCREEN_BANK#30 +Alias CONIO_SCREEN_TEXT#21 = CONIO_SCREEN_TEXT#8 CONIO_SCREEN_TEXT#35 +Alias CONIO_SCREEN_BANK#10 = CONIO_SCREEN_BANK#9 CONIO_SCREEN_BANK#20 CONIO_SCREEN_BANK#21 +Alias CONIO_SCREEN_TEXT#10 = CONIO_SCREEN_TEXT#9 CONIO_SCREEN_TEXT#22 CONIO_SCREEN_TEXT#23 +Successful SSA optimization Pass2AliasElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Alias vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_tile::mapwidth#5 +Alias vera_layer_mode_tile::layer#10 = vera_layer_mode_tile::layer#13 vera_layer_mode_tile::layer#25 vera_layer_mode_tile::layer#17 vera_layer_mode_tile::layer#22 vera_layer_mode_tile::layer#12 +Alias vera_layer_mode_tile::mapheight#10 = vera_layer_mode_tile::mapheight#17 vera_layer_mode_tile::mapheight#5 +Alias vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_tile::mapbase_address#16 vera_layer_mode_tile::mapbase_address#24 vera_layer_mode_tile::mapbase_address#6 +Alias vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_tile::tilebase_address#17 vera_layer_mode_tile::tilebase_address#25 vera_layer_mode_tile::tilebase_address#6 +Alias vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_tile::tilewidth#17 vera_layer_mode_tile::tilewidth#25 vera_layer_mode_tile::tilewidth#5 +Alias vera_layer_mode_tile::tileheight#10 = vera_layer_mode_tile::tileheight#21 vera_layer_mode_tile::tileheight#29 vera_layer_mode_tile::tileheight#13 vera_layer_mode_tile::tileheight#5 +Alias CONIO_SCREEN_BANK#0 = CONIO_SCREEN_BANK#1 +Alias CONIO_SCREEN_TEXT#0 = CONIO_SCREEN_TEXT#1 +Alias gotoxy::x#4 = gotoxy::x#6 +Alias gotoxy::y#5 = gotoxy::y#6 +Successful SSA optimization Pass2AliasElimination +Alias candidate removed (volatile)kbhit::return#0 = kbhit::ch kbhit::return#4 kbhit::return#1 +Alias candidate removed (volatile)screenlayer::vera_layer_get_width1_return#0 = screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#1 screenlayer::vera_layer_get_width1_return#3 screenlayer::$2 conio_width +Alias candidate removed (volatile)conio_rowshift = screenlayer::$3 +Alias candidate removed (volatile)conio_rowskip = screenlayer::$4 +Alias candidate removed (volatile)screenlayer::vera_layer_get_height1_return#0 = screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#1 screenlayer::vera_layer_get_height1_return#3 screenlayer::$5 conio_height +Identical Phi Values memcpy_to_vram::end#1 memcpy_to_vram::end#0 +Identical Phi Values memcpy_in_vram::num#3 memcpy_in_vram::num#4 +Identical Phi Values vera_layer_set_config::layer#1 vera_layer_set_config::layer#0 +Identical Phi Values vera_layer_set_config::config#1 vera_layer_set_config::config#0 +Identical Phi Values vera_layer_get_mapbase_bank::layer#1 vera_layer_get_mapbase_bank::layer#0 +Identical Phi Values vera_layer_get_mapbase_offset::layer#1 vera_layer_get_mapbase_offset::layer#0 +Identical Phi Values vera_layer_set_tilebase::layer#1 vera_layer_set_tilebase::layer#0 +Identical Phi Values vera_layer_set_tilebase::tilebase#1 vera_layer_set_tilebase::tilebase#0 +Identical Phi Values vera_layer_get_textcolor::layer#1 vera_layer_get_textcolor::layer#0 +Identical Phi Values vera_layer_get_backcolor::layer#1 vera_layer_get_backcolor::layer#0 +Identical Phi Values vera_layer_get_rowshift::layer#1 vera_layer_get_rowshift::layer#0 +Identical Phi Values vera_layer_get_rowskip::layer#1 vera_layer_get_rowskip::layer#0 +Identical Phi Values vera_layer_mode_text::layer#1 vera_layer_mode_text::layer#0 +Identical Phi Values vera_layer_mode_text::mapbase_address#1 vera_layer_mode_text::mapbase_address#0 +Identical Phi Values vera_layer_mode_text::tilebase_address#1 vera_layer_mode_text::tilebase_address#0 +Identical Phi Values vera_layer_mode_text::mapwidth#1 vera_layer_mode_text::mapwidth#0 +Identical Phi Values vera_layer_mode_text::mapheight#1 vera_layer_mode_text::mapheight#0 +Identical Phi Values vera_layer_mode_text::tilewidth#1 vera_layer_mode_text::tilewidth#0 +Identical Phi Values vera_layer_mode_text::tileheight#1 vera_layer_mode_text::tileheight#0 +Identical Phi Values vera_layer_mode_text::color_mode#1 vera_layer_mode_text::color_mode#0 +Identical Phi Values vera_tile_area::w#12 vera_tile_area::w#10 +Identical Phi Values vera_tile_area::index_l#1 vera_tile_area::index_l#3 +Identical Phi Values vera_tile_area::index_h#10 vera_tile_area::index_h#6 +Identical Phi Values vera_tile_area::mapbase#5 vera_tile_area::mapbase#10 +Identical Phi Values vera_tile_area::rowskip#1 vera_tile_area::rowskip#4 +Identical Phi Values vera_tile_area::r#3 vera_tile_area::r#2 +Identical Phi Values vera_tile_area::h#7 vera_tile_area::h#10 +Identical Phi Values CONIO_SCREEN_BANK#22 CONIO_SCREEN_BANK#7 +Identical Phi Values CONIO_SCREEN_TEXT#24 CONIO_SCREEN_TEXT#7 +Identical Phi Values CONIO_SCREEN_BANK#0 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#0 CONIO_SCREEN_TEXT#17 +Identical Phi Values kbhit::return#4 kbhit::return#0 +Identical Phi Values clrscr::color#1 clrscr::color#3 +Identical Phi Values clrscr::line_text#3 clrscr::line_text#2 +Identical Phi Values clrscr::l#3 clrscr::l#2 +Identical Phi Values CONIO_SCREEN_BANK#33 CONIO_SCREEN_BANK#13 +Identical Phi Values screensize::x#1 screensize::x#0 +Identical Phi Values screensize::y#1 screensize::y#0 +Identical Phi Values CONIO_SCREEN_TEXT#14 CONIO_SCREEN_TEXT#38 +Identical Phi Values cputc::c#1 cputc::c#0 +Identical Phi Values CONIO_SCREEN_BANK#14 CONIO_SCREEN_BANK#45 +Identical Phi Values CONIO_SCREEN_TEXT#79 CONIO_SCREEN_TEXT#14 +Identical Phi Values CONIO_SCREEN_TEXT#15 CONIO_SCREEN_TEXT#16 +Identical Phi Values clearline::color#1 clearline::color#0 +Identical Phi Values CONIO_SCREEN_TEXT#39 CONIO_SCREEN_TEXT#49 +Identical Phi Values insertup::cy#1 insertup::cy#0 +Identical Phi Values CONIO_SCREEN_TEXT#16 CONIO_SCREEN_TEXT#39 +Identical Phi Values insertup::width#1 insertup::width#0 +Identical Phi Values CONIO_SCREEN_TEXT#49 CONIO_SCREEN_TEXT#79 +Identical Phi Values CONIO_SCREEN_TEXT#58 CONIO_SCREEN_TEXT#116 +Identical Phi Values CONIO_SCREEN_BANK#59 CONIO_SCREEN_BANK#108 +Identical Phi Values CONIO_SCREEN_TEXT#38 CONIO_SCREEN_TEXT#58 +Identical Phi Values CONIO_SCREEN_BANK#45 CONIO_SCREEN_BANK#59 +Identical Phi Values screenlayer::vera_layer_get_width1_return#2 screenlayer::vera_layer_get_width1_return#0 +Identical Phi Values screenlayer::vera_layer_get_width1_return#3 screenlayer::vera_layer_get_width1_return#1 +Identical Phi Values screenlayer::vera_layer_get_height1_return#2 screenlayer::vera_layer_get_height1_return#0 +Identical Phi Values screenlayer::vera_layer_get_height1_return#3 screenlayer::vera_layer_get_height1_return#1 +Identical Phi Values CONIO_SCREEN_BANK#27 CONIO_SCREEN_BANK#19 +Identical Phi Values CONIO_SCREEN_TEXT#32 CONIO_SCREEN_TEXT#21 +Identical Phi Values CONIO_SCREEN_BANK#107 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#113 CONIO_SCREEN_TEXT#17 +Identical Phi Values main::tilebase#4 main::tilebase#7 +Identical Phi Values main::t#2 main::t#5 +Identical Phi Values CONIO_SCREEN_TEXT#101 CONIO_SCREEN_TEXT#111 +Identical Phi Values CONIO_SCREEN_BANK#101 CONIO_SCREEN_BANK#105 +Identical Phi Values main::row#4 main::row#9 +Identical Phi Values main::r#2 main::r#5 +Identical Phi Values CONIO_SCREEN_TEXT#116 CONIO_SCREEN_TEXT#99 +Identical Phi Values CONIO_SCREEN_BANK#108 CONIO_SCREEN_BANK#93 +Identical Phi Values CONIO_SCREEN_BANK#100 CONIO_SCREEN_BANK#108 +Identical Phi Values CONIO_SCREEN_TEXT#108 CONIO_SCREEN_TEXT#116 +Identical Phi Values main::row#11 main::row#10 +Identical Phi Values main::r1#2 main::r1#5 +Identical Phi Values CONIO_SCREEN_BANK#92 CONIO_SCREEN_BANK#98 +Identical Phi Values CONIO_SCREEN_TEXT#100 CONIO_SCREEN_TEXT#106 +Identical Phi Values CONIO_SCREEN_BANK#28 CONIO_SCREEN_BANK#92 +Identical Phi Values CONIO_SCREEN_TEXT#33 CONIO_SCREEN_TEXT#100 +Identical Phi Values CONIO_SCREEN_BANK#17 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#19 CONIO_SCREEN_TEXT#17 +Identical Phi Values CONIO_SCREEN_BANK#19 CONIO_SCREEN_BANK#0 +Identical Phi Values CONIO_SCREEN_TEXT#21 CONIO_SCREEN_TEXT#0 +Identical Phi Values CONIO_SCREEN_BANK#10 CONIO_SCREEN_BANK#17 +Identical Phi Values CONIO_SCREEN_TEXT#10 CONIO_SCREEN_TEXT#19 +Successful SSA optimization Pass2IdenticalPhiElimination +Identical Phi Values vera_tile_area::h#10 vera_tile_area::h#6 +Identical Phi Values vera_tile_area::w#10 vera_tile_area::w#11 +Identical Phi Values vera_tile_area::index_l#3 vera_tile_area::index_l#0 +Identical Phi Values vera_tile_area::index_h#6 vera_tile_area::index_h#3 +Identical Phi Values vera_tile_area::rowskip#4 vera_tile_area::rowskip#0 +Identical Phi Values CONIO_SCREEN_TEXT#13 CONIO_SCREEN_TEXT#17 +Identical Phi Values CONIO_SCREEN_BANK#34 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_BANK#13 CONIO_SCREEN_BANK#34 +Identical Phi Values clrscr::color#3 clrscr::color#0 +Identical Phi Values CONIO_SCREEN_TEXT#111 CONIO_SCREEN_TEXT#17 +Identical Phi Values CONIO_SCREEN_BANK#105 CONIO_SCREEN_BANK#15 +Identical Phi Values CONIO_SCREEN_TEXT#99 CONIO_SCREEN_TEXT#111 +Identical Phi Values CONIO_SCREEN_BANK#93 CONIO_SCREEN_BANK#105 +Identical Phi Values CONIO_SCREEN_BANK#98 CONIO_SCREEN_BANK#93 +Identical Phi Values CONIO_SCREEN_TEXT#106 CONIO_SCREEN_TEXT#99 +Successful SSA optimization Pass2IdenticalPhiElimination +Simple Condition memcpy_to_vram::$4 [13] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 +Simple Condition memcpy_in_vram::$6 [35] if(memcpy_in_vram::i#2> 7 + [144] screensize::$1 = $28 << screensize::hscale#0 + [145] *screensize::x#0 = screensize::$1 + [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 + [147] screensize::$3 = $1e << screensize::vscale#0 + [148] *screensize::y#0 = screensize::$3 + to:screensize::@return +screensize::@return: scope:[screensize] from screensize + [149] return + to:@return + +void screenlayer(byte screenlayer::layer) +screenlayer: scope:[screenlayer] from conio_x16_init::@4 main::@20 main::@38 + [150] conio_screen_layer = 1 + [151] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer + [152] call vera_layer_get_mapbase_bank + [153] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + to:screenlayer::@3 +screenlayer::@3: scope:[screenlayer] from screenlayer + [154] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 + [155] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer + [156] call vera_layer_get_mapbase_offset + [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + to:screenlayer::@4 +screenlayer::@4: scope:[screenlayer] from screenlayer::@3 + [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 + [159] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_width1 +screenlayer::vera_layer_get_width1: scope:[screenlayer] from screenlayer::@4 + [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 + [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] + [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK + [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 + [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 + [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] + to:screenlayer::vera_layer_get_width1_@return +screenlayer::vera_layer_get_width1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_width1 + [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + to:screenlayer::@1 +screenlayer::@1: scope:[screenlayer] from screenlayer::vera_layer_get_width1_@return + [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + [168] conio_width = screenlayer::$2 + [169] vera_layer_get_rowshift::layer#0 = conio_screen_layer + [170] call vera_layer_get_rowshift + [171] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + to:screenlayer::@5 +screenlayer::@5: scope:[screenlayer] from screenlayer::@1 + [172] screenlayer::$3 = vera_layer_get_rowshift::return#2 + [173] conio_rowshift = screenlayer::$3 + [174] vera_layer_get_rowskip::layer#0 = conio_screen_layer + [175] call vera_layer_get_rowskip + [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + to:screenlayer::@6 +screenlayer::@6: scope:[screenlayer] from screenlayer::@5 + [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 + [178] conio_rowskip = screenlayer::$4 + [179] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer + to:screenlayer::vera_layer_get_height1 +screenlayer::vera_layer_get_height1: scope:[screenlayer] from screenlayer::@6 + [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 + [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] + [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK + [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 + [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 + [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] + to:screenlayer::vera_layer_get_height1_@return +screenlayer::vera_layer_get_height1_@return: scope:[screenlayer] from screenlayer::vera_layer_get_height1 + [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + to:screenlayer::@2 +screenlayer::@2: scope:[screenlayer] from screenlayer::vera_layer_get_height1_@return + [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + [188] conio_height = screenlayer::$5 + to:screenlayer::@return +screenlayer::@return: scope:[screenlayer] from screenlayer::@2 + [189] return + to:@return + +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +vera_layer_set_textcolor: scope:[vera_layer_set_textcolor] from conio_x16_init::@5 main::textcolor1 main::textcolor2 + [190] vera_layer_set_textcolor::layer#3 = phi( conio_x16_init::@5/1, main::textcolor1/vera_layer_set_textcolor::layer#1, main::textcolor2/vera_layer_set_textcolor::layer#2 ) + [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE + to:vera_layer_set_textcolor::@return +vera_layer_set_textcolor::@return: scope:[vera_layer_set_textcolor] from vera_layer_set_textcolor + [192] return + to:@return + +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +vera_layer_set_backcolor: scope:[vera_layer_set_backcolor] from conio_x16_init::@6 main::bgcolor1 main::bgcolor2 + [193] vera_layer_set_backcolor::color#3 = phi( conio_x16_init::@6/BLUE, main::bgcolor1/BLACK, main::bgcolor2/BLUE ) + [193] vera_layer_set_backcolor::layer#3 = phi( conio_x16_init::@6/1, main::bgcolor1/vera_layer_set_backcolor::layer#1, main::bgcolor2/vera_layer_set_backcolor::layer#2 ) + [194] vera_layer_backcolor[vera_layer_set_backcolor::layer#3] = vera_layer_set_backcolor::color#3 + to:vera_layer_set_backcolor::@return +vera_layer_set_backcolor::@return: scope:[vera_layer_set_backcolor] from vera_layer_set_backcolor + [195] return + to:@return + +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +vera_layer_set_mapbase: scope:[vera_layer_set_mapbase] from conio_x16_init::@7 conio_x16_init::@8 vera_layer_mode_tile::@27 + [196] vera_layer_set_mapbase::mapbase#3 = phi( conio_x16_init::@7/$20, conio_x16_init::@8/0, vera_layer_mode_tile::@27/vera_layer_set_mapbase::mapbase#0 ) + [196] vera_layer_set_mapbase::layer#3 = phi( conio_x16_init::@7/0, conio_x16_init::@8/1, vera_layer_mode_tile::@27/vera_layer_set_mapbase::layer#0 ) + [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 + [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] + [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 + to:vera_layer_set_mapbase::@return +vera_layer_set_mapbase::@return: scope:[vera_layer_set_mapbase] from vera_layer_set_mapbase + [200] return + to:@return + +void gotoxy(byte gotoxy::x , byte gotoxy::y) +gotoxy: scope:[gotoxy] from conio_x16_init::@1 cscroll::@5 main::@8 + [201] gotoxy::y#4 = phi( conio_x16_init::@1/gotoxy::y#0, cscroll::@5/gotoxy::y#2, main::@8/$32 ) + [202] if(gotoxy::y#4<=conio_screen_height) goto gotoxy::@4 + to:gotoxy::@1 +gotoxy::@4: scope:[gotoxy] from gotoxy + [203] phi() + to:gotoxy::@1 +gotoxy::@1: scope:[gotoxy] from gotoxy gotoxy::@4 + [204] gotoxy::y#5 = phi( gotoxy::@4/gotoxy::y#4, gotoxy/0 ) + [205] if(0 memcpy_in_vram::src#3 + [219] *VERA_ADDRX_M = memcpy_in_vram::$1 + [220] memcpy_in_vram::$2 = VERA_INC_1 | memcpy_in_vram::src_bank#3 + [221] *VERA_ADDRX_H = memcpy_in_vram::$2 + [222] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL + [223] memcpy_in_vram::$3 = < memcpy_in_vram::dest#3 + [224] *VERA_ADDRX_L = memcpy_in_vram::$3 + [225] memcpy_in_vram::$4 = > memcpy_in_vram::dest#3 + [226] *VERA_ADDRX_M = memcpy_in_vram::$4 + [227] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#3 + [228] *VERA_ADDRX_H = memcpy_in_vram::$5 + to:memcpy_in_vram::@1 +memcpy_in_vram::@1: scope:[memcpy_in_vram] from memcpy_in_vram memcpy_in_vram::@2 + [229] memcpy_in_vram::i#2 = phi( memcpy_in_vram/0, memcpy_in_vram::@2/memcpy_in_vram::i#1 ) + [230] if(memcpy_in_vram::i#2 vera_layer_mode_tile::mapbase_address#10 + [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 + [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 + [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 + [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 + [267] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 + [268] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 + [269] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 + [270] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + [271] call vera_layer_set_mapbase + to:vera_layer_mode_tile::@28 +vera_layer_mode_tile::@28: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@27 + [272] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 + [273] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 + [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 + [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 + [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 + [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 + [278] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 + [279] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 + [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK + [281] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@21 +vera_layer_mode_tile::@21: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@28 + [282] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@23 + to:vera_layer_mode_tile::@22 +vera_layer_mode_tile::@22: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@21 + [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 + to:vera_layer_mode_tile::@23 +vera_layer_mode_tile::@23: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@28 + [284] vera_layer_mode_tile::tilebase#12 = phi( vera_layer_mode_tile::@21/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@28/vera_layer_mode_tile::tilebase#1, vera_layer_mode_tile::@22/vera_layer_mode_tile::tilebase#3 ) + [285] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@24 +vera_layer_mode_tile::@24: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 + [286] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@26 + to:vera_layer_mode_tile::@25 +vera_layer_mode_tile::@25: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@24 + [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 + to:vera_layer_mode_tile::@26 +vera_layer_mode_tile::@26: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@23 vera_layer_mode_tile::@24 vera_layer_mode_tile::@25 + [288] vera_layer_mode_tile::tilebase#10 = phi( vera_layer_mode_tile::@24/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@23/vera_layer_mode_tile::tilebase#12, vera_layer_mode_tile::@25/vera_layer_mode_tile::tilebase#5 ) + [289] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 + [290] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + [291] call vera_layer_set_tilebase + to:vera_layer_mode_tile::@return +vera_layer_mode_tile::@return: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@26 + [292] return + to:@return +vera_layer_mode_tile::@18: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@15 + [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@17: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@14 + [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 + to:vera_layer_mode_tile::@20 +vera_layer_mode_tile::@11: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@7 + [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 + [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 + [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 + [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 + to:vera_layer_mode_tile::@13 +vera_layer_mode_tile::@10: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@6 + [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 + [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 + [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 + [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 + to:vera_layer_mode_tile::@13 +vera_layer_mode_tile::@9: scope:[vera_layer_mode_tile] from vera_layer_mode_tile::@5 + [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 + [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 + [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 + to:vera_layer_mode_tile::@13 + +void clrscr() +clrscr: scope:[clrscr] from main::@16 main::@18 + [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 + [307] vera_layer_get_backcolor::layer#0 = conio_screen_layer + [308] call vera_layer_get_backcolor + [309] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + to:clrscr::@7 +clrscr::@7: scope:[clrscr] from clrscr + [310] clrscr::$0 = vera_layer_get_backcolor::return#2 + [311] clrscr::$1 = clrscr::$0 << 4 + [312] vera_layer_get_textcolor::layer#0 = conio_screen_layer + [313] call vera_layer_get_textcolor + [314] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + to:clrscr::@8 +clrscr::@8: scope:[clrscr] from clrscr::@7 + [315] clrscr::$2 = vera_layer_get_textcolor::return#2 + [316] clrscr::color#0 = clrscr::$1 | clrscr::$2 + to:clrscr::@1 +clrscr::@1: scope:[clrscr] from clrscr::@6 clrscr::@8 + [317] clrscr::line_text#2 = phi( clrscr::@6/clrscr::line_text#1, clrscr::@8/clrscr::line_text#0 ) + [317] clrscr::l#2 = phi( clrscr::@6/clrscr::l#1, clrscr::@8/0 ) + [318] if(clrscr::l#2 clrscr::line_text#2 + [328] *VERA_ADDRX_M = clrscr::$6 + [329] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [330] *VERA_ADDRX_H = clrscr::$7 + to:clrscr::@4 +clrscr::@4: scope:[clrscr] from clrscr::@2 clrscr::@5 + [331] clrscr::c#2 = phi( clrscr::@2/0, clrscr::@5/clrscr::c#1 ) + [332] if(clrscr::c#2 memcpy_to_vram::vdest#2 + [343] *VERA_ADDRX_M = memcpy_to_vram::$1 + [344] *VERA_ADDRX_H = VERA_INC_1 + to:memcpy_to_vram::@1 +memcpy_to_vram::@1: scope:[memcpy_to_vram] from memcpy_to_vram memcpy_to_vram::@2 + [345] memcpy_to_vram::s#2 = phi( memcpy_to_vram/(byte*)(void*)main::tiles, memcpy_to_vram::@2/memcpy_to_vram::s#1 ) + [346] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 + to:memcpy_to_vram::@return +memcpy_to_vram::@return: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + [347] return + to:@return +memcpy_to_vram::@2: scope:[memcpy_to_vram] from memcpy_to_vram::@1 + [348] *VERA_DATA0 = *memcpy_to_vram::s#2 + [349] memcpy_to_vram::s#1 = ++ memcpy_to_vram::s#2 + to:memcpy_to_vram::@1 + +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +vera_tile_area: scope:[vera_tile_area] from main::@10 main::@12 main::@15 main::@4 main::@6 + [350] vera_tile_area::w#11 = phi( main::@10/$28, main::@12/2, main::@15/$28, main::@4/$28, main::@6/1 ) + [350] vera_tile_area::h#6 = phi( main::@10/$1e, main::@12/2, main::@15/$1e, main::@4/$1e, main::@6/1 ) + [350] vera_tile_area::x#5 = phi( main::@10/0, main::@12/vera_tile_area::x#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::x#1 ) + [350] vera_tile_area::y#5 = phi( main::@10/0, main::@12/vera_tile_area::y#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::y#1 ) + [350] vera_tile_area::tileindex#5 = phi( main::@10/0, main::@12/vera_tile_area::tileindex#3, main::@15/0, main::@4/0, main::@6/vera_tile_area::tileindex#1 ) + [351] vera_tile_area::mapbase#0 = *vera_mapbase_address + [352] vera_tile_area::shift#0 = *vera_layer_rowshift + [353] vera_tile_area::rowskip#0 = 1 << vera_tile_area::shift#0 + [354] vera_tile_area::hflip#0 = *vera_layer_hflip + [355] vera_tile_area::vflip#0 = *vera_layer_vflip + [356] vera_tile_area::index_l#0 = < vera_tile_area::tileindex#5 + [357] vera_tile_area::index_h#0 = > vera_tile_area::tileindex#5 + [358] vera_tile_area::index_h#1 = vera_tile_area::index_h#0 | vera_tile_area::hflip#0 + [359] vera_tile_area::index_h#2 = vera_tile_area::index_h#1 | vera_tile_area::vflip#0 + [360] vera_tile_area::$10 = (word)vera_tile_area::y#5 + [361] vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 + [362] vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 + [363] vera_tile_area::$5 = vera_tile_area::x#5 << 1 + [364] vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 + to:vera_tile_area::@1 +vera_tile_area::@1: scope:[vera_tile_area] from vera_tile_area vera_tile_area::@4 + [365] vera_tile_area::mapbase#10 = phi( vera_tile_area/vera_tile_area::mapbase#2, vera_tile_area::@4/vera_tile_area::mapbase#3 ) + [365] vera_tile_area::r#2 = phi( vera_tile_area/0, vera_tile_area::@4/vera_tile_area::r#1 ) + [366] if(vera_tile_area::r#2 vera_tile_area::vera_vram_address01_$2 + [374] *VERA_ADDRX_M = vera_tile_area::vera_vram_address01_$3 + [375] vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::mapbase#10 + [376] vera_tile_area::vera_vram_address01_$5 = < vera_tile_area::vera_vram_address01_$4 + [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 + [378] *VERA_ADDRX_H = vera_tile_area::vera_vram_address01_$6 + to:vera_tile_area::@2 +vera_tile_area::@2: scope:[vera_tile_area] from vera_tile_area::@3 vera_tile_area::vera_vram_address01 + [379] vera_tile_area::c#2 = phi( vera_tile_area::@3/vera_tile_area::c#1, vera_tile_area::vera_vram_address01/0 ) + [380] if(vera_tile_area::c#2$0000 + rts + + continue1: + nop + }} + [396] kbhit::return#0 = kbhit::ch + to:kbhit::@return +kbhit::@return: scope:[kbhit] from kbhit + [397] kbhit::return#1 = kbhit::return#0 + [398] return + to:@return + +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +vera_layer_set_text_color_mode: scope:[vera_layer_set_text_color_mode] from vera_layer_mode_text::@1 + [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) + [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C + [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 + to:vera_layer_set_text_color_mode::@return +vera_layer_set_text_color_mode::@return: scope:[vera_layer_set_text_color_mode] from vera_layer_set_text_color_mode + [402] return + to:@return + +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +vera_layer_get_mapbase_bank: scope:[vera_layer_get_mapbase_bank] from screenlayer + [403] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] + to:vera_layer_get_mapbase_bank::@return +vera_layer_get_mapbase_bank::@return: scope:[vera_layer_get_mapbase_bank] from vera_layer_get_mapbase_bank + [404] return + to:@return + +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +vera_layer_get_mapbase_offset: scope:[vera_layer_get_mapbase_offset] from screenlayer::@3 + [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 + [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] + to:vera_layer_get_mapbase_offset::@return +vera_layer_get_mapbase_offset::@return: scope:[vera_layer_get_mapbase_offset] from vera_layer_get_mapbase_offset + [407] return + to:@return + +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +vera_layer_get_rowshift: scope:[vera_layer_get_rowshift] from screenlayer::@1 + [408] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] + to:vera_layer_get_rowshift::@return +vera_layer_get_rowshift::@return: scope:[vera_layer_get_rowshift] from vera_layer_get_rowshift + [409] return + to:@return + +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +vera_layer_get_rowskip: scope:[vera_layer_get_rowskip] from screenlayer::@5 + [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 + [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] + to:vera_layer_get_rowskip::@return +vera_layer_get_rowskip::@return: scope:[vera_layer_get_rowskip] from vera_layer_get_rowskip + [412] return + to:@return + +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +vera_layer_set_config: scope:[vera_layer_set_config] from vera_layer_mode_tile::@20 + [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 + [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] + [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 + to:vera_layer_set_config::@return +vera_layer_set_config::@return: scope:[vera_layer_set_config] from vera_layer_set_config + [416] return + to:@return + +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +vera_layer_set_tilebase: scope:[vera_layer_set_tilebase] from vera_layer_mode_tile::@26 + [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 + [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] + [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 + to:vera_layer_set_tilebase::@return +vera_layer_set_tilebase::@return: scope:[vera_layer_set_tilebase] from vera_layer_set_tilebase + [420] return + to:@return + +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +vera_layer_get_backcolor: scope:[vera_layer_get_backcolor] from clrscr + [421] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] + to:vera_layer_get_backcolor::@return +vera_layer_get_backcolor::@return: scope:[vera_layer_get_backcolor] from vera_layer_get_backcolor + [422] return + to:@return + +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +vera_layer_get_textcolor: scope:[vera_layer_get_textcolor] from clrscr::@7 + [423] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] + to:vera_layer_get_textcolor::@return +vera_layer_get_textcolor::@return: scope:[vera_layer_get_textcolor] from vera_layer_get_textcolor + [424] return + to:@return + +void cputc(byte cputc::c) +cputc: scope:[cputc] from cputs::@2 + [425] vera_layer_get_color::layer#0 = conio_screen_layer + [426] call vera_layer_get_color + [427] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + to:cputc::@7 +cputc::@7: scope:[cputc] from cputc + [428] cputc::color#0 = vera_layer_get_color::return#3 + [429] cputc::$15 = conio_screen_layer << 1 + [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] + [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 + [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 + [433] if(cputc::c#0==' +') goto cputc::@1 + to:cputc::@2 +cputc::@2: scope:[cputc] from cputc::@7 + [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL + [435] cputc::$4 = < cputc::conio_addr#1 + [436] *VERA_ADDRX_L = cputc::$4 + [437] cputc::$5 = > cputc::conio_addr#1 + [438] *VERA_ADDRX_M = cputc::$5 + [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 + [440] *VERA_ADDRX_H = cputc::$6 + [441] *VERA_DATA0 = cputc::c#0 + [442] *VERA_DATA0 = cputc::color#0 + [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] + [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] + [445] if(0!=cputc::scroll_enable#0) goto cputc::@5 + to:cputc::@3 +cputc::@3: scope:[cputc] from cputc::@2 + [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] + [447] if(cputc::$16!=conio_width) goto cputc::@return + to:cputc::@4 +cputc::@4: scope:[cputc] from cputc::@3 + [448] phi() + [449] call cputln + to:cputc::@return +cputc::@return: scope:[cputc] from cputc::@1 cputc::@3 cputc::@4 cputc::@5 cputc::@6 + [450] return + to:@return +cputc::@5: scope:[cputc] from cputc::@2 + [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return + to:cputc::@6 +cputc::@6: scope:[cputc] from cputc::@5 + [452] phi() + [453] call cputln + to:cputc::@return +cputc::@1: scope:[cputc] from cputc::@7 + [454] phi() + [455] call cputln + to:cputc::@return + +byte vera_layer_get_color(byte vera_layer_get_color::layer) +vera_layer_get_color: scope:[vera_layer_get_color] from clearline cputc + [456] vera_layer_get_color::layer#2 = phi( clearline/vera_layer_get_color::layer#1, cputc/vera_layer_get_color::layer#0 ) + [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 + [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] + [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C + [460] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 + to:vera_layer_get_color::@2 +vera_layer_get_color::@2: scope:[vera_layer_get_color] from vera_layer_get_color + [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 + [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] + to:vera_layer_get_color::@return +vera_layer_get_color::@return: scope:[vera_layer_get_color] from vera_layer_get_color::@1 vera_layer_get_color::@2 + [463] vera_layer_get_color::return#2 = phi( vera_layer_get_color::@1/vera_layer_get_color::return#0, vera_layer_get_color::@2/vera_layer_get_color::return#1 ) + [464] return + to:@return +vera_layer_get_color::@1: scope:[vera_layer_get_color] from vera_layer_get_color + [465] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] + to:vera_layer_get_color::@return + +void cputln() +cputln: scope:[cputln] from cputc::@1 cputc::@4 cputc::@6 + [466] cputln::$2 = conio_screen_layer << 1 + [467] cputln::temp#0 = conio_line_text[cputln::$2] + [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip + [469] cputln::$3 = conio_screen_layer << 1 + [470] conio_line_text[cputln::$3] = cputln::temp#1 + [471] conio_cursor_x[conio_screen_layer] = 0 + [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] + [473] call cscroll + to:cputln::@return +cputln::@return: scope:[cputln] from cputln + [474] return + to:@return + +void cscroll() +cscroll: scope:[cscroll] from cputln + [475] if(conio_cursor_y[conio_screen_layer] clearline::addr#0 + [506] *VERA_ADDRX_M = clearline::$2 + [507] *VERA_ADDRX_H = VERA_INC_1 + [508] vera_layer_get_color::layer#1 = conio_screen_layer + [509] call vera_layer_get_color + [510] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + to:clearline::@4 +clearline::@4: scope:[clearline] from clearline + [511] clearline::color#0 = vera_layer_get_color::return#4 + to:clearline::@1 +clearline::@1: scope:[clearline] from clearline::@2 clearline::@4 + [512] clearline::c#2 = phi( clearline::@2/clearline::c#1, clearline::@4/0 ) + [513] if(clearline::c#2> 7 [ screensize::hscale#0 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +Statement [144] screensize::$1 = $28 << screensize::hscale#0 [ screensize::$1 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } ) always clobbers reg byte a +Statement [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 [ screensize::vscale#0 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } ) always clobbers reg byte a +Statement [147] screensize::$3 = $1e << screensize::vscale#0 [ screensize::$3 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } ) always clobbers reg byte a +Statement [150] conio_screen_layer = 1 [ conio_screen_layer ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:10::screenlayer:130 [ conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } ) always clobbers reg byte a +Statement [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } ) always clobbers reg byte a +Statement [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } ) always clobbers reg byte a +Statement [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +Removing always clobbered register reg byte y as potential for zp[1]:105 [ CONIO_SCREEN_BANK#15 ] +Statement [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } ) always clobbers reg byte a +Statement [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } ) always clobbers reg byte a +Statement [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } ) always clobbers reg byte a +Statement [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } ) always clobbers reg byte a +Statement [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [168] conio_width = screenlayer::$2 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:130 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } ) always clobbers reg byte a +Statement [178] conio_rowskip = screenlayer::$4 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } ) always clobbers reg byte a +Statement [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } ) always clobbers reg byte a +Statement [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } ) always clobbers reg byte a +Statement [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } ) always clobbers reg byte a +Statement [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } ) always clobbers reg byte a +Statement [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } ) always clobbers reg byte a +Statement [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } ) always clobbers reg byte a +Statement [188] conio_height = screenlayer::$5 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE [ ] ( vera_layer_set_textcolor:19 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_textcolor:19 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:10::vera_layer_set_textcolor:39 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_textcolor::layer#1 = vera_layer_set_textcolor::layer#3 conio_screen_layer } } main:10::vera_layer_set_textcolor:132 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_textcolor::layer#2 = vera_layer_set_textcolor::layer#3 conio_screen_layer } } ) always clobbers reg byte a +Statement [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:23 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:38 [ vera_layer_mode_tile::layer#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:49 [ vera_layer_mode_tile::tilewidth#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:50 [ vera_layer_mode_tile::tileheight#10 ] +Removing always clobbered register reg byte a as potential for zp[1]:164 [ vera_layer_mode_tile::$19 ] +Removing always clobbered register reg byte a as potential for zp[1]:167 [ vera_layer_mode_tile::$20 ] +Statement [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 [ ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:38 [ vera_layer_mode_tile::layer#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:49 [ vera_layer_mode_tile::tilewidth#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:50 [ vera_layer_mode_tile::tileheight#10 ] +Removing always clobbered register reg byte y as potential for zp[1]:164 [ vera_layer_mode_tile::$19 ] +Removing always clobbered register reg byte y as potential for zp[1]:167 [ vera_layer_mode_tile::$20 ] +Statement [205] if(0 vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [267] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [272] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } ) always clobbers reg byte a +Statement [273] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } ) always clobbers reg byte a +Statement [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } ) always clobbers reg byte a +Statement [278] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } ) always clobbers reg byte a +Statement [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } ) always clobbers reg byte a +Statement [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } ) always clobbers reg byte a +Statement [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } ) always clobbers reg byte a +Statement [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } ) always clobbers reg byte a +Statement [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } ) always clobbers reg byte a +Statement [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } ) always clobbers reg byte a +Statement [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } ) always clobbers reg byte a +Statement [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } ) always clobbers reg byte a +Statement [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } ) always clobbers reg byte a +Statement [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } ) always clobbers reg byte a +Statement [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } ) always clobbers reg byte a +Statement [311] clrscr::$1 = clrscr::$0 << 4 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } ) always clobbers reg byte a +Statement [319] conio_cursor_x[conio_screen_layer] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a reg byte y +Statement [320] conio_cursor_y[conio_screen_layer] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a reg byte y +Statement [321] clrscr::$9 = conio_screen_layer << 1 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::$9 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::$9 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::$9 ] { } ) always clobbers reg byte a +Statement [322] conio_line_text[clrscr::$9] = 0 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [324] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:198 [ clrscr::color#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:53 [ clrscr::l#2 clrscr::l#1 ] +Statement [329] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::$7 ] { } ) always clobbers reg byte a +Statement [333] clrscr::line_text#1 = clrscr::line_text#2 + conio_rowskip [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#1 ] { } ) always clobbers reg byte a +Statement [335] *VERA_DATA0 = ' ' [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] { } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::color#0 clrscr::l#2 clrscr::line_text#2 clrscr::c#2 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:56 [ clrscr::c#2 clrscr::c#1 ] +Statement [339] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ memcpy_to_vram::vdest#2 ] ( main:10::memcpy_to_vram:47 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::vdest#2 ] { } main:10::memcpy_to_vram:54 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::tilebase#7 main::t#5 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::vdest#2 ] { { memcpy_to_vram::vdest#1 = memcpy_to_vram::vdest#2 } } ) always clobbers reg byte a +Statement [344] *VERA_ADDRX_H = VERA_INC_1 [ ] ( main:10::memcpy_to_vram:47 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::memcpy_to_vram:54 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::tilebase#7 main::t#5 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { memcpy_to_vram::vdest#1 = memcpy_to_vram::vdest#2 } } ) always clobbers reg byte a +Statement [346] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 [ memcpy_to_vram::s#2 ] ( main:10::memcpy_to_vram:47 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::s#2 ] { } main:10::memcpy_to_vram:54 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::tilebase#7 main::t#5 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::s#2 ] { { memcpy_to_vram::vdest#1 = memcpy_to_vram::vdest#2 } } ) always clobbers reg byte a +Statement [348] *VERA_DATA0 = *memcpy_to_vram::s#2 [ memcpy_to_vram::s#2 ] ( main:10::memcpy_to_vram:47 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::s#2 ] { } main:10::memcpy_to_vram:54 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::tilebase#7 main::t#5 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 memcpy_to_vram::s#2 ] { { memcpy_to_vram::vdest#1 = memcpy_to_vram::vdest#2 } } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:5 [ main::t#5 main::t#1 ] +Statement [351] vera_tile_area::mapbase#0 = *vera_mapbase_address [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:63 [ vera_tile_area::y#5 vera_tile_area::y#3 vera_tile_area::y#1 ] +Removing always clobbered register reg byte a as potential for zp[1]:64 [ vera_tile_area::x#5 vera_tile_area::x#3 vera_tile_area::x#1 ] +Removing always clobbered register reg byte a as potential for zp[1]:65 [ vera_tile_area::h#6 ] +Removing always clobbered register reg byte a as potential for zp[1]:66 [ vera_tile_area::w#11 ] +Statement [353] vera_tile_area::rowskip#0 = 1 << vera_tile_area::shift#0 [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::tileindex#5 vera_tile_area::y#5 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:209 [ vera_tile_area::shift#0 ] +Statement [360] vera_tile_area::$10 = (word)vera_tile_area::y#5 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::shift#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$10 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:214 [ vera_tile_area::index_l#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:217 [ vera_tile_area::index_h#2 ] +Statement [361] vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::mapbase#0 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::$4 ] { } ) always clobbers reg byte a +Statement [362] vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::x#5 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 ] { } ) always clobbers reg byte a +Statement [363] vera_tile_area::$5 = vera_tile_area::x#5 << 1 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#1 vera_tile_area::$5 ] { } ) always clobbers reg byte a +Statement [364] vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::mapbase#2 ] { } ) always clobbers reg byte a +Statement [368] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 ] { } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:67 [ vera_tile_area::r#2 vera_tile_area::r#1 ] +Statement [369] vera_tile_area::vera_vram_address01_$0 = < vera_tile_area::mapbase#10 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$0 ] { } ) always clobbers reg byte a +Statement [372] vera_tile_area::vera_vram_address01_$2 = < vera_tile_area::mapbase#10 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$2 ] { } ) always clobbers reg byte a +Statement [375] vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::mapbase#10 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } ) always clobbers reg byte a +Statement [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } ) always clobbers reg byte a +Statement [381] vera_tile_area::mapbase#3 = vera_tile_area::mapbase#10 + vera_tile_area::rowskip#0 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } ) always clobbers reg byte a +Statement [388] cputs::c#1 = *cputs::s#9 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] ( main:10::cputs:77 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:79 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:81 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:83 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:85 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:87 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:89 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:91 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } ) always clobbers reg byte a reg byte y +Statement [394] kbhit::ch = 0 [ kbhit::ch ] ( main:10::kbhit:94 [ kbhit::ch ] { { kbhit::return#1 = kbhit::return#2 } } main:10::kbhit:115 [ kbhit::ch ] { { kbhit::return#1 = kbhit::return#3 } } ) always clobbers reg byte a +Statement [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a +Statement [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a reg byte y +Statement [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 [ ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } ) always clobbers reg byte a reg byte y +Statement [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 [ vera_layer_get_mapbase_offset::$0 ] ( screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130::vera_layer_get_mapbase_offset:156 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] [ vera_layer_get_mapbase_offset::return#0 ] ( screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130::vera_layer_get_mapbase_offset:156 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 [ vera_layer_get_rowskip::$0 ] ( screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130::vera_layer_get_rowskip:175 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] [ vera_layer_get_rowskip::return#0 ] ( screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130::vera_layer_get_rowskip:175 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 [ vera_layer_set_config::config#0 vera_layer_set_config::$0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:161 [ vera_layer_set_config::config#0 ] +Statement [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] [ vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a +Statement [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 [ ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a reg byte y +Statement [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:187 [ vera_layer_set_tilebase::tilebase#0 ] +Statement [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a +Statement [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 [ ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a reg byte y +Statement [429] cputc::$15 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:238 [ cputc::c#0 ] +Removing always clobbered register reg byte a as potential for zp[1]:261 [ cputc::color#0 ] +Statement [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Removing always clobbered register reg byte x as potential for zp[1]:105 [ CONIO_SCREEN_BANK#15 ] +Statement [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte y +Statement [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [447] if(cputc::$16!=conio_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 [ vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Removing always clobbered register reg byte a as potential for zp[1]:75 [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +Statement [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] [ vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C [ vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a reg byte y +Removing always clobbered register reg byte y as potential for zp[1]:238 [ cputc::c#0 ] +Removing always clobbered register reg byte y as potential for zp[1]:75 [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +Statement [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 [ vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] [ vera_layer_get_color::return#1 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [466] cputln::$2 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [467] cputln::temp#0 = conio_line_text[cputln::$2] [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [469] cputln::$3 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [470] conio_line_text[cputln::$3] = cputln::temp#1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [471] conio_cursor_x[conio_screen_layer] = 0 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Statement [475] if(conio_cursor_y[conio_screen_layer]> 7 [ screensize::hscale#0 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::hscale#0 ] { } ) always clobbers reg byte a +Statement [144] screensize::$1 = $28 << screensize::hscale#0 [ screensize::$1 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$1 ] { } ) always clobbers reg byte a +Statement [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 [ screensize::vscale#0 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::vscale#0 ] { } ) always clobbers reg byte a +Statement [147] screensize::$3 = $1e << screensize::vscale#0 [ screensize::$3 ] ( screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } conio_x16_init:8::screensize:15 [ conio_screen_width conio_screen_height conio_x16_init::line#0 screensize::$3 ] { } ) always clobbers reg byte a +Statement [150] conio_screen_layer = 1 [ conio_screen_layer ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } main:10::screenlayer:130 [ conio_screen_layer ] { { vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_bank::return#0 = vera_layer_get_mapbase_bank::return#2 } } ) always clobbers reg byte a +Statement [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#2 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$2 ] { } ) always clobbers reg byte a +Statement [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_config#0 ] { } ) always clobbers reg byte a +Statement [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$1 ] { } ) always clobbers reg byte a +Statement [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_$3 ] { } ) always clobbers reg byte a +Statement [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#0 ] { } ) always clobbers reg byte a +Statement [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_width1_return#1 ] { } ) always clobbers reg byte a +Statement [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:130 [ conio_screen_layer CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$2 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [168] conio_width = screenlayer::$2 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } main:10::screenlayer:130 [ conio_screen_layer conio_width CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_get_rowshift::layer#0 = conio_screen_layer } { vera_layer_get_rowshift::return#0 = vera_layer_get_rowshift::return#2 } } ) always clobbers reg byte a +Statement [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#2 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$4 ] { } ) always clobbers reg byte a +Statement [178] conio_rowskip = screenlayer::$4 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$2 ] { } ) always clobbers reg byte a +Statement [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_config#0 ] { } ) always clobbers reg byte a +Statement [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$0 ] { } ) always clobbers reg byte a reg byte y +Statement [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$1 ] { } ) always clobbers reg byte a +Statement [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_$3 ] { } ) always clobbers reg byte a +Statement [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#0 ] { } ) always clobbers reg byte a +Statement [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::vera_layer_get_height1_return#1 ] { } ) always clobbers reg byte a +Statement [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 screenlayer::$5 ] { } ) always clobbers reg byte a +Statement [188] conio_height = screenlayer::$5 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } conio_x16_init:8::screenlayer:17 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:37 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } main:10::screenlayer:130 [ conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { } ) always clobbers reg byte a +Statement [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE [ ] ( vera_layer_set_textcolor:19 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_textcolor:19 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:10::vera_layer_set_textcolor:39 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_textcolor::layer#1 = vera_layer_set_textcolor::layer#3 conio_screen_layer } } main:10::vera_layer_set_textcolor:132 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_textcolor::layer#2 = vera_layer_set_textcolor::layer#3 conio_screen_layer } } ) always clobbers reg byte a +Statement [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::$0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::addr#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 [ ] ( vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:23 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_set_mapbase:25 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift conio_x16_init::line#0 ] { } main:10::vera_layer_mode_tile:35::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128::vera_layer_set_mapbase:271 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_mapbase:271 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a reg byte y +Statement [202] if(gotoxy::y#4<=conio_screen_height) goto gotoxy::@4 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] ( gotoxy:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { gotoxy::y#0 = gotoxy::y#4 conio_x16_init::line#3 } } conio_x16_init:8::gotoxy:30 [ conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { gotoxy::y#0 = gotoxy::y#4 conio_x16_init::line#3 } } main:10::gotoxy:75 [ conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::gotoxy:483 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_height conio_rowskip CONIO_SCREEN_TEXT#17 conio_screen_width conio_screen_height conio_screen_layer conio_rowshift gotoxy::y#4 ] { { cputc::c#0 = cputs::c#1 } { gotoxy::y#2 = gotoxy::y#4 } } ) always clobbers reg byte a +Statement [205] if(0 vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$2 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::mapbase_address#0 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [267] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$4 ] { { vera_layer_set_mapbase::layer#0 = vera_layer_set_mapbase::layer#3 vera_layer_mode_tile::layer#10 } { vera_layer_set_mapbase::mapbase#0 = vera_layer_set_mapbase::mapbase#3 vera_layer_mode_tile::mapbase#0 } } ) always clobbers reg byte a +Statement [272] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$19 vera_layer_mode_tile::$20 vera_layer_mode_tile::$7 ] { } ) always clobbers reg byte a +Statement [273] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 vera_layer_mode_tile::$8 ] { } ) always clobbers reg byte a +Statement [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$20 ] { } ) always clobbers reg byte a +Statement [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { } ) always clobbers reg byte a +Statement [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase_address#0 ] { } ) always clobbers reg byte a +Statement [278] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::$10 ] { } ) always clobbers reg byte a +Statement [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#1 ] { } ) always clobbers reg byte a +Statement [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::tilebase#3 ] { } ) always clobbers reg byte a +Statement [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::tilebase#5 ] { } ) always clobbers reg byte a +Statement [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#11 ] { } ) always clobbers reg byte a +Statement [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#10 ] { } ) always clobbers reg byte a +Statement [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 vera_layer_mode_tile::$15 ] { } ) always clobbers reg byte a +Statement [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#7 ] { } ) always clobbers reg byte a +Statement [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 vera_layer_mode_tile::$14 ] { } ) always clobbers reg byte a +Statement [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#6 ] { } ) always clobbers reg byte a +Statement [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } ) always clobbers reg byte a +Statement [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 vera_layer_mode_tile::$13 ] { } ) always clobbers reg byte a +Statement [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] ( main:10::vera_layer_mode_tile:35 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:45 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:126 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } main:10::vera_layer_mode_tile:128 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapheight#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_mode_tile::config#17 ] { } ) always clobbers reg byte a +Statement [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 ] { { vera_layer_get_backcolor::layer#0 = conio_screen_layer } { vera_layer_get_backcolor::return#0 = vera_layer_get_backcolor::return#2 } } ) always clobbers reg byte a +Statement [311] clrscr::$1 = clrscr::$0 << 4 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] ( main:10::clrscr:43 [ conio_screen_width conio_screen_height conio_rowshift conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } main:10::clrscr:136 [ conio_screen_layer conio_width conio_height conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 clrscr::line_text#0 clrscr::$1 ] { { vera_layer_get_textcolor::layer#0 = conio_screen_layer } { vera_layer_get_textcolor::return#0 = vera_layer_get_textcolor::return#2 } } ) always clobbers reg byte a +Statement [318] if(clrscr::l#2 vera_tile_area::mapbase#10 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$4 ] { } ) always clobbers reg byte a +Statement [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#10 vera_tile_area::vera_vram_address01_$6 ] { } ) always clobbers reg byte a +Statement [381] vera_tile_area::mapbase#3 = vera_tile_area::mapbase#10 + vera_tile_area::rowskip#0 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] ( main:10::vera_tile_area:59 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } main:10::vera_tile_area:65 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip main::row#9 main::r#5 main::tile#6 main::column#2 main::c#2 CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { { vera_tile_area::tileindex#1 = vera_tile_area::tileindex#5 main::tile#6 } { vera_tile_area::y#1 = vera_tile_area::y#5 main::row#9 } { vera_tile_area::x#1 = vera_tile_area::x#5 main::column#2 } } main:10::vera_tile_area:99 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } main:10::vera_tile_area:105 [ main::row#10 main::r1#5 main::tile#8 main::column1#2 main::c1#2 vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { { vera_tile_area::tileindex#3 = vera_tile_area::tileindex#5 main::tile#8 } { vera_tile_area::y#3 = vera_tile_area::y#5 main::row#10 } { vera_tile_area::x#3 = vera_tile_area::x#5 main::column1#2 } } main:10::vera_tile_area:120 [ vera_tile_area::h#6 vera_tile_area::w#11 vera_tile_area::rowskip#0 vera_tile_area::index_l#0 vera_tile_area::index_h#2 vera_tile_area::r#2 vera_tile_area::mapbase#3 ] { } ) always clobbers reg byte a +Statement [388] cputs::c#1 = *cputs::s#9 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] ( main:10::cputs:77 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:79 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:81 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:83 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:85 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:87 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:89 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } main:10::cputs:91 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputs::s#9 cputs::c#1 ] { } ) always clobbers reg byte a reg byte y +Statement [394] kbhit::ch = 0 [ kbhit::ch ] ( main:10::kbhit:94 [ kbhit::ch ] { { kbhit::return#1 = kbhit::return#2 } } main:10::kbhit:115 [ kbhit::ch ] { { kbhit::return#1 = kbhit::return#3 } } ) always clobbers reg byte a +Statement [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a +Statement [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C [ vera_layer_set_text_color_mode::addr#0 ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_text_color_mode::addr#0 ] { } ) always clobbers reg byte a reg byte y +Statement [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 [ ] ( vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_set_text_color_mode:141 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { } ) always clobbers reg byte a reg byte y +Statement [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 [ vera_layer_get_mapbase_offset::$0 ] ( screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130::vera_layer_get_mapbase_offset:156 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::$0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] [ vera_layer_get_mapbase_offset::return#0 ] ( screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:37::vera_layer_get_mapbase_offset:156 [ conio_screen_width conio_screen_height conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } main:10::screenlayer:130::vera_layer_get_mapbase_offset:156 [ conio_screen_layer CONIO_SCREEN_BANK#15 vera_layer_get_mapbase_offset::return#0 ] { { vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer } { vera_layer_get_mapbase_offset::return#0 = vera_layer_get_mapbase_offset::return#2 } } ) always clobbers reg byte a +Statement [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 [ vera_layer_get_rowskip::$0 ] ( screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130::vera_layer_get_rowskip:175 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::$0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] [ vera_layer_get_rowskip::return#0 ] ( screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } conio_x16_init:8::screenlayer:17::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_x16_init::line#0 conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:37::vera_layer_get_rowskip:175 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } main:10::screenlayer:130::vera_layer_get_rowskip:175 [ conio_screen_layer conio_width conio_rowshift CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_get_rowskip::return#0 ] { { vera_layer_get_rowskip::layer#0 = conio_screen_layer } { vera_layer_get_rowskip::return#0 = vera_layer_get_rowskip::return#2 } } ) always clobbers reg byte a +Statement [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 [ vera_layer_set_config::config#0 vera_layer_set_config::$0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::$0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a +Statement [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] [ vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 vera_layer_set_config::config#0 vera_layer_set_config::addr#0 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a +Statement [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 [ ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_config:258 [ conio_screen_width conio_screen_height vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:45::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:126::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } main:10::vera_layer_mode_tile:128::vera_layer_set_config:258 [ vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_config:258 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_mode_tile::layer#10 vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilewidth#10 vera_layer_mode_tile::tileheight#10 ] { { vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 } } ) always clobbers reg byte a reg byte y +Statement [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::$0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a +Statement [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 vera_layer_set_tilebase::tilebase#0 vera_layer_set_tilebase::addr#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a +Statement [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 [ ] ( main:10::vera_layer_mode_tile:35::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:45::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:126::vera_layer_set_tilebase:291 [ ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } main:10::vera_layer_mode_tile:128::vera_layer_set_tilebase:291 [ ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } conio_x16_init:8::vera_layer_mode_text:13::vera_layer_mode_tile:139::vera_layer_set_tilebase:291 [ conio_screen_width conio_screen_height conio_x16_init::line#0 ] { { vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 } { vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 } } ) always clobbers reg byte a reg byte y +Statement [429] cputc::$15 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$15 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#0 cputc::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::conio_addr#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 cputc::color#0 cputc::$6 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Statement [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::scroll_enable#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte y +Statement [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::$16 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [447] if(cputc::$16!=conio_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return [ conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 [ vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$3 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] [ vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::addr#0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C [ vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$0 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a reg byte y +Statement [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 [ vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::layer#2 vera_layer_get_color::$1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] [ vera_layer_get_color::return#1 ] ( main:10::cputs:77::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:79::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:81::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:83::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:85::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:87::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:89::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:91::cputc:393::vera_layer_get_color:426 [ cputs::s#0 conio_screen_width conio_screen_height conio_screen_layer conio_width conio_height conio_rowshift conio_rowskip CONIO_SCREEN_BANK#15 CONIO_SCREEN_TEXT#17 cputc::c#0 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#0 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#3 } } main:10::cputs:77::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:449::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:453::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:77::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:79::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:81::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:83::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:85::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:87::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:89::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } main:10::cputs:91::cputc:393::cputln:455::cscroll:473::insertup:481::clearline:489::vera_layer_get_color:509 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_height conio_height conio_rowshift conio_rowskip conio_screen_width conio_screen_layer CONIO_SCREEN_TEXT#17 vera_layer_get_color::return#1 ] { { cputc::c#0 = cputs::c#1 } { vera_layer_get_color::layer#1 = vera_layer_get_color::layer#2 conio_screen_layer } { vera_layer_get_color::return#2 = vera_layer_get_color::return#4 } } ) always clobbers reg byte a +Statement [466] cputln::$2 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::$2 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [467] cputln::temp#0 = conio_line_text[cputln::$2] [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#0 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [469] cputln::$3 = conio_screen_layer << 1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 cputln::temp#1 cputln::$3 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [470] conio_line_text[cputln::$3] = cputln::temp#1 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a +Statement [471] conio_cursor_x[conio_screen_layer] = 0 [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte a reg byte y +Statement [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] [ conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] ( main:10::cputs:77::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:449 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:453 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:77::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:79::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:81::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:83::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:85::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:87::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:89::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } main:10::cputs:91::cputc:393::cputln:455 [ cputs::s#0 conio_width CONIO_SCREEN_BANK#15 conio_screen_width conio_screen_height conio_screen_layer conio_height conio_rowshift conio_rowskip CONIO_SCREEN_TEXT#17 ] { { cputc::c#0 = cputs::c#1 } } ) always clobbers reg byte x +Statement [475] if(conio_cursor_y[conio_screen_layer]0 + sta.z conio_width+1 + // [5] conio_height = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_height + lda #>0 + sta.z conio_height+1 + // [6] conio_rowshift = 0 -- vbuz1=vbuc1 + lda #0 + sta.z conio_rowshift + // [7] conio_rowskip = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_rowskip + lda #>0 + sta.z conio_rowskip+1 + // [8] call conio_x16_init + jsr conio_x16_init + // [9] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1] + __b1_from___init1: + jmp __b1 + // __start::@1 + __b1: + // [10] call main + // [32] phi from __start::@1 to main [phi:__start::@1->main] + main_from___b1: + jsr main + jmp __breturn + // __start::@return + __breturn: + // [11] return + rts +} + // conio_x16_init +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // [12] conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE -- vbuz1=_deref_pbuc1 + lda BASIC_CURSOR_LINE + sta.z line + // [13] call vera_layer_mode_text + // [138] phi from conio_x16_init to vera_layer_mode_text [phi:conio_x16_init->vera_layer_mode_text] + vera_layer_mode_text_from_conio_x16_init: + jsr vera_layer_mode_text + // [14] phi from conio_x16_init to conio_x16_init::@3 [phi:conio_x16_init->conio_x16_init::@3] + __b3_from_conio_x16_init: + jmp __b3 + // conio_x16_init::@3 + __b3: + // [15] call screensize + jsr screensize + // [16] phi from conio_x16_init::@3 to conio_x16_init::@4 [phi:conio_x16_init::@3->conio_x16_init::@4] + __b4_from___b3: + jmp __b4 + // conio_x16_init::@4 + __b4: + // [17] call screenlayer + jsr screenlayer + // [18] phi from conio_x16_init::@4 to conio_x16_init::@5 [phi:conio_x16_init::@4->conio_x16_init::@5] + __b5_from___b4: + jmp __b5 + // conio_x16_init::@5 + __b5: + // [19] call vera_layer_set_textcolor + // [190] phi from conio_x16_init::@5 to vera_layer_set_textcolor [phi:conio_x16_init::@5->vera_layer_set_textcolor] + vera_layer_set_textcolor_from___b5: + // [190] phi vera_layer_set_textcolor::layer#3 = 1 [phi:conio_x16_init::@5->vera_layer_set_textcolor#0] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_textcolor + // [20] phi from conio_x16_init::@5 to conio_x16_init::@6 [phi:conio_x16_init::@5->conio_x16_init::@6] + __b6_from___b5: + jmp __b6 + // conio_x16_init::@6 + __b6: + // [21] call vera_layer_set_backcolor + // [193] phi from conio_x16_init::@6 to vera_layer_set_backcolor [phi:conio_x16_init::@6->vera_layer_set_backcolor] + vera_layer_set_backcolor_from___b6: + // [193] phi vera_layer_set_backcolor::color#3 = BLUE [phi:conio_x16_init::@6->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [193] phi vera_layer_set_backcolor::layer#3 = 1 [phi:conio_x16_init::@6->vera_layer_set_backcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_backcolor + // [22] phi from conio_x16_init::@6 to conio_x16_init::@7 [phi:conio_x16_init::@6->conio_x16_init::@7] + __b7_from___b6: + jmp __b7 + // conio_x16_init::@7 + __b7: + // [23] call vera_layer_set_mapbase + // [196] phi from conio_x16_init::@7 to vera_layer_set_mapbase [phi:conio_x16_init::@7->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b7: + // [196] phi vera_layer_set_mapbase::mapbase#3 = $20 [phi:conio_x16_init::@7->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #$20 + // [196] phi vera_layer_set_mapbase::layer#3 = 0 [phi:conio_x16_init::@7->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #0 + jsr vera_layer_set_mapbase + // [24] phi from conio_x16_init::@7 to conio_x16_init::@8 [phi:conio_x16_init::@7->conio_x16_init::@8] + __b8_from___b7: + jmp __b8 + // conio_x16_init::@8 + __b8: + // [25] call vera_layer_set_mapbase + // [196] phi from conio_x16_init::@8 to vera_layer_set_mapbase [phi:conio_x16_init::@8->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b8: + // [196] phi vera_layer_set_mapbase::mapbase#3 = 0 [phi:conio_x16_init::@8->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #0 + // [196] phi vera_layer_set_mapbase::layer#3 = 1 [phi:conio_x16_init::@8->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #1 + jsr vera_layer_set_mapbase + jmp __b9 + // conio_x16_init::@9 + __b9: + // [26] if(conio_x16_init::line#0conio_x16_init::@1] + __b1_from___b2: + __b1_from___b9: + // [28] phi conio_x16_init::line#3 = conio_x16_init::line#1 [phi:conio_x16_init::@2/conio_x16_init::@9->conio_x16_init::@1#0] -- register_copy + jmp __b1 + // conio_x16_init::@1 + __b1: + // [29] gotoxy::y#0 = conio_x16_init::line#3 -- vbuxx=vbuz1 + ldx.z line + // [30] call gotoxy + // [201] phi from conio_x16_init::@1 to gotoxy [phi:conio_x16_init::@1->gotoxy] + gotoxy_from___b1: + // [201] phi gotoxy::y#4 = gotoxy::y#0 [phi:conio_x16_init::@1->gotoxy#0] -- register_copy + jsr gotoxy + jmp __breturn + // conio_x16_init::@return + __breturn: + // [31] return + rts +} + // main +main: { + .label tilebase = 3 + .label t = 5 + .label tile = 8 + .label c = $a + // Draw 4 squares with each tile, starting from row 4, width 1, height 1, separated by 2 characters. + .label row = 6 + .label r = 7 + .label column1 = $c + .label r1 = $b + // [33] call memcpy_in_vram + // Before we can load the tiles into memory we need to re-arrange a few things! + // The amount of tiles is 256, the color depth is 256, so each tile is 256 bytes! + // That is 65356 bytes of memory, which is 64K. Yup! One memory bank in VRAM. + // VERA VRAM holds in bank 1 many registers that interfere loading all of this data. + // So it is better to load all in bank 0, but then there is an other issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x10000. + // This is now all easily done with a few statements in the new kickc vera lib ... + // [214] phi from main to memcpy_in_vram [phi:main->memcpy_in_vram] + memcpy_in_vram_from_main: + // [214] phi memcpy_in_vram::num#4 = $100*8 [phi:main->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [214] phi memcpy_in_vram::dest_bank#3 = 1 [phi:main->memcpy_in_vram#1] -- vbuz1=vbuc1 + lda #1 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = (void*) 61440 [phi:main->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + // [214] phi memcpy_in_vram::src_bank#3 = 0 [phi:main->memcpy_in_vram#3] -- vbuyy=vbuc1 + ldy #0 + // [214] phi memcpy_in_vram::src#3 = (void*) 63488 [phi:main->memcpy_in_vram#4] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [34] phi from main to main::@19 [phi:main->main::@19] + __b19_from_main: + jmp __b19 + // main::@19 + __b19: + // [35] call vera_layer_mode_tile + // We copy the 128 character set of 8 bytes each. + // [234] phi from main::@19 to vera_layer_mode_tile [phi:main::@19->vera_layer_mode_tile] + vera_layer_mode_tile_from___b19: + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@19->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@19->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $1f000 [phi:main::@19->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = $10000 [phi:main::@19->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$10000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$10000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@19->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@19->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@19->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@19->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [36] phi from main::@19 to main::@20 [phi:main::@19->main::@20] + __b20_from___b19: + jmp __b20 + // main::@20 + __b20: + // [37] call screenlayer + jsr screenlayer + jmp textcolor1 + // main::textcolor1 + textcolor1: + // [38] vera_layer_set_textcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [39] call vera_layer_set_textcolor + // [190] phi from main::textcolor1 to vera_layer_set_textcolor [phi:main::textcolor1->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor1: + // [190] phi vera_layer_set_textcolor::layer#3 = vera_layer_set_textcolor::layer#1 [phi:main::textcolor1->vera_layer_set_textcolor#0] -- register_copy + jsr vera_layer_set_textcolor + jmp bgcolor1 + // main::bgcolor1 + bgcolor1: + // [40] vera_layer_set_backcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [41] call vera_layer_set_backcolor + // [193] phi from main::bgcolor1 to vera_layer_set_backcolor [phi:main::bgcolor1->vera_layer_set_backcolor] + vera_layer_set_backcolor_from_bgcolor1: + // [193] phi vera_layer_set_backcolor::color#3 = BLACK [phi:main::bgcolor1->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [193] phi vera_layer_set_backcolor::layer#3 = vera_layer_set_backcolor::layer#1 [phi:main::bgcolor1->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [42] phi from main::bgcolor1 to main::@16 [phi:main::bgcolor1->main::@16] + __b16_from_bgcolor1: + jmp __b16 + // main::@16 + __b16: + // [43] call clrscr + jsr clrscr + // [44] phi from main::@16 to main::@21 [phi:main::@16->main::@21] + __b21_from___b16: + jmp __b21 + // main::@21 + __b21: + // [45] call vera_layer_mode_tile + // Now we can use the full bank 0! + // We set the mapbase of the tile demo to output to 0x12000, + // and the tilebase is set to 0x0000! + // [234] phi from main::@21 to vera_layer_mode_tile [phi:main::@21->vera_layer_mode_tile] + vera_layer_mode_tile_from___b21: + // [234] phi vera_layer_mode_tile::tileheight#10 = $10 [phi:main::@21->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #$10 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = $10 [phi:main::@21->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #$10 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = 0 [phi:main::@21->vera_layer_mode_tile#2] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.tilebase_address + lda #0 + sta.z vera_layer_mode_tile.tilebase_address+1 + sta.z vera_layer_mode_tile.tilebase_address+2 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = $14000 [phi:main::@21->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@21->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 0 [phi:main::@21->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $40 [phi:main::@21->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapwidth + lda #>$40 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 8 [phi:main::@21->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #8 + jsr vera_layer_mode_tile + // [46] phi from main::@21 to main::@22 [phi:main::@21->main::@22] + __b22_from___b21: + jmp __b22 + // main::@22 + __b22: + // [47] call memcpy_to_vram + // [338] phi from main::@22 to memcpy_to_vram [phi:main::@22->memcpy_to_vram] + memcpy_to_vram_from___b22: + // [338] phi memcpy_to_vram::vdest#2 = (void*)0 [phi:main::@22->memcpy_to_vram#0] -- pvoz1=pvoc1 + lda #<0 + sta.z memcpy_to_vram.vdest + lda #>0 + sta.z memcpy_to_vram.vdest+1 + jsr memcpy_to_vram + // [48] phi from main::@22 to main::@1 [phi:main::@22->main::@1] + __b1_from___b22: + // [48] phi main::t#5 = 1 [phi:main::@22->main::@1#0] -- vbuz1=vbuc1 + lda #1 + sta.z t + // [48] phi main::tilebase#7 = $100 [phi:main::@22->main::@1#1] -- vwuz1=vwuc1 + lda #<$100 + sta.z tilebase + lda #>$100 + sta.z tilebase+1 + jmp __b1 + // [48] phi from main::@23 to main::@1 [phi:main::@23->main::@1] + __b1_from___b23: + // [48] phi main::t#5 = main::t#1 [phi:main::@23->main::@1#0] -- register_copy + // [48] phi main::tilebase#7 = main::tilebase#2 [phi:main::@23->main::@1#1] -- register_copy + jmp __b1 + // main::@1 + __b1: + // [49] phi from main::@1 to main::@2 [phi:main::@1->main::@2] + __b2_from___b1: + // [49] phi main::p#2 = 0 [phi:main::@1->main::@2#0] -- vbuxx=vbuc1 + ldx #0 + jmp __b2 + // [49] phi from main::@2 to main::@2 [phi:main::@2->main::@2] + __b2_from___b2: + // [49] phi main::p#2 = main::p#1 [phi:main::@2->main::@2#0] -- register_copy + jmp __b2 + // main::@2 + __b2: + // [50] main::tiles[main::p#2] = main::tiles[main::p#2] + 1 -- pbuc1_derefidx_vbuxx=pbuc1_derefidx_vbuxx_plus_1 + lda tiles,x + inc + sta tiles,x + // [51] main::p#1 = ++ main::p#2 -- vbuxx=_inc_vbuxx + inx + // [52] if(main::p#1!=0) goto main::@2 -- vbuxx_neq_0_then_la1 + cpx #0 + bne __b2_from___b2 + jmp __b3 + // main::@3 + __b3: + // [53] memcpy_to_vram::vdest#1 = (void*)main::tilebase#7 -- pvoz1=pvoz2 + lda.z tilebase + sta.z memcpy_to_vram.vdest + lda.z tilebase+1 + sta.z memcpy_to_vram.vdest+1 + // [54] call memcpy_to_vram + // [338] phi from main::@3 to memcpy_to_vram [phi:main::@3->memcpy_to_vram] + memcpy_to_vram_from___b3: + // [338] phi memcpy_to_vram::vdest#2 = memcpy_to_vram::vdest#1 [phi:main::@3->memcpy_to_vram#0] -- register_copy + jsr memcpy_to_vram + jmp __b23 + // main::@23 + __b23: + // [55] main::tilebase#2 = main::tilebase#7 + $100 -- vwuz1=vwuz1_plus_vwuc1 + clc + lda.z tilebase + adc #<$100 + sta.z tilebase + lda.z tilebase+1 + adc #>$100 + sta.z tilebase+1 + // [56] main::t#1 = ++ main::t#5 -- vbuz1=_inc_vbuz1 + inc.z t + // [57] if(main::t#1!=0) goto main::@1 -- vbuz1_neq_0_then_la1 + lda.z t + cmp #0 + bne __b1_from___b23 + // [58] phi from main::@23 to main::@4 [phi:main::@23->main::@4] + __b4_from___b23: + jmp __b4 + // main::@4 + __b4: + // [59] call vera_tile_area + //vera_tile_area(byte layer, word tileindex, byte x, byte y, byte w, byte h, byte hflip, byte vflip, byte offset) + // [350] phi from main::@4 to vera_tile_area [phi:main::@4->vera_tile_area] + vera_tile_area_from___b4: + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@4->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@4->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@4->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@4->vera_tile_area#3] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@4->vera_tile_area#4] -- vwuz1=vbuc1 + lda #<0 + sta.z vera_tile_area.tileindex + lda #>0 + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // [60] phi from main::@4 to main::@5 [phi:main::@4->main::@5] + __b5_from___b4: + // [60] phi main::r#5 = 0 [phi:main::@4->main::@5#0] -- vbuz1=vbuc1 + lda #0 + sta.z r + // [60] phi main::row#9 = 1 [phi:main::@4->main::@5#1] -- vbuz1=vbuc1 + lda #1 + sta.z row + // [60] phi main::tile#10 = 0 [phi:main::@4->main::@5#2] -- vwuz1=vwuc1 + lda #<0 + sta.z tile + lda #>0 + sta.z tile+1 + jmp __b5 + // [60] phi from main::@7 to main::@5 [phi:main::@7->main::@5] + __b5_from___b7: + // [60] phi main::r#5 = main::r#1 [phi:main::@7->main::@5#0] -- register_copy + // [60] phi main::row#9 = main::row#1 [phi:main::@7->main::@5#1] -- register_copy + // [60] phi main::tile#10 = main::tile#12 [phi:main::@7->main::@5#2] -- register_copy + jmp __b5 + // main::@5 + __b5: + // [61] phi from main::@5 to main::@6 [phi:main::@5->main::@6] + __b6_from___b5: + // [61] phi main::c#2 = 0 [phi:main::@5->main::@6#0] -- vbuz1=vbuc1 + lda #0 + sta.z c + // [61] phi main::column#2 = 0 [phi:main::@5->main::@6#1] -- vbuxx=vbuc1 + ldx #0 + // [61] phi main::tile#6 = main::tile#10 [phi:main::@5->main::@6#2] -- register_copy + jmp __b6 + // [61] phi from main::@24 to main::@6 [phi:main::@24->main::@6] + __b6_from___b24: + // [61] phi main::c#2 = main::c#1 [phi:main::@24->main::@6#0] -- register_copy + // [61] phi main::column#2 = main::column#1 [phi:main::@24->main::@6#1] -- register_copy + // [61] phi main::tile#6 = main::tile#12 [phi:main::@24->main::@6#2] -- register_copy + jmp __b6 + // main::@6 + __b6: + // [62] vera_tile_area::tileindex#1 = main::tile#6 + // [63] vera_tile_area::x#1 = main::column#2 -- vbuz1=vbuxx + stx.z vera_tile_area.x + // [64] vera_tile_area::y#1 = main::row#9 + // [65] call vera_tile_area + // [350] phi from main::@6 to vera_tile_area [phi:main::@6->vera_tile_area] + vera_tile_area_from___b6: + // [350] phi vera_tile_area::w#11 = 1 [phi:main::@6->vera_tile_area#0] -- vbuz1=vbuc1 + lda #1 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = 1 [phi:main::@6->vera_tile_area#1] -- vbuz1=vbuc1 + lda #1 + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = vera_tile_area::x#1 [phi:main::@6->vera_tile_area#2] -- register_copy + // [350] phi vera_tile_area::y#5 = vera_tile_area::y#1 [phi:main::@6->vera_tile_area#3] -- register_copy + // [350] phi vera_tile_area::tileindex#5 = vera_tile_area::tileindex#1 [phi:main::@6->vera_tile_area#4] -- register_copy + jsr vera_tile_area + jmp __b24 + // main::@24 + __b24: + // [66] main::column#1 = main::column#2 + 2 -- vbuxx=vbuxx_plus_2 + inx + inx + // [67] main::tile#1 = ++ main::tile#6 -- vwuz1=_inc_vwuz1 + inc.z tile + bne !+ + inc.z tile+1 + !: + // [68] main::tile#12 = main::tile#1 & $ff -- vwuz1=vwuz1_band_vbuc1 + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // [69] main::c#1 = ++ main::c#2 -- vbuz1=_inc_vbuz1 + inc.z c + // [70] if(main::c#1!=$14) goto main::@6 -- vbuz1_neq_vbuc1_then_la1 + lda #$14 + cmp.z c + bne __b6_from___b24 + jmp __b7 + // main::@7 + __b7: + // [71] main::row#1 = main::row#9 + 2 -- vbuz1=vbuz1_plus_2 + lda.z row + clc + adc #2 + sta.z row + // [72] main::r#1 = ++ main::r#5 -- vbuz1=_inc_vbuz1 + inc.z r + // [73] if(main::r#1!=$c) goto main::@5 -- vbuz1_neq_vbuc1_then_la1 + lda #$c + cmp.z r + bne __b5_from___b7 + // [74] phi from main::@7 to main::@8 [phi:main::@7->main::@8] + __b8_from___b7: + jmp __b8 + // main::@8 + __b8: + // [75] call gotoxy + // [201] phi from main::@8 to gotoxy [phi:main::@8->gotoxy] + gotoxy_from___b8: + // [201] phi gotoxy::y#4 = $32 [phi:main::@8->gotoxy#0] -- vbuxx=vbuc1 + ldx #$32 + jsr gotoxy + // [76] phi from main::@8 to main::@25 [phi:main::@8->main::@25] + __b25_from___b8: + jmp __b25 + // main::@25 + __b25: + // [77] call cputs + // [386] phi from main::@25 to cputs [phi:main::@25->cputs] + cputs_from___b25: + // [386] phi cputs::s#10 = main::s [phi:main::@25->cputs#0] -- pbuz1=pbuc1 + lda #s + sta.z cputs.s+1 + jsr cputs + // [78] phi from main::@25 to main::@26 [phi:main::@25->main::@26] + __b26_from___b25: + jmp __b26 + // main::@26 + __b26: + // [79] call cputs + // [386] phi from main::@26 to cputs [phi:main::@26->cputs] + cputs_from___b26: + // [386] phi cputs::s#10 = main::s1 [phi:main::@26->cputs#0] -- pbuz1=pbuc1 + lda #s1 + sta.z cputs.s+1 + jsr cputs + // [80] phi from main::@26 to main::@27 [phi:main::@26->main::@27] + __b27_from___b26: + jmp __b27 + // main::@27 + __b27: + // [81] call cputs + // [386] phi from main::@27 to cputs [phi:main::@27->cputs] + cputs_from___b27: + // [386] phi cputs::s#10 = main::s2 [phi:main::@27->cputs#0] -- pbuz1=pbuc1 + lda #s2 + sta.z cputs.s+1 + jsr cputs + // [82] phi from main::@27 to main::@28 [phi:main::@27->main::@28] + __b28_from___b27: + jmp __b28 + // main::@28 + __b28: + // [83] call cputs + // [386] phi from main::@28 to cputs [phi:main::@28->cputs] + cputs_from___b28: + // [386] phi cputs::s#10 = main::s3 [phi:main::@28->cputs#0] -- pbuz1=pbuc1 + lda #s3 + sta.z cputs.s+1 + jsr cputs + // [84] phi from main::@28 to main::@29 [phi:main::@28->main::@29] + __b29_from___b28: + jmp __b29 + // main::@29 + __b29: + // [85] call cputs + // [386] phi from main::@29 to cputs [phi:main::@29->cputs] + cputs_from___b29: + // [386] phi cputs::s#10 = main::s4 [phi:main::@29->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [86] phi from main::@29 to main::@30 [phi:main::@29->main::@30] + __b30_from___b29: + jmp __b30 + // main::@30 + __b30: + // [87] call cputs + // [386] phi from main::@30 to cputs [phi:main::@30->cputs] + cputs_from___b30: + // [386] phi cputs::s#10 = main::s5 [phi:main::@30->cputs#0] -- pbuz1=pbuc1 + lda #s5 + sta.z cputs.s+1 + jsr cputs + // [88] phi from main::@30 to main::@31 [phi:main::@30->main::@31] + __b31_from___b30: + jmp __b31 + // main::@31 + __b31: + // [89] call cputs + // [386] phi from main::@31 to cputs [phi:main::@31->cputs] + cputs_from___b31: + // [386] phi cputs::s#10 = main::s6 [phi:main::@31->cputs#0] -- pbuz1=pbuc1 + lda #s6 + sta.z cputs.s+1 + jsr cputs + // [90] phi from main::@31 to main::@32 [phi:main::@31->main::@32] + __b32_from___b31: + jmp __b32 + // main::@32 + __b32: + // [91] call cputs + // [386] phi from main::@32 to cputs [phi:main::@32->cputs] + cputs_from___b32: + // [386] phi cputs::s#10 = main::s7 [phi:main::@32->cputs#0] -- pbuz1=pbuc1 + lda #s7 + sta.z cputs.s+1 + jsr cputs + jmp vera_layer_show1 + // main::vera_layer_show1 + vera_layer_show1: + // [92] *VERA_DC_VIDEO = *VERA_DC_VIDEO | *vera_layer_enable -- _deref_pbuc1=_deref_pbuc1_bor__deref_pbuc2 + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + // [93] phi from main::@33 main::vera_layer_show1 to main::@9 [phi:main::@33/main::vera_layer_show1->main::@9] + __b9_from___b33: + __b9_from_vera_layer_show1: + jmp __b9 + // main::@9 + __b9: + // [94] call kbhit + jsr kbhit + // [95] kbhit::return#2 = kbhit::return#1 + jmp __b33 + // main::@33 + __b33: + // [96] main::$35 = kbhit::return#2 + // [97] if(0==main::$35) goto main::@9 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b9_from___b33 + // [98] phi from main::@33 to main::@10 [phi:main::@33->main::@10] + __b10_from___b33: + jmp __b10 + // main::@10 + __b10: + // [99] call vera_tile_area + // [350] phi from main::@10 to vera_tile_area [phi:main::@10->vera_tile_area] + vera_tile_area_from___b10: + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@10->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@10->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@10->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@10->vera_tile_area#3] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@10->vera_tile_area#4] -- vwuz1=vbuc1 + lda #<0 + sta.z vera_tile_area.tileindex + lda #>0 + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // [100] phi from main::@10 to main::@11 [phi:main::@10->main::@11] + __b11_from___b10: + // [100] phi main::r1#5 = 0 [phi:main::@10->main::@11#0] -- vbuz1=vbuc1 + lda #0 + sta.z r1 + // [100] phi main::row#10 = 0 [phi:main::@10->main::@11#1] -- vbuz1=vbuc1 + lda #0 + sta.z row + // [100] phi main::tile#11 = 0 [phi:main::@10->main::@11#2] -- vwuz1=vbuc1 + lda #<0 + sta.z tile + lda #>0 + sta.z tile+1 + jmp __b11 + // [100] phi from main::@13 to main::@11 [phi:main::@13->main::@11] + __b11_from___b13: + // [100] phi main::r1#5 = main::r1#1 [phi:main::@13->main::@11#0] -- register_copy + // [100] phi main::row#10 = main::row#3 [phi:main::@13->main::@11#1] -- register_copy + // [100] phi main::tile#11 = main::tile#13 [phi:main::@13->main::@11#2] -- register_copy + jmp __b11 + // main::@11 + __b11: + // [101] phi from main::@11 to main::@12 [phi:main::@11->main::@12] + __b12_from___b11: + // [101] phi main::c1#2 = 0 [phi:main::@11->main::@12#0] -- vbuxx=vbuc1 + ldx #0 + // [101] phi main::column1#2 = 0 [phi:main::@11->main::@12#1] -- vbuz1=vbuc1 + lda #0 + sta.z column1 + // [101] phi main::tile#8 = main::tile#11 [phi:main::@11->main::@12#2] -- register_copy + jmp __b12 + // [101] phi from main::@34 to main::@12 [phi:main::@34->main::@12] + __b12_from___b34: + // [101] phi main::c1#2 = main::c1#1 [phi:main::@34->main::@12#0] -- register_copy + // [101] phi main::column1#2 = main::column1#1 [phi:main::@34->main::@12#1] -- register_copy + // [101] phi main::tile#8 = main::tile#13 [phi:main::@34->main::@12#2] -- register_copy + jmp __b12 + // main::@12 + __b12: + // [102] vera_tile_area::tileindex#3 = main::tile#8 + // [103] vera_tile_area::x#3 = main::column1#2 + // [104] vera_tile_area::y#3 = main::row#10 + // [105] call vera_tile_area + // [350] phi from main::@12 to vera_tile_area [phi:main::@12->vera_tile_area] + vera_tile_area_from___b12: + // [350] phi vera_tile_area::w#11 = 2 [phi:main::@12->vera_tile_area#0] -- vbuz1=vbuc1 + lda #2 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = 2 [phi:main::@12->vera_tile_area#1] -- vbuz1=vbuc1 + lda #2 + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = vera_tile_area::x#3 [phi:main::@12->vera_tile_area#2] -- register_copy + // [350] phi vera_tile_area::y#5 = vera_tile_area::y#3 [phi:main::@12->vera_tile_area#3] -- register_copy + // [350] phi vera_tile_area::tileindex#5 = vera_tile_area::tileindex#3 [phi:main::@12->vera_tile_area#4] -- register_copy + jsr vera_tile_area + jmp __b34 + // main::@34 + __b34: + // [106] main::column1#1 = main::column1#2 + 2 -- vbuz1=vbuz1_plus_2 + lda.z column1 + clc + adc #2 + sta.z column1 + // [107] main::tile#4 = ++ main::tile#8 -- vwuz1=_inc_vwuz1 + inc.z tile + bne !+ + inc.z tile+1 + !: + // [108] main::tile#13 = main::tile#4 & $ff -- vwuz1=vwuz1_band_vbuc1 + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // [109] main::c1#1 = ++ main::c1#2 -- vbuxx=_inc_vbuxx + inx + // [110] if(main::c1#1!=$14) goto main::@12 -- vbuxx_neq_vbuc1_then_la1 + cpx #$14 + bne __b12_from___b34 + jmp __b13 + // main::@13 + __b13: + // [111] main::row#3 = main::row#10 + 2 -- vbuz1=vbuz1_plus_2 + lda.z row + clc + adc #2 + sta.z row + // [112] main::r1#1 = ++ main::r1#5 -- vbuz1=_inc_vbuz1 + inc.z r1 + // [113] if(main::r1#1!=$c) goto main::@11 -- vbuz1_neq_vbuc1_then_la1 + lda #$c + cmp.z r1 + bne __b11_from___b13 + // [114] phi from main::@13 main::@35 to main::@14 [phi:main::@13/main::@35->main::@14] + __b14_from___b13: + __b14_from___b35: + jmp __b14 + // main::@14 + __b14: + // [115] call kbhit + jsr kbhit + // [116] kbhit::return#3 = kbhit::return#1 + jmp __b35 + // main::@35 + __b35: + // [117] main::$40 = kbhit::return#3 + // [118] if(0==main::$40) goto main::@14 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b14_from___b35 + // [119] phi from main::@35 to main::@15 [phi:main::@35->main::@15] + __b15_from___b35: + jmp __b15 + // main::@15 + __b15: + // [120] call vera_tile_area + // Now put back the defaults ... + // [350] phi from main::@15 to vera_tile_area [phi:main::@15->vera_tile_area] + vera_tile_area_from___b15: + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@15->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@15->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@15->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@15->vera_tile_area#3] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@15->vera_tile_area#4] -- vwuz1=vbuc1 + lda #<0 + sta.z vera_tile_area.tileindex + lda #>0 + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + jmp vera_layer_hide1 + // main::vera_layer_hide1 + vera_layer_hide1: + // [121] main::vera_layer_hide1_$0 = ~ *vera_layer_enable -- vbuaa=_bnot__deref_pbuc1 + lda vera_layer_enable + eor #$ff + // [122] *VERA_DC_VIDEO = *VERA_DC_VIDEO & main::vera_layer_hide1_$0 -- _deref_pbuc1=_deref_pbuc1_band_vbuaa + and VERA_DC_VIDEO + sta VERA_DC_VIDEO + // [123] phi from main::vera_layer_hide1 to main::@17 [phi:main::vera_layer_hide1->main::@17] + __b17_from_vera_layer_hide1: + jmp __b17 + // main::@17 + __b17: + // [124] call memcpy_in_vram + // [214] phi from main::@17 to memcpy_in_vram [phi:main::@17->memcpy_in_vram] + memcpy_in_vram_from___b17: + // [214] phi memcpy_in_vram::num#4 = $100*8 [phi:main::@17->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [214] phi memcpy_in_vram::dest_bank#3 = 0 [phi:main::@17->memcpy_in_vram#1] -- vbuz1=vbuc1 + lda #0 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = (void*) 63488 [phi:main::@17->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.dest + lda #>$f800 + sta.z memcpy_in_vram.dest+1 + // [214] phi memcpy_in_vram::src_bank#3 = 1 [phi:main::@17->memcpy_in_vram#3] -- vbuyy=vbuc1 + ldy #1 + // [214] phi memcpy_in_vram::src#3 = (void*) 61440 [phi:main::@17->memcpy_in_vram#4] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.src + lda #>$f000 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [125] phi from main::@17 to main::@36 [phi:main::@17->main::@36] + __b36_from___b17: + jmp __b36 + // main::@36 + __b36: + // [126] call vera_layer_mode_tile + // [234] phi from main::@36 to vera_layer_mode_tile [phi:main::@36->vera_layer_mode_tile] + vera_layer_mode_tile_from___b36: + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@36->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@36->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $f800 [phi:main::@36->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = 0 [phi:main::@36->vera_layer_mode_tile#3] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + lda #0 + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $80 [phi:main::@36->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@36->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@36->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@36->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [127] phi from main::@36 to main::@37 [phi:main::@36->main::@37] + __b37_from___b36: + jmp __b37 + // main::@37 + __b37: + // [128] call vera_layer_mode_tile + // [234] phi from main::@37 to vera_layer_mode_tile [phi:main::@37->vera_layer_mode_tile] + vera_layer_mode_tile_from___b37: + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@37->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@37->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $f800 [phi:main::@37->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = 0 [phi:main::@37->vera_layer_mode_tile#3] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + lda #0 + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $80 [phi:main::@37->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 0 [phi:main::@37->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@37->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@37->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [129] phi from main::@37 to main::@38 [phi:main::@37->main::@38] + __b38_from___b37: + jmp __b38 + // main::@38 + __b38: + // [130] call screenlayer + jsr screenlayer + jmp textcolor2 + // main::textcolor2 + textcolor2: + // [131] vera_layer_set_textcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [132] call vera_layer_set_textcolor + // [190] phi from main::textcolor2 to vera_layer_set_textcolor [phi:main::textcolor2->vera_layer_set_textcolor] + vera_layer_set_textcolor_from_textcolor2: + // [190] phi vera_layer_set_textcolor::layer#3 = vera_layer_set_textcolor::layer#2 [phi:main::textcolor2->vera_layer_set_textcolor#0] -- register_copy + jsr vera_layer_set_textcolor + jmp bgcolor2 + // main::bgcolor2 + bgcolor2: + // [133] vera_layer_set_backcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [134] call vera_layer_set_backcolor + // [193] phi from main::bgcolor2 to vera_layer_set_backcolor [phi:main::bgcolor2->vera_layer_set_backcolor] + vera_layer_set_backcolor_from_bgcolor2: + // [193] phi vera_layer_set_backcolor::color#3 = BLUE [phi:main::bgcolor2->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [193] phi vera_layer_set_backcolor::layer#3 = vera_layer_set_backcolor::layer#2 [phi:main::bgcolor2->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [135] phi from main::bgcolor2 to main::@18 [phi:main::bgcolor2->main::@18] + __b18_from_bgcolor2: + jmp __b18 + // main::@18 + __b18: + // [136] call clrscr + jsr clrscr + jmp __breturn + // main::@return + __breturn: + // [137] return + rts + .segment Data + tiles: .byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + s: .text @"vera in tile mode 8 x 8, color depth 8 bits per pixel.\n" + .byte 0 + s1: .text @"in this mode, tiles are 8 pixels wide and 8 pixels tall.\n" + .byte 0 + s2: .text @"each tile can have a variation of 256 colors.\n" + .byte 0 + s3: .text @"the vera palette of 256 colors, can be used by setting the palette\n" + .byte 0 + s4: .text @"offset for each tile.\n" + .byte 0 + s5: .text @"here each column is displaying the same tile, but with different offsets!\n" + .byte 0 + s6: .text @"each offset aligns to multiples of 16 colors in the palette!.\n" + .byte 0 + s7: .text @"however, the first color will always be transparent (black).\n" + .byte 0 +} +.segment Code + // vera_layer_mode_text +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // [139] call vera_layer_mode_tile + // [234] phi from vera_layer_mode_text to vera_layer_mode_tile [phi:vera_layer_mode_text->vera_layer_mode_tile] + vera_layer_mode_tile_from_vera_layer_mode_text: + // [234] phi vera_layer_mode_tile::tileheight#10 = vera_layer_mode_text::tileheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_text::tilewidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_text::tilebase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_text::mapbase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = vera_layer_mode_text::mapheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#4] -- vwuz1=vwuc1 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = vera_layer_mode_text::layer#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #layer + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_text::mapwidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#6] -- vwuz1=vwuc1 + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:vera_layer_mode_text->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [140] phi from vera_layer_mode_text to vera_layer_mode_text::@1 [phi:vera_layer_mode_text->vera_layer_mode_text::@1] + __b1_from_vera_layer_mode_text: + jmp __b1 + // vera_layer_mode_text::@1 + __b1: + // [141] call vera_layer_set_text_color_mode + jsr vera_layer_set_text_color_mode + jmp __breturn + // vera_layer_mode_text::@return + __breturn: + // [142] return + rts +} + // screensize +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // [143] screensize::hscale#0 = *VERA_DC_HSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // [144] screensize::$1 = $28 << screensize::hscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // [145] *screensize::x#0 = screensize::$1 -- _deref_pbuc1=vbuaa + sta.z x + // [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // [147] screensize::$3 = $1e << screensize::vscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // [148] *screensize::y#0 = screensize::$3 -- _deref_pbuc1=vbuaa + sta.z y + jmp __breturn + // screensize::@return + __breturn: + // [149] return + rts +} + // screenlayer +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $34 + .label __4 = $2c + .label __5 = $31 + .label vera_layer_get_width1_config = $2a + .label vera_layer_get_width1_return = $34 + .label vera_layer_get_height1_config = $2e + .label vera_layer_get_height1_return = $31 + // [150] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // [151] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [152] call vera_layer_get_mapbase_bank + jsr vera_layer_get_mapbase_bank + // [153] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + jmp __b3 + // screenlayer::@3 + __b3: + // [154] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 -- vbuz1=vbuaa + sta.z CONIO_SCREEN_BANK + // [155] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [156] call vera_layer_get_mapbase_offset + jsr vera_layer_get_mapbase_offset + // [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + jmp __b4 + // screenlayer::@4 + __b4: + // [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 -- vwuz1=vwuz2 + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // [159] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + jmp vera_layer_get_width1 + // screenlayer::vera_layer_get_width1 + vera_layer_get_width1: + // [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 -- vbuaa=vbuaa_ror_4 + lsr + lsr + lsr + lsr + // [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + jmp vera_layer_get_width1___breturn + // screenlayer::vera_layer_get_width1_@return + vera_layer_get_width1___breturn: + // [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + jmp __b1 + // screenlayer::@1 + __b1: + // [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + // [168] conio_width = screenlayer::$2 -- vwuz1=vwuz2 + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // [169] vera_layer_get_rowshift::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [170] call vera_layer_get_rowshift + jsr vera_layer_get_rowshift + // [171] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + jmp __b5 + // screenlayer::@5 + __b5: + // [172] screenlayer::$3 = vera_layer_get_rowshift::return#2 + // [173] conio_rowshift = screenlayer::$3 -- vbuz1=vbuaa + sta.z conio_rowshift + // [174] vera_layer_get_rowskip::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [175] call vera_layer_get_rowskip + jsr vera_layer_get_rowskip + // [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + jmp __b6 + // screenlayer::@6 + __b6: + // [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 + // [178] conio_rowskip = screenlayer::$4 -- vwuz1=vwuz2 + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // [179] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + jmp vera_layer_get_height1 + // screenlayer::vera_layer_get_height1 + vera_layer_get_height1: + // [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 -- vbuaa=vbuaa_ror_6 + rol + rol + rol + and #3 + // [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + jmp vera_layer_get_height1___breturn + // screenlayer::vera_layer_get_height1_@return + vera_layer_get_height1___breturn: + // [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + jmp __b2 + // screenlayer::@2 + __b2: + // [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + // [188] conio_height = screenlayer::$5 -- vwuz1=vwuz2 + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + jmp __breturn + // screenlayer::@return + __breturn: + // [189] return + rts +} + // vera_layer_set_textcolor +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer) +vera_layer_set_textcolor: { + // [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE -- pbuc1_derefidx_vbuxx=vbuc2 + lda #WHITE + sta vera_layer_textcolor,x + jmp __breturn + // vera_layer_set_textcolor::@return + __breturn: + // [192] return + rts +} + // vera_layer_set_backcolor +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // [194] vera_layer_backcolor[vera_layer_set_backcolor::layer#3] = vera_layer_set_backcolor::color#3 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_backcolor,x + jmp __breturn + // vera_layer_set_backcolor::@return + __breturn: + // [195] return + rts +} + // vera_layer_set_mapbase +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $34 + // [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_mapbase::@return + __breturn: + // [200] return + rts +} + // gotoxy +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $2c + .label line_offset = $2c + // [202] if(gotoxy::y#4<=conio_screen_height) goto gotoxy::@4 -- vbuxx_le_vbuz1_then_la1 + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b4_from_gotoxy + // [204] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1] + __b1_from_gotoxy: + // [204] phi gotoxy::y#5 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 + ldx #0 + jmp __b1 + // [203] phi from gotoxy to gotoxy::@4 [phi:gotoxy->gotoxy::@4] + __b4_from_gotoxy: + jmp __b4 + // gotoxy::@4 + __b4: + // [204] phi from gotoxy::@4 to gotoxy::@1 [phi:gotoxy::@4->gotoxy::@1] + __b1_from___b4: + // [204] phi gotoxy::y#5 = gotoxy::y#4 [phi:gotoxy::@4->gotoxy::@1#0] -- register_copy + jmp __b1 + // gotoxy::@1 + __b1: + // [205] if(0gotoxy::@3] + __b3_from___b1: + jmp __b3 + // gotoxy::@3 + __b3: + jmp __b2 + // gotoxy::@2 + __b2: + // [207] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // [208] conio_cursor_y[conio_screen_layer] = gotoxy::y#5 -- pbuc1_derefidx_vbuz1=vbuxx + ldy.z conio_screen_layer + txa + sta conio_cursor_y,y + // [209] gotoxy::$6 = (word)gotoxy::y#5 -- vwuz1=_word_vbuxx + txa + sta.z __6 + lda #0 + sta.z __6+1 + // [210] gotoxy::line_offset#0 = gotoxy::$6 << conio_rowshift -- vwuz1=vwuz1_rol_vbuz2 + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // [211] gotoxy::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [212] conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + jmp __breturn + // gotoxy::@return + __breturn: + // [213] return + rts +} + // memcpy_in_vram +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte zp($18) dest_bank, void* zp($47) dest, byte register(Y) src_bank, byte* zp($45) src, word zp($4d) num) +memcpy_in_vram: { + .label i = $49 + .label dest = $47 + .label src = $45 + .label num = $4d + .label dest_bank = $18 + // [215] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [216] memcpy_in_vram::$0 = < memcpy_in_vram::src#3 -- vbuaa=_lo_pvoz1 + lda.z src + // [217] *VERA_ADDRX_L = memcpy_in_vram::$0 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [218] memcpy_in_vram::$1 = > memcpy_in_vram::src#3 -- vbuaa=_hi_pvoz1 + lda.z src+1 + // [219] *VERA_ADDRX_M = memcpy_in_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [220] memcpy_in_vram::$2 = VERA_INC_1 | memcpy_in_vram::src_bank#3 -- vbuaa=vbuc1_bor_vbuyy + tya + ora #VERA_INC_1 + // [221] *VERA_ADDRX_H = memcpy_in_vram::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [222] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_bor_vbuc2 + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // [223] memcpy_in_vram::$3 = < memcpy_in_vram::dest#3 -- vbuaa=_lo_pvoz1 + lda.z dest + // [224] *VERA_ADDRX_L = memcpy_in_vram::$3 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [225] memcpy_in_vram::$4 = > memcpy_in_vram::dest#3 -- vbuaa=_hi_pvoz1 + lda.z dest+1 + // [226] *VERA_ADDRX_M = memcpy_in_vram::$4 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [227] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#3 -- vbuaa=vbuc1_bor_vbuz1 + lda #VERA_INC_1 + ora.z dest_bank + // [228] *VERA_ADDRX_H = memcpy_in_vram::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [229] phi from memcpy_in_vram to memcpy_in_vram::@1 [phi:memcpy_in_vram->memcpy_in_vram::@1] + __b1_from_memcpy_in_vram: + // [229] phi memcpy_in_vram::i#2 = 0 [phi:memcpy_in_vram->memcpy_in_vram::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z i + lda #>0 + sta.z i+1 + jmp __b1 + // Transfer the data + // memcpy_in_vram::@1 + __b1: + // [230] if(memcpy_in_vram::i#2memcpy_in_vram::@1] + __b1_from___b2: + // [229] phi memcpy_in_vram::i#2 = memcpy_in_vram::i#1 [phi:memcpy_in_vram::@2->memcpy_in_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_layer_mode_tile +// Set a vera layer in tile mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_depth: The color depth in bits per pixel (BPP), which can be 1, 2, 4 or 8. +// vera_layer_mode_tile(byte zp($d) layer, dword zp($e) mapbase_address, dword zp($12) tilebase_address, word zp($2c) mapwidth, word zp($2a) mapheight, byte zp($16) tilewidth, byte zp($17) tileheight, byte register(X) color_depth) +vera_layer_mode_tile: { + .label __1 = $2e + .label __2 = $31 + .label __4 = $41 + .label __7 = $34 + .label __8 = $36 + .label __10 = $38 + .label __19 = $30 + .label __20 = $33 + .label mapbase_address = $e + .label tilebase_address = $12 + .label layer = $d + .label mapwidth = $2c + .label mapheight = $2a + .label tileheight = $17 + .label tilewidth = $16 + // [235] if(vera_layer_mode_tile::color_depth#5==1) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #1 + beq __b5_from_vera_layer_mode_tile + jmp __b1 + // vera_layer_mode_tile::@1 + __b1: + // [236] if(vera_layer_mode_tile::color_depth#5==2) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #2 + beq __b5_from___b1 + jmp __b2 + // vera_layer_mode_tile::@2 + __b2: + // [237] if(vera_layer_mode_tile::color_depth#5==4) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #4 + beq __b5_from___b2 + jmp __b3 + // vera_layer_mode_tile::@3 + __b3: + // [238] if(vera_layer_mode_tile::color_depth#5!=8) goto vera_layer_mode_tile::@5 -- vbuxx_neq_vbuc1_then_la1 + cpx #8 + bne __b5_from___b3 + // [239] phi from vera_layer_mode_tile::@3 to vera_layer_mode_tile::@4 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@4] + __b4_from___b3: + jmp __b4 + // vera_layer_mode_tile::@4 + __b4: + // [240] phi from vera_layer_mode_tile::@4 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@4->vera_layer_mode_tile::@5] + __b5_from___b4: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_8BPP [phi:vera_layer_mode_tile::@4->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_8BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile->vera_layer_mode_tile::@5] + __b5_from_vera_layer_mode_tile: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_1BPP [phi:vera_layer_mode_tile->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_1BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@1 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@1->vera_layer_mode_tile::@5] + __b5_from___b1: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_2BPP [phi:vera_layer_mode_tile::@1->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_2BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@2 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@2->vera_layer_mode_tile::@5] + __b5_from___b2: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_4BPP [phi:vera_layer_mode_tile::@2->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_4BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@3 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@5] + __b5_from___b3: + // [240] phi vera_layer_mode_tile::config#17 = 0 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #0 + jmp __b5 + // vera_layer_mode_tile::@5 + __b5: + // [241] if(vera_layer_mode_tile::mapwidth#10==$20) goto vera_layer_mode_tile::@9 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b9 + !: + jmp __b6 + // vera_layer_mode_tile::@6 + __b6: + // [242] if(vera_layer_mode_tile::mapwidth#10==$40) goto vera_layer_mode_tile::@10 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b10 + !: + jmp __b7 + // vera_layer_mode_tile::@7 + __b7: + // [243] if(vera_layer_mode_tile::mapwidth#10==$80) goto vera_layer_mode_tile::@11 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b11 + !: + jmp __b8 + // vera_layer_mode_tile::@8 + __b8: + // [244] if(vera_layer_mode_tile::mapwidth#10!=$100) goto vera_layer_mode_tile::@13 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapwidth+1 + cmp #>$100 + bne __b13_from___b8 + lda.z mapwidth + cmp #<$100 + bne __b13_from___b8 + jmp __b12 + // vera_layer_mode_tile::@12 + __b12: + // [245] vera_layer_mode_tile::config#8 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_256 + tax + // [246] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 9 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // [247] vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [248] vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + // [249] phi from vera_layer_mode_tile::@10 vera_layer_mode_tile::@11 vera_layer_mode_tile::@12 vera_layer_mode_tile::@8 vera_layer_mode_tile::@9 to vera_layer_mode_tile::@13 [phi:vera_layer_mode_tile::@10/vera_layer_mode_tile::@11/vera_layer_mode_tile::@12/vera_layer_mode_tile::@8/vera_layer_mode_tile::@9->vera_layer_mode_tile::@13] + __b13_from___b10: + __b13_from___b11: + __b13_from___b12: + __b13_from___b8: + __b13_from___b9: + // [249] phi vera_layer_mode_tile::config#21 = vera_layer_mode_tile::config#6 [phi:vera_layer_mode_tile::@10/vera_layer_mode_tile::@11/vera_layer_mode_tile::@12/vera_layer_mode_tile::@8/vera_layer_mode_tile::@9->vera_layer_mode_tile::@13#0] -- register_copy + jmp __b13 + // vera_layer_mode_tile::@13 + __b13: + // [250] if(vera_layer_mode_tile::mapheight#10==$20) goto vera_layer_mode_tile::@20 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b20_from___b13 + !: + jmp __b14 + // vera_layer_mode_tile::@14 + __b14: + // [251] if(vera_layer_mode_tile::mapheight#10==$40) goto vera_layer_mode_tile::@17 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b17 + !: + jmp __b15 + // vera_layer_mode_tile::@15 + __b15: + // [252] if(vera_layer_mode_tile::mapheight#10==$80) goto vera_layer_mode_tile::@18 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b18 + !: + jmp __b16 + // vera_layer_mode_tile::@16 + __b16: + // [253] if(vera_layer_mode_tile::mapheight#10!=$100) goto vera_layer_mode_tile::@20 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapheight+1 + cmp #>$100 + bne __b20_from___b16 + lda.z mapheight + cmp #<$100 + bne __b20_from___b16 + jmp __b19 + // vera_layer_mode_tile::@19 + __b19: + // [254] vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + // [255] phi from vera_layer_mode_tile::@13 vera_layer_mode_tile::@16 vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@19 to vera_layer_mode_tile::@20 [phi:vera_layer_mode_tile::@13/vera_layer_mode_tile::@16/vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@19->vera_layer_mode_tile::@20] + __b20_from___b13: + __b20_from___b16: + __b20_from___b17: + __b20_from___b18: + __b20_from___b19: + // [255] phi vera_layer_mode_tile::config#25 = vera_layer_mode_tile::config#21 [phi:vera_layer_mode_tile::@13/vera_layer_mode_tile::@16/vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@19->vera_layer_mode_tile::@20#0] -- register_copy + jmp __b20 + // vera_layer_mode_tile::@20 + __b20: + // [256] vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [257] vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + // [258] call vera_layer_set_config + jsr vera_layer_set_config + jmp __b27 + // vera_layer_mode_tile::@27 + __b27: + // [259] vera_layer_mode_tile::$1 = < vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_lo_vduz2 + lda.z mapbase_address + sta.z __1 + lda.z mapbase_address+1 + sta.z __1+1 + // [260] vera_layer_mode_tile::$19 = vera_layer_mode_tile::layer#10 << 1 -- vbuz1=vbuz2_rol_1 + lda.z layer + asl + sta.z __19 + // [261] vera_mapbase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$1 -- pwuc1_derefidx_vbuz1=vwuz2 + // mapbase + ldy.z __19 + lda.z __1 + sta vera_mapbase_offset,y + lda.z __1+1 + sta vera_mapbase_offset+1,y + // [262] vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_hi_vduz2 + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 -- vbuz1=vbuz2_rol_2 + lda.z layer + asl + asl + sta.z __20 + // [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // [267] vera_layer_mode_tile::$4 = < vera_layer_mode_tile::mapbase_address#0 -- vwuz1=_lo_vduz2 + lda.z mapbase_address + sta.z __4 + lda.z mapbase_address+1 + sta.z __4+1 + // [268] vera_layer_mode_tile::mapbase#0 = > vera_layer_mode_tile::$4 -- vbuxx=_hi_vwuz1 + ldx.z __4+1 + // [269] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [270] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + // [271] call vera_layer_set_mapbase + // [196] phi from vera_layer_mode_tile::@27 to vera_layer_set_mapbase [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase] + vera_layer_set_mapbase_from___b27: + // [196] phi vera_layer_set_mapbase::mapbase#3 = vera_layer_set_mapbase::mapbase#0 [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase#0] -- register_copy + // [196] phi vera_layer_set_mapbase::layer#3 = vera_layer_set_mapbase::layer#0 [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase#1] -- register_copy + jsr vera_layer_set_mapbase + jmp __b28 + // vera_layer_mode_tile::@28 + __b28: + // [272] vera_layer_mode_tile::$7 = < vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_lo_vduz2 + lda.z tilebase_address + sta.z __7 + lda.z tilebase_address+1 + sta.z __7+1 + // [273] vera_tilebase_offset[vera_layer_mode_tile::$19] = vera_layer_mode_tile::$7 -- pwuc1_derefidx_vbuz1=vwuz2 + // tilebase + ldy.z __19 + lda.z __7 + sta vera_tilebase_offset,y + lda.z __7+1 + sta vera_tilebase_offset+1,y + // [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_hi_vduz2 + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // [278] vera_layer_mode_tile::$10 = < vera_layer_mode_tile::tilebase_address#0 -- vwuz1=_lo_vduz2 + lda.z tilebase_address + sta.z __10 + lda.z tilebase_address+1 + sta.z __10+1 + // [279] vera_layer_mode_tile::tilebase#0 = > vera_layer_mode_tile::$10 -- vbuaa=_hi_vwuz1 + lda.z __10+1 + // [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK -- vbuxx=vbuaa_band_vbuc1 + and #VERA_LAYER_TILEBASE_MASK + tax + // [281] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@23 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tilewidth + beq __b23_from___b28 + jmp __b21 + // vera_layer_mode_tile::@21 + __b21: + // [282] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@23 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tilewidth + bne __b23_from___b21 + jmp __b22 + // vera_layer_mode_tile::@22 + __b22: + // [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_WIDTH_16 + tax + // [284] phi from vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@28 to vera_layer_mode_tile::@23 [phi:vera_layer_mode_tile::@21/vera_layer_mode_tile::@22/vera_layer_mode_tile::@28->vera_layer_mode_tile::@23] + __b23_from___b21: + __b23_from___b22: + __b23_from___b28: + // [284] phi vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#1 [phi:vera_layer_mode_tile::@21/vera_layer_mode_tile::@22/vera_layer_mode_tile::@28->vera_layer_mode_tile::@23#0] -- register_copy + jmp __b23 + // vera_layer_mode_tile::@23 + __b23: + // [285] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@26 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tileheight + beq __b26_from___b23 + jmp __b24 + // vera_layer_mode_tile::@24 + __b24: + // [286] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@26 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tileheight + bne __b26_from___b24 + jmp __b25 + // vera_layer_mode_tile::@25 + __b25: + // [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_HEIGHT_16 + tax + // [288] phi from vera_layer_mode_tile::@23 vera_layer_mode_tile::@24 vera_layer_mode_tile::@25 to vera_layer_mode_tile::@26 [phi:vera_layer_mode_tile::@23/vera_layer_mode_tile::@24/vera_layer_mode_tile::@25->vera_layer_mode_tile::@26] + __b26_from___b23: + __b26_from___b24: + __b26_from___b25: + // [288] phi vera_layer_mode_tile::tilebase#10 = vera_layer_mode_tile::tilebase#12 [phi:vera_layer_mode_tile::@23/vera_layer_mode_tile::@24/vera_layer_mode_tile::@25->vera_layer_mode_tile::@26#0] -- register_copy + jmp __b26 + // vera_layer_mode_tile::@26 + __b26: + // [289] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [290] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + // [291] call vera_layer_set_tilebase + jsr vera_layer_set_tilebase + jmp __breturn + // vera_layer_mode_tile::@return + __breturn: + // [292] return + rts + // vera_layer_mode_tile::@18 + __b18: + // [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_128 + tax + jmp __b20_from___b18 + // vera_layer_mode_tile::@17 + __b17: + // [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_64 + tax + jmp __b20_from___b17 + // vera_layer_mode_tile::@11 + __b11: + // [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_128 + tax + // [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #8 + ldy.z layer + sta vera_layer_rowshift,y + // [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$100 + sta vera_layer_rowskip,y + lda #>$100 + sta vera_layer_rowskip+1,y + jmp __b13_from___b11 + // vera_layer_mode_tile::@10 + __b10: + // [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_64 + tax + // [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13_from___b10 + // vera_layer_mode_tile::@9 + __b9: + // [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + lda.z layer + asl + // [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13_from___b9 +} + // clrscr +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3a + .label line_text = $45 + .label color = $3a + // [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 -- pbuz1=pbuz2 + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // [307] vera_layer_get_backcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [308] call vera_layer_get_backcolor + jsr vera_layer_get_backcolor + // [309] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + jmp __b7 + // clrscr::@7 + __b7: + // [310] clrscr::$0 = vera_layer_get_backcolor::return#2 + // [311] clrscr::$1 = clrscr::$0 << 4 -- vbuz1=vbuaa_rol_4 + asl + asl + asl + asl + sta.z __1 + // [312] vera_layer_get_textcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [313] call vera_layer_get_textcolor + jsr vera_layer_get_textcolor + // [314] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + jmp __b8 + // clrscr::@8 + __b8: + // [315] clrscr::$2 = vera_layer_get_textcolor::return#2 + // [316] clrscr::color#0 = clrscr::$1 | clrscr::$2 -- vbuz1=vbuz1_bor_vbuaa + ora.z color + sta.z color + // [317] phi from clrscr::@8 to clrscr::@1 [phi:clrscr::@8->clrscr::@1] + __b1_from___b8: + // [317] phi clrscr::line_text#2 = clrscr::line_text#0 [phi:clrscr::@8->clrscr::@1#0] -- register_copy + // [317] phi clrscr::l#2 = 0 [phi:clrscr::@8->clrscr::@1#1] -- vbuxx=vbuc1 + ldx #0 + jmp __b1 + // clrscr::@1 + __b1: + // [318] if(clrscr::l#2 clrscr::line_text#2 -- vbuaa=_hi_pbuz1 + lda.z line_text+1 + // [328] *VERA_ADDRX_M = clrscr::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [329] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // [330] *VERA_ADDRX_H = clrscr::$7 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [331] phi from clrscr::@2 to clrscr::@4 [phi:clrscr::@2->clrscr::@4] + __b4_from___b2: + // [331] phi clrscr::c#2 = 0 [phi:clrscr::@2->clrscr::@4#0] -- vbuyy=vbuc1 + ldy #0 + jmp __b4 + // clrscr::@4 + __b4: + // [332] if(clrscr::c#2clrscr::@1] + __b1_from___b6: + // [317] phi clrscr::line_text#2 = clrscr::line_text#1 [phi:clrscr::@6->clrscr::@1#0] -- register_copy + // [317] phi clrscr::l#2 = clrscr::l#1 [phi:clrscr::@6->clrscr::@1#1] -- register_copy + jmp __b1 + // clrscr::@5 + __b5: + // [335] *VERA_DATA0 = ' ' -- _deref_pbuc1=vbuc2 + lda #' ' + sta VERA_DATA0 + // [336] *VERA_DATA0 = clrscr::color#0 -- _deref_pbuc1=vbuz1 + lda.z color + sta VERA_DATA0 + // [337] clrscr::c#1 = ++ clrscr::c#2 -- vbuyy=_inc_vbuyy + iny + // [331] phi from clrscr::@5 to clrscr::@4 [phi:clrscr::@5->clrscr::@4] + __b4_from___b5: + // [331] phi clrscr::c#2 = clrscr::c#1 [phi:clrscr::@5->clrscr::@4#0] -- register_copy + jmp __b4 +} + // memcpy_to_vram +// Copy block of memory (from RAM to VRAM) +// Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination in VRAM. +// - vbank: Which 64K VRAM bank to put data into (0/1) +// - vdest: The destination address in VRAM +// - src: The source address in RAM +// - num: The number of bytes to copy +// memcpy_to_vram(void* zp($47) vdest) +memcpy_to_vram: { + .label end = main.tiles+$100 + .label s = $4d + .label vdest = $47 + // [339] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [340] memcpy_to_vram::$0 = < memcpy_to_vram::vdest#2 -- vbuaa=_lo_pvoz1 + lda.z vdest + // [341] *VERA_ADDRX_L = memcpy_to_vram::$0 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [342] memcpy_to_vram::$1 = > memcpy_to_vram::vdest#2 -- vbuaa=_hi_pvoz1 + lda.z vdest+1 + // [343] *VERA_ADDRX_M = memcpy_to_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [344] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // [345] phi from memcpy_to_vram to memcpy_to_vram::@1 [phi:memcpy_to_vram->memcpy_to_vram::@1] + __b1_from_memcpy_to_vram: + // [345] phi memcpy_to_vram::s#2 = (byte*)(void*)main::tiles [phi:memcpy_to_vram->memcpy_to_vram::@1#0] -- pbuz1=pbuc1 + lda #main.tiles + sta.z s+1 + jmp __b1 + // memcpy_to_vram::@1 + __b1: + // [346] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 -- pbuz1_neq_pbuc1_then_la1 + lda.z s+1 + cmp #>end + bne __b2 + lda.z s + cmp #memcpy_to_vram::@1] + __b1_from___b2: + // [345] phi memcpy_to_vram::s#2 = memcpy_to_vram::s#1 [phi:memcpy_to_vram::@2->memcpy_to_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_tile_area +// --- TILE FUNCTIONS --- +// vera_tile_area(word zp(8) tileindex, byte zp($c) x, byte zp(6) y, byte zp($3a) w, byte zp($18) h, byte zp($4c) hflip, byte zp($3d) vflip) +vera_tile_area: { + .label __4 = $45 + .label __10 = $45 + .label vera_vram_address01___0 = $47 + .label vera_vram_address01___2 = $4d + .label vera_vram_address01___4 = $49 + .label mapbase = $19 + .label shift = $4b + .label rowskip = $3b + .label hflip = $4c + .label vflip = $3d + .label index_l = $3e + .label index_h = $3d + .label r = $3f + .label tileindex = 8 + .label x = $c + .label y = 6 + .label h = $18 + .label w = $3a + // [351] vera_tile_area::mapbase#0 = *vera_mapbase_address -- vduz1=_deref_pduc1 + lda vera_mapbase_address + sta.z mapbase + lda vera_mapbase_address+1 + sta.z mapbase+1 + lda vera_mapbase_address+2 + sta.z mapbase+2 + lda vera_mapbase_address+3 + sta.z mapbase+3 + // [352] vera_tile_area::shift#0 = *vera_layer_rowshift -- vbuz1=_deref_pbuc1 + lda vera_layer_rowshift + sta.z shift + // [353] vera_tile_area::rowskip#0 = 1 << vera_tile_area::shift#0 -- vwuz1=vwuc1_rol_vbuz2 + ldy.z shift + lda #<1 + sta.z rowskip + lda #>1+1 + sta.z rowskip+1 + cpy #0 + beq !e+ + !: + asl.z rowskip + rol.z rowskip+1 + dey + bne !- + !e: + // [354] vera_tile_area::hflip#0 = *vera_layer_hflip -- vbuz1=_deref_pbuc1 + lda vera_layer_hflip + sta.z hflip + // [355] vera_tile_area::vflip#0 = *vera_layer_vflip -- vbuz1=_deref_pbuc1 + lda vera_layer_vflip + sta.z vflip + // [356] vera_tile_area::index_l#0 = < vera_tile_area::tileindex#5 -- vbuz1=_lo_vwuz2 + lda.z tileindex + sta.z index_l + // [357] vera_tile_area::index_h#0 = > vera_tile_area::tileindex#5 -- vbuaa=_hi_vwuz1 + lda.z tileindex+1 + // [358] vera_tile_area::index_h#1 = vera_tile_area::index_h#0 | vera_tile_area::hflip#0 -- vbuaa=vbuaa_bor_vbuz1 + ora.z hflip + // [359] vera_tile_area::index_h#2 = vera_tile_area::index_h#1 | vera_tile_area::vflip#0 -- vbuz1=vbuaa_bor_vbuz1 + ora.z index_h + sta.z index_h + // [360] vera_tile_area::$10 = (word)vera_tile_area::y#5 -- vwuz1=_word_vbuz2 + lda.z y + sta.z __10 + lda #0 + sta.z __10+1 + // [361] vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 -- vwuz1=vwuz1_rol_vbuz2 + ldy.z shift + beq !e+ + !: + asl.z __4 + rol.z __4+1 + dey + bne !- + !e: + // [362] vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 -- vduz1=vduz1_plus_vwuz2 + lda.z mapbase + clc + adc.z __4 + sta.z mapbase + lda.z mapbase+1 + adc.z __4+1 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + // [363] vera_tile_area::$5 = vera_tile_area::x#5 << 1 -- vbuaa=vbuz1_rol_1 + lda.z x + asl + // [364] vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 -- vduz1=vduz1_plus_vbuaa + clc + adc.z mapbase + sta.z mapbase + lda.z mapbase+1 + adc #0 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + // [365] phi from vera_tile_area to vera_tile_area::@1 [phi:vera_tile_area->vera_tile_area::@1] + __b1_from_vera_tile_area: + // [365] phi vera_tile_area::mapbase#10 = vera_tile_area::mapbase#2 [phi:vera_tile_area->vera_tile_area::@1#0] -- register_copy + // [365] phi vera_tile_area::r#2 = 0 [phi:vera_tile_area->vera_tile_area::@1#1] -- vbuz1=vbuc1 + lda #0 + sta.z r + jmp __b1 + // vera_tile_area::@1 + __b1: + // [366] if(vera_tile_area::r#2 vera_tile_area::vera_vram_address01_$2 -- vbuaa=_hi_vwuz1 + lda.z vera_vram_address01___2+1 + // [374] *VERA_ADDRX_M = vera_tile_area::vera_vram_address01_$3 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [375] vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::mapbase#10 -- vwuz1=_hi_vduz2 + lda.z mapbase+2 + sta.z vera_vram_address01___4 + lda.z mapbase+3 + sta.z vera_vram_address01___4+1 + // [376] vera_tile_area::vera_vram_address01_$5 = < vera_tile_area::vera_vram_address01_$4 -- vbuaa=_lo_vwuz1 + lda.z vera_vram_address01___4 + // [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 -- vbuaa=vbuaa_bor_vbuc1 + ora #VERA_INC_1 + // [378] *VERA_ADDRX_H = vera_tile_area::vera_vram_address01_$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [379] phi from vera_tile_area::vera_vram_address01 to vera_tile_area::@2 [phi:vera_tile_area::vera_vram_address01->vera_tile_area::@2] + __b2_from_vera_vram_address01: + // [379] phi vera_tile_area::c#2 = 0 [phi:vera_tile_area::vera_vram_address01->vera_tile_area::@2#0] -- vbuyy=vbuc1 + ldy #0 + jmp __b2 + // vera_tile_area::@2 + __b2: + // [380] if(vera_tile_area::c#2vera_tile_area::@1] + __b1_from___b4: + // [365] phi vera_tile_area::mapbase#10 = vera_tile_area::mapbase#3 [phi:vera_tile_area::@4->vera_tile_area::@1#0] -- register_copy + // [365] phi vera_tile_area::r#2 = vera_tile_area::r#1 [phi:vera_tile_area::@4->vera_tile_area::@1#1] -- register_copy + jmp __b1 + // vera_tile_area::@3 + __b3: + // [383] *VERA_DATA0 = vera_tile_area::index_l#0 -- _deref_pbuc1=vbuz1 + lda.z index_l + sta VERA_DATA0 + // [384] *VERA_DATA0 = vera_tile_area::index_h#2 -- _deref_pbuc1=vbuz1 + lda.z index_h + sta VERA_DATA0 + // [385] vera_tile_area::c#1 = ++ vera_tile_area::c#2 -- vbuyy=_inc_vbuyy + iny + // [379] phi from vera_tile_area::@3 to vera_tile_area::@2 [phi:vera_tile_area::@3->vera_tile_area::@2] + __b2_from___b3: + // [379] phi vera_tile_area::c#2 = vera_tile_area::c#1 [phi:vera_tile_area::@3->vera_tile_area::@2#0] -- register_copy + jmp __b2 +} + // cputs +// Output a NUL-terminated string at the current cursor position +// cputs(byte* zp($3b) s) +cputs: { + .label s = $3b + // [387] phi from cputs cputs::@2 to cputs::@1 [phi:cputs/cputs::@2->cputs::@1] + __b1_from_cputs: + __b1_from___b2: + // [387] phi cputs::s#9 = cputs::s#10 [phi:cputs/cputs::@2->cputs::@1#0] -- register_copy + jmp __b1 + // cputs::@1 + __b1: + // [388] cputs::c#1 = *cputs::s#9 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (s),y + // [389] cputs::s#0 = ++ cputs::s#9 -- pbuz1=_inc_pbuz1 + inc.z s + bne !+ + inc.z s+1 + !: + // [390] if(0!=cputs::c#1) goto cputs::@2 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b2 + jmp __breturn + // cputs::@return + __breturn: + // [391] return + rts + // cputs::@2 + __b2: + // [392] cputc::c#0 = cputs::c#1 -- vbuz1=vbuaa + sta.z cputc.c + // [393] call cputc + jsr cputc + jmp __b1_from___b2 +} + // kbhit +// Return true if there's a key waiting, return false if not +kbhit: { + .label chptr = ch + .label IN_DEV = $28a + // Current input device number + .label GETIN = $ffe4 + .label ch = $40 + // [394] kbhit::ch = 0 -- vbuz1=vbuc1 + lda #0 + sta.z ch + // kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit bne L3 jmp continue1 .var via1 = $9f60 //VIA#1 .var d1pra = via1+1 _kbhit: ldy d1pra // The count of keys pressed is stored in RAM bank 0. stz d1pra // Set d1pra to zero to access RAM bank 0. lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). sty d1pra // Set d1pra to previous value. rts L3: ldy IN_DEV // Save current input device stz IN_DEV // Keyboard phy jsr GETIN // Read char, and return in .A ply sta chptr // Store the character read in ch sty IN_DEV // Restore input device ldx #>$0000 rts continue1: nop }} + // CBM GETIN API + jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + + // [396] kbhit::return#0 = kbhit::ch -- vbuaa=vbuz1 + lda.z ch + jmp __breturn + // kbhit::@return + __breturn: + // [397] kbhit::return#1 = kbhit::return#0 + // [398] return + rts +} + // vera_layer_set_text_color_mode +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $41 + // [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) -- pbuz1=_deref_qbuc1 + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C -- _deref_pbuz1=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + ldy #0 + sta (addr),y + // [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 -- _deref_pbuz1=_deref_pbuz1 + ldy #0 + lda (addr),y + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_text_color_mode::@return + __breturn: + // [402] return + rts +} + // vera_layer_get_mapbase_bank +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // [403] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_mapbase_bank,x + jmp __breturn + // vera_layer_get_mapbase_bank::@return + __breturn: + // [404] return + rts +} + // vera_layer_get_mapbase_offset +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $2c + // [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + jmp __breturn + // vera_layer_get_mapbase_offset::@return + __breturn: + // [407] return + rts +} + // vera_layer_get_rowshift +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // [408] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_rowshift,x + jmp __breturn + // vera_layer_get_rowshift::@return + __breturn: + // [409] return + rts +} + // vera_layer_get_rowskip +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $2c + // [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + jmp __breturn + // vera_layer_get_rowskip::@return + __breturn: + // [412] return + rts +} + // vera_layer_set_config +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $43 + // [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_config::@return + __breturn: + // [416] return + rts +} + // vera_layer_set_tilebase +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $43 + // [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + jmp __breturn + // vera_layer_set_tilebase::@return + __breturn: + // [420] return + rts +} + // vera_layer_get_backcolor +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // [421] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_backcolor,x + jmp __breturn + // vera_layer_get_backcolor::@return + __breturn: + // [422] return + rts +} + // vera_layer_get_textcolor +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // [423] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + jmp __breturn + // vera_layer_get_textcolor::@return + __breturn: + // [424] return + rts +} + // cputc +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3f) c) +cputc: { + .label __16 = $47 + .label conio_addr = $45 + .label c = $3f + // [425] vera_layer_get_color::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [426] call vera_layer_get_color + // [456] phi from cputc to vera_layer_get_color [phi:cputc->vera_layer_get_color] + vera_layer_get_color_from_cputc: + // [456] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#0 [phi:cputc->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // [427] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + jmp __b7 + // cputc::@7 + __b7: + // [428] cputc::color#0 = vera_layer_get_color::return#3 -- vbuxx=vbuaa + tax + // [429] cputc::$15 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 -- vbuaa=pbuc1_derefidx_vbuz1_rol_1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 -- pbuz1=pbuz1_plus_vbuaa + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // [433] if(cputc::c#0==' ') goto cputc::@1 -- vbuz1_eq_vbuc1_then_la1 + lda #'\n' + cmp.z c + beq __b1_from___b7 + jmp __b2 + // cputc::@2 + __b2: + // [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [435] cputc::$4 = < cputc::conio_addr#1 -- vbuaa=_lo_pbuz1 + lda.z conio_addr + // [436] *VERA_ADDRX_L = cputc::$4 -- _deref_pbuc1=vbuaa + // Set address + sta VERA_ADDRX_L + // [437] cputc::$5 = > cputc::conio_addr#1 -- vbuaa=_hi_pbuz1 + lda.z conio_addr+1 + // [438] *VERA_ADDRX_M = cputc::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // [440] *VERA_ADDRX_H = cputc::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [441] *VERA_DATA0 = cputc::c#0 -- _deref_pbuc1=vbuz1 + lda.z c + sta VERA_DATA0 + // [442] *VERA_DATA0 = cputc::color#0 -- _deref_pbuc1=vbuxx + stx VERA_DATA0 + // [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_x,x + // [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] -- vbuaa=pbuc1_derefidx_vbuz1 + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // [445] if(0!=cputc::scroll_enable#0) goto cputc::@5 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b5 + jmp __b3 + // cputc::@3 + __b3: + // [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] -- vwuz1=_word_pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // [447] if(cputc::$16!=conio_width) goto cputc::@return -- vwuz1_neq_vwuz2_then_la1 + lda.z __16+1 + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // [448] phi from cputc::@3 to cputc::@4 [phi:cputc::@3->cputc::@4] + __b4_from___b3: + jmp __b4 + // cputc::@4 + __b4: + // [449] call cputln + jsr cputln + jmp __breturn + // cputc::@return + __breturn: + // [450] return + rts + // cputc::@5 + __b5: + // [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return -- pbuc1_derefidx_vbuz1_neq_vbuz2_then_la1 + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // [452] phi from cputc::@5 to cputc::@6 [phi:cputc::@5->cputc::@6] + __b6_from___b5: + jmp __b6 + // cputc::@6 + __b6: + // [453] call cputln + jsr cputln + jmp __breturn + // [454] phi from cputc::@7 to cputc::@1 [phi:cputc::@7->cputc::@1] + __b1_from___b7: + jmp __b1 + // cputc::@1 + __b1: + // [455] call cputln + jsr cputln + jmp __breturn +} + // vera_layer_get_color +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $4d + // [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 -- vbuaa=vbuxx_rol_1 + txa + asl + // [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // [460] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + jmp __b2 + // vera_layer_get_color::@2 + __b2: + // [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 -- vbuaa=pbuc1_derefidx_vbuxx_rol_4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=vbuaa_bor_pbuc1_derefidx_vbuxx + ora vera_layer_textcolor,x + // [463] phi from vera_layer_get_color::@1 vera_layer_get_color::@2 to vera_layer_get_color::@return [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return] + __breturn_from___b1: + __breturn_from___b2: + // [463] phi vera_layer_get_color::return#2 = vera_layer_get_color::return#0 [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return#0] -- register_copy + jmp __breturn + // vera_layer_get_color::@return + __breturn: + // [464] return + rts + // vera_layer_get_color::@1 + __b1: + // [465] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + jmp __breturn_from___b1 +} + // cputln +// Print a newline +cputln: { + .label temp = $49 + // [466] cputln::$2 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [467] cputln::temp#0 = conio_line_text[cputln::$2] -- vwuz1=pwuc1_derefidx_vbuaa + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip -- vwuz1=vwuz1_plus_vwuz2 + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // [469] cputln::$3 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [470] conio_line_text[cputln::$3] = cputln::temp#1 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // [471] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_y,x + // [473] call cscroll + jsr cscroll + jmp __breturn + // cputln::@return + __breturn: + // [474] return + rts +} + // cscroll +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // [475] if(conio_cursor_y[conio_screen_layer]cscroll::@3] + __b3_from___b2: + jmp __b3 + // cscroll::@3 + __b3: + jmp __breturn + // cscroll::@return + __breturn: + // [479] return + rts + // [480] phi from cscroll::@1 to cscroll::@4 [phi:cscroll::@1->cscroll::@4] + __b4_from___b1: + jmp __b4 + // cscroll::@4 + __b4: + // [481] call insertup + jsr insertup + jmp __b5 + // cscroll::@5 + __b5: + // [482] gotoxy::y#2 = conio_screen_height - 1 -- vbuxx=vbuz1_minus_1 + ldx.z conio_screen_height + dex + // [483] call gotoxy + // [201] phi from cscroll::@5 to gotoxy [phi:cscroll::@5->gotoxy] + gotoxy_from___b5: + // [201] phi gotoxy::y#4 = gotoxy::y#2 [phi:cscroll::@5->gotoxy#0] -- register_copy + jsr gotoxy + jmp __breturn +} + // insertup +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $4b + .label width = $4c + .label line = $47 + .label start = $47 + // [484] insertup::cy#0 = conio_cursor_y[conio_screen_layer] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // [485] insertup::width#0 = conio_screen_width << 1 -- vbuz1=vbuz2_rol_1 + lda.z conio_screen_width + asl + sta.z width + // [486] phi from insertup to insertup::@1 [phi:insertup->insertup::@1] + __b1_from_insertup: + // [486] phi insertup::i#2 = 1 [phi:insertup->insertup::@1#0] -- vbuxx=vbuc1 + ldx #1 + jmp __b1 + // insertup::@1 + __b1: + // [487] if(insertup::i#2<=insertup::cy#0) goto insertup::@2 -- vbuxx_le_vbuz1_then_la1 + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // [488] phi from insertup::@1 to insertup::@3 [phi:insertup::@1->insertup::@3] + __b3_from___b1: + jmp __b3 + // insertup::@3 + __b3: + // [489] call clearline + jsr clearline + jmp __breturn + // insertup::@return + __breturn: + // [490] return + rts + // insertup::@2 + __b2: + // [491] insertup::$3 = insertup::i#2 - 1 -- vbuaa=vbuxx_minus_1 + txa + sec + sbc #1 + // [492] insertup::line#0 = insertup::$3 << conio_rowshift -- vwuz1=vbuaa_rol_vbuz2 + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // [493] insertup::start#0 = (byte*)CONIO_SCREEN_TEXT#17 + insertup::line#0 -- pbuz1=pbuz2_plus_vwuz1 + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // [494] memcpy_in_vram::src#0 = insertup::start#0 + conio_rowskip -- pbuz1=pbuz2_plus_vwuz3 + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // [495] memcpy_in_vram::dest#0 = (void*)insertup::start#0 + // [496] memcpy_in_vram::num#0 = insertup::width#0 -- vwuz1=vbuz2 + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // [497] memcpy_in_vram::src#4 = (void*)memcpy_in_vram::src#0 + // [498] call memcpy_in_vram + // [214] phi from insertup::@2 to memcpy_in_vram [phi:insertup::@2->memcpy_in_vram] + memcpy_in_vram_from___b2: + // [214] phi memcpy_in_vram::num#4 = memcpy_in_vram::num#0 [phi:insertup::@2->memcpy_in_vram#0] -- register_copy + // [214] phi memcpy_in_vram::dest_bank#3 = 0 [phi:insertup::@2->memcpy_in_vram#1] -- vbuz1=vbuc1 + lda #0 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = memcpy_in_vram::dest#0 [phi:insertup::@2->memcpy_in_vram#2] -- register_copy + // [214] phi memcpy_in_vram::src_bank#3 = 0 [phi:insertup::@2->memcpy_in_vram#3] -- vbuyy=vbuc1 + ldy #0 + // [214] phi memcpy_in_vram::src#3 = memcpy_in_vram::src#4 [phi:insertup::@2->memcpy_in_vram#4] -- register_copy + jsr memcpy_in_vram + jmp __b4 + // insertup::@4 + __b4: + // [499] insertup::i#1 = ++ insertup::i#2 -- vbuxx=_inc_vbuxx + inx + // [486] phi from insertup::@4 to insertup::@1 [phi:insertup::@4->insertup::@1] + __b1_from___b4: + // [486] phi insertup::i#2 = insertup::i#1 [phi:insertup::@4->insertup::@1#0] -- register_copy + jmp __b1 +} + // clearline +clearline: { + .label addr = $4d + .label c = $49 + // [500] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // [501] clearline::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [502] clearline::addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[clearline::$5] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // [503] clearline::$1 = < clearline::addr#0 -- vbuaa=_lo_pbuz1 + lda.z addr + // [504] *VERA_ADDRX_L = clearline::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_L + // [505] clearline::$2 = > clearline::addr#0 -- vbuaa=_hi_pbuz1 + lda.z addr+1 + // [506] *VERA_ADDRX_M = clearline::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // [507] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // [508] vera_layer_get_color::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [509] call vera_layer_get_color + // [456] phi from clearline to vera_layer_get_color [phi:clearline->vera_layer_get_color] + vera_layer_get_color_from_clearline: + // [456] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#1 [phi:clearline->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // [510] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + jmp __b4 + // clearline::@4 + __b4: + // [511] clearline::color#0 = vera_layer_get_color::return#4 -- vbuxx=vbuaa + tax + // [512] phi from clearline::@4 to clearline::@1 [phi:clearline::@4->clearline::@1] + __b1_from___b4: + // [512] phi clearline::c#2 = 0 [phi:clearline::@4->clearline::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z c + lda #>0 + sta.z c+1 + jmp __b1 + // clearline::@1 + __b1: + // [513] if(clearline::c#2clearline::@1] + __b1_from___b2: + // [512] phi clearline::c#2 = clearline::c#1 [phi:clearline::@2->clearline::@1#0] -- register_copy + jmp __b1 +} + // File Data +.segment Data + VERA_LAYER_WIDTH: .word $20, $40, $80, $100 + VERA_LAYER_HEIGHT: .word $20, $40, $80, $100 + // --- VERA function encapsulation --- + vera_mapbase_offset: .word 0, 0 + vera_mapbase_bank: .byte 0, 0 + vera_mapbase_address: .dword 0, 0 + vera_tilebase_offset: .word 0, 0 + vera_tilebase_bank: .byte 0, 0 + vera_tilebase_address: .dword 0, 0 + vera_layer_rowshift: .byte 0, 0 + vera_layer_rowskip: .word 0, 0 + vera_layer_hflip: .byte 0, 4 + vera_layer_vflip: .byte 0, 8 + vera_layer_config: .word VERA_L0_CONFIG, VERA_L1_CONFIG + vera_layer_enable: .byte VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE + vera_layer_mapbase: .word VERA_L0_MAPBASE, VERA_L1_MAPBASE + vera_layer_tilebase: .word VERA_L0_TILEBASE, VERA_L1_TILEBASE + vera_layer_textcolor: .byte WHITE, WHITE + vera_layer_backcolor: .byte BLUE, BLUE + // The number of bytes on the screen + // The current cursor x-position + conio_cursor_x: .byte 0, 0 + // The current cursor y-position + conio_cursor_y: .byte 0, 0 + // The current text cursor line start + conio_line_text: .word 0, 0 + // Is scrolling enabled when outputting beyond the end of the screen (1: yes, 0: no). + // If disabled the cursor just moves back to (0,0) instead + conio_scroll_enable: .byte 1, 1 + +ASSEMBLER OPTIMIZATIONS +Removing instruction jmp __init1 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b9 +Removing instruction jmp __b2 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b19 +Removing instruction jmp __b20 +Removing instruction jmp textcolor1 +Removing instruction jmp bgcolor1 +Removing instruction jmp __b16 +Removing instruction jmp __b21 +Removing instruction jmp __b22 +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b23 +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b24 +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b25 +Removing instruction jmp __b26 +Removing instruction jmp __b27 +Removing instruction jmp __b28 +Removing instruction jmp __b29 +Removing instruction jmp __b30 +Removing instruction jmp __b31 +Removing instruction jmp __b32 +Removing instruction jmp vera_layer_show1 +Removing instruction jmp __b9 +Removing instruction jmp __b33 +Removing instruction jmp __b10 +Removing instruction jmp __b11 +Removing instruction jmp __b12 +Removing instruction jmp __b34 +Removing instruction jmp __b13 +Removing instruction jmp __b14 +Removing instruction jmp __b35 +Removing instruction jmp __b15 +Removing instruction jmp vera_layer_hide1 +Removing instruction jmp __b17 +Removing instruction jmp __b36 +Removing instruction jmp __b37 +Removing instruction jmp __b38 +Removing instruction jmp textcolor2 +Removing instruction jmp bgcolor2 +Removing instruction jmp __b18 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp vera_layer_get_width1 +Removing instruction jmp vera_layer_get_width1___breturn +Removing instruction jmp __b1 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp vera_layer_get_height1 +Removing instruction jmp vera_layer_get_height1___breturn +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b12 +Removing instruction jmp __b13 +Removing instruction jmp __b14 +Removing instruction jmp __b15 +Removing instruction jmp __b16 +Removing instruction jmp __b19 +Removing instruction jmp __b20 +Removing instruction jmp __b27 +Removing instruction jmp __b28 +Removing instruction jmp __b21 +Removing instruction jmp __b22 +Removing instruction jmp __b23 +Removing instruction jmp __b24 +Removing instruction jmp __b25 +Removing instruction jmp __b26 +Removing instruction jmp __breturn +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b6 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __b2 +Removing instruction jmp __b4 +Removing instruction jmp __b1 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b7 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __breturn +Removing instruction jmp __b6 +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Removing instruction jmp __b4 +Removing instruction jmp __b4 +Removing instruction jmp __b1 +Removing instruction jmp __b3 +Removing instruction jmp __breturn +Succesful ASM optimization Pass5NextJumpElimination +Removing instruction lda #0 +Removing instruction lda #>0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #8 +Removing instruction lda #$10 +Removing instruction lda #0 +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #>0 +Replacing instruction ldx #0 with TAX +Removing instruction lda #1 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Replacing instruction lda #0 with TXA +Removing instruction lda #2 +Removing instruction lda #0 +Removing instruction lda #<0 +Removing instruction lda #>0 +Removing instruction lda #8 +Removing instruction lda #0 +Removing instruction lda #8 +Removing instruction lda #0 +Replacing instruction ldx.z conio_screen_layer with TAX +Removing instruction ldy.z conio_screen_layer +Removing instruction lda #>0 +Replacing instruction lda.z layer with TYA +Replacing instruction ldy.z __19 with TAY +Replacing instruction lda.z layer with TYA +Replacing instruction ldy.z __20 with TAY +Replacing instruction ldx.z __4+1 with TAX +Removing instruction lda.z __10+1 +Replacing instruction lda.z layer with TYA +Replacing instruction lda.z layer with TYA +Replacing instruction lda.z layer with TYA +Removing instruction lda #0 +Removing instruction ldy.z conio_screen_layer +Replacing instruction lda.z conio_screen_layer with TYA +Removing instruction lda #0 +Replacing instruction ldy.z shift with TAY +Removing instruction lda.z vera_vram_address01___2+1 +Removing instruction lda.z ch +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction ldy #0 +Removing instruction lda.z __16+1 +Replacing instruction ldy #0 with TAY +Removing instruction lda #>0 +Succesful ASM optimization Pass5UnnecesaryLoadElimination +Replacing label __b1_from___b9 with __b1 +Replacing label __b2_from___b2 with __b2 +Replacing label __b1_from___b23 with __b1 +Replacing label __b6_from___b24 with __b6 +Replacing label __b5_from___b7 with __b5 +Replacing label __b9_from___b33 with __b9 +Replacing label __b12_from___b34 with __b12 +Replacing label __b11_from___b13 with __b11 +Replacing label __b14_from___b35 with __b14 +Replacing label __b4_from_gotoxy with __b1 +Replacing label __b13_from___b8 with __b13 +Replacing label __b13_from___b8 with __b13 +Replacing label __b20_from___b13 with __b20 +Replacing label __b20_from___b16 with __b20 +Replacing label __b20_from___b16 with __b20 +Replacing label __b23_from___b28 with __b23 +Replacing label __b23_from___b21 with __b23 +Replacing label __b26_from___b23 with __b26 +Replacing label __b26_from___b24 with __b26 +Replacing label __b20_from___b18 with __b20 +Replacing label __b20_from___b17 with __b20 +Replacing label __b13_from___b11 with __b13 +Replacing label __b13_from___b10 with __b13 +Replacing label __b13_from___b9 with __b13 +Replacing label __b1_from___b2 with __b1 +Replacing label __b1_from___b7 with __b1 +Replacing label __breturn_from___b1 with __breturn +Replacing label __breturn with __b3 +Replacing label __b4_from___b1 with __b4 +Replacing label __breturn with __b3 +Replacing label __breturn with __b3 +Replacing label __breturn with __b3 +Removing instruction __b1_from___init1: +Removing instruction main_from___b1: +Removing instruction __b3_from_conio_x16_init: +Removing instruction __b4_from___b3: +Removing instruction __b5_from___b4: +Removing instruction vera_layer_set_textcolor_from___b5: +Removing instruction __b6_from___b5: +Removing instruction vera_layer_set_backcolor_from___b6: +Removing instruction __b7_from___b6: +Removing instruction vera_layer_set_mapbase_from___b7: +Removing instruction __b8_from___b7: +Removing instruction vera_layer_set_mapbase_from___b8: +Removing instruction __b1_from___b2: +Removing instruction __b1_from___b9: +Removing instruction __b19_from_main: +Removing instruction __b20_from___b19: +Removing instruction __b16_from_bgcolor1: +Removing instruction __b21_from___b16: +Removing instruction __b22_from___b21: +Removing instruction memcpy_to_vram_from___b22: +Removing instruction __b1_from___b23: +Removing instruction __b2_from___b1: +Removing instruction __b2_from___b2: +Removing instruction __b4_from___b23: +Removing instruction __b5_from___b7: +Removing instruction __b6_from___b5: +Removing instruction __b6_from___b24: +Removing instruction __b8_from___b7: +Removing instruction gotoxy_from___b8: +Removing instruction __b25_from___b8: +Removing instruction cputs_from___b25: +Removing instruction __b26_from___b25: +Removing instruction cputs_from___b26: +Removing instruction __b27_from___b26: +Removing instruction cputs_from___b27: +Removing instruction __b28_from___b27: +Removing instruction cputs_from___b28: +Removing instruction __b29_from___b28: +Removing instruction cputs_from___b29: +Removing instruction __b30_from___b29: +Removing instruction cputs_from___b30: +Removing instruction __b31_from___b30: +Removing instruction cputs_from___b31: +Removing instruction __b32_from___b31: +Removing instruction cputs_from___b32: +Removing instruction __b9_from___b33: +Removing instruction __b9_from_vera_layer_show1: +Removing instruction __b10_from___b33: +Removing instruction vera_tile_area_from___b10: +Removing instruction __b11_from___b13: +Removing instruction __b12_from___b11: +Removing instruction __b12_from___b34: +Removing instruction vera_tile_area_from___b12: +Removing instruction __b14_from___b13: +Removing instruction __b14_from___b35: +Removing instruction __b15_from___b35: +Removing instruction __b17_from_vera_layer_hide1: +Removing instruction memcpy_in_vram_from___b17: +Removing instruction __b36_from___b17: +Removing instruction vera_layer_mode_tile_from___b36: +Removing instruction __b37_from___b36: +Removing instruction vera_layer_mode_tile_from___b37: +Removing instruction __b38_from___b37: +Removing instruction __b18_from_bgcolor2: +Removing instruction __b1_from_vera_layer_mode_text: +Removing instruction vera_layer_get_width1___breturn: +Removing instruction vera_layer_get_height1___breturn: +Removing instruction __b4_from_gotoxy: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction __b3_from___b1: +Removing instruction __b3: +Removing instruction __b4_from___b3: +Removing instruction __b5_from___b4: +Removing instruction __b13_from___b10: +Removing instruction __b13_from___b11: +Removing instruction __b13_from___b12: +Removing instruction __b13_from___b8: +Removing instruction __b13_from___b9: +Removing instruction __b20_from___b13: +Removing instruction __b20_from___b16: +Removing instruction __b20_from___b17: +Removing instruction __b20_from___b18: +Removing instruction __b20_from___b19: +Removing instruction __b23_from___b21: +Removing instruction __b23_from___b22: +Removing instruction __b23_from___b28: +Removing instruction __b26_from___b23: +Removing instruction __b26_from___b24: +Removing instruction __b26_from___b25: +Removing instruction __b1_from_cputs: +Removing instruction __b1_from___b2: +Removing instruction __b4_from___b3: +Removing instruction __b6_from___b5: +Removing instruction __b1_from___b7: +Removing instruction __breturn_from___b1: +Removing instruction __breturn_from___b2: +Removing instruction __b3_from___b2: +Removing instruction __breturn: +Removing instruction __b4_from___b1: +Removing instruction __b3_from___b1: +Succesful ASM optimization Pass5RedundantLabelElimination +Removing instruction __init1: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction vera_layer_mode_text_from_conio_x16_init: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b9: +Removing instruction __b2: +Removing instruction gotoxy_from___b1: +Removing instruction __breturn: +Removing instruction memcpy_in_vram_from_main: +Removing instruction __b19: +Removing instruction vera_layer_mode_tile_from___b19: +Removing instruction __b20: +Removing instruction textcolor1: +Removing instruction vera_layer_set_textcolor_from_textcolor1: +Removing instruction bgcolor1: +Removing instruction vera_layer_set_backcolor_from_bgcolor1: +Removing instruction __b16: +Removing instruction __b21: +Removing instruction vera_layer_mode_tile_from___b21: +Removing instruction __b22: +Removing instruction __b1_from___b22: +Removing instruction __b3: +Removing instruction memcpy_to_vram_from___b3: +Removing instruction __b23: +Removing instruction __b4: +Removing instruction vera_tile_area_from___b4: +Removing instruction __b5_from___b4: +Removing instruction vera_tile_area_from___b6: +Removing instruction __b24: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b25: +Removing instruction __b26: +Removing instruction __b27: +Removing instruction __b28: +Removing instruction __b29: +Removing instruction __b30: +Removing instruction __b31: +Removing instruction __b32: +Removing instruction vera_layer_show1: +Removing instruction __b33: +Removing instruction __b10: +Removing instruction __b11_from___b10: +Removing instruction __b34: +Removing instruction __b13: +Removing instruction __b35: +Removing instruction __b15: +Removing instruction vera_tile_area_from___b15: +Removing instruction vera_layer_hide1: +Removing instruction __b17: +Removing instruction __b36: +Removing instruction __b37: +Removing instruction __b38: +Removing instruction textcolor2: +Removing instruction vera_layer_set_textcolor_from_textcolor2: +Removing instruction bgcolor2: +Removing instruction vera_layer_set_backcolor_from_bgcolor2: +Removing instruction __b18: +Removing instruction __breturn: +Removing instruction vera_layer_mode_tile_from_vera_layer_mode_text: +Removing instruction __b1: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction vera_layer_get_width1: +Removing instruction __b1: +Removing instruction __b5: +Removing instruction __b6: +Removing instruction vera_layer_get_height1: +Removing instruction __b2: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __b1_from_gotoxy: +Removing instruction __breturn: +Removing instruction __b1_from_memcpy_in_vram: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Removing instruction __b1: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b6: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b12: +Removing instruction __b14: +Removing instruction __b15: +Removing instruction __b16: +Removing instruction __b19: +Removing instruction __b27: +Removing instruction vera_layer_set_mapbase_from___b27: +Removing instruction __b28: +Removing instruction __b21: +Removing instruction __b22: +Removing instruction __b24: +Removing instruction __b25: +Removing instruction __breturn: +Removing instruction __b7: +Removing instruction __b8: +Removing instruction __b1_from___b8: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b4_from___b2: +Removing instruction __b6: +Removing instruction __b1_from___b6: +Removing instruction __b4_from___b5: +Removing instruction __b1_from_memcpy_to_vram: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Removing instruction __b1_from_vera_tile_area: +Removing instruction __breturn: +Removing instruction __b2_from_vera_vram_address01: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction __b2_from___b3: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction __breturn: +Removing instruction vera_layer_get_color_from_cputc: +Removing instruction __b7: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction __b6: +Removing instruction __b2: +Removing instruction __breturn: +Removing instruction __b1: +Removing instruction __b2: +Removing instruction __b5: +Removing instruction gotoxy_from___b5: +Removing instruction __b1_from_insertup: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction memcpy_in_vram_from___b2: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction vera_layer_get_color_from_clearline: +Removing instruction __b4: +Removing instruction __b1_from___b4: +Removing instruction __b3: +Removing instruction __breturn: +Removing instruction __b1_from___b2: +Succesful ASM optimization Pass5UnusedLabelElimination +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __breturn +Replacing jump to rts with rts in jmp __b3 +Succesful ASM optimization Pass5DoubleJumpElimination +Relabelling long label __b5_from_vera_layer_mode_tile to __b1 +Relabelling long label __b5_from___b1 to __b2 +Relabelling long label __b5_from___b2 to __b3 +Relabelling long label __b5_from___b3 to __b4 +Succesful ASM optimization Pass5RelabelLongLabels +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b11 +Removing instruction jmp __b12 +Removing instruction jmp __b1 +Removing instruction bne __b2 +Removing instruction bcc __b3 +Succesful ASM optimization Pass5NextJumpElimination +Removing instruction ldy.z conio_screen_layer +Removing instruction ldy.z conio_screen_layer +Removing instruction ldy.z conio_screen_layer +Removing instruction lda #0 +Succesful ASM optimization Pass5UnnecesaryLoadElimination +Removing instruction __b2: +Removing instruction __breturn: +Succesful ASM optimization Pass5UnusedLabelElimination + +FINAL SYMBOL TABLE +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#15 CONIO_SCREEN_BANK zp[1]:39 66.48502994011976 +byte* CONIO_SCREEN_TEXT +word CONIO_SCREEN_TEXT#17 CONIO_SCREEN_TEXT zp[2]:40 0.4675925925925926 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_POINTER = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*) 40738 +const nomodify byte* VERA_ADDRX_L = (byte*) 40736 +const nomodify byte* VERA_ADDRX_M = (byte*) 40737 +const nomodify byte* VERA_CTRL = (byte*) 40741 +const nomodify byte* VERA_DATA0 = (byte*) 40739 +const nomodify byte* VERA_DATA1 = (byte*) 40740 +const nomodify byte* VERA_DC_HSCALE = (byte*) 40746 +const nomodify byte* VERA_DC_VIDEO = (byte*) 40745 +const nomodify byte* VERA_DC_VSCALE = (byte*) 40747 +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*) 40749 +const nomodify byte* VERA_L0_MAPBASE = (byte*) 40750 +const nomodify byte* VERA_L0_TILEBASE = (byte*) 40751 +const nomodify byte* VERA_L1_CONFIG = (byte*) 40756 +const nomodify byte* VERA_L1_MAPBASE = (byte*) 40757 +const nomodify byte* VERA_L1_TILEBASE = (byte*) 40758 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_2BPP = 1 +const nomodify byte VERA_LAYER_COLOR_DEPTH_4BPP = 2 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte WHITE = 1 +void __start() +void clearline() +byte~ clearline::$1 reg byte a 2.00000002E8 +byte~ clearline::$2 reg byte a 2.00000002E8 +byte~ clearline::$5 reg byte a 2.00000002E8 +byte* clearline::addr +byte* clearline::addr#0 addr zp[2]:77 1.00000001E8 +word clearline::c +word clearline::c#1 c zp[2]:73 2.0000000002E10 +word clearline::c#2 c zp[2]:73 7.50000000075E9 +byte clearline::color +byte clearline::color#0 reg byte x 1.6833333336666665E9 +void clrscr() +byte~ clrscr::$0 reg byte a 202.0 +byte~ clrscr::$1 zp[1]:58 40.4 +byte~ clrscr::$2 reg byte a 202.0 +byte~ clrscr::$5 reg byte a 2002.0 +byte~ clrscr::$6 reg byte a 2002.0 +byte~ clrscr::$7 reg byte a 2002.0 +byte~ clrscr::$9 reg byte a 202.0 +byte clrscr::c +byte clrscr::c#1 reg byte y 20002.0 +byte clrscr::c#2 reg byte y 7500.75 +byte* clrscr::ch +byte clrscr::color +byte clrscr::color#0 color zp[1]:58 594.2352941176471 +byte clrscr::l +byte clrscr::l#1 reg byte x 2002.0 +byte clrscr::l#2 reg byte x 200.2 +byte* clrscr::line_text +byte* clrscr::line_text#0 line_text zp[2]:69 18.363636363636363 +byte* clrscr::line_text#1 line_text zp[2]:69 1001.0 +byte* clrscr::line_text#2 line_text zp[2]:69 293.2142857142857 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore zp[2]:34 6629.834437086093 +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore zp[1]:36 5941177.088235294 +word conio_rowskip loadstore zp[2]:37 5650288.734463277 +volatile byte conio_screen_height loadstore zp[1]:30 76433.29299363057 +byte conio_screen_layer loadstore zp[1]:31 1374285.1199999999 +volatile byte conio_screen_width loadstore zp[1]:29 5.191715029015544E7 +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore zp[2]:32 131.40522875816993 +void conio_x16_init() +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*) 214 +byte conio_x16_init::line +byte conio_x16_init::line#0 line zp[1]:2 2.1999999999999997 +byte conio_x16_init::line#1 line zp[1]:2 22.0 +byte conio_x16_init::line#3 line zp[1]:2 33.0 +void cputc(byte cputc::c) +byte~ cputc::$15 reg byte a 20002.0 +word~ cputc::$16 zp[2]:71 20002.0 +byte~ cputc::$2 reg byte a 20002.0 +byte~ cputc::$4 reg byte a 20002.0 +byte~ cputc::$5 reg byte a 20002.0 +byte~ cputc::$6 reg byte a 20002.0 +byte cputc::c +byte cputc::c#0 c zp[1]:63 1235.4705882352941 +byte cputc::color +byte cputc::color#0 reg byte x 1428.7142857142858 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 conio_addr zp[2]:69 10001.0 +byte* cputc::conio_addr#1 conio_addr zp[2]:69 6000.6 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 reg byte a 20002.0 +void cputln() +byte~ cputln::$2 reg byte a 200002.0 +byte~ cputln::$3 reg byte a 200002.0 +word cputln::temp +word cputln::temp#0 temp zp[2]:73 200002.0 +word cputln::temp#1 temp zp[2]:73 100001.0 +void cputs(to_nomodify byte* cputs::s) +byte cputs::c +byte cputs::c#1 reg byte a 1001.0 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 s zp[2]:59 500.5 +to_nomodify byte* cputs::s#10 s zp[2]:59 101.0 +to_nomodify byte* cputs::s#9 s zp[2]:59 1552.0 +void cscroll() +void gotoxy(byte gotoxy::x , byte gotoxy::y) +byte~ gotoxy::$5 reg byte a 2.0000002E7 +word~ gotoxy::$6 zp[2]:44 2.0000002E7 +word gotoxy::line_offset +word gotoxy::line_offset#0 line_offset zp[2]:44 1.0000001E7 +byte gotoxy::x +byte gotoxy::y +byte gotoxy::y#0 reg byte x 22.0 +byte gotoxy::y#2 reg byte x 2000002.0 +byte gotoxy::y#4 reg byte x 7000004.666666666 +byte gotoxy::y#5 reg byte x 4000000.4 +void insertup() +byte~ insertup::$3 reg byte a 2.000000002E9 +byte insertup::cy +byte insertup::cy#0 cy zp[1]:75 7.769230784615384E7 +byte insertup::i +byte insertup::i#1 reg byte x 2.000000002E9 +byte insertup::i#2 reg byte x 4.000000004E8 +word insertup::line +word insertup::line#0 line zp[2]:71 2.000000002E9 +byte* insertup::start +byte* insertup::start#0 start zp[2]:71 1.000000001E9 +byte insertup::width +byte insertup::width#0 width zp[1]:76 8.416666683333334E7 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*) 65508 +const nomodify byte* kbhit::IN_DEV = (byte*) 650 +volatile byte kbhit::ch loadstore zp[1]:64 1001.0 +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 reg byte a 2002.0 +byte kbhit::return#1 reg byte a 300.75 +byte kbhit::return#2 reg byte a 202.0 +byte kbhit::return#3 reg byte a 202.0 +void main() +byte~ main::$35 reg byte a 202.0 +byte~ main::$40 reg byte a 202.0 +byte main::bgcolor1_color +byte main::bgcolor2_color +byte main::c +byte main::c#1 c zp[1]:10 1501.5 +byte main::c#2 c zp[1]:10 250.25 +byte main::c1 +byte main::c1#1 reg byte x 1501.5 +byte main::c1#2 reg byte x 250.25 +byte main::column +byte main::column#1 reg byte x 400.4 +byte main::column#2 reg byte x 600.5999999999999 +byte main::column1 +byte main::column1#1 column1 zp[1]:12 400.4 +byte main::column1#2 column1 zp[1]:12 600.5999999999999 +byte main::p +byte main::p#1 reg byte x 1501.5 +byte main::p#2 reg byte x 2002.0 +byte main::r +byte main::r#1 r zp[1]:7 151.5 +byte main::r#5 r zp[1]:7 16.833333333333332 +byte main::r1 +byte main::r1#1 r1 zp[1]:11 151.5 +byte main::r1#5 r1 zp[1]:11 16.833333333333332 +byte main::row +byte main::row#1 row zp[1]:6 67.33333333333333 +byte main::row#10 row zp[1]:6 109.36363636363637 +byte main::row#3 row zp[1]:6 67.33333333333333 +byte main::row#9 row zp[1]:6 109.36363636363637 +const byte* main::s[$38] = "vera in tile mode 8 x 8, color depth 8 bits per pixel. +" +const byte* main::s1[$3a] = "in this mode, tiles are 8 pixels wide and 8 pixels tall. +" +const byte* main::s2[$2f] = "each tile can have a variation of 256 colors. +" +const byte* main::s3[$44] = "the vera palette of 256 colors, can be used by setting the palette +" +const byte* main::s4[$17] = "offset for each tile. +" +const byte* main::s5[$4b] = "here each column is displaying the same tile, but with different offsets! +" +const byte* main::s6[$3f] = "each offset aligns to multiples of 16 colors in the palette!. +" +const byte* main::s7[$3e] = "however, the first color will always be transparent (black). +" +byte main::t +byte main::t#1 t zp[1]:5 151.5 +byte main::t#5 t zp[1]:5 25.25 +byte main::textcolor1_color +byte main::textcolor2_color +word main::tile +word main::tile#1 tile zp[2]:8 2002.0 +word main::tile#10 tile zp[2]:8 202.0 +word main::tile#11 tile zp[2]:8 202.0 +word main::tile#12 tile zp[2]:8 350.5 +word main::tile#13 tile zp[2]:8 350.5 +word main::tile#4 tile zp[2]:8 2002.0 +word main::tile#6 tile zp[2]:8 517.3333333333334 +word main::tile#8 tile zp[2]:8 517.3333333333334 +word main::tilebase +word main::tilebase#2 tilebase zp[2]:3 67.33333333333333 +word main::tilebase#7 tilebase zp[2]:3 28.857142857142858 +const byte* main::tiles[$100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +byte~ main::vera_layer_hide1_$0 reg byte a 22.0 +byte main::vera_layer_hide1_layer +byte main::vera_layer_show1_layer +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$1 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$2 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$3 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$4 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$5 reg byte a 2.0000000002E10 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 dest zp[2]:71 6.666666673333334E8 +void* memcpy_in_vram::dest#3 dest zp[2]:71 1.9090909093636363E9 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#3 dest_bank zp[1]:24 7.692307693076923E8 +byte memcpy_in_vram::dest_increment +word memcpy_in_vram::i +word memcpy_in_vram::i#1 i zp[2]:73 2.00000000002E11 +word memcpy_in_vram::i#2 i zp[2]:73 1.00000000001E11 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 num zp[2]:77 1.000000001E9 +word memcpy_in_vram::num#4 num zp[2]:77 5.315789473789474E9 +void* memcpy_in_vram::src +byte* memcpy_in_vram::src#0 src zp[2]:69 3.333333336666667E8 +void* memcpy_in_vram::src#3 src zp[2]:69 5.25000000075E9 +void* memcpy_in_vram::src#4 src zp[2]:69 2.000000002E9 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_bank#3 reg byte y 1.6666666668333333E9 +byte memcpy_in_vram::src_increment +void memcpy_to_vram(byte memcpy_to_vram::vbank , void* memcpy_to_vram::vdest , void* memcpy_to_vram::src , word memcpy_to_vram::num) +byte~ memcpy_to_vram::$0 reg byte a 2002.0 +byte~ memcpy_to_vram::$1 reg byte a 2002.0 +byte* memcpy_to_vram::end +const byte* memcpy_to_vram::end#0 end = (byte*)(void*)main::tiles+$100 +word memcpy_to_vram::num +byte* memcpy_to_vram::s +byte* memcpy_to_vram::s#1 s zp[2]:77 200002.0 +byte* memcpy_to_vram::s#2 s zp[2]:77 133334.66666666666 +void* memcpy_to_vram::src +byte memcpy_to_vram::vbank +void* memcpy_to_vram::vdest +void* memcpy_to_vram::vdest#1 vdest zp[2]:71 202.0 +void* memcpy_to_vram::vdest#2 vdest zp[2]:71 525.75 +void screenlayer(byte screenlayer::layer) +word~ screenlayer::$2 zp[2]:52 202.0 +byte~ screenlayer::$3 reg byte a 202.0 +word~ screenlayer::$4 zp[2]:44 202.0 +word~ screenlayer::$5 zp[2]:49 202.0 +byte screenlayer::layer +byte~ screenlayer::vera_layer_get_height1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 vera_layer_get_height1_config zp[2]:46 202.0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 vera_layer_get_height1_return zp[2]:49 202.0 +word screenlayer::vera_layer_get_height1_return#1 vera_layer_get_height1_return zp[2]:49 202.0 +byte~ screenlayer::vera_layer_get_width1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 vera_layer_get_width1_config zp[2]:42 202.0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 vera_layer_get_width1_return zp[2]:52 202.0 +word screenlayer::vera_layer_get_width1_return#1 vera_layer_get_width1_return zp[2]:52 202.0 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$1 reg byte a 202.0 +byte~ screensize::$3 reg byte a 202.0 +byte screensize::hscale +byte screensize::hscale#0 reg byte a 202.0 +byte screensize::vscale +byte screensize::vscale#0 reg byte a 202.0 +byte* screensize::x +const byte* screensize::x#0 x = &conio_screen_width +byte* screensize::y +const byte* screensize::y#0 y = &conio_screen_height +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_backcolor::return#2 reg byte a 202.0 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$1 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$3 reg byte a 2.000000002E9 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 addr zp[2]:77 2.000000002E9 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 reg byte x 20002.0 +byte vera_layer_get_color::layer#1 reg byte x 2.00000002E8 +byte vera_layer_get_color::layer#2 reg byte x 6.833350010000001E8 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#1 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#2 reg byte a 5.25002501E8 +byte vera_layer_get_color::return#3 reg byte a 20002.0 +byte vera_layer_get_color::return#4 reg byte a 2.00000002E8 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 reg byte x 1102.0 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_mapbase_bank::return#2 reg byte a 202.0 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 reg byte a 2002.0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 reg byte a 1102.0 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 return zp[2]:44 367.33333333333337 +word vera_layer_get_mapbase_offset::return#2 return zp[2]:44 202.0 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 reg byte x 1102.0 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_rowshift::return#2 reg byte a 202.0 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 reg byte a 2002.0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 reg byte a 1102.0 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 return zp[2]:44 367.33333333333337 +word vera_layer_get_rowskip::return#2 return zp[2]:44 202.0 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_textcolor::return#2 reg byte a 202.0 +const to_nomodify byte* vera_layer_hflip[2] = { 0, 4 } +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +byte vera_layer_mode_text::layer +const byte vera_layer_mode_text::layer#0 layer = 1 +dword vera_layer_mode_text::mapbase_address +const dword vera_layer_mode_text::mapbase_address#0 mapbase_address = 0 +word vera_layer_mode_text::mapheight +const word vera_layer_mode_text::mapheight#0 mapheight = $40 +word vera_layer_mode_text::mapwidth +const word vera_layer_mode_text::mapwidth#0 mapwidth = $80 +dword vera_layer_mode_text::tilebase_address +const dword vera_layer_mode_text::tilebase_address#0 tilebase_address = $f800 +byte vera_layer_mode_text::tileheight +const byte vera_layer_mode_text::tileheight#0 tileheight = 8 +byte vera_layer_mode_text::tilewidth +const byte vera_layer_mode_text::tilewidth#0 tilewidth = 8 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 zp[2]:46 1001.0 +word~ vera_layer_mode_tile::$10 zp[2]:56 2002.0 +byte~ vera_layer_mode_tile::$13 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$14 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$15 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$16 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$19 zp[1]:48 231.0 +word~ vera_layer_mode_tile::$2 zp[2]:49 1001.0 +byte~ vera_layer_mode_tile::$20 zp[1]:51 250.25 +word~ vera_layer_mode_tile::$4 zp[2]:65 2002.0 +word~ vera_layer_mode_tile::$7 zp[2]:52 2002.0 +word~ vera_layer_mode_tile::$8 zp[2]:54 1001.0 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::color_depth#5 reg byte x 1001.0 +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#10 reg byte x 2002.0 +byte vera_layer_mode_tile::config#11 reg byte x 2002.0 +byte vera_layer_mode_tile::config#12 reg byte x 2002.0 +byte vera_layer_mode_tile::config#17 reg byte x 625.625 +byte vera_layer_mode_tile::config#21 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::config#25 reg byte x 3003.0 +byte vera_layer_mode_tile::config#6 reg byte x 500.5 +byte vera_layer_mode_tile::config#7 reg byte x 500.5 +byte vera_layer_mode_tile::config#8 reg byte x 500.5 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#10 layer zp[1]:13 220.80882352941177 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 reg byte x 1001.0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 mapbase_address zp[4]:14 2002.0 +dword vera_layer_mode_tile::mapbase_address#10 mapbase_address zp[4]:14 88.97777777777777 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#10 mapheight zp[2]:42 133.46666666666667 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#10 mapwidth zp[2]:44 400.4 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 reg byte a 2002.0 +byte vera_layer_mode_tile::tilebase#1 reg byte x 1334.6666666666667 +byte vera_layer_mode_tile::tilebase#10 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#12 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::tilebase#3 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#5 reg byte x 2002.0 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 tilebase_address zp[4]:18 2002.0 +dword vera_layer_mode_tile::tilebase_address#10 tilebase_address zp[4]:18 71.5 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#10 tileheight zp[1]:23 30.8 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#10 tilewidth zp[1]:22 32.81967213114754 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#3 reg byte a 101.0 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#3 reg byte x 123.0 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::return +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 reg byte a 20002.0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 addr zp[2]:67 20002.0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 reg byte x 3667.333333333333 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 reg byte a 5501.0 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 reg byte a 20002.0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 addr zp[2]:52 20002.0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 reg byte a 1001.0 +byte vera_layer_set_mapbase::layer#3 reg byte a 11002.0 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 reg byte x 2002.0 +byte vera_layer_set_mapbase::mapbase#3 reg byte x 3667.333333333333 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 addr zp[2]:65 2502.5 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#3 reg byte x 123.0 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::return +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 reg byte a 20002.0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 addr zp[2]:67 20002.0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 reg byte a 5501.0 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 reg byte x 3667.333333333333 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const to_nomodify byte* vera_layer_vflip[2] = { 0, 8 } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +word~ vera_tile_area::$10 zp[2]:69 20002.0 +word~ vera_tile_area::$4 zp[2]:69 20002.0 +byte~ vera_tile_area::$5 reg byte a 20002.0 +byte vera_tile_area::c +byte vera_tile_area::c#1 reg byte y 2.00000002E8 +byte vera_tile_area::c#2 reg byte y 7.500000075E7 +byte vera_tile_area::h +byte vera_tile_area::h#6 h zp[1]:24 285714.3142857143 +byte vera_tile_area::hflip +byte vera_tile_area::hflip#0 hflip zp[1]:76 5000.5 +byte vera_tile_area::index_h +byte vera_tile_area::index_h#0 reg byte a 20002.0 +byte vera_tile_area::index_h#1 reg byte a 20002.0 +byte vera_tile_area::index_h#2 index_h zp[1]:61 3846538.5384615385 +byte vera_tile_area::index_l +byte vera_tile_area::index_l#0 index_l zp[1]:62 3448620.7586206896 +byte vera_tile_area::layer +dword vera_tile_area::mapbase +dword vera_tile_area::mapbase#0 mapbase zp[4]:25 1818.3636363636363 +dword vera_tile_area::mapbase#1 mapbase zp[4]:25 10001.0 +dword vera_tile_area::mapbase#10 mapbase zp[4]:25 2778333.6666666665 +dword vera_tile_area::mapbase#2 mapbase zp[4]:25 20002.0 +dword vera_tile_area::mapbase#3 mapbase zp[4]:25 1.0000001E7 +byte vera_tile_area::offset +byte vera_tile_area::r +byte vera_tile_area::r#1 r zp[1]:63 2.0000002E7 +byte vera_tile_area::r#2 r zp[1]:63 1578947.5263157894 +word vera_tile_area::rowskip +word vera_tile_area::rowskip#0 rowskip zp[2]:59 312812.5625 +byte vera_tile_area::shift +byte vera_tile_area::shift#0 shift zp[1]:75 3333.6666666666665 +word vera_tile_area::tileindex +word vera_tile_area::tileindex#1 tileindex zp[2]:8 667.3333333333334 +word vera_tile_area::tileindex#3 tileindex zp[2]:8 667.3333333333334 +word vera_tile_area::tileindex#5 tileindex zp[2]:8 3143.4285714285716 +word~ vera_tile_area::vera_vram_address01_$0 zp[2]:71 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$1 reg byte a 2.0000002E7 +word~ vera_tile_area::vera_vram_address01_$2 zp[2]:77 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$3 reg byte a 2.0000002E7 +word~ vera_tile_area::vera_vram_address01_$4 zp[2]:73 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$5 reg byte a 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$6 reg byte a 2.0000002E7 +dword vera_tile_area::vera_vram_address01_bankaddr +byte vera_tile_area::vera_vram_address01_incr +byte vera_tile_area::vflip +byte vera_tile_area::vflip#0 vflip zp[1]:61 5000.5 +byte vera_tile_area::w +byte vera_tile_area::w#11 w zp[1]:58 2857142.8857142855 +byte vera_tile_area::x +byte vera_tile_area::x#1 x zp[1]:12 1001.0 +byte vera_tile_area::x#3 x zp[1]:12 1001.0 +byte vera_tile_area::x#5 x zp[1]:12 923.3076923076923 +byte vera_tile_area::y +byte vera_tile_area::y#1 y zp[1]:6 2002.0 +byte vera_tile_area::y#3 y zp[1]:6 2002.0 +byte vera_tile_area::y#5 y zp[1]:6 200.2 +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +zp[2]:3 [ main::tilebase#7 main::tilebase#2 ] +zp[1]:5 [ main::t#5 main::t#1 ] +reg byte x [ main::p#2 main::p#1 ] +zp[1]:6 [ main::row#9 main::row#1 vera_tile_area::y#5 vera_tile_area::y#3 vera_tile_area::y#1 main::row#10 main::row#3 ] +zp[1]:7 [ main::r#5 main::r#1 ] +zp[2]:8 [ main::tile#6 main::tile#10 main::tile#12 main::tile#1 vera_tile_area::tileindex#5 vera_tile_area::tileindex#3 vera_tile_area::tileindex#1 main::tile#8 main::tile#11 main::tile#13 main::tile#4 ] +reg byte x [ main::column#2 main::column#1 ] +zp[1]:10 [ main::c#2 main::c#1 ] +zp[1]:11 [ main::r1#5 main::r1#1 ] +zp[1]:12 [ main::column1#2 main::column1#1 vera_tile_area::x#5 vera_tile_area::x#3 vera_tile_area::x#1 ] +reg byte x [ main::c1#2 main::c1#1 ] +reg byte x [ vera_layer_set_textcolor::layer#3 vera_layer_set_textcolor::layer#1 vera_layer_set_textcolor::layer#2 ] +reg byte x [ vera_layer_set_backcolor::layer#3 vera_layer_set_backcolor::layer#1 vera_layer_set_backcolor::layer#2 ] +reg byte a [ vera_layer_set_backcolor::color#3 ] +reg byte a [ vera_layer_set_mapbase::layer#3 vera_layer_set_mapbase::layer#0 ] +reg byte x [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +reg byte x [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#0 gotoxy::y#2 ] +reg byte y [ memcpy_in_vram::src_bank#3 ] +reg byte x [ vera_layer_mode_tile::color_depth#5 ] +zp[1]:13 [ vera_layer_mode_tile::layer#10 ] +zp[4]:14 [ vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::mapbase_address#0 ] +zp[4]:18 [ vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilebase_address#0 ] +zp[1]:22 [ vera_layer_mode_tile::tilewidth#10 ] +zp[1]:23 [ vera_layer_mode_tile::tileheight#10 ] +reg byte x [ vera_layer_mode_tile::config#25 vera_layer_mode_tile::config#21 vera_layer_mode_tile::config#17 vera_layer_mode_tile::config#6 vera_layer_mode_tile::config#7 vera_layer_mode_tile::config#8 vera_layer_mode_tile::config#10 vera_layer_mode_tile::config#11 vera_layer_mode_tile::config#12 ] +reg byte x [ vera_layer_mode_tile::tilebase#10 vera_layer_mode_tile::tilebase#12 vera_layer_mode_tile::tilebase#1 vera_layer_mode_tile::tilebase#3 vera_layer_mode_tile::tilebase#5 ] +reg byte x [ clrscr::l#2 clrscr::l#1 ] +reg byte y [ clrscr::c#2 clrscr::c#1 ] +zp[1]:24 [ vera_tile_area::h#6 memcpy_in_vram::dest_bank#3 ] +zp[4]:25 [ vera_tile_area::mapbase#10 vera_tile_area::mapbase#2 vera_tile_area::mapbase#3 vera_tile_area::mapbase#1 vera_tile_area::mapbase#0 ] +reg byte y [ vera_tile_area::c#2 vera_tile_area::c#1 ] +reg byte x [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +reg byte a [ vera_layer_get_color::return#2 vera_layer_get_color::return#0 vera_layer_get_color::return#1 ] +reg byte x [ insertup::i#2 insertup::i#1 ] +zp[1]:29 [ conio_screen_width ] +zp[1]:30 [ conio_screen_height ] +zp[1]:31 [ conio_screen_layer ] +zp[2]:32 [ conio_width ] +zp[2]:34 [ conio_height ] +zp[1]:36 [ conio_rowshift ] +zp[2]:37 [ conio_rowskip ] +reg byte a [ kbhit::return#2 ] +reg byte a [ main::$35 ] +reg byte a [ kbhit::return#3 ] +reg byte a [ main::$40 ] +reg byte a [ main::vera_layer_hide1_$0 ] +reg byte a [ screensize::hscale#0 ] +reg byte a [ screensize::$1 ] +reg byte a [ screensize::vscale#0 ] +reg byte a [ screensize::$3 ] +reg byte x [ vera_layer_get_mapbase_bank::layer#0 ] +reg byte a [ vera_layer_get_mapbase_bank::return#2 ] +zp[1]:39 [ CONIO_SCREEN_BANK#15 ] +reg byte a [ vera_layer_get_mapbase_offset::layer#0 ] +zp[2]:40 [ CONIO_SCREEN_TEXT#17 ] +reg byte a [ screenlayer::vera_layer_get_width1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$2 ] +zp[2]:42 [ screenlayer::vera_layer_get_width1_config#0 vera_layer_mode_tile::mapheight#10 ] +reg byte a [ screenlayer::vera_layer_get_width1_$0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$1 ] +reg byte a [ screenlayer::vera_layer_get_width1_$3 ] +reg byte x [ vera_layer_get_rowshift::layer#0 ] +reg byte a [ vera_layer_get_rowshift::return#2 ] +reg byte a [ screenlayer::$3 ] +reg byte a [ vera_layer_get_rowskip::layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$2 ] +reg byte a [ screenlayer::vera_layer_get_height1_$0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$1 ] +reg byte a [ screenlayer::vera_layer_get_height1_$3 ] +reg byte a [ vera_layer_set_mapbase::$0 ] +zp[2]:44 [ gotoxy::$6 gotoxy::line_offset#0 vera_layer_get_rowskip::return#2 screenlayer::$4 vera_layer_get_rowskip::return#0 vera_layer_get_mapbase_offset::return#2 vera_layer_get_mapbase_offset::return#0 vera_layer_mode_tile::mapwidth#10 ] +reg byte a [ gotoxy::$5 ] +reg byte a [ memcpy_in_vram::$0 ] +reg byte a [ memcpy_in_vram::$1 ] +reg byte a [ memcpy_in_vram::$2 ] +reg byte a [ memcpy_in_vram::$3 ] +reg byte a [ memcpy_in_vram::$4 ] +reg byte a [ memcpy_in_vram::$5 ] +reg byte a [ vera_layer_mode_tile::$16 ] +reg byte a [ vera_layer_set_config::layer#0 ] +reg byte x [ vera_layer_set_config::config#0 ] +zp[2]:46 [ vera_layer_mode_tile::$1 screenlayer::vera_layer_get_height1_config#0 ] +zp[1]:48 [ vera_layer_mode_tile::$19 ] +zp[2]:49 [ vera_layer_mode_tile::$2 screenlayer::vera_layer_get_height1_return#0 screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 ] +zp[1]:51 [ vera_layer_mode_tile::$20 ] +reg byte x [ vera_layer_mode_tile::mapbase#0 ] +zp[2]:52 [ vera_layer_mode_tile::$7 vera_layer_set_mapbase::addr#0 screenlayer::vera_layer_get_width1_return#0 screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 ] +zp[2]:54 [ vera_layer_mode_tile::$8 ] +zp[2]:56 [ vera_layer_mode_tile::$10 ] +reg byte a [ vera_layer_mode_tile::tilebase#0 ] +reg byte a [ vera_layer_set_tilebase::layer#0 ] +reg byte x [ vera_layer_set_tilebase::tilebase#0 ] +reg byte a [ vera_layer_mode_tile::$15 ] +reg byte a [ vera_layer_mode_tile::$14 ] +reg byte a [ vera_layer_mode_tile::$13 ] +reg byte x [ vera_layer_get_backcolor::layer#0 ] +reg byte a [ vera_layer_get_backcolor::return#2 ] +reg byte a [ clrscr::$0 ] +zp[1]:58 [ clrscr::$1 clrscr::color#0 vera_tile_area::w#11 ] +reg byte x [ vera_layer_get_textcolor::layer#0 ] +reg byte a [ vera_layer_get_textcolor::return#2 ] +reg byte a [ clrscr::$2 ] +reg byte a [ clrscr::$9 ] +reg byte a [ clrscr::$5 ] +reg byte a [ clrscr::$6 ] +reg byte a [ clrscr::$7 ] +reg byte a [ memcpy_to_vram::$0 ] +reg byte a [ memcpy_to_vram::$1 ] +zp[2]:59 [ vera_tile_area::rowskip#0 cputs::s#9 cputs::s#10 cputs::s#0 ] +zp[1]:61 [ vera_tile_area::vflip#0 vera_tile_area::index_h#2 ] +zp[1]:62 [ vera_tile_area::index_l#0 ] +reg byte a [ vera_tile_area::index_h#0 ] +reg byte a [ vera_tile_area::index_h#1 ] +reg byte a [ vera_tile_area::$5 ] +reg byte a [ vera_tile_area::vera_vram_address01_$1 ] +reg byte a [ vera_tile_area::vera_vram_address01_$3 ] +reg byte a [ vera_tile_area::vera_vram_address01_$5 ] +reg byte a [ vera_tile_area::vera_vram_address01_$6 ] +reg byte a [ cputs::c#1 ] +zp[1]:63 [ cputc::c#0 vera_tile_area::r#2 vera_tile_area::r#1 ] +zp[1]:64 [ kbhit::ch ] +reg byte a [ kbhit::return#0 ] +reg byte a [ kbhit::return#1 ] +zp[2]:65 [ vera_layer_set_text_color_mode::addr#0 vera_layer_mode_tile::$4 ] +reg byte a [ vera_layer_get_mapbase_bank::return#0 ] +reg byte a [ vera_layer_get_mapbase_offset::$0 ] +reg byte a [ vera_layer_get_rowshift::return#0 ] +reg byte a [ vera_layer_get_rowskip::$0 ] +reg byte a [ vera_layer_set_config::$0 ] +reg byte a [ vera_layer_set_tilebase::$0 ] +zp[2]:67 [ vera_layer_set_tilebase::addr#0 vera_layer_set_config::addr#0 ] +reg byte a [ vera_layer_get_backcolor::return#0 ] +reg byte a [ vera_layer_get_textcolor::return#0 ] +reg byte a [ vera_layer_get_color::return#3 ] +reg byte x [ cputc::color#0 ] +reg byte a [ cputc::$15 ] +zp[2]:69 [ cputc::conio_addr#0 cputc::conio_addr#1 vera_tile_area::$10 vera_tile_area::$4 clrscr::line_text#2 clrscr::line_text#1 clrscr::line_text#0 memcpy_in_vram::src#3 memcpy_in_vram::src#4 memcpy_in_vram::src#0 ] +reg byte a [ cputc::$2 ] +reg byte a [ cputc::$4 ] +reg byte a [ cputc::$5 ] +reg byte a [ cputc::$6 ] +reg byte a [ cputc::scroll_enable#0 ] +zp[2]:71 [ cputc::$16 vera_tile_area::vera_vram_address01_$0 memcpy_to_vram::vdest#2 memcpy_to_vram::vdest#1 memcpy_in_vram::dest#3 memcpy_in_vram::dest#0 insertup::start#0 insertup::line#0 ] +reg byte a [ vera_layer_get_color::$3 ] +reg byte a [ vera_layer_get_color::$0 ] +reg byte a [ vera_layer_get_color::$1 ] +reg byte a [ cputln::$2 ] +zp[2]:73 [ cputln::temp#0 cputln::temp#1 vera_tile_area::vera_vram_address01_$4 clearline::c#2 clearline::c#1 memcpy_in_vram::i#2 memcpy_in_vram::i#1 ] +reg byte a [ cputln::$3 ] +zp[1]:75 [ insertup::cy#0 vera_tile_area::shift#0 ] +zp[1]:76 [ insertup::width#0 vera_tile_area::hflip#0 ] +reg byte a [ insertup::$3 ] +reg byte a [ clearline::$5 ] +zp[2]:77 [ clearline::addr#0 vera_layer_get_color::addr#0 vera_tile_area::vera_vram_address01_$2 memcpy_to_vram::s#2 memcpy_to_vram::s#1 memcpy_in_vram::num#4 memcpy_in_vram::num#0 ] +reg byte a [ clearline::$1 ] +reg byte a [ clearline::$2 ] +reg byte a [ vera_layer_get_color::return#4 ] +reg byte x [ clearline::color#0 ] + + +FINAL ASSEMBLER +Score: 430892 + + // File Comments +// Example program for the Commander X16. +// Demonstrates the usage of the VERA tile map modes and layering. + // Upstart +.cpu _65c02 + // Commodore 64 PRG executable file +.file [name="tilemap_8bpp_16_x_16.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$0801] +.segmentdef Code [start=$80d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(__start) + // Global Constants & labels + // The colors of the CX16 + .const BLACK = 0 + .const WHITE = 1 + .const BLUE = 6 + .const VERA_INC_1 = $10 + .const VERA_ADDRSEL = 1 + .const VERA_LAYER1_ENABLE = $20 + .const VERA_LAYER0_ENABLE = $10 + .const VERA_LAYER_WIDTH_64 = $10 + .const VERA_LAYER_WIDTH_128 = $20 + .const VERA_LAYER_WIDTH_256 = $30 + .const VERA_LAYER_WIDTH_MASK = $30 + .const VERA_LAYER_HEIGHT_64 = $40 + .const VERA_LAYER_HEIGHT_128 = $80 + .const VERA_LAYER_HEIGHT_256 = $c0 + .const VERA_LAYER_HEIGHT_MASK = $c0 + // Bit 0-1: Color Depth (0: 1 bpp, 1: 2 bpp, 2: 4 bpp, 3: 8 bpp) + .const VERA_LAYER_COLOR_DEPTH_1BPP = 0 + .const VERA_LAYER_COLOR_DEPTH_2BPP = 1 + .const VERA_LAYER_COLOR_DEPTH_4BPP = 2 + .const VERA_LAYER_COLOR_DEPTH_8BPP = 3 + .const VERA_LAYER_CONFIG_256C = 8 + .const VERA_TILEBASE_WIDTH_16 = 1 + .const VERA_TILEBASE_HEIGHT_16 = 2 + .const VERA_LAYER_TILEBASE_MASK = $fc + .const SIZEOF_POINTER = 2 + // $9F20 VRAM Address (7:0) + .label VERA_ADDRX_L = $9f20 + // $9F21 VRAM Address (15:8) + .label VERA_ADDRX_M = $9f21 + // $9F22 VRAM Address (7:0) + // Bit 4-7: Address Increment The following is the amount incremented per value value:increment + // 0:0, 1:1, 2:2, 3:4, 4:8, 5:16, 6:32, 7:64, 8:128, 9:256, 10:512, 11:40, 12:80, 13:160, 14:320, 15:640 + // Bit 3: DECR Setting the DECR bit, will decrement instead of increment by the value set by the 'Address Increment' field. + // Bit 0: VRAM Address (16) + .label VERA_ADDRX_H = $9f22 + // $9F23 DATA0 VRAM Data port 0 + .label VERA_DATA0 = $9f23 + // $9F24 DATA1 VRAM Data port 1 + .label VERA_DATA1 = $9f24 + // $9F25 CTRL Control + // Bit 7: Reset + // Bit 1: DCSEL + // Bit 2: ADDRSEL + .label VERA_CTRL = $9f25 + // $9F29 DC_VIDEO (DCSEL=0) + // Bit 7: Current Field Read-only bit which reflects the active interlaced field in composite and RGB modes. (0: even, 1: odd) + // Bit 6: Sprites Enable Enable output from the Sprites renderer + // Bit 5: Layer1 Enable Enable output from the Layer1 renderer + // Bit 4: Layer0 Enable Enable output from the Layer0 renderer + // Bit 2: Chroma Disable Setting 'Chroma Disable' disables output of chroma in NTSC composite mode and will give a better picture on a monochrome display. (Setting this bit will also disable the chroma output on the S-video output.) + // Bit 0-1: Output Mode 0: Video disabled, 1: VGA output, 2: NTSC composite, 3: RGB interlaced, composite sync (via VGA connector) + .label VERA_DC_VIDEO = $9f29 + // $9F2A DC_HSCALE (DCSEL=0) Active Display H-Scale + .label VERA_DC_HSCALE = $9f2a + // $9F2B DC_VSCALE (DCSEL=0) Active Display V-Scale + .label VERA_DC_VSCALE = $9f2b + // $9F2D L0_CONFIG Layer 0 Configuration + .label VERA_L0_CONFIG = $9f2d + // $9F2E L0_MAPBASE Layer 0 Map Base Address (16:9) + .label VERA_L0_MAPBASE = $9f2e + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L0_TILEBASE = $9f2f + // $9F34 L1_CONFIG Layer 1 Configuration + .label VERA_L1_CONFIG = $9f34 + // $9F35 L1_MAPBASE Layer 1 Map Base Address (16:9) + .label VERA_L1_MAPBASE = $9f35 + // $9F36 L1_TILEBASE Layer 1 Tile Base + // Bit 2-7: Tile Base Address (16:11) + // Bit 1: Tile Height (0:8 pixels, 1:16 pixels) + // Bit 0: Tile Width (0:8 pixels, 1:16 pixels) + .label VERA_L1_TILEBASE = $9f36 + // Variable holding the screen width; + .label conio_screen_width = $1d + // Variable holding the screen height; + .label conio_screen_height = $1e + // Variable holding the screen layer on the VERA card with which conio interacts; + .label conio_screen_layer = $1f + // Variables holding the current map width and map height of the layer. + .label conio_width = $20 + .label conio_height = $22 + .label conio_rowshift = $24 + .label conio_rowskip = $25 + .label CONIO_SCREEN_BANK = $27 + // The screen width + // The screen height + // The text screen base address, which is a 16:0 bit value in VERA VRAM. + // That is 128KB addressable space, thus 17 bits in total. + // CONIO_SCREEN_TEXT contains bits 15:0 of the address. + // CONIO_SCREEN_BANK contains bit 16, the the 64K memory bank in VERA VRAM (the upper 17th bit). + // !!! note that these values are not const for the cx16! + // This conio implements the two layers of VERA, which can be layer 0 or layer 1. + // Configuring conio to output to a different layer, will change these fields to the address base + // configured using VERA_L0_MAPBASE = 0x9f2e or VERA_L1_MAPBASE = 0x9f35. + // Using the function setscreenlayer(layer) will re-calculate using CONIO_SCREEN_TEXT and CONIO_SCREEN_BASE + // based on the values of VERA_L0_MAPBASE or VERA_L1_MAPBASE, mapping the base address of the selected layer. + // The function setscreenlayermapbase(layer,mapbase) allows to configure bit 16:9 of the + // mapbase address of the time map in VRAM of the selected layer VERA_L0_MAPBASE or VERA_L1_MAPBASE. + .label CONIO_SCREEN_TEXT = $28 +.segment Code + // __start +__start: { + // __start::__init1 + // conio_screen_width = 0 + // [1] conio_screen_width = 0 -- vbuz1=vbuc1 + lda #0 + sta.z conio_screen_width + // conio_screen_height = 0 + // [2] conio_screen_height = 0 -- vbuz1=vbuc1 + sta.z conio_screen_height + // conio_screen_layer = 1 + // [3] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // conio_width = 0 + // [4] conio_width = 0 -- vwuz1=vwuc1 + lda #<0 + sta.z conio_width + sta.z conio_width+1 + // conio_height = 0 + // [5] conio_height = 0 -- vwuz1=vwuc1 + sta.z conio_height + sta.z conio_height+1 + // conio_rowshift = 0 + // [6] conio_rowshift = 0 -- vbuz1=vbuc1 + sta.z conio_rowshift + // conio_rowskip = 0 + // [7] conio_rowskip = 0 -- vwuz1=vwuc1 + sta.z conio_rowskip + sta.z conio_rowskip+1 + // #pragma constructor_for(conio_x16_init, cputc, clrscr, cscroll) + // [8] call conio_x16_init + jsr conio_x16_init + // [9] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1] + // __start::@1 + // [10] call main + // [32] phi from __start::@1 to main [phi:__start::@1->main] + jsr main + // __start::@return + // [11] return + rts +} + // conio_x16_init +// Set initial cursor position +conio_x16_init: { + // Position cursor at current line + .label BASIC_CURSOR_LINE = $d6 + .label line = 2 + // line = *BASIC_CURSOR_LINE + // [12] conio_x16_init::line#0 = *conio_x16_init::BASIC_CURSOR_LINE -- vbuz1=_deref_pbuc1 + lda BASIC_CURSOR_LINE + sta.z line + // vera_layer_mode_text(1,(dword)0x00000,(dword)0x0F800,128,64,8,8,16) + // [13] call vera_layer_mode_text + // [138] phi from conio_x16_init to vera_layer_mode_text [phi:conio_x16_init->vera_layer_mode_text] + jsr vera_layer_mode_text + // [14] phi from conio_x16_init to conio_x16_init::@3 [phi:conio_x16_init->conio_x16_init::@3] + // conio_x16_init::@3 + // screensize(&conio_screen_width, &conio_screen_height) + // [15] call screensize + jsr screensize + // [16] phi from conio_x16_init::@3 to conio_x16_init::@4 [phi:conio_x16_init::@3->conio_x16_init::@4] + // conio_x16_init::@4 + // screenlayer(1) + // [17] call screenlayer + jsr screenlayer + // [18] phi from conio_x16_init::@4 to conio_x16_init::@5 [phi:conio_x16_init::@4->conio_x16_init::@5] + // conio_x16_init::@5 + // vera_layer_set_textcolor(1, WHITE) + // [19] call vera_layer_set_textcolor + // [190] phi from conio_x16_init::@5 to vera_layer_set_textcolor [phi:conio_x16_init::@5->vera_layer_set_textcolor] + // [190] phi vera_layer_set_textcolor::layer#3 = 1 [phi:conio_x16_init::@5->vera_layer_set_textcolor#0] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_textcolor + // [20] phi from conio_x16_init::@5 to conio_x16_init::@6 [phi:conio_x16_init::@5->conio_x16_init::@6] + // conio_x16_init::@6 + // vera_layer_set_backcolor(1, BLUE) + // [21] call vera_layer_set_backcolor + // [193] phi from conio_x16_init::@6 to vera_layer_set_backcolor [phi:conio_x16_init::@6->vera_layer_set_backcolor] + // [193] phi vera_layer_set_backcolor::color#3 = BLUE [phi:conio_x16_init::@6->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [193] phi vera_layer_set_backcolor::layer#3 = 1 [phi:conio_x16_init::@6->vera_layer_set_backcolor#1] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_set_backcolor + // [22] phi from conio_x16_init::@6 to conio_x16_init::@7 [phi:conio_x16_init::@6->conio_x16_init::@7] + // conio_x16_init::@7 + // vera_layer_set_mapbase(0,0x20) + // [23] call vera_layer_set_mapbase + // [196] phi from conio_x16_init::@7 to vera_layer_set_mapbase [phi:conio_x16_init::@7->vera_layer_set_mapbase] + // [196] phi vera_layer_set_mapbase::mapbase#3 = $20 [phi:conio_x16_init::@7->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #$20 + // [196] phi vera_layer_set_mapbase::layer#3 = 0 [phi:conio_x16_init::@7->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #0 + jsr vera_layer_set_mapbase + // [24] phi from conio_x16_init::@7 to conio_x16_init::@8 [phi:conio_x16_init::@7->conio_x16_init::@8] + // conio_x16_init::@8 + // vera_layer_set_mapbase(1,0x00) + // [25] call vera_layer_set_mapbase + // [196] phi from conio_x16_init::@8 to vera_layer_set_mapbase [phi:conio_x16_init::@8->vera_layer_set_mapbase] + // [196] phi vera_layer_set_mapbase::mapbase#3 = 0 [phi:conio_x16_init::@8->vera_layer_set_mapbase#0] -- vbuxx=vbuc1 + ldx #0 + // [196] phi vera_layer_set_mapbase::layer#3 = 1 [phi:conio_x16_init::@8->vera_layer_set_mapbase#1] -- vbuaa=vbuc1 + lda #1 + jsr vera_layer_set_mapbase + // conio_x16_init::@9 + // if(line>=CONIO_HEIGHT) + // [26] if(conio_x16_init::line#0conio_x16_init::@1] + // [28] phi conio_x16_init::line#3 = conio_x16_init::line#1 [phi:conio_x16_init::@2/conio_x16_init::@9->conio_x16_init::@1#0] -- register_copy + // conio_x16_init::@1 + __b1: + // gotoxy(0, line) + // [29] gotoxy::y#0 = conio_x16_init::line#3 -- vbuxx=vbuz1 + ldx.z line + // [30] call gotoxy + // [201] phi from conio_x16_init::@1 to gotoxy [phi:conio_x16_init::@1->gotoxy] + // [201] phi gotoxy::y#4 = gotoxy::y#0 [phi:conio_x16_init::@1->gotoxy#0] -- register_copy + jsr gotoxy + // conio_x16_init::@return + // } + // [31] return + rts +} + // main +main: { + .label tilebase = 3 + .label t = 5 + .label tile = 8 + .label c = $a + // Draw 4 squares with each tile, starting from row 4, width 1, height 1, separated by 2 characters. + .label row = 6 + .label r = 7 + .label column1 = $c + .label r1 = $b + // memcpy_in_vram(1, 0xF000, VERA_INC_1, 0, 0xF800, VERA_INC_1, 256*8) + // [33] call memcpy_in_vram + // Before we can load the tiles into memory we need to re-arrange a few things! + // The amount of tiles is 256, the color depth is 256, so each tile is 256 bytes! + // That is 65356 bytes of memory, which is 64K. Yup! One memory bank in VRAM. + // VERA VRAM holds in bank 1 many registers that interfere loading all of this data. + // So it is better to load all in bank 0, but then there is an other issue. + // So the default CX16 character set is located in bank 0, at address 0xF800. + // So we need to move this character set to bank 1, suggested is at address 0xF000. + // The CX16 by default writes textual output to layer 1 in text mode, so we need to + // realign the moved character set to 0xf000 as the new tile base for layer 1. + // We also will need to realign for layer 1 the map base from 0x00000 to 0x10000. + // This is now all easily done with a few statements in the new kickc vera lib ... + // [214] phi from main to memcpy_in_vram [phi:main->memcpy_in_vram] + // [214] phi memcpy_in_vram::num#4 = $100*8 [phi:main->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [214] phi memcpy_in_vram::dest_bank#3 = 1 [phi:main->memcpy_in_vram#1] -- vbuz1=vbuc1 + lda #1 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = (void*) 61440 [phi:main->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.dest + lda #>$f000 + sta.z memcpy_in_vram.dest+1 + // [214] phi memcpy_in_vram::src_bank#3 = 0 [phi:main->memcpy_in_vram#3] -- vbuyy=vbuc1 + ldy #0 + // [214] phi memcpy_in_vram::src#3 = (void*) 63488 [phi:main->memcpy_in_vram#4] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.src + lda #>$f800 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [34] phi from main to main::@19 [phi:main->main::@19] + // main::@19 + // vera_layer_mode_tile(1, 0x10000, 0x1F000, 128, 64, 8, 8, 1) + // [35] call vera_layer_mode_tile + // We copy the 128 character set of 8 bytes each. + // [234] phi from main::@19 to vera_layer_mode_tile [phi:main::@19->vera_layer_mode_tile] + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@19->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@19->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $1f000 [phi:main::@19->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$1f000 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$1f000 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$1f000>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = $10000 [phi:main::@19->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$10000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$10000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$10000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@19->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@19->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@19->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@19->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [36] phi from main::@19 to main::@20 [phi:main::@19->main::@20] + // main::@20 + // screenlayer(1) + // [37] call screenlayer + jsr screenlayer + // main::textcolor1 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [38] vera_layer_set_textcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [39] call vera_layer_set_textcolor + // [190] phi from main::textcolor1 to vera_layer_set_textcolor [phi:main::textcolor1->vera_layer_set_textcolor] + // [190] phi vera_layer_set_textcolor::layer#3 = vera_layer_set_textcolor::layer#1 [phi:main::textcolor1->vera_layer_set_textcolor#0] -- register_copy + jsr vera_layer_set_textcolor + // main::bgcolor1 + // vera_layer_set_backcolor(conio_screen_layer, color) + // [40] vera_layer_set_backcolor::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [41] call vera_layer_set_backcolor + // [193] phi from main::bgcolor1 to vera_layer_set_backcolor [phi:main::bgcolor1->vera_layer_set_backcolor] + // [193] phi vera_layer_set_backcolor::color#3 = BLACK [phi:main::bgcolor1->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLACK + // [193] phi vera_layer_set_backcolor::layer#3 = vera_layer_set_backcolor::layer#1 [phi:main::bgcolor1->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [42] phi from main::bgcolor1 to main::@16 [phi:main::bgcolor1->main::@16] + // main::@16 + // clrscr() + // [43] call clrscr + jsr clrscr + // [44] phi from main::@16 to main::@21 [phi:main::@16->main::@21] + // main::@21 + // vera_layer_mode_tile(0, 0x14000, 0x00000, 64, 64, 16, 16, 8) + // [45] call vera_layer_mode_tile + // Now we can use the full bank 0! + // We set the mapbase of the tile demo to output to 0x12000, + // and the tilebase is set to 0x0000! + // [234] phi from main::@21 to vera_layer_mode_tile [phi:main::@21->vera_layer_mode_tile] + // [234] phi vera_layer_mode_tile::tileheight#10 = $10 [phi:main::@21->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #$10 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = $10 [phi:main::@21->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = 0 [phi:main::@21->vera_layer_mode_tile#2] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + sta.z vera_layer_mode_tile.tilebase_address+2 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = $14000 [phi:main::@21->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #<$14000 + sta.z vera_layer_mode_tile.mapbase_address + lda #>$14000 + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #<$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>$14000>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $40 [phi:main::@21->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapheight + lda #>$40 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 0 [phi:main::@21->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $40 [phi:main::@21->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$40 + sta.z vera_layer_mode_tile.mapwidth + lda #>$40 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 8 [phi:main::@21->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #8 + jsr vera_layer_mode_tile + // [46] phi from main::@21 to main::@22 [phi:main::@21->main::@22] + // main::@22 + // memcpy_to_vram(0, tilebase, tiles, 256) + // [47] call memcpy_to_vram + // [338] phi from main::@22 to memcpy_to_vram [phi:main::@22->memcpy_to_vram] + // [338] phi memcpy_to_vram::vdest#2 = (void*)0 [phi:main::@22->memcpy_to_vram#0] -- pvoz1=pvoc1 + lda #<0 + sta.z memcpy_to_vram.vdest + sta.z memcpy_to_vram.vdest+1 + jsr memcpy_to_vram + // [48] phi from main::@22 to main::@1 [phi:main::@22->main::@1] + // [48] phi main::t#5 = 1 [phi:main::@22->main::@1#0] -- vbuz1=vbuc1 + lda #1 + sta.z t + // [48] phi main::tilebase#7 = $100 [phi:main::@22->main::@1#1] -- vwuz1=vwuc1 + lda #<$100 + sta.z tilebase + lda #>$100 + sta.z tilebase+1 + // [48] phi from main::@23 to main::@1 [phi:main::@23->main::@1] + // [48] phi main::t#5 = main::t#1 [phi:main::@23->main::@1#0] -- register_copy + // [48] phi main::tilebase#7 = main::tilebase#2 [phi:main::@23->main::@1#1] -- register_copy + // main::@1 + __b1: + // [49] phi from main::@1 to main::@2 [phi:main::@1->main::@2] + // [49] phi main::p#2 = 0 [phi:main::@1->main::@2#0] -- vbuxx=vbuc1 + ldx #0 + // [49] phi from main::@2 to main::@2 [phi:main::@2->main::@2] + // [49] phi main::p#2 = main::p#1 [phi:main::@2->main::@2#0] -- register_copy + // main::@2 + __b2: + // tiles[p]+=1 + // [50] main::tiles[main::p#2] = main::tiles[main::p#2] + 1 -- pbuc1_derefidx_vbuxx=pbuc1_derefidx_vbuxx_plus_1 + lda tiles,x + inc + sta tiles,x + // for(byte p:0..255) + // [51] main::p#1 = ++ main::p#2 -- vbuxx=_inc_vbuxx + inx + // [52] if(main::p#1!=0) goto main::@2 -- vbuxx_neq_0_then_la1 + cpx #0 + bne __b2 + // main::@3 + // memcpy_to_vram(0, tilebase, tiles, 256) + // [53] memcpy_to_vram::vdest#1 = (void*)main::tilebase#7 -- pvoz1=pvoz2 + lda.z tilebase + sta.z memcpy_to_vram.vdest + lda.z tilebase+1 + sta.z memcpy_to_vram.vdest+1 + // [54] call memcpy_to_vram + // [338] phi from main::@3 to memcpy_to_vram [phi:main::@3->memcpy_to_vram] + // [338] phi memcpy_to_vram::vdest#2 = memcpy_to_vram::vdest#1 [phi:main::@3->memcpy_to_vram#0] -- register_copy + jsr memcpy_to_vram + // main::@23 + // tilebase+=256 + // [55] main::tilebase#2 = main::tilebase#7 + $100 -- vwuz1=vwuz1_plus_vwuc1 + clc + lda.z tilebase + adc #<$100 + sta.z tilebase + lda.z tilebase+1 + adc #>$100 + sta.z tilebase+1 + // for(byte t:1..255) + // [56] main::t#1 = ++ main::t#5 -- vbuz1=_inc_vbuz1 + inc.z t + // [57] if(main::t#1!=0) goto main::@1 -- vbuz1_neq_0_then_la1 + lda.z t + cmp #0 + bne __b1 + // [58] phi from main::@23 to main::@4 [phi:main::@23->main::@4] + // main::@4 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + // [59] call vera_tile_area + //vera_tile_area(byte layer, word tileindex, byte x, byte y, byte w, byte h, byte hflip, byte vflip, byte offset) + // [350] phi from main::@4 to vera_tile_area [phi:main::@4->vera_tile_area] + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@4->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@4->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@4->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@4->vera_tile_area#3] -- vbuz1=vbuc1 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@4->vera_tile_area#4] -- vwuz1=vbuc1 + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // [60] phi from main::@4 to main::@5 [phi:main::@4->main::@5] + // [60] phi main::r#5 = 0 [phi:main::@4->main::@5#0] -- vbuz1=vbuc1 + lda #0 + sta.z r + // [60] phi main::row#9 = 1 [phi:main::@4->main::@5#1] -- vbuz1=vbuc1 + lda #1 + sta.z row + // [60] phi main::tile#10 = 0 [phi:main::@4->main::@5#2] -- vwuz1=vwuc1 + lda #<0 + sta.z tile + sta.z tile+1 + // [60] phi from main::@7 to main::@5 [phi:main::@7->main::@5] + // [60] phi main::r#5 = main::r#1 [phi:main::@7->main::@5#0] -- register_copy + // [60] phi main::row#9 = main::row#1 [phi:main::@7->main::@5#1] -- register_copy + // [60] phi main::tile#10 = main::tile#12 [phi:main::@7->main::@5#2] -- register_copy + // main::@5 + __b5: + // [61] phi from main::@5 to main::@6 [phi:main::@5->main::@6] + // [61] phi main::c#2 = 0 [phi:main::@5->main::@6#0] -- vbuz1=vbuc1 + lda #0 + sta.z c + // [61] phi main::column#2 = 0 [phi:main::@5->main::@6#1] -- vbuxx=vbuc1 + tax + // [61] phi main::tile#6 = main::tile#10 [phi:main::@5->main::@6#2] -- register_copy + // [61] phi from main::@24 to main::@6 [phi:main::@24->main::@6] + // [61] phi main::c#2 = main::c#1 [phi:main::@24->main::@6#0] -- register_copy + // [61] phi main::column#2 = main::column#1 [phi:main::@24->main::@6#1] -- register_copy + // [61] phi main::tile#6 = main::tile#12 [phi:main::@24->main::@6#2] -- register_copy + // main::@6 + __b6: + // vera_tile_area(0, tile, column, row, 1, 1, 0, 0, 0) + // [62] vera_tile_area::tileindex#1 = main::tile#6 + // [63] vera_tile_area::x#1 = main::column#2 -- vbuz1=vbuxx + stx.z vera_tile_area.x + // [64] vera_tile_area::y#1 = main::row#9 + // [65] call vera_tile_area + // [350] phi from main::@6 to vera_tile_area [phi:main::@6->vera_tile_area] + // [350] phi vera_tile_area::w#11 = 1 [phi:main::@6->vera_tile_area#0] -- vbuz1=vbuc1 + lda #1 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = 1 [phi:main::@6->vera_tile_area#1] -- vbuz1=vbuc1 + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = vera_tile_area::x#1 [phi:main::@6->vera_tile_area#2] -- register_copy + // [350] phi vera_tile_area::y#5 = vera_tile_area::y#1 [phi:main::@6->vera_tile_area#3] -- register_copy + // [350] phi vera_tile_area::tileindex#5 = vera_tile_area::tileindex#1 [phi:main::@6->vera_tile_area#4] -- register_copy + jsr vera_tile_area + // main::@24 + // column+=2 + // [66] main::column#1 = main::column#2 + 2 -- vbuxx=vbuxx_plus_2 + inx + inx + // tile++; + // [67] main::tile#1 = ++ main::tile#6 -- vwuz1=_inc_vwuz1 + inc.z tile + bne !+ + inc.z tile+1 + !: + // tile &= 0xff + // [68] main::tile#12 = main::tile#1 & $ff -- vwuz1=vwuz1_band_vbuc1 + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // for(byte c:0..19) + // [69] main::c#1 = ++ main::c#2 -- vbuz1=_inc_vbuz1 + inc.z c + // [70] if(main::c#1!=$14) goto main::@6 -- vbuz1_neq_vbuc1_then_la1 + lda #$14 + cmp.z c + bne __b6 + // main::@7 + // row += 2 + // [71] main::row#1 = main::row#9 + 2 -- vbuz1=vbuz1_plus_2 + lda.z row + clc + adc #2 + sta.z row + // for(byte r:0..11) + // [72] main::r#1 = ++ main::r#5 -- vbuz1=_inc_vbuz1 + inc.z r + // [73] if(main::r#1!=$c) goto main::@5 -- vbuz1_neq_vbuc1_then_la1 + lda #$c + cmp.z r + bne __b5 + // [74] phi from main::@7 to main::@8 [phi:main::@7->main::@8] + // main::@8 + // gotoxy(0,50) + // [75] call gotoxy + // [201] phi from main::@8 to gotoxy [phi:main::@8->gotoxy] + // [201] phi gotoxy::y#4 = $32 [phi:main::@8->gotoxy#0] -- vbuxx=vbuc1 + ldx #$32 + jsr gotoxy + // [76] phi from main::@8 to main::@25 [phi:main::@8->main::@25] + // main::@25 + // printf("vera in tile mode 8 x 8, color depth 8 bits per pixel.\n") + // [77] call cputs + // [386] phi from main::@25 to cputs [phi:main::@25->cputs] + // [386] phi cputs::s#10 = main::s [phi:main::@25->cputs#0] -- pbuz1=pbuc1 + lda #s + sta.z cputs.s+1 + jsr cputs + // [78] phi from main::@25 to main::@26 [phi:main::@25->main::@26] + // main::@26 + // printf("in this mode, tiles are 8 pixels wide and 8 pixels tall.\n") + // [79] call cputs + // [386] phi from main::@26 to cputs [phi:main::@26->cputs] + // [386] phi cputs::s#10 = main::s1 [phi:main::@26->cputs#0] -- pbuz1=pbuc1 + lda #s1 + sta.z cputs.s+1 + jsr cputs + // [80] phi from main::@26 to main::@27 [phi:main::@26->main::@27] + // main::@27 + // printf("each tile can have a variation of 256 colors.\n") + // [81] call cputs + // [386] phi from main::@27 to cputs [phi:main::@27->cputs] + // [386] phi cputs::s#10 = main::s2 [phi:main::@27->cputs#0] -- pbuz1=pbuc1 + lda #s2 + sta.z cputs.s+1 + jsr cputs + // [82] phi from main::@27 to main::@28 [phi:main::@27->main::@28] + // main::@28 + // printf("the vera palette of 256 colors, can be used by setting the palette\n") + // [83] call cputs + // [386] phi from main::@28 to cputs [phi:main::@28->cputs] + // [386] phi cputs::s#10 = main::s3 [phi:main::@28->cputs#0] -- pbuz1=pbuc1 + lda #s3 + sta.z cputs.s+1 + jsr cputs + // [84] phi from main::@28 to main::@29 [phi:main::@28->main::@29] + // main::@29 + // printf("offset for each tile.\n") + // [85] call cputs + // [386] phi from main::@29 to cputs [phi:main::@29->cputs] + // [386] phi cputs::s#10 = main::s4 [phi:main::@29->cputs#0] -- pbuz1=pbuc1 + lda #s4 + sta.z cputs.s+1 + jsr cputs + // [86] phi from main::@29 to main::@30 [phi:main::@29->main::@30] + // main::@30 + // printf("here each column is displaying the same tile, but with different offsets!\n") + // [87] call cputs + // [386] phi from main::@30 to cputs [phi:main::@30->cputs] + // [386] phi cputs::s#10 = main::s5 [phi:main::@30->cputs#0] -- pbuz1=pbuc1 + lda #s5 + sta.z cputs.s+1 + jsr cputs + // [88] phi from main::@30 to main::@31 [phi:main::@30->main::@31] + // main::@31 + // printf("each offset aligns to multiples of 16 colors in the palette!.\n") + // [89] call cputs + // [386] phi from main::@31 to cputs [phi:main::@31->cputs] + // [386] phi cputs::s#10 = main::s6 [phi:main::@31->cputs#0] -- pbuz1=pbuc1 + lda #s6 + sta.z cputs.s+1 + jsr cputs + // [90] phi from main::@31 to main::@32 [phi:main::@31->main::@32] + // main::@32 + // printf("however, the first color will always be transparent (black).\n") + // [91] call cputs + // [386] phi from main::@32 to cputs [phi:main::@32->cputs] + // [386] phi cputs::s#10 = main::s7 [phi:main::@32->cputs#0] -- pbuz1=pbuc1 + lda #s7 + sta.z cputs.s+1 + jsr cputs + // main::vera_layer_show1 + // *VERA_DC_VIDEO |= vera_layer_enable[layer] + // [92] *VERA_DC_VIDEO = *VERA_DC_VIDEO | *vera_layer_enable -- _deref_pbuc1=_deref_pbuc1_bor__deref_pbuc2 + lda VERA_DC_VIDEO + ora vera_layer_enable + sta VERA_DC_VIDEO + // [93] phi from main::@33 main::vera_layer_show1 to main::@9 [phi:main::@33/main::vera_layer_show1->main::@9] + // main::@9 + __b9: + // kbhit() + // [94] call kbhit + jsr kbhit + // [95] kbhit::return#2 = kbhit::return#1 + // main::@33 + // [96] main::$35 = kbhit::return#2 + // while(!kbhit()) + // [97] if(0==main::$35) goto main::@9 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b9 + // [98] phi from main::@33 to main::@10 [phi:main::@33->main::@10] + // main::@10 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + // [99] call vera_tile_area + // [350] phi from main::@10 to vera_tile_area [phi:main::@10->vera_tile_area] + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@10->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@10->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@10->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@10->vera_tile_area#3] -- vbuz1=vbuc1 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@10->vera_tile_area#4] -- vwuz1=vbuc1 + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // [100] phi from main::@10 to main::@11 [phi:main::@10->main::@11] + // [100] phi main::r1#5 = 0 [phi:main::@10->main::@11#0] -- vbuz1=vbuc1 + lda #0 + sta.z r1 + // [100] phi main::row#10 = 0 [phi:main::@10->main::@11#1] -- vbuz1=vbuc1 + sta.z row + // [100] phi main::tile#11 = 0 [phi:main::@10->main::@11#2] -- vwuz1=vbuc1 + sta.z tile + sta.z tile+1 + // [100] phi from main::@13 to main::@11 [phi:main::@13->main::@11] + // [100] phi main::r1#5 = main::r1#1 [phi:main::@13->main::@11#0] -- register_copy + // [100] phi main::row#10 = main::row#3 [phi:main::@13->main::@11#1] -- register_copy + // [100] phi main::tile#11 = main::tile#13 [phi:main::@13->main::@11#2] -- register_copy + // main::@11 + __b11: + // [101] phi from main::@11 to main::@12 [phi:main::@11->main::@12] + // [101] phi main::c1#2 = 0 [phi:main::@11->main::@12#0] -- vbuxx=vbuc1 + ldx #0 + // [101] phi main::column1#2 = 0 [phi:main::@11->main::@12#1] -- vbuz1=vbuc1 + txa + sta.z column1 + // [101] phi main::tile#8 = main::tile#11 [phi:main::@11->main::@12#2] -- register_copy + // [101] phi from main::@34 to main::@12 [phi:main::@34->main::@12] + // [101] phi main::c1#2 = main::c1#1 [phi:main::@34->main::@12#0] -- register_copy + // [101] phi main::column1#2 = main::column1#1 [phi:main::@34->main::@12#1] -- register_copy + // [101] phi main::tile#8 = main::tile#13 [phi:main::@34->main::@12#2] -- register_copy + // main::@12 + __b12: + // vera_tile_area(0, tile, column, row, 2, 2, 0, 0, 0) + // [102] vera_tile_area::tileindex#3 = main::tile#8 + // [103] vera_tile_area::x#3 = main::column1#2 + // [104] vera_tile_area::y#3 = main::row#10 + // [105] call vera_tile_area + // [350] phi from main::@12 to vera_tile_area [phi:main::@12->vera_tile_area] + // [350] phi vera_tile_area::w#11 = 2 [phi:main::@12->vera_tile_area#0] -- vbuz1=vbuc1 + lda #2 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = 2 [phi:main::@12->vera_tile_area#1] -- vbuz1=vbuc1 + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = vera_tile_area::x#3 [phi:main::@12->vera_tile_area#2] -- register_copy + // [350] phi vera_tile_area::y#5 = vera_tile_area::y#3 [phi:main::@12->vera_tile_area#3] -- register_copy + // [350] phi vera_tile_area::tileindex#5 = vera_tile_area::tileindex#3 [phi:main::@12->vera_tile_area#4] -- register_copy + jsr vera_tile_area + // main::@34 + // column+=2 + // [106] main::column1#1 = main::column1#2 + 2 -- vbuz1=vbuz1_plus_2 + lda.z column1 + clc + adc #2 + sta.z column1 + // tile++; + // [107] main::tile#4 = ++ main::tile#8 -- vwuz1=_inc_vwuz1 + inc.z tile + bne !+ + inc.z tile+1 + !: + // tile &= 0xff + // [108] main::tile#13 = main::tile#4 & $ff -- vwuz1=vwuz1_band_vbuc1 + lda #$ff + and.z tile + sta.z tile + lda #0 + sta.z tile+1 + // for(byte c:0..19) + // [109] main::c1#1 = ++ main::c1#2 -- vbuxx=_inc_vbuxx + inx + // [110] if(main::c1#1!=$14) goto main::@12 -- vbuxx_neq_vbuc1_then_la1 + cpx #$14 + bne __b12 + // main::@13 + // row += 2 + // [111] main::row#3 = main::row#10 + 2 -- vbuz1=vbuz1_plus_2 + lda.z row + clc + adc #2 + sta.z row + // for(byte r:0..11) + // [112] main::r1#1 = ++ main::r1#5 -- vbuz1=_inc_vbuz1 + inc.z r1 + // [113] if(main::r1#1!=$c) goto main::@11 -- vbuz1_neq_vbuc1_then_la1 + lda #$c + cmp.z r1 + bne __b11 + // [114] phi from main::@13 main::@35 to main::@14 [phi:main::@13/main::@35->main::@14] + // main::@14 + __b14: + // kbhit() + // [115] call kbhit + jsr kbhit + // [116] kbhit::return#3 = kbhit::return#1 + // main::@35 + // [117] main::$40 = kbhit::return#3 + // while(!kbhit()) + // [118] if(0==main::$40) goto main::@14 -- 0_eq_vbuaa_then_la1 + cmp #0 + beq __b14 + // [119] phi from main::@35 to main::@15 [phi:main::@35->main::@15] + // main::@15 + // vera_tile_area(0, 0, 0, 0, 40, 30, 0, 0, 0) + // [120] call vera_tile_area + // Now put back the defaults ... + // [350] phi from main::@15 to vera_tile_area [phi:main::@15->vera_tile_area] + // [350] phi vera_tile_area::w#11 = $28 [phi:main::@15->vera_tile_area#0] -- vbuz1=vbuc1 + lda #$28 + sta.z vera_tile_area.w + // [350] phi vera_tile_area::h#6 = $1e [phi:main::@15->vera_tile_area#1] -- vbuz1=vbuc1 + lda #$1e + sta.z vera_tile_area.h + // [350] phi vera_tile_area::x#5 = 0 [phi:main::@15->vera_tile_area#2] -- vbuz1=vbuc1 + lda #0 + sta.z vera_tile_area.x + // [350] phi vera_tile_area::y#5 = 0 [phi:main::@15->vera_tile_area#3] -- vbuz1=vbuc1 + sta.z vera_tile_area.y + // [350] phi vera_tile_area::tileindex#5 = 0 [phi:main::@15->vera_tile_area#4] -- vwuz1=vbuc1 + sta.z vera_tile_area.tileindex + sta.z vera_tile_area.tileindex+1 + jsr vera_tile_area + // main::vera_layer_hide1 + // ~vera_layer_enable[layer] + // [121] main::vera_layer_hide1_$0 = ~ *vera_layer_enable -- vbuaa=_bnot__deref_pbuc1 + lda vera_layer_enable + eor #$ff + // *VERA_DC_VIDEO &= ~vera_layer_enable[layer] + // [122] *VERA_DC_VIDEO = *VERA_DC_VIDEO & main::vera_layer_hide1_$0 -- _deref_pbuc1=_deref_pbuc1_band_vbuaa + and VERA_DC_VIDEO + sta VERA_DC_VIDEO + // [123] phi from main::vera_layer_hide1 to main::@17 [phi:main::vera_layer_hide1->main::@17] + // main::@17 + // memcpy_in_vram(0, 0xF800, VERA_INC_1, 1, 0xF000, VERA_INC_1, 256*8) + // [124] call memcpy_in_vram + // [214] phi from main::@17 to memcpy_in_vram [phi:main::@17->memcpy_in_vram] + // [214] phi memcpy_in_vram::num#4 = $100*8 [phi:main::@17->memcpy_in_vram#0] -- vwuz1=vwuc1 + lda #<$100*8 + sta.z memcpy_in_vram.num + lda #>$100*8 + sta.z memcpy_in_vram.num+1 + // [214] phi memcpy_in_vram::dest_bank#3 = 0 [phi:main::@17->memcpy_in_vram#1] -- vbuz1=vbuc1 + lda #0 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = (void*) 63488 [phi:main::@17->memcpy_in_vram#2] -- pvoz1=pvoc1 + lda #<$f800 + sta.z memcpy_in_vram.dest + lda #>$f800 + sta.z memcpy_in_vram.dest+1 + // [214] phi memcpy_in_vram::src_bank#3 = 1 [phi:main::@17->memcpy_in_vram#3] -- vbuyy=vbuc1 + ldy #1 + // [214] phi memcpy_in_vram::src#3 = (void*) 61440 [phi:main::@17->memcpy_in_vram#4] -- pvoz1=pvoc1 + lda #<$f000 + sta.z memcpy_in_vram.src + lda #>$f000 + sta.z memcpy_in_vram.src+1 + jsr memcpy_in_vram + // [125] phi from main::@17 to main::@36 [phi:main::@17->main::@36] + // main::@36 + // vera_layer_mode_tile(1, 0x00000, 0x0F800, 128, 128, 8, 8, 1) + // [126] call vera_layer_mode_tile + // [234] phi from main::@36 to vera_layer_mode_tile [phi:main::@36->vera_layer_mode_tile] + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@36->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@36->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $f800 [phi:main::@36->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = 0 [phi:main::@36->vera_layer_mode_tile#3] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $80 [phi:main::@36->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 1 [phi:main::@36->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #1 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@36->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@36->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [127] phi from main::@36 to main::@37 [phi:main::@36->main::@37] + // main::@37 + // vera_layer_mode_tile(0, 0x00000, 0x0F800, 128, 128, 8, 8, 1) + // [128] call vera_layer_mode_tile + // [234] phi from main::@37 to vera_layer_mode_tile [phi:main::@37->vera_layer_mode_tile] + // [234] phi vera_layer_mode_tile::tileheight#10 = 8 [phi:main::@37->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #8 + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = 8 [phi:main::@37->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = $f800 [phi:main::@37->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #<$f800 + sta.z vera_layer_mode_tile.tilebase_address + lda #>$f800 + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #<$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>$f800>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = 0 [phi:main::@37->vera_layer_mode_tile#3] -- vduz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + sta.z vera_layer_mode_tile.mapbase_address+2 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = $80 [phi:main::@37->vera_layer_mode_tile#4] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapheight + lda #>$80 + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = 0 [phi:main::@37->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #0 + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = $80 [phi:main::@37->vera_layer_mode_tile#6] -- vwuz1=vbuc1 + lda #<$80 + sta.z vera_layer_mode_tile.mapwidth + lda #>$80 + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:main::@37->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [129] phi from main::@37 to main::@38 [phi:main::@37->main::@38] + // main::@38 + // screenlayer(1) + // [130] call screenlayer + jsr screenlayer + // main::textcolor2 + // vera_layer_set_textcolor(conio_screen_layer, color) + // [131] vera_layer_set_textcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [132] call vera_layer_set_textcolor + // [190] phi from main::textcolor2 to vera_layer_set_textcolor [phi:main::textcolor2->vera_layer_set_textcolor] + // [190] phi vera_layer_set_textcolor::layer#3 = vera_layer_set_textcolor::layer#2 [phi:main::textcolor2->vera_layer_set_textcolor#0] -- register_copy + jsr vera_layer_set_textcolor + // main::bgcolor2 + // vera_layer_set_backcolor(conio_screen_layer, color) + // [133] vera_layer_set_backcolor::layer#2 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [134] call vera_layer_set_backcolor + // [193] phi from main::bgcolor2 to vera_layer_set_backcolor [phi:main::bgcolor2->vera_layer_set_backcolor] + // [193] phi vera_layer_set_backcolor::color#3 = BLUE [phi:main::bgcolor2->vera_layer_set_backcolor#0] -- vbuaa=vbuc1 + lda #BLUE + // [193] phi vera_layer_set_backcolor::layer#3 = vera_layer_set_backcolor::layer#2 [phi:main::bgcolor2->vera_layer_set_backcolor#1] -- register_copy + jsr vera_layer_set_backcolor + // [135] phi from main::bgcolor2 to main::@18 [phi:main::bgcolor2->main::@18] + // main::@18 + // clrscr() + // [136] call clrscr + jsr clrscr + // main::@return + // } + // [137] return + rts + .segment Data + tiles: .byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + s: .text @"vera in tile mode 8 x 8, color depth 8 bits per pixel.\n" + .byte 0 + s1: .text @"in this mode, tiles are 8 pixels wide and 8 pixels tall.\n" + .byte 0 + s2: .text @"each tile can have a variation of 256 colors.\n" + .byte 0 + s3: .text @"the vera palette of 256 colors, can be used by setting the palette\n" + .byte 0 + s4: .text @"offset for each tile.\n" + .byte 0 + s5: .text @"here each column is displaying the same tile, but with different offsets!\n" + .byte 0 + s6: .text @"each offset aligns to multiples of 16 colors in the palette!.\n" + .byte 0 + s7: .text @"however, the first color will always be transparent (black).\n" + .byte 0 +} +.segment Code + // vera_layer_mode_text +// Set a vera layer in text mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_mode: The color mode, which can be 16 or 256. +vera_layer_mode_text: { + .const mapbase_address = 0 + .const tilebase_address = $f800 + .const mapwidth = $80 + .const mapheight = $40 + .const tilewidth = 8 + .const tileheight = 8 + .label layer = 1 + // vera_layer_mode_tile( layer, mapbase_address, tilebase_address, mapwidth, mapheight, tilewidth, tileheight, 1 ) + // [139] call vera_layer_mode_tile + // [234] phi from vera_layer_mode_text to vera_layer_mode_tile [phi:vera_layer_mode_text->vera_layer_mode_tile] + // [234] phi vera_layer_mode_tile::tileheight#10 = vera_layer_mode_text::tileheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#0] -- vbuz1=vbuc1 + lda #tileheight + sta.z vera_layer_mode_tile.tileheight + // [234] phi vera_layer_mode_tile::tilewidth#10 = vera_layer_mode_text::tilewidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#1] -- vbuz1=vbuc1 + lda #tilewidth + sta.z vera_layer_mode_tile.tilewidth + // [234] phi vera_layer_mode_tile::tilebase_address#10 = vera_layer_mode_text::tilebase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#2] -- vduz1=vduc1 + lda #tilebase_address + sta.z vera_layer_mode_tile.tilebase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.tilebase_address+2 + lda #>tilebase_address>>$10 + sta.z vera_layer_mode_tile.tilebase_address+3 + // [234] phi vera_layer_mode_tile::mapbase_address#10 = vera_layer_mode_text::mapbase_address#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#3] -- vduz1=vduc1 + lda #mapbase_address + sta.z vera_layer_mode_tile.mapbase_address+1 + lda #>$10 + sta.z vera_layer_mode_tile.mapbase_address+2 + lda #>mapbase_address>>$10 + sta.z vera_layer_mode_tile.mapbase_address+3 + // [234] phi vera_layer_mode_tile::mapheight#10 = vera_layer_mode_text::mapheight#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#4] -- vwuz1=vwuc1 + lda #mapheight + sta.z vera_layer_mode_tile.mapheight+1 + // [234] phi vera_layer_mode_tile::layer#10 = vera_layer_mode_text::layer#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#5] -- vbuz1=vbuc1 + lda #layer + sta.z vera_layer_mode_tile.layer + // [234] phi vera_layer_mode_tile::mapwidth#10 = vera_layer_mode_text::mapwidth#0 [phi:vera_layer_mode_text->vera_layer_mode_tile#6] -- vwuz1=vwuc1 + lda #mapwidth + sta.z vera_layer_mode_tile.mapwidth+1 + // [234] phi vera_layer_mode_tile::color_depth#5 = 1 [phi:vera_layer_mode_text->vera_layer_mode_tile#7] -- vbuxx=vbuc1 + ldx #1 + jsr vera_layer_mode_tile + // [140] phi from vera_layer_mode_text to vera_layer_mode_text::@1 [phi:vera_layer_mode_text->vera_layer_mode_text::@1] + // vera_layer_mode_text::@1 + // vera_layer_set_text_color_mode( layer, VERA_LAYER_CONFIG_16C ) + // [141] call vera_layer_set_text_color_mode + jsr vera_layer_set_text_color_mode + // vera_layer_mode_text::@return + // } + // [142] return + rts +} + // screensize +// Return the current screen size. +screensize: { + .label x = conio_screen_width + .label y = conio_screen_height + // hscale = (*VERA_DC_HSCALE) >> 7 + // [143] screensize::hscale#0 = *VERA_DC_HSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_HSCALE + rol + rol + and #1 + // 40 << hscale + // [144] screensize::$1 = $28 << screensize::hscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$28 + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *x = 40 << hscale + // [145] *screensize::x#0 = screensize::$1 -- _deref_pbuc1=vbuaa + sta.z x + // vscale = (*VERA_DC_VSCALE) >> 7 + // [146] screensize::vscale#0 = *VERA_DC_VSCALE >> 7 -- vbuaa=_deref_pbuc1_ror_7 + lda VERA_DC_VSCALE + rol + rol + and #1 + // 30 << vscale + // [147] screensize::$3 = $1e << screensize::vscale#0 -- vbuaa=vbuc1_rol_vbuaa + tay + lda #$1e + cpy #0 + beq !e+ + !: + asl + dey + bne !- + !e: + // *y = 30 << vscale + // [148] *screensize::y#0 = screensize::$3 -- _deref_pbuc1=vbuaa + sta.z y + // screensize::@return + // } + // [149] return + rts +} + // screenlayer +// Set the layer with which the conio will interact. +// - layer: value of 0 or 1. +screenlayer: { + .label __2 = $34 + .label __4 = $2c + .label __5 = $31 + .label vera_layer_get_width1_config = $2a + .label vera_layer_get_width1_return = $34 + .label vera_layer_get_height1_config = $2e + .label vera_layer_get_height1_return = $31 + // conio_screen_layer = layer + // [150] conio_screen_layer = 1 -- vbuz1=vbuc1 + lda #1 + sta.z conio_screen_layer + // vera_layer_get_mapbase_bank(conio_screen_layer) + // [151] vera_layer_get_mapbase_bank::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + tax + // [152] call vera_layer_get_mapbase_bank + jsr vera_layer_get_mapbase_bank + // [153] vera_layer_get_mapbase_bank::return#2 = vera_layer_get_mapbase_bank::return#0 + // screenlayer::@3 + // [154] CONIO_SCREEN_BANK#15 = vera_layer_get_mapbase_bank::return#2 -- vbuz1=vbuaa + sta.z CONIO_SCREEN_BANK + // vera_layer_get_mapbase_offset(conio_screen_layer) + // [155] vera_layer_get_mapbase_offset::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [156] call vera_layer_get_mapbase_offset + jsr vera_layer_get_mapbase_offset + // [157] vera_layer_get_mapbase_offset::return#2 = vera_layer_get_mapbase_offset::return#0 + // screenlayer::@4 + // [158] CONIO_SCREEN_TEXT#17 = vera_layer_get_mapbase_offset::return#2 -- vwuz1=vwuz2 + lda.z vera_layer_get_mapbase_offset.return + sta.z CONIO_SCREEN_TEXT + lda.z vera_layer_get_mapbase_offset.return+1 + sta.z CONIO_SCREEN_TEXT+1 + // vera_layer_get_width(conio_screen_layer) + // [159] screenlayer::vera_layer_get_width1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // screenlayer::vera_layer_get_width1 + // config = vera_layer_config[layer] + // [160] screenlayer::vera_layer_get_width1_$2 = screenlayer::vera_layer_get_width1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [161] screenlayer::vera_layer_get_width1_config#0 = vera_layer_config[screenlayer::vera_layer_get_width1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_width1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_width1_config+1 + // *config & VERA_LAYER_WIDTH_MASK + // [162] screenlayer::vera_layer_get_width1_$0 = *screenlayer::vera_layer_get_width1_config#0 & VERA_LAYER_WIDTH_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_WIDTH_MASK + ldy #0 + and (vera_layer_get_width1_config),y + // (*config & VERA_LAYER_WIDTH_MASK) >> 4 + // [163] screenlayer::vera_layer_get_width1_$1 = screenlayer::vera_layer_get_width1_$0 >> 4 -- vbuaa=vbuaa_ror_4 + lsr + lsr + lsr + lsr + // return VERA_LAYER_WIDTH[ (*config & VERA_LAYER_WIDTH_MASK) >> 4]; + // [164] screenlayer::vera_layer_get_width1_$3 = screenlayer::vera_layer_get_width1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [165] screenlayer::vera_layer_get_width1_return#0 = VERA_LAYER_WIDTH[screenlayer::vera_layer_get_width1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_WIDTH,y + sta.z vera_layer_get_width1_return + lda VERA_LAYER_WIDTH+1,y + sta.z vera_layer_get_width1_return+1 + // screenlayer::vera_layer_get_width1_@return + // } + // [166] screenlayer::vera_layer_get_width1_return#1 = screenlayer::vera_layer_get_width1_return#0 + // screenlayer::@1 + // vera_layer_get_width(conio_screen_layer) + // [167] screenlayer::$2 = screenlayer::vera_layer_get_width1_return#1 + // conio_width = vera_layer_get_width(conio_screen_layer) + // [168] conio_width = screenlayer::$2 -- vwuz1=vwuz2 + lda.z __2 + sta.z conio_width + lda.z __2+1 + sta.z conio_width+1 + // vera_layer_get_rowshift(conio_screen_layer) + // [169] vera_layer_get_rowshift::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [170] call vera_layer_get_rowshift + jsr vera_layer_get_rowshift + // [171] vera_layer_get_rowshift::return#2 = vera_layer_get_rowshift::return#0 + // screenlayer::@5 + // [172] screenlayer::$3 = vera_layer_get_rowshift::return#2 + // conio_rowshift = vera_layer_get_rowshift(conio_screen_layer) + // [173] conio_rowshift = screenlayer::$3 -- vbuz1=vbuaa + sta.z conio_rowshift + // vera_layer_get_rowskip(conio_screen_layer) + // [174] vera_layer_get_rowskip::layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // [175] call vera_layer_get_rowskip + jsr vera_layer_get_rowskip + // [176] vera_layer_get_rowskip::return#2 = vera_layer_get_rowskip::return#0 + // screenlayer::@6 + // [177] screenlayer::$4 = vera_layer_get_rowskip::return#2 + // conio_rowskip = vera_layer_get_rowskip(conio_screen_layer) + // [178] conio_rowskip = screenlayer::$4 -- vwuz1=vwuz2 + lda.z __4 + sta.z conio_rowskip + lda.z __4+1 + sta.z conio_rowskip+1 + // vera_layer_get_height(conio_screen_layer) + // [179] screenlayer::vera_layer_get_height1_layer#0 = conio_screen_layer -- vbuaa=vbuz1 + lda.z conio_screen_layer + // screenlayer::vera_layer_get_height1 + // config = vera_layer_config[layer] + // [180] screenlayer::vera_layer_get_height1_$2 = screenlayer::vera_layer_get_height1_layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [181] screenlayer::vera_layer_get_height1_config#0 = vera_layer_config[screenlayer::vera_layer_get_height1_$2] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z vera_layer_get_height1_config + lda vera_layer_config+1,y + sta.z vera_layer_get_height1_config+1 + // *config & VERA_LAYER_HEIGHT_MASK + // [182] screenlayer::vera_layer_get_height1_$0 = *screenlayer::vera_layer_get_height1_config#0 & VERA_LAYER_HEIGHT_MASK -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_HEIGHT_MASK + ldy #0 + and (vera_layer_get_height1_config),y + // (*config & VERA_LAYER_HEIGHT_MASK) >> 6 + // [183] screenlayer::vera_layer_get_height1_$1 = screenlayer::vera_layer_get_height1_$0 >> 6 -- vbuaa=vbuaa_ror_6 + rol + rol + rol + and #3 + // return VERA_LAYER_HEIGHT[ (*config & VERA_LAYER_HEIGHT_MASK) >> 6]; + // [184] screenlayer::vera_layer_get_height1_$3 = screenlayer::vera_layer_get_height1_$1 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [185] screenlayer::vera_layer_get_height1_return#0 = VERA_LAYER_HEIGHT[screenlayer::vera_layer_get_height1_$3] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda VERA_LAYER_HEIGHT,y + sta.z vera_layer_get_height1_return + lda VERA_LAYER_HEIGHT+1,y + sta.z vera_layer_get_height1_return+1 + // screenlayer::vera_layer_get_height1_@return + // } + // [186] screenlayer::vera_layer_get_height1_return#1 = screenlayer::vera_layer_get_height1_return#0 + // screenlayer::@2 + // vera_layer_get_height(conio_screen_layer) + // [187] screenlayer::$5 = screenlayer::vera_layer_get_height1_return#1 + // conio_height = vera_layer_get_height(conio_screen_layer) + // [188] conio_height = screenlayer::$5 -- vwuz1=vwuz2 + lda.z __5 + sta.z conio_height + lda.z __5+1 + sta.z conio_height+1 + // screenlayer::@return + // } + // [189] return + rts +} + // vera_layer_set_textcolor +// Set the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15) when the VERA works in 16x16 color text mode. +// An 8 bit value (decimal between 0 and 255) when the VERA works in 256 text mode. +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_textcolor(byte register(X) layer) +vera_layer_set_textcolor: { + // vera_layer_textcolor[layer] = color + // [191] vera_layer_textcolor[vera_layer_set_textcolor::layer#3] = WHITE -- pbuc1_derefidx_vbuxx=vbuc2 + lda #WHITE + sta vera_layer_textcolor,x + // vera_layer_set_textcolor::@return + // } + // [192] return + rts +} + // vera_layer_set_backcolor +// Set the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - color: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_set_backcolor(byte register(X) layer, byte register(A) color) +vera_layer_set_backcolor: { + // vera_layer_backcolor[layer] = color + // [194] vera_layer_backcolor[vera_layer_set_backcolor::layer#3] = vera_layer_set_backcolor::color#3 -- pbuc1_derefidx_vbuxx=vbuaa + sta vera_layer_backcolor,x + // vera_layer_set_backcolor::@return + // } + // [195] return + rts +} + // vera_layer_set_mapbase +// Set the base of the map layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - mapbase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// vera_layer_set_mapbase(byte register(A) layer, byte register(X) mapbase) +vera_layer_set_mapbase: { + .label addr = $34 + // addr = vera_layer_mapbase[layer] + // [197] vera_layer_set_mapbase::$0 = vera_layer_set_mapbase::layer#3 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [198] vera_layer_set_mapbase::addr#0 = vera_layer_mapbase[vera_layer_set_mapbase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_mapbase,y + sta.z addr + lda vera_layer_mapbase+1,y + sta.z addr+1 + // *addr = mapbase + // [199] *vera_layer_set_mapbase::addr#0 = vera_layer_set_mapbase::mapbase#3 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_mapbase::@return + // } + // [200] return + rts +} + // gotoxy +// Set the cursor to the specified position +// gotoxy(byte register(X) y) +gotoxy: { + .label __6 = $2c + .label line_offset = $2c + // if(y>CONIO_HEIGHT) + // [202] if(gotoxy::y#4<=conio_screen_height) goto gotoxy::@4 -- vbuxx_le_vbuz1_then_la1 + lda.z conio_screen_height + stx.z $ff + cmp.z $ff + bcs __b1 + // [204] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1] + // [204] phi gotoxy::y#5 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 + ldx #0 + // [203] phi from gotoxy to gotoxy::@4 [phi:gotoxy->gotoxy::@4] + // gotoxy::@4 + // [204] phi from gotoxy::@4 to gotoxy::@1 [phi:gotoxy::@4->gotoxy::@1] + // [204] phi gotoxy::y#5 = gotoxy::y#4 [phi:gotoxy::@4->gotoxy::@1#0] -- register_copy + // gotoxy::@1 + __b1: + // if(x>=CONIO_WIDTH) + // [205] if(0gotoxy::@3] + // gotoxy::@3 + // gotoxy::@2 + // conio_cursor_x[conio_screen_layer] = x + // [207] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer] = y + // [208] conio_cursor_y[conio_screen_layer] = gotoxy::y#5 -- pbuc1_derefidx_vbuz1=vbuxx + txa + sta conio_cursor_y,y + // (unsigned int)y << conio_rowshift + // [209] gotoxy::$6 = (word)gotoxy::y#5 -- vwuz1=_word_vbuxx + txa + sta.z __6 + lda #0 + sta.z __6+1 + // line_offset = (unsigned int)y << conio_rowshift + // [210] gotoxy::line_offset#0 = gotoxy::$6 << conio_rowshift -- vwuz1=vwuz1_rol_vbuz2 + ldy.z conio_rowshift + beq !e+ + !: + asl.z line_offset + rol.z line_offset+1 + dey + bne !- + !e: + // conio_line_text[conio_screen_layer] = line_offset + // [211] gotoxy::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [212] conio_line_text[gotoxy::$5] = gotoxy::line_offset#0 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z line_offset + sta conio_line_text,y + lda.z line_offset+1 + sta conio_line_text+1,y + // gotoxy::@return + // } + // [213] return + rts +} + // memcpy_in_vram +// Copy block of memory (from VRAM to VRAM) +// Copies the values from the location pointed by src to the location pointed by dest. +// The method uses the VERA access ports 0 and 1 to copy data from and to in VRAM. +// - src_bank: 64K VRAM bank number to copy from (0/1). +// - src: pointer to the location to copy from. Note that the address is a 16 bit value! +// - src_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - dest_bank: 64K VRAM bank number to copy to (0/1). +// - dest: pointer to the location to copy to. Note that the address is a 16 bit value! +// - dest_increment: the increment indicator, VERA needs this because addressing increment is automated by VERA at each access. +// - num: The number of bytes to copy +// memcpy_in_vram(byte zp($18) dest_bank, void* zp($47) dest, byte register(Y) src_bank, byte* zp($45) src, word zp($4d) num) +memcpy_in_vram: { + .label i = $49 + .label dest = $47 + .label src = $45 + .label num = $4d + .label dest_bank = $18 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [215] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // src + // [218] memcpy_in_vram::$1 = > memcpy_in_vram::src#3 -- vbuaa=_hi_pvoz1 + lda.z src+1 + // *VERA_ADDRX_M = >src + // [219] *VERA_ADDRX_M = memcpy_in_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // src_increment | src_bank + // [220] memcpy_in_vram::$2 = VERA_INC_1 | memcpy_in_vram::src_bank#3 -- vbuaa=vbuc1_bor_vbuyy + tya + ora #VERA_INC_1 + // *VERA_ADDRX_H = src_increment | src_bank + // [221] *VERA_ADDRX_H = memcpy_in_vram::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // *VERA_CTRL |= VERA_ADDRSEL + // [222] *VERA_CTRL = *VERA_CTRL | VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_bor_vbuc2 + // Select DATA1 + lda #VERA_ADDRSEL + ora VERA_CTRL + sta VERA_CTRL + // dest + // [225] memcpy_in_vram::$4 = > memcpy_in_vram::dest#3 -- vbuaa=_hi_pvoz1 + lda.z dest+1 + // *VERA_ADDRX_M = >dest + // [226] *VERA_ADDRX_M = memcpy_in_vram::$4 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // dest_increment | dest_bank + // [227] memcpy_in_vram::$5 = VERA_INC_1 | memcpy_in_vram::dest_bank#3 -- vbuaa=vbuc1_bor_vbuz1 + lda #VERA_INC_1 + ora.z dest_bank + // *VERA_ADDRX_H = dest_increment | dest_bank + // [228] *VERA_ADDRX_H = memcpy_in_vram::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [229] phi from memcpy_in_vram to memcpy_in_vram::@1 [phi:memcpy_in_vram->memcpy_in_vram::@1] + // [229] phi memcpy_in_vram::i#2 = 0 [phi:memcpy_in_vram->memcpy_in_vram::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z i + sta.z i+1 + // Transfer the data + // memcpy_in_vram::@1 + __b1: + // for(unsigned int i=0; imemcpy_in_vram::@1] + // [229] phi memcpy_in_vram::i#2 = memcpy_in_vram::i#1 [phi:memcpy_in_vram::@2->memcpy_in_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_layer_mode_tile +// Set a vera layer in tile mode and configure the: +// - layer: Value of 0 or 1. +// - mapbase_address: A dword typed address (4 bytes), that specifies the full address of the map base. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective mapbase vera register. +// Note that the register only specifies bits 16:9 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 512 bytes. +// - tilebase_address: A dword typed address (4 bytes), that specifies the base address of the tile map. +// The function does the translation from the dword that contains the 17 bit address, +// to the respective tilebase vera register. +// Note that the resulting vera register holds only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// - mapwidth: The width of the map in number of tiles. +// - mapheight: The height of the map in number of tiles. +// - tilewidth: The width of a tile, which can be 8 or 16 pixels. +// - tileheight: The height of a tile, which can be 8 or 16 pixels. +// - color_depth: The color depth in bits per pixel (BPP), which can be 1, 2, 4 or 8. +// vera_layer_mode_tile(byte zp($d) layer, dword zp($e) mapbase_address, dword zp($12) tilebase_address, word zp($2c) mapwidth, word zp($2a) mapheight, byte zp($16) tilewidth, byte zp($17) tileheight, byte register(X) color_depth) +vera_layer_mode_tile: { + .label __1 = $2e + .label __2 = $31 + .label __4 = $41 + .label __7 = $34 + .label __8 = $36 + .label __10 = $38 + .label __19 = $30 + .label __20 = $33 + .label mapbase_address = $e + .label tilebase_address = $12 + .label layer = $d + .label mapwidth = $2c + .label mapheight = $2a + .label tileheight = $17 + .label tilewidth = $16 + // case 1: + // config |= VERA_LAYER_COLOR_DEPTH_1BPP; + // break; + // [235] if(vera_layer_mode_tile::color_depth#5==1) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #1 + beq __b1 + // vera_layer_mode_tile::@1 + // case 2: + // config |= VERA_LAYER_COLOR_DEPTH_2BPP; + // break; + // [236] if(vera_layer_mode_tile::color_depth#5==2) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #2 + beq __b2 + // vera_layer_mode_tile::@2 + // case 4: + // config |= VERA_LAYER_COLOR_DEPTH_4BPP; + // break; + // [237] if(vera_layer_mode_tile::color_depth#5==4) goto vera_layer_mode_tile::@5 -- vbuxx_eq_vbuc1_then_la1 + cpx #4 + beq __b3 + // vera_layer_mode_tile::@3 + // case 8: + // config |= VERA_LAYER_COLOR_DEPTH_8BPP; + // break; + // [238] if(vera_layer_mode_tile::color_depth#5!=8) goto vera_layer_mode_tile::@5 -- vbuxx_neq_vbuc1_then_la1 + cpx #8 + bne __b4 + // [239] phi from vera_layer_mode_tile::@3 to vera_layer_mode_tile::@4 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@4] + // vera_layer_mode_tile::@4 + // [240] phi from vera_layer_mode_tile::@4 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@4->vera_layer_mode_tile::@5] + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_8BPP [phi:vera_layer_mode_tile::@4->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_8BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile->vera_layer_mode_tile::@5] + __b1: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_1BPP [phi:vera_layer_mode_tile->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_1BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@1 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@1->vera_layer_mode_tile::@5] + __b2: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_2BPP [phi:vera_layer_mode_tile::@1->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_2BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@2 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@2->vera_layer_mode_tile::@5] + __b3: + // [240] phi vera_layer_mode_tile::config#17 = VERA_LAYER_COLOR_DEPTH_4BPP [phi:vera_layer_mode_tile::@2->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #VERA_LAYER_COLOR_DEPTH_4BPP + jmp __b5 + // [240] phi from vera_layer_mode_tile::@3 to vera_layer_mode_tile::@5 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@5] + __b4: + // [240] phi vera_layer_mode_tile::config#17 = 0 [phi:vera_layer_mode_tile::@3->vera_layer_mode_tile::@5#0] -- vbuxx=vbuc1 + ldx #0 + // vera_layer_mode_tile::@5 + __b5: + // case 32: + // config |= VERA_LAYER_WIDTH_32; + // vera_layer_rowshift[layer] = 6; + // vera_layer_rowskip[layer] = 64; + // break; + // [241] if(vera_layer_mode_tile::mapwidth#10==$20) goto vera_layer_mode_tile::@9 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b9 + !: + // vera_layer_mode_tile::@6 + // case 64: + // config |= VERA_LAYER_WIDTH_64; + // vera_layer_rowshift[layer] = 7; + // vera_layer_rowskip[layer] = 128; + // break; + // [242] if(vera_layer_mode_tile::mapwidth#10==$40) goto vera_layer_mode_tile::@10 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b10 + !: + // vera_layer_mode_tile::@7 + // case 128: + // config |= VERA_LAYER_WIDTH_128; + // vera_layer_rowshift[layer] = 8; + // vera_layer_rowskip[layer] = 256; + // break; + // [243] if(vera_layer_mode_tile::mapwidth#10==$80) goto vera_layer_mode_tile::@11 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapwidth + bne !+ + lda.z mapwidth+1 + bne !+ + jmp __b11 + !: + // vera_layer_mode_tile::@8 + // case 256: + // config |= VERA_LAYER_WIDTH_256; + // vera_layer_rowshift[layer] = 9; + // vera_layer_rowskip[layer] = 512; + // break; + // [244] if(vera_layer_mode_tile::mapwidth#10!=$100) goto vera_layer_mode_tile::@13 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapwidth+1 + cmp #>$100 + bne __b13 + lda.z mapwidth + cmp #<$100 + bne __b13 + // vera_layer_mode_tile::@12 + // config |= VERA_LAYER_WIDTH_256 + // [245] vera_layer_mode_tile::config#8 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_256 + tax + // vera_layer_rowshift[layer] = 9 + // [246] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 9 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #9 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 512 + // [247] vera_layer_mode_tile::$16 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [248] vera_layer_rowskip[vera_layer_mode_tile::$16] = $200 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$200 + sta vera_layer_rowskip,y + lda #>$200 + sta vera_layer_rowskip+1,y + // [249] phi from vera_layer_mode_tile::@10 vera_layer_mode_tile::@11 vera_layer_mode_tile::@12 vera_layer_mode_tile::@8 vera_layer_mode_tile::@9 to vera_layer_mode_tile::@13 [phi:vera_layer_mode_tile::@10/vera_layer_mode_tile::@11/vera_layer_mode_tile::@12/vera_layer_mode_tile::@8/vera_layer_mode_tile::@9->vera_layer_mode_tile::@13] + // [249] phi vera_layer_mode_tile::config#21 = vera_layer_mode_tile::config#6 [phi:vera_layer_mode_tile::@10/vera_layer_mode_tile::@11/vera_layer_mode_tile::@12/vera_layer_mode_tile::@8/vera_layer_mode_tile::@9->vera_layer_mode_tile::@13#0] -- register_copy + // vera_layer_mode_tile::@13 + __b13: + // case 32: + // config |= VERA_LAYER_HEIGHT_32; + // break; + // [250] if(vera_layer_mode_tile::mapheight#10==$20) goto vera_layer_mode_tile::@20 -- vwuz1_eq_vbuc1_then_la1 + lda #$20 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b20 + !: + // vera_layer_mode_tile::@14 + // case 64: + // config |= VERA_LAYER_HEIGHT_64; + // break; + // [251] if(vera_layer_mode_tile::mapheight#10==$40) goto vera_layer_mode_tile::@17 -- vwuz1_eq_vbuc1_then_la1 + lda #$40 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b17 + !: + // vera_layer_mode_tile::@15 + // case 128: + // config |= VERA_LAYER_HEIGHT_128; + // break; + // [252] if(vera_layer_mode_tile::mapheight#10==$80) goto vera_layer_mode_tile::@18 -- vwuz1_eq_vbuc1_then_la1 + lda #$80 + cmp.z mapheight + bne !+ + lda.z mapheight+1 + bne !+ + jmp __b18 + !: + // vera_layer_mode_tile::@16 + // case 256: + // config |= VERA_LAYER_HEIGHT_256; + // break; + // [253] if(vera_layer_mode_tile::mapheight#10!=$100) goto vera_layer_mode_tile::@20 -- vwuz1_neq_vwuc1_then_la1 + lda.z mapheight+1 + cmp #>$100 + bne __b20 + lda.z mapheight + cmp #<$100 + bne __b20 + // vera_layer_mode_tile::@19 + // config |= VERA_LAYER_HEIGHT_256 + // [254] vera_layer_mode_tile::config#12 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_256 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_256 + tax + // [255] phi from vera_layer_mode_tile::@13 vera_layer_mode_tile::@16 vera_layer_mode_tile::@17 vera_layer_mode_tile::@18 vera_layer_mode_tile::@19 to vera_layer_mode_tile::@20 [phi:vera_layer_mode_tile::@13/vera_layer_mode_tile::@16/vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@19->vera_layer_mode_tile::@20] + // [255] phi vera_layer_mode_tile::config#25 = vera_layer_mode_tile::config#21 [phi:vera_layer_mode_tile::@13/vera_layer_mode_tile::@16/vera_layer_mode_tile::@17/vera_layer_mode_tile::@18/vera_layer_mode_tile::@19->vera_layer_mode_tile::@20#0] -- register_copy + // vera_layer_mode_tile::@20 + __b20: + // vera_layer_set_config(layer, config) + // [256] vera_layer_set_config::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [257] vera_layer_set_config::config#0 = vera_layer_mode_tile::config#25 + // [258] call vera_layer_set_config + jsr vera_layer_set_config + // vera_layer_mode_tile::@27 + // mapbase_address + // [262] vera_layer_mode_tile::$2 = > vera_layer_mode_tile::mapbase_address#10 -- vwuz1=_hi_vduz2 + lda.z mapbase_address+2 + sta.z __2 + lda.z mapbase_address+3 + sta.z __2+1 + // vera_mapbase_bank[layer] = (byte)(>mapbase_address) + // [263] vera_mapbase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$2 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __2 + sta vera_mapbase_bank,y + // vera_mapbase_address[layer] = mapbase_address + // [264] vera_layer_mode_tile::$20 = vera_layer_mode_tile::layer#10 << 2 -- vbuz1=vbuz2_rol_2 + tya + asl + asl + sta.z __20 + // [265] vera_mapbase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::mapbase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + tay + lda.z mapbase_address + sta vera_mapbase_address,y + lda.z mapbase_address+1 + sta vera_mapbase_address+1,y + lda.z mapbase_address+2 + sta vera_mapbase_address+2,y + lda.z mapbase_address+3 + sta vera_mapbase_address+3,y + // mapbase_address = mapbase_address >> 1 + // [266] vera_layer_mode_tile::mapbase_address#0 = vera_layer_mode_tile::mapbase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z mapbase_address+3 + ror.z mapbase_address+2 + ror.z mapbase_address+1 + ror.z mapbase_address + // ( vera_layer_mode_tile::$4 -- vbuxx=_hi_vwuz1 + tax + // vera_layer_set_mapbase(layer,mapbase) + // [269] vera_layer_set_mapbase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [270] vera_layer_set_mapbase::mapbase#0 = vera_layer_mode_tile::mapbase#0 + // [271] call vera_layer_set_mapbase + // [196] phi from vera_layer_mode_tile::@27 to vera_layer_set_mapbase [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase] + // [196] phi vera_layer_set_mapbase::mapbase#3 = vera_layer_set_mapbase::mapbase#0 [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase#0] -- register_copy + // [196] phi vera_layer_set_mapbase::layer#3 = vera_layer_set_mapbase::layer#0 [phi:vera_layer_mode_tile::@27->vera_layer_set_mapbase#1] -- register_copy + jsr vera_layer_set_mapbase + // vera_layer_mode_tile::@28 + // tilebase_address + // [274] vera_layer_mode_tile::$8 = > vera_layer_mode_tile::tilebase_address#10 -- vwuz1=_hi_vduz2 + lda.z tilebase_address+2 + sta.z __8 + lda.z tilebase_address+3 + sta.z __8+1 + // vera_tilebase_bank[layer] = (byte)>tilebase_address + // [275] vera_tilebase_bank[vera_layer_mode_tile::layer#10] = (byte)vera_layer_mode_tile::$8 -- pbuc1_derefidx_vbuz1=_byte_vwuz2 + ldy.z layer + lda.z __8 + sta vera_tilebase_bank,y + // vera_tilebase_address[layer] = tilebase_address + // [276] vera_tilebase_address[vera_layer_mode_tile::$20] = vera_layer_mode_tile::tilebase_address#10 -- pduc1_derefidx_vbuz1=vduz2 + ldy.z __20 + lda.z tilebase_address + sta vera_tilebase_address,y + lda.z tilebase_address+1 + sta vera_tilebase_address+1,y + lda.z tilebase_address+2 + sta vera_tilebase_address+2,y + lda.z tilebase_address+3 + sta vera_tilebase_address+3,y + // tilebase_address = tilebase_address >> 1 + // [277] vera_layer_mode_tile::tilebase_address#0 = vera_layer_mode_tile::tilebase_address#10 >> 1 -- vduz1=vduz1_ror_1 + lsr.z tilebase_address+3 + ror.z tilebase_address+2 + ror.z tilebase_address+1 + ror.z tilebase_address + // ( vera_layer_mode_tile::$10 -- vbuaa=_hi_vwuz1 + // tilebase &= VERA_LAYER_TILEBASE_MASK + // [280] vera_layer_mode_tile::tilebase#1 = vera_layer_mode_tile::tilebase#0 & VERA_LAYER_TILEBASE_MASK -- vbuxx=vbuaa_band_vbuc1 + and #VERA_LAYER_TILEBASE_MASK + tax + // case 8: + // tilebase |= VERA_TILEBASE_WIDTH_8; + // break; + // [281] if(vera_layer_mode_tile::tilewidth#10==8) goto vera_layer_mode_tile::@23 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tilewidth + beq __b23 + // vera_layer_mode_tile::@21 + // case 16: + // tilebase |= VERA_TILEBASE_WIDTH_16; + // break; + // [282] if(vera_layer_mode_tile::tilewidth#10!=$10) goto vera_layer_mode_tile::@23 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tilewidth + bne __b23 + // vera_layer_mode_tile::@22 + // tilebase |= VERA_TILEBASE_WIDTH_16 + // [283] vera_layer_mode_tile::tilebase#3 = vera_layer_mode_tile::tilebase#1 | VERA_TILEBASE_WIDTH_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_WIDTH_16 + tax + // [284] phi from vera_layer_mode_tile::@21 vera_layer_mode_tile::@22 vera_layer_mode_tile::@28 to vera_layer_mode_tile::@23 [phi:vera_layer_mode_tile::@21/vera_layer_mode_tile::@22/vera_layer_mode_tile::@28->vera_layer_mode_tile::@23] + // [284] phi vera_layer_mode_tile::tilebase#12 = vera_layer_mode_tile::tilebase#1 [phi:vera_layer_mode_tile::@21/vera_layer_mode_tile::@22/vera_layer_mode_tile::@28->vera_layer_mode_tile::@23#0] -- register_copy + // vera_layer_mode_tile::@23 + __b23: + // case 8: + // tilebase |= VERA_TILEBASE_HEIGHT_8; + // break; + // [285] if(vera_layer_mode_tile::tileheight#10==8) goto vera_layer_mode_tile::@26 -- vbuz1_eq_vbuc1_then_la1 + lda #8 + cmp.z tileheight + beq __b26 + // vera_layer_mode_tile::@24 + // case 16: + // tilebase |= VERA_TILEBASE_HEIGHT_16; + // break; + // [286] if(vera_layer_mode_tile::tileheight#10!=$10) goto vera_layer_mode_tile::@26 -- vbuz1_neq_vbuc1_then_la1 + lda #$10 + cmp.z tileheight + bne __b26 + // vera_layer_mode_tile::@25 + // tilebase |= VERA_TILEBASE_HEIGHT_16 + // [287] vera_layer_mode_tile::tilebase#5 = vera_layer_mode_tile::tilebase#12 | VERA_TILEBASE_HEIGHT_16 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_TILEBASE_HEIGHT_16 + tax + // [288] phi from vera_layer_mode_tile::@23 vera_layer_mode_tile::@24 vera_layer_mode_tile::@25 to vera_layer_mode_tile::@26 [phi:vera_layer_mode_tile::@23/vera_layer_mode_tile::@24/vera_layer_mode_tile::@25->vera_layer_mode_tile::@26] + // [288] phi vera_layer_mode_tile::tilebase#10 = vera_layer_mode_tile::tilebase#12 [phi:vera_layer_mode_tile::@23/vera_layer_mode_tile::@24/vera_layer_mode_tile::@25->vera_layer_mode_tile::@26#0] -- register_copy + // vera_layer_mode_tile::@26 + __b26: + // vera_layer_set_tilebase(layer,tilebase) + // [289] vera_layer_set_tilebase::layer#0 = vera_layer_mode_tile::layer#10 -- vbuaa=vbuz1 + lda.z layer + // [290] vera_layer_set_tilebase::tilebase#0 = vera_layer_mode_tile::tilebase#10 + // [291] call vera_layer_set_tilebase + jsr vera_layer_set_tilebase + // vera_layer_mode_tile::@return + // } + // [292] return + rts + // vera_layer_mode_tile::@18 + __b18: + // config |= VERA_LAYER_HEIGHT_128 + // [293] vera_layer_mode_tile::config#11 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_128 + tax + jmp __b20 + // vera_layer_mode_tile::@17 + __b17: + // config |= VERA_LAYER_HEIGHT_64 + // [294] vera_layer_mode_tile::config#10 = vera_layer_mode_tile::config#21 | VERA_LAYER_HEIGHT_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_HEIGHT_64 + tax + jmp __b20 + // vera_layer_mode_tile::@11 + __b11: + // config |= VERA_LAYER_WIDTH_128 + // [295] vera_layer_mode_tile::config#7 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_128 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_128 + tax + // vera_layer_rowshift[layer] = 8 + // [296] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 8 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #8 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 256 + // [297] vera_layer_mode_tile::$15 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [298] vera_layer_rowskip[vera_layer_mode_tile::$15] = $100 -- pwuc1_derefidx_vbuaa=vwuc2 + tay + lda #<$100 + sta vera_layer_rowskip,y + lda #>$100 + sta vera_layer_rowskip+1,y + jmp __b13 + // vera_layer_mode_tile::@10 + __b10: + // config |= VERA_LAYER_WIDTH_64 + // [299] vera_layer_mode_tile::config#6 = vera_layer_mode_tile::config#17 | VERA_LAYER_WIDTH_64 -- vbuxx=vbuxx_bor_vbuc1 + txa + ora #VERA_LAYER_WIDTH_64 + tax + // vera_layer_rowshift[layer] = 7 + // [300] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 7 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #7 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 128 + // [301] vera_layer_mode_tile::$14 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [302] vera_layer_rowskip[vera_layer_mode_tile::$14] = $80 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$80 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13 + // vera_layer_mode_tile::@9 + __b9: + // vera_layer_rowshift[layer] = 6 + // [303] vera_layer_rowshift[vera_layer_mode_tile::layer#10] = 6 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #6 + ldy.z layer + sta vera_layer_rowshift,y + // vera_layer_rowskip[layer] = 64 + // [304] vera_layer_mode_tile::$13 = vera_layer_mode_tile::layer#10 << 1 -- vbuaa=vbuz1_rol_1 + tya + asl + // [305] vera_layer_rowskip[vera_layer_mode_tile::$13] = $40 -- pwuc1_derefidx_vbuaa=vbuc2 + tay + lda #$40 + sta vera_layer_rowskip,y + lda #0 + sta vera_layer_rowskip+1,y + jmp __b13 +} + // clrscr +// clears the screen and moves the cursor to the upper left-hand corner of the screen. +clrscr: { + .label __1 = $3a + .label line_text = $45 + .label color = $3a + // line_text = CONIO_SCREEN_TEXT + // [306] clrscr::line_text#0 = (byte*)CONIO_SCREEN_TEXT#17 -- pbuz1=pbuz2 + lda.z CONIO_SCREEN_TEXT + sta.z line_text + lda.z CONIO_SCREEN_TEXT+1 + sta.z line_text+1 + // vera_layer_get_backcolor(conio_screen_layer) + // [307] vera_layer_get_backcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [308] call vera_layer_get_backcolor + jsr vera_layer_get_backcolor + // [309] vera_layer_get_backcolor::return#2 = vera_layer_get_backcolor::return#0 + // clrscr::@7 + // [310] clrscr::$0 = vera_layer_get_backcolor::return#2 + // vera_layer_get_backcolor(conio_screen_layer) << 4 + // [311] clrscr::$1 = clrscr::$0 << 4 -- vbuz1=vbuaa_rol_4 + asl + asl + asl + asl + sta.z __1 + // vera_layer_get_textcolor(conio_screen_layer) + // [312] vera_layer_get_textcolor::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [313] call vera_layer_get_textcolor + jsr vera_layer_get_textcolor + // [314] vera_layer_get_textcolor::return#2 = vera_layer_get_textcolor::return#0 + // clrscr::@8 + // [315] clrscr::$2 = vera_layer_get_textcolor::return#2 + // color = ( vera_layer_get_backcolor(conio_screen_layer) << 4 ) | vera_layer_get_textcolor(conio_screen_layer) + // [316] clrscr::color#0 = clrscr::$1 | clrscr::$2 -- vbuz1=vbuz1_bor_vbuaa + ora.z color + sta.z color + // [317] phi from clrscr::@8 to clrscr::@1 [phi:clrscr::@8->clrscr::@1] + // [317] phi clrscr::line_text#2 = clrscr::line_text#0 [phi:clrscr::@8->clrscr::@1#0] -- register_copy + // [317] phi clrscr::l#2 = 0 [phi:clrscr::@8->clrscr::@1#1] -- vbuxx=vbuc1 + ldx #0 + // clrscr::@1 + __b1: + // for( char l=0;lch + // [327] clrscr::$6 = > clrscr::line_text#2 -- vbuaa=_hi_pbuz1 + lda.z line_text+1 + // *VERA_ADDRX_M = >ch + // [328] *VERA_ADDRX_M = clrscr::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + // [329] clrscr::$7 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + // [330] *VERA_ADDRX_H = clrscr::$7 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [331] phi from clrscr::@2 to clrscr::@4 [phi:clrscr::@2->clrscr::@4] + // [331] phi clrscr::c#2 = 0 [phi:clrscr::@2->clrscr::@4#0] -- vbuyy=vbuc1 + ldy #0 + // clrscr::@4 + __b4: + // for( char c=0;cclrscr::@1] + // [317] phi clrscr::line_text#2 = clrscr::line_text#1 [phi:clrscr::@6->clrscr::@1#0] -- register_copy + // [317] phi clrscr::l#2 = clrscr::l#1 [phi:clrscr::@6->clrscr::@1#1] -- register_copy + jmp __b1 + // clrscr::@5 + __b5: + // *VERA_DATA0 = ' ' + // [335] *VERA_DATA0 = ' ' -- _deref_pbuc1=vbuc2 + lda #' ' + sta VERA_DATA0 + // *VERA_DATA0 = color + // [336] *VERA_DATA0 = clrscr::color#0 -- _deref_pbuc1=vbuz1 + lda.z color + sta VERA_DATA0 + // for( char c=0;cclrscr::@4] + // [331] phi clrscr::c#2 = clrscr::c#1 [phi:clrscr::@5->clrscr::@4#0] -- register_copy + jmp __b4 +} + // memcpy_to_vram +// Copy block of memory (from RAM to VRAM) +// Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination in VRAM. +// - vbank: Which 64K VRAM bank to put data into (0/1) +// - vdest: The destination address in VRAM +// - src: The source address in RAM +// - num: The number of bytes to copy +// memcpy_to_vram(void* zp($47) vdest) +memcpy_to_vram: { + .label end = main.tiles+$100 + .label s = $4d + .label vdest = $47 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [339] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // vdest + // [342] memcpy_to_vram::$1 = > memcpy_to_vram::vdest#2 -- vbuaa=_hi_pvoz1 + lda.z vdest+1 + // *VERA_ADDRX_M = >vdest + // [343] *VERA_ADDRX_M = memcpy_to_vram::$1 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 | vbank + // [344] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // [345] phi from memcpy_to_vram to memcpy_to_vram::@1 [phi:memcpy_to_vram->memcpy_to_vram::@1] + // [345] phi memcpy_to_vram::s#2 = (byte*)(void*)main::tiles [phi:memcpy_to_vram->memcpy_to_vram::@1#0] -- pbuz1=pbuc1 + lda #main.tiles + sta.z s+1 + // memcpy_to_vram::@1 + __b1: + // for(char *s = src; s!=end; s++) + // [346] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2 -- pbuz1_neq_pbuc1_then_la1 + lda.z s+1 + cmp #>end + bne __b2 + lda.z s + cmp #memcpy_to_vram::@1] + // [345] phi memcpy_to_vram::s#2 = memcpy_to_vram::s#1 [phi:memcpy_to_vram::@2->memcpy_to_vram::@1#0] -- register_copy + jmp __b1 +} + // vera_tile_area +// --- TILE FUNCTIONS --- +// vera_tile_area(word zp(8) tileindex, byte zp($c) x, byte zp(6) y, byte zp($3a) w, byte zp($18) h, byte zp($4c) hflip, byte zp($3d) vflip) +vera_tile_area: { + .label __4 = $45 + .label __10 = $45 + .label vera_vram_address01___0 = $47 + .label vera_vram_address01___2 = $4d + .label vera_vram_address01___4 = $49 + .label mapbase = $19 + .label shift = $4b + .label rowskip = $3b + .label hflip = $4c + .label vflip = $3d + .label index_l = $3e + .label index_h = $3d + .label r = $3f + .label tileindex = 8 + .label x = $c + .label y = 6 + .label h = $18 + .label w = $3a + // mapbase = vera_mapbase_address[layer] + // [351] vera_tile_area::mapbase#0 = *vera_mapbase_address -- vduz1=_deref_pduc1 + lda vera_mapbase_address + sta.z mapbase + lda vera_mapbase_address+1 + sta.z mapbase+1 + lda vera_mapbase_address+2 + sta.z mapbase+2 + lda vera_mapbase_address+3 + sta.z mapbase+3 + // shift = vera_layer_rowshift[layer] + // [352] vera_tile_area::shift#0 = *vera_layer_rowshift -- vbuz1=_deref_pbuc1 + lda vera_layer_rowshift + sta.z shift + // rowskip = (word)1 << shift + // [353] vera_tile_area::rowskip#0 = 1 << vera_tile_area::shift#0 -- vwuz1=vwuc1_rol_vbuz2 + tay + lda #<1 + sta.z rowskip + lda #>1+1 + sta.z rowskip+1 + cpy #0 + beq !e+ + !: + asl.z rowskip + rol.z rowskip+1 + dey + bne !- + !e: + // hflip = vera_layer_hflip[hflip] + // [354] vera_tile_area::hflip#0 = *vera_layer_hflip -- vbuz1=_deref_pbuc1 + lda vera_layer_hflip + sta.z hflip + // vflip = vera_layer_vflip[vflip] + // [355] vera_tile_area::vflip#0 = *vera_layer_vflip -- vbuz1=_deref_pbuc1 + lda vera_layer_vflip + sta.z vflip + // index_l = tileindex + // [357] vera_tile_area::index_h#0 = > vera_tile_area::tileindex#5 -- vbuaa=_hi_vwuz1 + lda.z tileindex+1 + // index_h |= hflip + // [358] vera_tile_area::index_h#1 = vera_tile_area::index_h#0 | vera_tile_area::hflip#0 -- vbuaa=vbuaa_bor_vbuz1 + ora.z hflip + // index_h |= vflip + // [359] vera_tile_area::index_h#2 = vera_tile_area::index_h#1 | vera_tile_area::vflip#0 -- vbuz1=vbuaa_bor_vbuz1 + ora.z index_h + sta.z index_h + // (word)y << shift + // [360] vera_tile_area::$10 = (word)vera_tile_area::y#5 -- vwuz1=_word_vbuz2 + lda.z y + sta.z __10 + lda #0 + sta.z __10+1 + // [361] vera_tile_area::$4 = vera_tile_area::$10 << vera_tile_area::shift#0 -- vwuz1=vwuz1_rol_vbuz2 + ldy.z shift + beq !e+ + !: + asl.z __4 + rol.z __4+1 + dey + bne !- + !e: + // mapbase += ((word)y << shift) + // [362] vera_tile_area::mapbase#1 = vera_tile_area::mapbase#0 + vera_tile_area::$4 -- vduz1=vduz1_plus_vwuz2 + lda.z mapbase + clc + adc.z __4 + sta.z mapbase + lda.z mapbase+1 + adc.z __4+1 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + // x << 1 + // [363] vera_tile_area::$5 = vera_tile_area::x#5 << 1 -- vbuaa=vbuz1_rol_1 + lda.z x + asl + // mapbase += (x << 1) + // [364] vera_tile_area::mapbase#2 = vera_tile_area::mapbase#1 + vera_tile_area::$5 -- vduz1=vduz1_plus_vbuaa + clc + adc.z mapbase + sta.z mapbase + lda.z mapbase+1 + adc #0 + sta.z mapbase+1 + lda.z mapbase+2 + adc #0 + sta.z mapbase+2 + lda.z mapbase+3 + adc #0 + sta.z mapbase+3 + // [365] phi from vera_tile_area to vera_tile_area::@1 [phi:vera_tile_area->vera_tile_area::@1] + // [365] phi vera_tile_area::mapbase#10 = vera_tile_area::mapbase#2 [phi:vera_tile_area->vera_tile_area::@1#0] -- register_copy + // [365] phi vera_tile_area::r#2 = 0 [phi:vera_tile_area->vera_tile_area::@1#1] -- vbuz1=vbuc1 + lda #0 + sta.z r + // vera_tile_area::@1 + __b1: + // for(byte r=0; r( vera_tile_area::vera_vram_address01_$2 -- vbuaa=_hi_vwuz1 + // *VERA_ADDRX_M = >(bankaddr + // [375] vera_tile_area::vera_vram_address01_$4 = > vera_tile_area::mapbase#10 -- vwuz1=_hi_vduz2 + lda.z mapbase+2 + sta.z vera_vram_address01___4 + lda.z mapbase+3 + sta.z vera_vram_address01___4+1 + // <(>bankaddr) + // [376] vera_tile_area::vera_vram_address01_$5 = < vera_tile_area::vera_vram_address01_$4 -- vbuaa=_lo_vwuz1 + lda.z vera_vram_address01___4 + // <(>bankaddr) | incr + // [377] vera_tile_area::vera_vram_address01_$6 = vera_tile_area::vera_vram_address01_$5 | VERA_INC_1 -- vbuaa=vbuaa_bor_vbuc1 + ora #VERA_INC_1 + // *VERA_ADDRX_H = <(>bankaddr) | incr + // [378] *VERA_ADDRX_H = vera_tile_area::vera_vram_address01_$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // [379] phi from vera_tile_area::vera_vram_address01 to vera_tile_area::@2 [phi:vera_tile_area::vera_vram_address01->vera_tile_area::@2] + // [379] phi vera_tile_area::c#2 = 0 [phi:vera_tile_area::vera_vram_address01->vera_tile_area::@2#0] -- vbuyy=vbuc1 + ldy #0 + // vera_tile_area::@2 + __b2: + // for(byte c=0; cvera_tile_area::@1] + // [365] phi vera_tile_area::mapbase#10 = vera_tile_area::mapbase#3 [phi:vera_tile_area::@4->vera_tile_area::@1#0] -- register_copy + // [365] phi vera_tile_area::r#2 = vera_tile_area::r#1 [phi:vera_tile_area::@4->vera_tile_area::@1#1] -- register_copy + jmp __b1 + // vera_tile_area::@3 + __b3: + // *VERA_DATA0 = index_l + // [383] *VERA_DATA0 = vera_tile_area::index_l#0 -- _deref_pbuc1=vbuz1 + lda.z index_l + sta VERA_DATA0 + // *VERA_DATA0 = index_h + // [384] *VERA_DATA0 = vera_tile_area::index_h#2 -- _deref_pbuc1=vbuz1 + lda.z index_h + sta VERA_DATA0 + // for(byte c=0; cvera_tile_area::@2] + // [379] phi vera_tile_area::c#2 = vera_tile_area::c#1 [phi:vera_tile_area::@3->vera_tile_area::@2#0] -- register_copy + jmp __b2 +} + // cputs +// Output a NUL-terminated string at the current cursor position +// cputs(byte* zp($3b) s) +cputs: { + .label s = $3b + // [387] phi from cputs cputs::@2 to cputs::@1 [phi:cputs/cputs::@2->cputs::@1] + // [387] phi cputs::s#9 = cputs::s#10 [phi:cputs/cputs::@2->cputs::@1#0] -- register_copy + // cputs::@1 + __b1: + // while(c=*s++) + // [388] cputs::c#1 = *cputs::s#9 -- vbuaa=_deref_pbuz1 + ldy #0 + lda (s),y + // [389] cputs::s#0 = ++ cputs::s#9 -- pbuz1=_inc_pbuz1 + inc.z s + bne !+ + inc.z s+1 + !: + // [390] if(0!=cputs::c#1) goto cputs::@2 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b2 + // cputs::@return + // } + // [391] return + rts + // cputs::@2 + __b2: + // cputc(c) + // [392] cputc::c#0 = cputs::c#1 -- vbuz1=vbuaa + sta.z cputc.c + // [393] call cputc + jsr cputc + jmp __b1 +} + // kbhit +// Return true if there's a key waiting, return false if not +kbhit: { + .label chptr = ch + .label IN_DEV = $28a + // Current input device number + .label GETIN = $ffe4 + .label ch = $40 + // ch = 0 + // [394] kbhit::ch = 0 -- vbuz1=vbuc1 + lda #0 + sta.z ch + // kickasm + // kickasm( uses kbhit::chptr uses kbhit::IN_DEV uses kbhit::GETIN) {{ jsr _kbhit bne L3 jmp continue1 .var via1 = $9f60 //VIA#1 .var d1pra = via1+1 _kbhit: ldy d1pra // The count of keys pressed is stored in RAM bank 0. stz d1pra // Set d1pra to zero to access RAM bank 0. lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). sty d1pra // Set d1pra to previous value. rts L3: ldy IN_DEV // Save current input device stz IN_DEV // Keyboard phy jsr GETIN // Read char, and return in .A ply sta chptr // Store the character read in ch sty IN_DEV // Restore input device ldx #>$0000 rts continue1: nop }} + // CBM GETIN API + jsr _kbhit + bne L3 + + jmp continue1 + + .var via1 = $9f60 //VIA#1 + .var d1pra = via1+1 + + _kbhit: + ldy d1pra // The count of keys pressed is stored in RAM bank 0. + stz d1pra // Set d1pra to zero to access RAM bank 0. + lda $A00A // Get number of characters from this address in the ROM of the CX16 (ROM 38). + sty d1pra // Set d1pra to previous value. + rts + + L3: + ldy IN_DEV // Save current input device + stz IN_DEV // Keyboard + phy + jsr GETIN // Read char, and return in .A + ply + sta chptr // Store the character read in ch + sty IN_DEV // Restore input device + ldx #>$0000 + rts + + continue1: + nop + + // return ch; + // [396] kbhit::return#0 = kbhit::ch -- vbuaa=vbuz1 + // kbhit::@return + // } + // [397] kbhit::return#1 = kbhit::return#0 + // [398] return + rts +} + // vera_layer_set_text_color_mode +// Set the configuration of the layer text color mode. +// - layer: Value of 0 or 1. +// - color_mode: Specifies the color mode to be VERA_LAYER_CONFIG_16 or VERA_LAYER_CONFIG_256 for text mode. +vera_layer_set_text_color_mode: { + .label addr = $41 + // addr = vera_layer_config[layer] + // [399] vera_layer_set_text_color_mode::addr#0 = *(vera_layer_config+vera_layer_mode_text::layer#0*SIZEOF_POINTER) -- pbuz1=_deref_qbuc1 + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER + sta.z addr + lda vera_layer_config+vera_layer_mode_text.layer*SIZEOF_POINTER+1 + sta.z addr+1 + // *addr &= ~VERA_LAYER_CONFIG_256C + // [400] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 & ~VERA_LAYER_CONFIG_256C -- _deref_pbuz1=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C^$ff + ldy #0 + and (addr),y + sta (addr),y + // *addr |= color_mode + // [401] *vera_layer_set_text_color_mode::addr#0 = *vera_layer_set_text_color_mode::addr#0 -- _deref_pbuz1=_deref_pbuz1 + lda (addr),y + sta (addr),y + // vera_layer_set_text_color_mode::@return + // } + // [402] return + rts +} + // vera_layer_get_mapbase_bank +// Get the map base bank of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Bank in vera vram. +// vera_layer_get_mapbase_bank(byte register(X) layer) +vera_layer_get_mapbase_bank: { + // return vera_mapbase_bank[layer]; + // [403] vera_layer_get_mapbase_bank::return#0 = vera_mapbase_bank[vera_layer_get_mapbase_bank::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_mapbase_bank,x + // vera_layer_get_mapbase_bank::@return + // } + // [404] return + rts +} + // vera_layer_get_mapbase_offset +// Get the map base lower 16-bit address (offset) of the tiles for the layer. +// - layer: Value of 0 or 1. +// - return: Offset in vera vram of the specified bank. +// vera_layer_get_mapbase_offset(byte register(A) layer) +vera_layer_get_mapbase_offset: { + .label return = $2c + // return vera_mapbase_offset[layer]; + // [405] vera_layer_get_mapbase_offset::$0 = vera_layer_get_mapbase_offset::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [406] vera_layer_get_mapbase_offset::return#0 = vera_mapbase_offset[vera_layer_get_mapbase_offset::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_mapbase_offset,y + sta.z return + lda vera_mapbase_offset+1,y + sta.z return+1 + // vera_layer_get_mapbase_offset::@return + // } + // [407] return + rts +} + // vera_layer_get_rowshift +// Get the bit shift value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Rowshift value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowshift(byte register(X) layer) +vera_layer_get_rowshift: { + // return vera_layer_rowshift[layer]; + // [408] vera_layer_get_rowshift::return#0 = vera_layer_rowshift[vera_layer_get_rowshift::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_rowshift,x + // vera_layer_get_rowshift::@return + // } + // [409] return + rts +} + // vera_layer_get_rowskip +// Get the value required to skip a whole line fast. +// - layer: Value of 0 or 1. +// - return: Skip value to calculate fast from a y value to line offset in tile mode. +// vera_layer_get_rowskip(byte register(A) layer) +vera_layer_get_rowskip: { + .label return = $2c + // return vera_layer_rowskip[layer]; + // [410] vera_layer_get_rowskip::$0 = vera_layer_get_rowskip::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [411] vera_layer_get_rowskip::return#0 = vera_layer_rowskip[vera_layer_get_rowskip::$0] -- vwuz1=pwuc1_derefidx_vbuaa + tay + lda vera_layer_rowskip,y + sta.z return + lda vera_layer_rowskip+1,y + sta.z return+1 + // vera_layer_get_rowskip::@return + // } + // [412] return + rts +} + // vera_layer_set_config +// Set the configuration of the layer. +// - layer: Value of 0 or 1. +// - config: Specifies the modes which are specified using T256C / 'Bitmap Mode' / 'Color Depth'. +// vera_layer_set_config(byte register(A) layer, byte register(X) config) +vera_layer_set_config: { + .label addr = $43 + // addr = vera_layer_config[layer] + // [413] vera_layer_set_config::$0 = vera_layer_set_config::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [414] vera_layer_set_config::addr#0 = vera_layer_config[vera_layer_set_config::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr = config + // [415] *vera_layer_set_config::addr#0 = vera_layer_set_config::config#0 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_config::@return + // } + // [416] return + rts +} + // vera_layer_set_tilebase +// Set the base of the tiles for the layer with which the conio will interact. +// - layer: Value of 0 or 1. +// - tilebase: Specifies the base address of the tile map. +// Note that the register only specifies bits 16:11 of the address, +// so the resulting address in the VERA VRAM is always aligned to a multiple of 2048 bytes! +// vera_layer_set_tilebase(byte register(A) layer, byte register(X) tilebase) +vera_layer_set_tilebase: { + .label addr = $43 + // addr = vera_layer_tilebase[layer] + // [417] vera_layer_set_tilebase::$0 = vera_layer_set_tilebase::layer#0 << 1 -- vbuaa=vbuaa_rol_1 + asl + // [418] vera_layer_set_tilebase::addr#0 = vera_layer_tilebase[vera_layer_set_tilebase::$0] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_tilebase,y + sta.z addr + lda vera_layer_tilebase+1,y + sta.z addr+1 + // *addr = tilebase + // [419] *vera_layer_set_tilebase::addr#0 = vera_layer_set_tilebase::tilebase#0 -- _deref_pbuz1=vbuxx + txa + ldy #0 + sta (addr),y + // vera_layer_set_tilebase::@return + // } + // [420] return + rts +} + // vera_layer_get_backcolor +// Get the back color for text output. The old back text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_backcolor(byte register(X) layer) +vera_layer_get_backcolor: { + // return vera_layer_backcolor[layer]; + // [421] vera_layer_get_backcolor::return#0 = vera_layer_backcolor[vera_layer_get_backcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_backcolor,x + // vera_layer_get_backcolor::@return + // } + // [422] return + rts +} + // vera_layer_get_textcolor +// Get the front color for text output. The old front text color setting is returned. +// - layer: Value of 0 or 1. +// - return: a 4 bit value ( decimal between 0 and 15). +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_textcolor(byte register(X) layer) +vera_layer_get_textcolor: { + // return vera_layer_textcolor[layer]; + // [423] vera_layer_get_textcolor::return#0 = vera_layer_textcolor[vera_layer_get_textcolor::layer#0] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + // vera_layer_get_textcolor::@return + // } + // [424] return + rts +} + // cputc +// Output one character at the current cursor position +// Moves the cursor forward. Scrolls the entire screen if needed +// cputc(byte zp($3f) c) +cputc: { + .label __16 = $47 + .label conio_addr = $45 + .label c = $3f + // vera_layer_get_color( conio_screen_layer) + // [425] vera_layer_get_color::layer#0 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [426] call vera_layer_get_color + // [456] phi from cputc to vera_layer_get_color [phi:cputc->vera_layer_get_color] + // [456] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#0 [phi:cputc->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // [427] vera_layer_get_color::return#3 = vera_layer_get_color::return#2 + // cputc::@7 + // color = vera_layer_get_color( conio_screen_layer) + // [428] cputc::color#0 = vera_layer_get_color::return#3 -- vbuxx=vbuaa + tax + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [429] cputc::$15 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // conio_addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [430] cputc::conio_addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[cputc::$15] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z conio_addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z conio_addr+1 + // conio_cursor_x[conio_screen_layer] << 1 + // [431] cputc::$2 = conio_cursor_x[conio_screen_layer] << 1 -- vbuaa=pbuc1_derefidx_vbuz1_rol_1 + ldy.z conio_screen_layer + lda conio_cursor_x,y + asl + // conio_addr += conio_cursor_x[conio_screen_layer] << 1 + // [432] cputc::conio_addr#1 = cputc::conio_addr#0 + cputc::$2 -- pbuz1=pbuz1_plus_vbuaa + clc + adc.z conio_addr + sta.z conio_addr + bcc !+ + inc.z conio_addr+1 + !: + // if(c=='\n') + // [433] if(cputc::c#0==' ') goto cputc::@1 -- vbuz1_eq_vbuc1_then_la1 + lda #'\n' + cmp.z c + beq __b1 + // cputc::@2 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [434] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // conio_addr + // [437] cputc::$5 = > cputc::conio_addr#1 -- vbuaa=_hi_pbuz1 + lda.z conio_addr+1 + // *VERA_ADDRX_M = >conio_addr + // [438] *VERA_ADDRX_M = cputc::$5 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // CONIO_SCREEN_BANK | VERA_INC_1 + // [439] cputc::$6 = CONIO_SCREEN_BANK#15 | VERA_INC_1 -- vbuaa=vbuz1_bor_vbuc1 + lda #VERA_INC_1 + ora.z CONIO_SCREEN_BANK + // *VERA_ADDRX_H = CONIO_SCREEN_BANK | VERA_INC_1 + // [440] *VERA_ADDRX_H = cputc::$6 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_H + // *VERA_DATA0 = c + // [441] *VERA_DATA0 = cputc::c#0 -- _deref_pbuc1=vbuz1 + lda.z c + sta VERA_DATA0 + // *VERA_DATA0 = color + // [442] *VERA_DATA0 = cputc::color#0 -- _deref_pbuc1=vbuxx + stx VERA_DATA0 + // conio_cursor_x[conio_screen_layer]++; + // [443] conio_cursor_x[conio_screen_layer] = ++ conio_cursor_x[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_x,x + // scroll_enable = conio_scroll_enable[conio_screen_layer] + // [444] cputc::scroll_enable#0 = conio_scroll_enable[conio_screen_layer] -- vbuaa=pbuc1_derefidx_vbuz1 + ldy.z conio_screen_layer + lda conio_scroll_enable,y + // if(scroll_enable) + // [445] if(0!=cputc::scroll_enable#0) goto cputc::@5 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b5 + // cputc::@3 + // (unsigned int)conio_cursor_x[conio_screen_layer] == conio_width + // [446] cputc::$16 = (word)conio_cursor_x[conio_screen_layer] -- vwuz1=_word_pbuc1_derefidx_vbuz2 + lda conio_cursor_x,y + sta.z __16 + lda #0 + sta.z __16+1 + // if((unsigned int)conio_cursor_x[conio_screen_layer] == conio_width) + // [447] if(cputc::$16!=conio_width) goto cputc::@return -- vwuz1_neq_vwuz2_then_la1 + cmp.z conio_width+1 + bne __breturn + lda.z __16 + cmp.z conio_width + bne __breturn + // [448] phi from cputc::@3 to cputc::@4 [phi:cputc::@3->cputc::@4] + // cputc::@4 + // cputln() + // [449] call cputln + jsr cputln + // cputc::@return + __breturn: + // } + // [450] return + rts + // cputc::@5 + __b5: + // if(conio_cursor_x[conio_screen_layer] == CONIO_WIDTH) + // [451] if(conio_cursor_x[conio_screen_layer]!=conio_screen_width) goto cputc::@return -- pbuc1_derefidx_vbuz1_neq_vbuz2_then_la1 + lda.z conio_screen_width + ldy.z conio_screen_layer + cmp conio_cursor_x,y + bne __breturn + // [452] phi from cputc::@5 to cputc::@6 [phi:cputc::@5->cputc::@6] + // cputc::@6 + // cputln() + // [453] call cputln + jsr cputln + rts + // [454] phi from cputc::@7 to cputc::@1 [phi:cputc::@7->cputc::@1] + // cputc::@1 + __b1: + // cputln() + // [455] call cputln + jsr cputln + rts +} + // vera_layer_get_color +// Get the text and back color for text output in 16 color mode. +// - layer: Value of 0 or 1. +// - return: an 8 bit value with bit 7:4 containing the back color and bit 3:0 containing the front color. +// This will only work when the VERA is in 16 color mode! +// Note that on the VERA, the transparent color has value 0. +// vera_layer_get_color(byte register(X) layer) +vera_layer_get_color: { + .label addr = $4d + // addr = vera_layer_config[layer] + // [457] vera_layer_get_color::$3 = vera_layer_get_color::layer#2 << 1 -- vbuaa=vbuxx_rol_1 + txa + asl + // [458] vera_layer_get_color::addr#0 = vera_layer_config[vera_layer_get_color::$3] -- pbuz1=qbuc1_derefidx_vbuaa + tay + lda vera_layer_config,y + sta.z addr + lda vera_layer_config+1,y + sta.z addr+1 + // *addr & VERA_LAYER_CONFIG_256C + // [459] vera_layer_get_color::$0 = *vera_layer_get_color::addr#0 & VERA_LAYER_CONFIG_256C -- vbuaa=_deref_pbuz1_band_vbuc1 + lda #VERA_LAYER_CONFIG_256C + ldy #0 + and (addr),y + // if( *addr & VERA_LAYER_CONFIG_256C ) + // [460] if(0!=vera_layer_get_color::$0) goto vera_layer_get_color::@1 -- 0_neq_vbuaa_then_la1 + cmp #0 + bne __b1 + // vera_layer_get_color::@2 + // vera_layer_backcolor[layer] << 4 + // [461] vera_layer_get_color::$1 = vera_layer_backcolor[vera_layer_get_color::layer#2] << 4 -- vbuaa=pbuc1_derefidx_vbuxx_rol_4 + lda vera_layer_backcolor,x + asl + asl + asl + asl + // return ((vera_layer_backcolor[layer] << 4) | vera_layer_textcolor[layer]); + // [462] vera_layer_get_color::return#1 = vera_layer_get_color::$1 | vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=vbuaa_bor_pbuc1_derefidx_vbuxx + ora vera_layer_textcolor,x + // [463] phi from vera_layer_get_color::@1 vera_layer_get_color::@2 to vera_layer_get_color::@return [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return] + // [463] phi vera_layer_get_color::return#2 = vera_layer_get_color::return#0 [phi:vera_layer_get_color::@1/vera_layer_get_color::@2->vera_layer_get_color::@return#0] -- register_copy + // vera_layer_get_color::@return + // } + // [464] return + rts + // vera_layer_get_color::@1 + __b1: + // return (vera_layer_textcolor[layer]); + // [465] vera_layer_get_color::return#0 = vera_layer_textcolor[vera_layer_get_color::layer#2] -- vbuaa=pbuc1_derefidx_vbuxx + lda vera_layer_textcolor,x + rts +} + // cputln +// Print a newline +cputln: { + .label temp = $49 + // temp = conio_line_text[conio_screen_layer] + // [466] cputln::$2 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [467] cputln::temp#0 = conio_line_text[cputln::$2] -- vwuz1=pwuc1_derefidx_vbuaa + // TODO: This needs to be optimized! other variations don't compile because of sections not available! + tay + lda conio_line_text,y + sta.z temp + lda conio_line_text+1,y + sta.z temp+1 + // temp += conio_rowskip + // [468] cputln::temp#1 = cputln::temp#0 + conio_rowskip -- vwuz1=vwuz1_plus_vwuz2 + lda.z temp + clc + adc.z conio_rowskip + sta.z temp + lda.z temp+1 + adc.z conio_rowskip+1 + sta.z temp+1 + // conio_line_text[conio_screen_layer] = temp + // [469] cputln::$3 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // [470] conio_line_text[cputln::$3] = cputln::temp#1 -- pwuc1_derefidx_vbuaa=vwuz1 + tay + lda.z temp + sta conio_line_text,y + lda.z temp+1 + sta conio_line_text+1,y + // conio_cursor_x[conio_screen_layer] = 0 + // [471] conio_cursor_x[conio_screen_layer] = 0 -- pbuc1_derefidx_vbuz1=vbuc2 + lda #0 + ldy.z conio_screen_layer + sta conio_cursor_x,y + // conio_cursor_y[conio_screen_layer]++; + // [472] conio_cursor_y[conio_screen_layer] = ++ conio_cursor_y[conio_screen_layer] -- pbuc1_derefidx_vbuz1=_inc_pbuc1_derefidx_vbuz1 + ldx.z conio_screen_layer + inc conio_cursor_y,x + // cscroll() + // [473] call cscroll + jsr cscroll + // cputln::@return + // } + // [474] return + rts +} + // cscroll +// Scroll the entire screen if the cursor is beyond the last line +cscroll: { + // if(conio_cursor_y[conio_screen_layer]>=CONIO_HEIGHT) + // [475] if(conio_cursor_y[conio_screen_layer]=conio_height) + // [477] if(conio_cursor_y[conio_screen_layer]cscroll::@3] + // cscroll::@3 + __b3: + // cscroll::@return + // } + // [479] return + rts + // [480] phi from cscroll::@1 to cscroll::@4 [phi:cscroll::@1->cscroll::@4] + // cscroll::@4 + __b4: + // insertup() + // [481] call insertup + jsr insertup + // cscroll::@5 + // gotoxy( 0, CONIO_HEIGHT-1) + // [482] gotoxy::y#2 = conio_screen_height - 1 -- vbuxx=vbuz1_minus_1 + ldx.z conio_screen_height + dex + // [483] call gotoxy + // [201] phi from cscroll::@5 to gotoxy [phi:cscroll::@5->gotoxy] + // [201] phi gotoxy::y#4 = gotoxy::y#2 [phi:cscroll::@5->gotoxy#0] -- register_copy + jsr gotoxy + rts +} + // insertup +// Insert a new line, and scroll the upper part of the screen up. +insertup: { + .label cy = $4b + .label width = $4c + .label line = $47 + .label start = $47 + // cy = conio_cursor_y[conio_screen_layer] + // [484] insertup::cy#0 = conio_cursor_y[conio_screen_layer] -- vbuz1=pbuc1_derefidx_vbuz2 + ldy.z conio_screen_layer + lda conio_cursor_y,y + sta.z cy + // width = CONIO_WIDTH * 2 + // [485] insertup::width#0 = conio_screen_width << 1 -- vbuz1=vbuz2_rol_1 + lda.z conio_screen_width + asl + sta.z width + // [486] phi from insertup to insertup::@1 [phi:insertup->insertup::@1] + // [486] phi insertup::i#2 = 1 [phi:insertup->insertup::@1#0] -- vbuxx=vbuc1 + ldx #1 + // insertup::@1 + __b1: + // for(unsigned byte i=1; i<=cy; i++) + // [487] if(insertup::i#2<=insertup::cy#0) goto insertup::@2 -- vbuxx_le_vbuz1_then_la1 + lda.z cy + stx.z $ff + cmp.z $ff + bcs __b2 + // [488] phi from insertup::@1 to insertup::@3 [phi:insertup::@1->insertup::@3] + // insertup::@3 + // clearline() + // [489] call clearline + jsr clearline + // insertup::@return + // } + // [490] return + rts + // insertup::@2 + __b2: + // i-1 + // [491] insertup::$3 = insertup::i#2 - 1 -- vbuaa=vbuxx_minus_1 + txa + sec + sbc #1 + // line = (i-1) << conio_rowshift + // [492] insertup::line#0 = insertup::$3 << conio_rowshift -- vwuz1=vbuaa_rol_vbuz2 + ldy.z conio_rowshift + sta.z line + lda #0 + sta.z line+1 + cpy #0 + beq !e+ + !: + asl.z line + rol.z line+1 + dey + bne !- + !e: + // start = CONIO_SCREEN_TEXT + line + // [493] insertup::start#0 = (byte*)CONIO_SCREEN_TEXT#17 + insertup::line#0 -- pbuz1=pbuz2_plus_vwuz1 + lda.z start + clc + adc.z CONIO_SCREEN_TEXT + sta.z start + lda.z start+1 + adc.z CONIO_SCREEN_TEXT+1 + sta.z start+1 + // start+conio_rowskip + // [494] memcpy_in_vram::src#0 = insertup::start#0 + conio_rowskip -- pbuz1=pbuz2_plus_vwuz3 + lda.z start + clc + adc.z conio_rowskip + sta.z memcpy_in_vram.src + lda.z start+1 + adc.z conio_rowskip+1 + sta.z memcpy_in_vram.src+1 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + // [495] memcpy_in_vram::dest#0 = (void*)insertup::start#0 + // [496] memcpy_in_vram::num#0 = insertup::width#0 -- vwuz1=vbuz2 + lda.z width + sta.z memcpy_in_vram.num + lda #0 + sta.z memcpy_in_vram.num+1 + // [497] memcpy_in_vram::src#4 = (void*)memcpy_in_vram::src#0 + // memcpy_in_vram(0, start, VERA_INC_1, 0, start+conio_rowskip, VERA_INC_1, width) + // [498] call memcpy_in_vram + // [214] phi from insertup::@2 to memcpy_in_vram [phi:insertup::@2->memcpy_in_vram] + // [214] phi memcpy_in_vram::num#4 = memcpy_in_vram::num#0 [phi:insertup::@2->memcpy_in_vram#0] -- register_copy + // [214] phi memcpy_in_vram::dest_bank#3 = 0 [phi:insertup::@2->memcpy_in_vram#1] -- vbuz1=vbuc1 + sta.z memcpy_in_vram.dest_bank + // [214] phi memcpy_in_vram::dest#3 = memcpy_in_vram::dest#0 [phi:insertup::@2->memcpy_in_vram#2] -- register_copy + // [214] phi memcpy_in_vram::src_bank#3 = 0 [phi:insertup::@2->memcpy_in_vram#3] -- vbuyy=vbuc1 + tay + // [214] phi memcpy_in_vram::src#3 = memcpy_in_vram::src#4 [phi:insertup::@2->memcpy_in_vram#4] -- register_copy + jsr memcpy_in_vram + // insertup::@4 + // for(unsigned byte i=1; i<=cy; i++) + // [499] insertup::i#1 = ++ insertup::i#2 -- vbuxx=_inc_vbuxx + inx + // [486] phi from insertup::@4 to insertup::@1 [phi:insertup::@4->insertup::@1] + // [486] phi insertup::i#2 = insertup::i#1 [phi:insertup::@4->insertup::@1#0] -- register_copy + jmp __b1 +} + // clearline +clearline: { + .label addr = $4d + .label c = $49 + // *VERA_CTRL &= ~VERA_ADDRSEL + // [500] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2 + // Select DATA0 + lda #VERA_ADDRSEL^$ff + and VERA_CTRL + sta VERA_CTRL + // CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [501] clearline::$5 = conio_screen_layer << 1 -- vbuaa=vbuz1_rol_1 + lda.z conio_screen_layer + asl + // addr = CONIO_SCREEN_TEXT + conio_line_text[conio_screen_layer] + // [502] clearline::addr#0 = (byte*)CONIO_SCREEN_TEXT#17 + conio_line_text[clearline::$5] -- pbuz1=pbuz2_plus_pwuc1_derefidx_vbuaa + tay + clc + lda.z CONIO_SCREEN_TEXT + adc conio_line_text,y + sta.z addr + lda.z CONIO_SCREEN_TEXT+1 + adc conio_line_text+1,y + sta.z addr+1 + // addr + // [505] clearline::$2 = > clearline::addr#0 -- vbuaa=_hi_pbuz1 + lda.z addr+1 + // *VERA_ADDRX_M = >addr + // [506] *VERA_ADDRX_M = clearline::$2 -- _deref_pbuc1=vbuaa + sta VERA_ADDRX_M + // *VERA_ADDRX_H = VERA_INC_1 + // [507] *VERA_ADDRX_H = VERA_INC_1 -- _deref_pbuc1=vbuc2 + lda #VERA_INC_1 + sta VERA_ADDRX_H + // vera_layer_get_color( conio_screen_layer) + // [508] vera_layer_get_color::layer#1 = conio_screen_layer -- vbuxx=vbuz1 + ldx.z conio_screen_layer + // [509] call vera_layer_get_color + // [456] phi from clearline to vera_layer_get_color [phi:clearline->vera_layer_get_color] + // [456] phi vera_layer_get_color::layer#2 = vera_layer_get_color::layer#1 [phi:clearline->vera_layer_get_color#0] -- register_copy + jsr vera_layer_get_color + // vera_layer_get_color( conio_screen_layer) + // [510] vera_layer_get_color::return#4 = vera_layer_get_color::return#2 + // clearline::@4 + // color = vera_layer_get_color( conio_screen_layer) + // [511] clearline::color#0 = vera_layer_get_color::return#4 -- vbuxx=vbuaa + tax + // [512] phi from clearline::@4 to clearline::@1 [phi:clearline::@4->clearline::@1] + // [512] phi clearline::c#2 = 0 [phi:clearline::@4->clearline::@1#0] -- vwuz1=vwuc1 + lda #<0 + sta.z c + sta.z c+1 + // clearline::@1 + __b1: + // for( unsigned int c=0;cclearline::@1] + // [512] phi clearline::c#2 = clearline::c#1 [phi:clearline::@2->clearline::@1#0] -- register_copy + jmp __b1 +} + // File Data +.segment Data + VERA_LAYER_WIDTH: .word $20, $40, $80, $100 + VERA_LAYER_HEIGHT: .word $20, $40, $80, $100 + // --- VERA function encapsulation --- + vera_mapbase_offset: .word 0, 0 + vera_mapbase_bank: .byte 0, 0 + vera_mapbase_address: .dword 0, 0 + vera_tilebase_offset: .word 0, 0 + vera_tilebase_bank: .byte 0, 0 + vera_tilebase_address: .dword 0, 0 + vera_layer_rowshift: .byte 0, 0 + vera_layer_rowskip: .word 0, 0 + vera_layer_hflip: .byte 0, 4 + vera_layer_vflip: .byte 0, 8 + vera_layer_config: .word VERA_L0_CONFIG, VERA_L1_CONFIG + vera_layer_enable: .byte VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE + vera_layer_mapbase: .word VERA_L0_MAPBASE, VERA_L1_MAPBASE + vera_layer_tilebase: .word VERA_L0_TILEBASE, VERA_L1_TILEBASE + vera_layer_textcolor: .byte WHITE, WHITE + vera_layer_backcolor: .byte BLUE, BLUE + // The number of bytes on the screen + // The current cursor x-position + conio_cursor_x: .byte 0, 0 + // The current cursor y-position + conio_cursor_y: .byte 0, 0 + // The current text cursor line start + conio_line_text: .word 0, 0 + // Is scrolling enabled when outputting beyond the end of the screen (1: yes, 0: no). + // If disabled the cursor just moves back to (0,0) instead + conio_scroll_enable: .byte 1, 1 + diff --git a/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.sym b/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.sym new file mode 100644 index 000000000..510cbda15 --- /dev/null +++ b/src/test/ref/examples/cx16/veralib/tilemap_8bpp_16_x_16.sym @@ -0,0 +1,712 @@ +const nomodify byte BLACK = 0 +const nomodify byte BLUE = 6 +byte CONIO_SCREEN_BANK +byte CONIO_SCREEN_BANK#15 CONIO_SCREEN_BANK zp[1]:39 66.48502994011976 +byte* CONIO_SCREEN_TEXT +word CONIO_SCREEN_TEXT#17 CONIO_SCREEN_TEXT zp[2]:40 0.4675925925925926 +const byte RADIX::BINARY = 2 +const byte RADIX::DECIMAL = $a +const byte RADIX::HEXADECIMAL = $10 +const byte RADIX::OCTAL = 8 +const byte SIZEOF_POINTER = 2 +const nomodify byte VERA_ADDRSEL = 1 +const nomodify byte* VERA_ADDRX_H = (byte*) 40738 +const nomodify byte* VERA_ADDRX_L = (byte*) 40736 +const nomodify byte* VERA_ADDRX_M = (byte*) 40737 +const nomodify byte* VERA_CTRL = (byte*) 40741 +const nomodify byte* VERA_DATA0 = (byte*) 40739 +const nomodify byte* VERA_DATA1 = (byte*) 40740 +const nomodify byte* VERA_DC_HSCALE = (byte*) 40746 +const nomodify byte* VERA_DC_VIDEO = (byte*) 40745 +const nomodify byte* VERA_DC_VSCALE = (byte*) 40747 +const nomodify byte VERA_INC_1 = $10 +const nomodify byte* VERA_L0_CONFIG = (byte*) 40749 +const nomodify byte* VERA_L0_MAPBASE = (byte*) 40750 +const nomodify byte* VERA_L0_TILEBASE = (byte*) 40751 +const nomodify byte* VERA_L1_CONFIG = (byte*) 40756 +const nomodify byte* VERA_L1_MAPBASE = (byte*) 40757 +const nomodify byte* VERA_L1_TILEBASE = (byte*) 40758 +const nomodify byte VERA_LAYER0_ENABLE = $10 +const nomodify byte VERA_LAYER1_ENABLE = $20 +const nomodify byte VERA_LAYER_COLOR_DEPTH_1BPP = 0 +const nomodify byte VERA_LAYER_COLOR_DEPTH_2BPP = 1 +const nomodify byte VERA_LAYER_COLOR_DEPTH_4BPP = 2 +const nomodify byte VERA_LAYER_COLOR_DEPTH_8BPP = 3 +const nomodify byte VERA_LAYER_CONFIG_256C = 8 +const to_nomodify word* VERA_LAYER_HEIGHT[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_HEIGHT_128 = $80 +const nomodify byte VERA_LAYER_HEIGHT_256 = $c0 +const nomodify byte VERA_LAYER_HEIGHT_64 = $40 +const nomodify byte VERA_LAYER_HEIGHT_MASK = $c0 +const nomodify byte VERA_LAYER_TILEBASE_MASK = $fc +const to_nomodify word* VERA_LAYER_WIDTH[4] = { $20, $40, $80, $100 } +const nomodify byte VERA_LAYER_WIDTH_128 = $20 +const nomodify byte VERA_LAYER_WIDTH_256 = $30 +const nomodify byte VERA_LAYER_WIDTH_64 = $10 +const nomodify byte VERA_LAYER_WIDTH_MASK = $30 +const nomodify byte VERA_TILEBASE_HEIGHT_16 = 2 +const nomodify byte VERA_TILEBASE_WIDTH_16 = 1 +const nomodify byte WHITE = 1 +void __start() +void clearline() +byte~ clearline::$1 reg byte a 2.00000002E8 +byte~ clearline::$2 reg byte a 2.00000002E8 +byte~ clearline::$5 reg byte a 2.00000002E8 +byte* clearline::addr +byte* clearline::addr#0 addr zp[2]:77 1.00000001E8 +word clearline::c +word clearline::c#1 c zp[2]:73 2.0000000002E10 +word clearline::c#2 c zp[2]:73 7.50000000075E9 +byte clearline::color +byte clearline::color#0 reg byte x 1.6833333336666665E9 +void clrscr() +byte~ clrscr::$0 reg byte a 202.0 +byte~ clrscr::$1 zp[1]:58 40.4 +byte~ clrscr::$2 reg byte a 202.0 +byte~ clrscr::$5 reg byte a 2002.0 +byte~ clrscr::$6 reg byte a 2002.0 +byte~ clrscr::$7 reg byte a 2002.0 +byte~ clrscr::$9 reg byte a 202.0 +byte clrscr::c +byte clrscr::c#1 reg byte y 20002.0 +byte clrscr::c#2 reg byte y 7500.75 +byte* clrscr::ch +byte clrscr::color +byte clrscr::color#0 color zp[1]:58 594.2352941176471 +byte clrscr::l +byte clrscr::l#1 reg byte x 2002.0 +byte clrscr::l#2 reg byte x 200.2 +byte* clrscr::line_text +byte* clrscr::line_text#0 line_text zp[2]:69 18.363636363636363 +byte* clrscr::line_text#1 line_text zp[2]:69 1001.0 +byte* clrscr::line_text#2 line_text zp[2]:69 293.2142857142857 +const byte* conio_cursor_x[2] = { 0, 0 } +const byte* conio_cursor_y[2] = { 0, 0 } +word conio_height loadstore zp[2]:34 6629.834437086093 +const word* conio_line_text[2] = { 0, 0 } +byte conio_rowshift loadstore zp[1]:36 5941177.088235294 +word conio_rowskip loadstore zp[2]:37 5650288.734463277 +volatile byte conio_screen_height loadstore zp[1]:30 76433.29299363057 +byte conio_screen_layer loadstore zp[1]:31 1374285.1199999999 +volatile byte conio_screen_width loadstore zp[1]:29 5.191715029015544E7 +const byte* conio_scroll_enable[2] = { 1, 1 } +word conio_width loadstore zp[2]:32 131.40522875816993 +void conio_x16_init() +const nomodify byte* conio_x16_init::BASIC_CURSOR_LINE = (byte*) 214 +byte conio_x16_init::line +byte conio_x16_init::line#0 line zp[1]:2 2.1999999999999997 +byte conio_x16_init::line#1 line zp[1]:2 22.0 +byte conio_x16_init::line#3 line zp[1]:2 33.0 +void cputc(byte cputc::c) +byte~ cputc::$15 reg byte a 20002.0 +word~ cputc::$16 zp[2]:71 20002.0 +byte~ cputc::$2 reg byte a 20002.0 +byte~ cputc::$4 reg byte a 20002.0 +byte~ cputc::$5 reg byte a 20002.0 +byte~ cputc::$6 reg byte a 20002.0 +byte cputc::c +byte cputc::c#0 c zp[1]:63 1235.4705882352941 +byte cputc::color +byte cputc::color#0 reg byte x 1428.7142857142858 +byte* cputc::conio_addr +byte* cputc::conio_addr#0 conio_addr zp[2]:69 10001.0 +byte* cputc::conio_addr#1 conio_addr zp[2]:69 6000.6 +byte cputc::scroll_enable +byte cputc::scroll_enable#0 reg byte a 20002.0 +void cputln() +byte~ cputln::$2 reg byte a 200002.0 +byte~ cputln::$3 reg byte a 200002.0 +word cputln::temp +word cputln::temp#0 temp zp[2]:73 200002.0 +word cputln::temp#1 temp zp[2]:73 100001.0 +void cputs(to_nomodify byte* cputs::s) +byte cputs::c +byte cputs::c#1 reg byte a 1001.0 +to_nomodify byte* cputs::s +to_nomodify byte* cputs::s#0 s zp[2]:59 500.5 +to_nomodify byte* cputs::s#10 s zp[2]:59 101.0 +to_nomodify byte* cputs::s#9 s zp[2]:59 1552.0 +void cscroll() +void gotoxy(byte gotoxy::x , byte gotoxy::y) +byte~ gotoxy::$5 reg byte a 2.0000002E7 +word~ gotoxy::$6 zp[2]:44 2.0000002E7 +word gotoxy::line_offset +word gotoxy::line_offset#0 line_offset zp[2]:44 1.0000001E7 +byte gotoxy::x +byte gotoxy::y +byte gotoxy::y#0 reg byte x 22.0 +byte gotoxy::y#2 reg byte x 2000002.0 +byte gotoxy::y#4 reg byte x 7000004.666666666 +byte gotoxy::y#5 reg byte x 4000000.4 +void insertup() +byte~ insertup::$3 reg byte a 2.000000002E9 +byte insertup::cy +byte insertup::cy#0 cy zp[1]:75 7.769230784615384E7 +byte insertup::i +byte insertup::i#1 reg byte x 2.000000002E9 +byte insertup::i#2 reg byte x 4.000000004E8 +word insertup::line +word insertup::line#0 line zp[2]:71 2.000000002E9 +byte* insertup::start +byte* insertup::start#0 start zp[2]:71 1.000000001E9 +byte insertup::width +byte insertup::width#0 width zp[1]:76 8.416666683333334E7 +byte kbhit() +const nomodify byte* kbhit::GETIN = (byte*) 65508 +const nomodify byte* kbhit::IN_DEV = (byte*) 650 +volatile byte kbhit::ch loadstore zp[1]:64 1001.0 +const nomodify byte* kbhit::chptr = &kbhit::ch +byte kbhit::return +byte kbhit::return#0 reg byte a 2002.0 +byte kbhit::return#1 reg byte a 300.75 +byte kbhit::return#2 reg byte a 202.0 +byte kbhit::return#3 reg byte a 202.0 +void main() +byte~ main::$35 reg byte a 202.0 +byte~ main::$40 reg byte a 202.0 +byte main::bgcolor1_color +byte main::bgcolor2_color +byte main::c +byte main::c#1 c zp[1]:10 1501.5 +byte main::c#2 c zp[1]:10 250.25 +byte main::c1 +byte main::c1#1 reg byte x 1501.5 +byte main::c1#2 reg byte x 250.25 +byte main::column +byte main::column#1 reg byte x 400.4 +byte main::column#2 reg byte x 600.5999999999999 +byte main::column1 +byte main::column1#1 column1 zp[1]:12 400.4 +byte main::column1#2 column1 zp[1]:12 600.5999999999999 +byte main::p +byte main::p#1 reg byte x 1501.5 +byte main::p#2 reg byte x 2002.0 +byte main::r +byte main::r#1 r zp[1]:7 151.5 +byte main::r#5 r zp[1]:7 16.833333333333332 +byte main::r1 +byte main::r1#1 r1 zp[1]:11 151.5 +byte main::r1#5 r1 zp[1]:11 16.833333333333332 +byte main::row +byte main::row#1 row zp[1]:6 67.33333333333333 +byte main::row#10 row zp[1]:6 109.36363636363637 +byte main::row#3 row zp[1]:6 67.33333333333333 +byte main::row#9 row zp[1]:6 109.36363636363637 +const byte* main::s[$38] = "vera in tile mode 8 x 8, color depth 8 bits per pixel. +" +const byte* main::s1[$3a] = "in this mode, tiles are 8 pixels wide and 8 pixels tall. +" +const byte* main::s2[$2f] = "each tile can have a variation of 256 colors. +" +const byte* main::s3[$44] = "the vera palette of 256 colors, can be used by setting the palette +" +const byte* main::s4[$17] = "offset for each tile. +" +const byte* main::s5[$4b] = "here each column is displaying the same tile, but with different offsets! +" +const byte* main::s6[$3f] = "each offset aligns to multiples of 16 colors in the palette!. +" +const byte* main::s7[$3e] = "however, the first color will always be transparent (black). +" +byte main::t +byte main::t#1 t zp[1]:5 151.5 +byte main::t#5 t zp[1]:5 25.25 +byte main::textcolor1_color +byte main::textcolor2_color +word main::tile +word main::tile#1 tile zp[2]:8 2002.0 +word main::tile#10 tile zp[2]:8 202.0 +word main::tile#11 tile zp[2]:8 202.0 +word main::tile#12 tile zp[2]:8 350.5 +word main::tile#13 tile zp[2]:8 350.5 +word main::tile#4 tile zp[2]:8 2002.0 +word main::tile#6 tile zp[2]:8 517.3333333333334 +word main::tile#8 tile zp[2]:8 517.3333333333334 +word main::tilebase +word main::tilebase#2 tilebase zp[2]:3 67.33333333333333 +word main::tilebase#7 tilebase zp[2]:3 28.857142857142858 +const byte* main::tiles[$100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +byte~ main::vera_layer_hide1_$0 reg byte a 22.0 +byte main::vera_layer_hide1_layer +byte main::vera_layer_show1_layer +void memcpy_in_vram(byte memcpy_in_vram::dest_bank , void* memcpy_in_vram::dest , byte memcpy_in_vram::dest_increment , byte memcpy_in_vram::src_bank , void* memcpy_in_vram::src , byte memcpy_in_vram::src_increment , word memcpy_in_vram::num) +byte~ memcpy_in_vram::$0 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$1 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$2 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$3 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$4 reg byte a 2.0000000002E10 +byte~ memcpy_in_vram::$5 reg byte a 2.0000000002E10 +void* memcpy_in_vram::dest +void* memcpy_in_vram::dest#0 dest zp[2]:71 6.666666673333334E8 +void* memcpy_in_vram::dest#3 dest zp[2]:71 1.9090909093636363E9 +byte memcpy_in_vram::dest_bank +byte memcpy_in_vram::dest_bank#3 dest_bank zp[1]:24 7.692307693076923E8 +byte memcpy_in_vram::dest_increment +word memcpy_in_vram::i +word memcpy_in_vram::i#1 i zp[2]:73 2.00000000002E11 +word memcpy_in_vram::i#2 i zp[2]:73 1.00000000001E11 +word memcpy_in_vram::num +word memcpy_in_vram::num#0 num zp[2]:77 1.000000001E9 +word memcpy_in_vram::num#4 num zp[2]:77 5.315789473789474E9 +void* memcpy_in_vram::src +byte* memcpy_in_vram::src#0 src zp[2]:69 3.333333336666667E8 +void* memcpy_in_vram::src#3 src zp[2]:69 5.25000000075E9 +void* memcpy_in_vram::src#4 src zp[2]:69 2.000000002E9 +byte memcpy_in_vram::src_bank +byte memcpy_in_vram::src_bank#3 reg byte y 1.6666666668333333E9 +byte memcpy_in_vram::src_increment +void memcpy_to_vram(byte memcpy_to_vram::vbank , void* memcpy_to_vram::vdest , void* memcpy_to_vram::src , word memcpy_to_vram::num) +byte~ memcpy_to_vram::$0 reg byte a 2002.0 +byte~ memcpy_to_vram::$1 reg byte a 2002.0 +byte* memcpy_to_vram::end +const byte* memcpy_to_vram::end#0 end = (byte*)(void*)main::tiles+$100 +word memcpy_to_vram::num +byte* memcpy_to_vram::s +byte* memcpy_to_vram::s#1 s zp[2]:77 200002.0 +byte* memcpy_to_vram::s#2 s zp[2]:77 133334.66666666666 +void* memcpy_to_vram::src +byte memcpy_to_vram::vbank +void* memcpy_to_vram::vdest +void* memcpy_to_vram::vdest#1 vdest zp[2]:71 202.0 +void* memcpy_to_vram::vdest#2 vdest zp[2]:71 525.75 +void screenlayer(byte screenlayer::layer) +word~ screenlayer::$2 zp[2]:52 202.0 +byte~ screenlayer::$3 reg byte a 202.0 +word~ screenlayer::$4 zp[2]:44 202.0 +word~ screenlayer::$5 zp[2]:49 202.0 +byte screenlayer::layer +byte~ screenlayer::vera_layer_get_height1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_height1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_height1_config +byte* screenlayer::vera_layer_get_height1_config#0 vera_layer_get_height1_config zp[2]:46 202.0 +byte screenlayer::vera_layer_get_height1_layer +byte screenlayer::vera_layer_get_height1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_height1_return +word screenlayer::vera_layer_get_height1_return#0 vera_layer_get_height1_return zp[2]:49 202.0 +word screenlayer::vera_layer_get_height1_return#1 vera_layer_get_height1_return zp[2]:49 202.0 +byte~ screenlayer::vera_layer_get_width1_$0 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$1 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$2 reg byte a 202.0 +byte~ screenlayer::vera_layer_get_width1_$3 reg byte a 202.0 +byte* screenlayer::vera_layer_get_width1_config +byte* screenlayer::vera_layer_get_width1_config#0 vera_layer_get_width1_config zp[2]:42 202.0 +byte screenlayer::vera_layer_get_width1_layer +byte screenlayer::vera_layer_get_width1_layer#0 reg byte a 202.0 +word screenlayer::vera_layer_get_width1_return +word screenlayer::vera_layer_get_width1_return#0 vera_layer_get_width1_return zp[2]:52 202.0 +word screenlayer::vera_layer_get_width1_return#1 vera_layer_get_width1_return zp[2]:52 202.0 +void screensize(byte* screensize::x , byte* screensize::y) +byte~ screensize::$1 reg byte a 202.0 +byte~ screensize::$3 reg byte a 202.0 +byte screensize::hscale +byte screensize::hscale#0 reg byte a 202.0 +byte screensize::vscale +byte screensize::vscale#0 reg byte a 202.0 +byte* screensize::x +const byte* screensize::x#0 x = &conio_screen_width +byte* screensize::y +const byte* screensize::y#0 y = &conio_screen_height +const byte* vera_layer_backcolor[2] = { BLUE, BLUE } +const byte** vera_layer_config[2] = { VERA_L0_CONFIG, VERA_L1_CONFIG } +const byte* vera_layer_enable[2] = { VERA_LAYER0_ENABLE, VERA_LAYER1_ENABLE } +byte vera_layer_get_backcolor(byte vera_layer_get_backcolor::layer) +byte vera_layer_get_backcolor::layer +byte vera_layer_get_backcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_backcolor::return +byte vera_layer_get_backcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_backcolor::return#2 reg byte a 202.0 +byte vera_layer_get_color(byte vera_layer_get_color::layer) +byte~ vera_layer_get_color::$0 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$1 reg byte a 2.000000002E9 +byte~ vera_layer_get_color::$3 reg byte a 2.000000002E9 +byte* vera_layer_get_color::addr +byte* vera_layer_get_color::addr#0 addr zp[2]:77 2.000000002E9 +byte vera_layer_get_color::layer +byte vera_layer_get_color::layer#0 reg byte x 20002.0 +byte vera_layer_get_color::layer#1 reg byte x 2.00000002E8 +byte vera_layer_get_color::layer#2 reg byte x 6.833350010000001E8 +byte vera_layer_get_color::return +byte vera_layer_get_color::return#0 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#1 reg byte a 2.000000002E9 +byte vera_layer_get_color::return#2 reg byte a 5.25002501E8 +byte vera_layer_get_color::return#3 reg byte a 20002.0 +byte vera_layer_get_color::return#4 reg byte a 2.00000002E8 +byte vera_layer_get_mapbase_bank(byte vera_layer_get_mapbase_bank::layer) +byte vera_layer_get_mapbase_bank::layer +byte vera_layer_get_mapbase_bank::layer#0 reg byte x 1102.0 +byte vera_layer_get_mapbase_bank::return +byte vera_layer_get_mapbase_bank::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_mapbase_bank::return#2 reg byte a 202.0 +word vera_layer_get_mapbase_offset(byte vera_layer_get_mapbase_offset::layer) +byte~ vera_layer_get_mapbase_offset::$0 reg byte a 2002.0 +byte vera_layer_get_mapbase_offset::layer +byte vera_layer_get_mapbase_offset::layer#0 reg byte a 1102.0 +word vera_layer_get_mapbase_offset::return +word vera_layer_get_mapbase_offset::return#0 return zp[2]:44 367.33333333333337 +word vera_layer_get_mapbase_offset::return#2 return zp[2]:44 202.0 +byte vera_layer_get_rowshift(byte vera_layer_get_rowshift::layer) +byte vera_layer_get_rowshift::layer +byte vera_layer_get_rowshift::layer#0 reg byte x 1102.0 +byte vera_layer_get_rowshift::return +byte vera_layer_get_rowshift::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_rowshift::return#2 reg byte a 202.0 +word vera_layer_get_rowskip(byte vera_layer_get_rowskip::layer) +byte~ vera_layer_get_rowskip::$0 reg byte a 2002.0 +byte vera_layer_get_rowskip::layer +byte vera_layer_get_rowskip::layer#0 reg byte a 1102.0 +word vera_layer_get_rowskip::return +word vera_layer_get_rowskip::return#0 return zp[2]:44 367.33333333333337 +word vera_layer_get_rowskip::return#2 return zp[2]:44 202.0 +byte vera_layer_get_textcolor(byte vera_layer_get_textcolor::layer) +byte vera_layer_get_textcolor::layer +byte vera_layer_get_textcolor::layer#0 reg byte x 1102.0 +byte vera_layer_get_textcolor::return +byte vera_layer_get_textcolor::return#0 reg byte a 367.33333333333337 +byte vera_layer_get_textcolor::return#2 reg byte a 202.0 +const to_nomodify byte* vera_layer_hflip[2] = { 0, 4 } +const byte** vera_layer_mapbase[2] = { VERA_L0_MAPBASE, VERA_L1_MAPBASE } +void vera_layer_mode_text(byte vera_layer_mode_text::layer , dword vera_layer_mode_text::mapbase_address , dword vera_layer_mode_text::tilebase_address , word vera_layer_mode_text::mapwidth , word vera_layer_mode_text::mapheight , byte vera_layer_mode_text::tilewidth , byte vera_layer_mode_text::tileheight , word vera_layer_mode_text::color_mode) +word vera_layer_mode_text::color_mode +byte vera_layer_mode_text::layer +const byte vera_layer_mode_text::layer#0 layer = 1 +dword vera_layer_mode_text::mapbase_address +const dword vera_layer_mode_text::mapbase_address#0 mapbase_address = 0 +word vera_layer_mode_text::mapheight +const word vera_layer_mode_text::mapheight#0 mapheight = $40 +word vera_layer_mode_text::mapwidth +const word vera_layer_mode_text::mapwidth#0 mapwidth = $80 +dword vera_layer_mode_text::tilebase_address +const dword vera_layer_mode_text::tilebase_address#0 tilebase_address = $f800 +byte vera_layer_mode_text::tileheight +const byte vera_layer_mode_text::tileheight#0 tileheight = 8 +byte vera_layer_mode_text::tilewidth +const byte vera_layer_mode_text::tilewidth#0 tilewidth = 8 +void vera_layer_mode_tile(byte vera_layer_mode_tile::layer , dword vera_layer_mode_tile::mapbase_address , dword vera_layer_mode_tile::tilebase_address , word vera_layer_mode_tile::mapwidth , word vera_layer_mode_tile::mapheight , byte vera_layer_mode_tile::tilewidth , byte vera_layer_mode_tile::tileheight , byte vera_layer_mode_tile::color_depth) +word~ vera_layer_mode_tile::$1 zp[2]:46 1001.0 +word~ vera_layer_mode_tile::$10 zp[2]:56 2002.0 +byte~ vera_layer_mode_tile::$13 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$14 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$15 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$16 reg byte a 2002.0 +byte~ vera_layer_mode_tile::$19 zp[1]:48 231.0 +word~ vera_layer_mode_tile::$2 zp[2]:49 1001.0 +byte~ vera_layer_mode_tile::$20 zp[1]:51 250.25 +word~ vera_layer_mode_tile::$4 zp[2]:65 2002.0 +word~ vera_layer_mode_tile::$7 zp[2]:52 2002.0 +word~ vera_layer_mode_tile::$8 zp[2]:54 1001.0 +byte vera_layer_mode_tile::color_depth +byte vera_layer_mode_tile::color_depth#5 reg byte x 1001.0 +byte vera_layer_mode_tile::config +byte vera_layer_mode_tile::config#10 reg byte x 2002.0 +byte vera_layer_mode_tile::config#11 reg byte x 2002.0 +byte vera_layer_mode_tile::config#12 reg byte x 2002.0 +byte vera_layer_mode_tile::config#17 reg byte x 625.625 +byte vera_layer_mode_tile::config#21 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::config#25 reg byte x 3003.0 +byte vera_layer_mode_tile::config#6 reg byte x 500.5 +byte vera_layer_mode_tile::config#7 reg byte x 500.5 +byte vera_layer_mode_tile::config#8 reg byte x 500.5 +byte vera_layer_mode_tile::layer +byte vera_layer_mode_tile::layer#10 layer zp[1]:13 220.80882352941177 +byte vera_layer_mode_tile::mapbase +byte vera_layer_mode_tile::mapbase#0 reg byte x 1001.0 +dword vera_layer_mode_tile::mapbase_address +dword vera_layer_mode_tile::mapbase_address#0 mapbase_address zp[4]:14 2002.0 +dword vera_layer_mode_tile::mapbase_address#10 mapbase_address zp[4]:14 88.97777777777777 +word vera_layer_mode_tile::mapheight +word vera_layer_mode_tile::mapheight#10 mapheight zp[2]:42 133.46666666666667 +word vera_layer_mode_tile::mapwidth +word vera_layer_mode_tile::mapwidth#10 mapwidth zp[2]:44 400.4 +byte vera_layer_mode_tile::tilebase +byte vera_layer_mode_tile::tilebase#0 reg byte a 2002.0 +byte vera_layer_mode_tile::tilebase#1 reg byte x 1334.6666666666667 +byte vera_layer_mode_tile::tilebase#10 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#12 reg byte x 2002.0000000000002 +byte vera_layer_mode_tile::tilebase#3 reg byte x 2002.0 +byte vera_layer_mode_tile::tilebase#5 reg byte x 2002.0 +dword vera_layer_mode_tile::tilebase_address +dword vera_layer_mode_tile::tilebase_address#0 tilebase_address zp[4]:18 2002.0 +dword vera_layer_mode_tile::tilebase_address#10 tilebase_address zp[4]:18 71.5 +byte vera_layer_mode_tile::tileheight +byte vera_layer_mode_tile::tileheight#10 tileheight zp[1]:23 30.8 +byte vera_layer_mode_tile::tilewidth +byte vera_layer_mode_tile::tilewidth#10 tilewidth zp[1]:22 32.81967213114754 +const byte* vera_layer_rowshift[2] = { 0, 0 } +const word* vera_layer_rowskip[2] = { 0, 0 } +byte vera_layer_set_backcolor(byte vera_layer_set_backcolor::layer , byte vera_layer_set_backcolor::color) +byte vera_layer_set_backcolor::color +byte vera_layer_set_backcolor::color#3 reg byte a 101.0 +byte vera_layer_set_backcolor::layer +byte vera_layer_set_backcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_backcolor::layer#3 reg byte x 123.0 +byte vera_layer_set_backcolor::old +byte vera_layer_set_backcolor::return +void vera_layer_set_config(byte vera_layer_set_config::layer , byte vera_layer_set_config::config) +byte~ vera_layer_set_config::$0 reg byte a 20002.0 +byte* vera_layer_set_config::addr +byte* vera_layer_set_config::addr#0 addr zp[2]:67 20002.0 +byte vera_layer_set_config::config +byte vera_layer_set_config::config#0 reg byte x 3667.333333333333 +byte vera_layer_set_config::layer +byte vera_layer_set_config::layer#0 reg byte a 5501.0 +void vera_layer_set_mapbase(byte vera_layer_set_mapbase::layer , byte vera_layer_set_mapbase::mapbase) +byte~ vera_layer_set_mapbase::$0 reg byte a 20002.0 +byte* vera_layer_set_mapbase::addr +byte* vera_layer_set_mapbase::addr#0 addr zp[2]:52 20002.0 +byte vera_layer_set_mapbase::layer +byte vera_layer_set_mapbase::layer#0 reg byte a 1001.0 +byte vera_layer_set_mapbase::layer#3 reg byte a 11002.0 +byte vera_layer_set_mapbase::mapbase +byte vera_layer_set_mapbase::mapbase#0 reg byte x 2002.0 +byte vera_layer_set_mapbase::mapbase#3 reg byte x 3667.333333333333 +void vera_layer_set_text_color_mode(byte vera_layer_set_text_color_mode::layer , byte vera_layer_set_text_color_mode::color_mode) +byte* vera_layer_set_text_color_mode::addr +byte* vera_layer_set_text_color_mode::addr#0 addr zp[2]:65 2502.5 +byte vera_layer_set_text_color_mode::color_mode +byte vera_layer_set_text_color_mode::layer +byte vera_layer_set_textcolor(byte vera_layer_set_textcolor::layer , byte vera_layer_set_textcolor::color) +byte vera_layer_set_textcolor::color +byte vera_layer_set_textcolor::layer +byte vera_layer_set_textcolor::layer#1 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#2 reg byte x 22.0 +byte vera_layer_set_textcolor::layer#3 reg byte x 123.0 +byte vera_layer_set_textcolor::old +byte vera_layer_set_textcolor::return +void vera_layer_set_tilebase(byte vera_layer_set_tilebase::layer , byte vera_layer_set_tilebase::tilebase) +byte~ vera_layer_set_tilebase::$0 reg byte a 20002.0 +byte* vera_layer_set_tilebase::addr +byte* vera_layer_set_tilebase::addr#0 addr zp[2]:67 20002.0 +byte vera_layer_set_tilebase::layer +byte vera_layer_set_tilebase::layer#0 reg byte a 5501.0 +byte vera_layer_set_tilebase::tilebase +byte vera_layer_set_tilebase::tilebase#0 reg byte x 3667.333333333333 +const byte* vera_layer_textcolor[2] = { WHITE, WHITE } +const byte** vera_layer_tilebase[2] = { VERA_L0_TILEBASE, VERA_L1_TILEBASE } +const to_nomodify byte* vera_layer_vflip[2] = { 0, 8 } +const dword* vera_mapbase_address[2] = { 0, 0 } +const byte* vera_mapbase_bank[2] = { 0, 0 } +const word* vera_mapbase_offset[2] = { 0, 0 } +void vera_tile_area(byte vera_tile_area::layer , word vera_tile_area::tileindex , byte vera_tile_area::x , byte vera_tile_area::y , byte vera_tile_area::w , byte vera_tile_area::h , byte vera_tile_area::hflip , byte vera_tile_area::vflip , byte vera_tile_area::offset) +word~ vera_tile_area::$10 zp[2]:69 20002.0 +word~ vera_tile_area::$4 zp[2]:69 20002.0 +byte~ vera_tile_area::$5 reg byte a 20002.0 +byte vera_tile_area::c +byte vera_tile_area::c#1 reg byte y 2.00000002E8 +byte vera_tile_area::c#2 reg byte y 7.500000075E7 +byte vera_tile_area::h +byte vera_tile_area::h#6 h zp[1]:24 285714.3142857143 +byte vera_tile_area::hflip +byte vera_tile_area::hflip#0 hflip zp[1]:76 5000.5 +byte vera_tile_area::index_h +byte vera_tile_area::index_h#0 reg byte a 20002.0 +byte vera_tile_area::index_h#1 reg byte a 20002.0 +byte vera_tile_area::index_h#2 index_h zp[1]:61 3846538.5384615385 +byte vera_tile_area::index_l +byte vera_tile_area::index_l#0 index_l zp[1]:62 3448620.7586206896 +byte vera_tile_area::layer +dword vera_tile_area::mapbase +dword vera_tile_area::mapbase#0 mapbase zp[4]:25 1818.3636363636363 +dword vera_tile_area::mapbase#1 mapbase zp[4]:25 10001.0 +dword vera_tile_area::mapbase#10 mapbase zp[4]:25 2778333.6666666665 +dword vera_tile_area::mapbase#2 mapbase zp[4]:25 20002.0 +dword vera_tile_area::mapbase#3 mapbase zp[4]:25 1.0000001E7 +byte vera_tile_area::offset +byte vera_tile_area::r +byte vera_tile_area::r#1 r zp[1]:63 2.0000002E7 +byte vera_tile_area::r#2 r zp[1]:63 1578947.5263157894 +word vera_tile_area::rowskip +word vera_tile_area::rowskip#0 rowskip zp[2]:59 312812.5625 +byte vera_tile_area::shift +byte vera_tile_area::shift#0 shift zp[1]:75 3333.6666666666665 +word vera_tile_area::tileindex +word vera_tile_area::tileindex#1 tileindex zp[2]:8 667.3333333333334 +word vera_tile_area::tileindex#3 tileindex zp[2]:8 667.3333333333334 +word vera_tile_area::tileindex#5 tileindex zp[2]:8 3143.4285714285716 +word~ vera_tile_area::vera_vram_address01_$0 zp[2]:71 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$1 reg byte a 2.0000002E7 +word~ vera_tile_area::vera_vram_address01_$2 zp[2]:77 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$3 reg byte a 2.0000002E7 +word~ vera_tile_area::vera_vram_address01_$4 zp[2]:73 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$5 reg byte a 2.0000002E7 +byte~ vera_tile_area::vera_vram_address01_$6 reg byte a 2.0000002E7 +dword vera_tile_area::vera_vram_address01_bankaddr +byte vera_tile_area::vera_vram_address01_incr +byte vera_tile_area::vflip +byte vera_tile_area::vflip#0 vflip zp[1]:61 5000.5 +byte vera_tile_area::w +byte vera_tile_area::w#11 w zp[1]:58 2857142.8857142855 +byte vera_tile_area::x +byte vera_tile_area::x#1 x zp[1]:12 1001.0 +byte vera_tile_area::x#3 x zp[1]:12 1001.0 +byte vera_tile_area::x#5 x zp[1]:12 923.3076923076923 +byte vera_tile_area::y +byte vera_tile_area::y#1 y zp[1]:6 2002.0 +byte vera_tile_area::y#3 y zp[1]:6 2002.0 +byte vera_tile_area::y#5 y zp[1]:6 200.2 +const dword* vera_tilebase_address[2] = { 0, 0 } +const byte* vera_tilebase_bank[2] = { 0, 0 } +const word* vera_tilebase_offset[2] = { 0, 0 } + +zp[1]:2 [ conio_x16_init::line#3 conio_x16_init::line#1 conio_x16_init::line#0 ] +zp[2]:3 [ main::tilebase#7 main::tilebase#2 ] +zp[1]:5 [ main::t#5 main::t#1 ] +reg byte x [ main::p#2 main::p#1 ] +zp[1]:6 [ main::row#9 main::row#1 vera_tile_area::y#5 vera_tile_area::y#3 vera_tile_area::y#1 main::row#10 main::row#3 ] +zp[1]:7 [ main::r#5 main::r#1 ] +zp[2]:8 [ main::tile#6 main::tile#10 main::tile#12 main::tile#1 vera_tile_area::tileindex#5 vera_tile_area::tileindex#3 vera_tile_area::tileindex#1 main::tile#8 main::tile#11 main::tile#13 main::tile#4 ] +reg byte x [ main::column#2 main::column#1 ] +zp[1]:10 [ main::c#2 main::c#1 ] +zp[1]:11 [ main::r1#5 main::r1#1 ] +zp[1]:12 [ main::column1#2 main::column1#1 vera_tile_area::x#5 vera_tile_area::x#3 vera_tile_area::x#1 ] +reg byte x [ main::c1#2 main::c1#1 ] +reg byte x [ vera_layer_set_textcolor::layer#3 vera_layer_set_textcolor::layer#1 vera_layer_set_textcolor::layer#2 ] +reg byte x [ vera_layer_set_backcolor::layer#3 vera_layer_set_backcolor::layer#1 vera_layer_set_backcolor::layer#2 ] +reg byte a [ vera_layer_set_backcolor::color#3 ] +reg byte a [ vera_layer_set_mapbase::layer#3 vera_layer_set_mapbase::layer#0 ] +reg byte x [ vera_layer_set_mapbase::mapbase#3 vera_layer_set_mapbase::mapbase#0 ] +reg byte x [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#0 gotoxy::y#2 ] +reg byte y [ memcpy_in_vram::src_bank#3 ] +reg byte x [ vera_layer_mode_tile::color_depth#5 ] +zp[1]:13 [ vera_layer_mode_tile::layer#10 ] +zp[4]:14 [ vera_layer_mode_tile::mapbase_address#10 vera_layer_mode_tile::mapbase_address#0 ] +zp[4]:18 [ vera_layer_mode_tile::tilebase_address#10 vera_layer_mode_tile::tilebase_address#0 ] +zp[1]:22 [ vera_layer_mode_tile::tilewidth#10 ] +zp[1]:23 [ vera_layer_mode_tile::tileheight#10 ] +reg byte x [ vera_layer_mode_tile::config#25 vera_layer_mode_tile::config#21 vera_layer_mode_tile::config#17 vera_layer_mode_tile::config#6 vera_layer_mode_tile::config#7 vera_layer_mode_tile::config#8 vera_layer_mode_tile::config#10 vera_layer_mode_tile::config#11 vera_layer_mode_tile::config#12 ] +reg byte x [ vera_layer_mode_tile::tilebase#10 vera_layer_mode_tile::tilebase#12 vera_layer_mode_tile::tilebase#1 vera_layer_mode_tile::tilebase#3 vera_layer_mode_tile::tilebase#5 ] +reg byte x [ clrscr::l#2 clrscr::l#1 ] +reg byte y [ clrscr::c#2 clrscr::c#1 ] +zp[1]:24 [ vera_tile_area::h#6 memcpy_in_vram::dest_bank#3 ] +zp[4]:25 [ vera_tile_area::mapbase#10 vera_tile_area::mapbase#2 vera_tile_area::mapbase#3 vera_tile_area::mapbase#1 vera_tile_area::mapbase#0 ] +reg byte y [ vera_tile_area::c#2 vera_tile_area::c#1 ] +reg byte x [ vera_layer_get_color::layer#2 vera_layer_get_color::layer#1 vera_layer_get_color::layer#0 ] +reg byte a [ vera_layer_get_color::return#2 vera_layer_get_color::return#0 vera_layer_get_color::return#1 ] +reg byte x [ insertup::i#2 insertup::i#1 ] +zp[1]:29 [ conio_screen_width ] +zp[1]:30 [ conio_screen_height ] +zp[1]:31 [ conio_screen_layer ] +zp[2]:32 [ conio_width ] +zp[2]:34 [ conio_height ] +zp[1]:36 [ conio_rowshift ] +zp[2]:37 [ conio_rowskip ] +reg byte a [ kbhit::return#2 ] +reg byte a [ main::$35 ] +reg byte a [ kbhit::return#3 ] +reg byte a [ main::$40 ] +reg byte a [ main::vera_layer_hide1_$0 ] +reg byte a [ screensize::hscale#0 ] +reg byte a [ screensize::$1 ] +reg byte a [ screensize::vscale#0 ] +reg byte a [ screensize::$3 ] +reg byte x [ vera_layer_get_mapbase_bank::layer#0 ] +reg byte a [ vera_layer_get_mapbase_bank::return#2 ] +zp[1]:39 [ CONIO_SCREEN_BANK#15 ] +reg byte a [ vera_layer_get_mapbase_offset::layer#0 ] +zp[2]:40 [ CONIO_SCREEN_TEXT#17 ] +reg byte a [ screenlayer::vera_layer_get_width1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$2 ] +zp[2]:42 [ screenlayer::vera_layer_get_width1_config#0 vera_layer_mode_tile::mapheight#10 ] +reg byte a [ screenlayer::vera_layer_get_width1_$0 ] +reg byte a [ screenlayer::vera_layer_get_width1_$1 ] +reg byte a [ screenlayer::vera_layer_get_width1_$3 ] +reg byte x [ vera_layer_get_rowshift::layer#0 ] +reg byte a [ vera_layer_get_rowshift::return#2 ] +reg byte a [ screenlayer::$3 ] +reg byte a [ vera_layer_get_rowskip::layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_layer#0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$2 ] +reg byte a [ screenlayer::vera_layer_get_height1_$0 ] +reg byte a [ screenlayer::vera_layer_get_height1_$1 ] +reg byte a [ screenlayer::vera_layer_get_height1_$3 ] +reg byte a [ vera_layer_set_mapbase::$0 ] +zp[2]:44 [ gotoxy::$6 gotoxy::line_offset#0 vera_layer_get_rowskip::return#2 screenlayer::$4 vera_layer_get_rowskip::return#0 vera_layer_get_mapbase_offset::return#2 vera_layer_get_mapbase_offset::return#0 vera_layer_mode_tile::mapwidth#10 ] +reg byte a [ gotoxy::$5 ] +reg byte a [ memcpy_in_vram::$0 ] +reg byte a [ memcpy_in_vram::$1 ] +reg byte a [ memcpy_in_vram::$2 ] +reg byte a [ memcpy_in_vram::$3 ] +reg byte a [ memcpy_in_vram::$4 ] +reg byte a [ memcpy_in_vram::$5 ] +reg byte a [ vera_layer_mode_tile::$16 ] +reg byte a [ vera_layer_set_config::layer#0 ] +reg byte x [ vera_layer_set_config::config#0 ] +zp[2]:46 [ vera_layer_mode_tile::$1 screenlayer::vera_layer_get_height1_config#0 ] +zp[1]:48 [ vera_layer_mode_tile::$19 ] +zp[2]:49 [ vera_layer_mode_tile::$2 screenlayer::vera_layer_get_height1_return#0 screenlayer::vera_layer_get_height1_return#1 screenlayer::$5 ] +zp[1]:51 [ vera_layer_mode_tile::$20 ] +reg byte x [ vera_layer_mode_tile::mapbase#0 ] +zp[2]:52 [ vera_layer_mode_tile::$7 vera_layer_set_mapbase::addr#0 screenlayer::vera_layer_get_width1_return#0 screenlayer::vera_layer_get_width1_return#1 screenlayer::$2 ] +zp[2]:54 [ vera_layer_mode_tile::$8 ] +zp[2]:56 [ vera_layer_mode_tile::$10 ] +reg byte a [ vera_layer_mode_tile::tilebase#0 ] +reg byte a [ vera_layer_set_tilebase::layer#0 ] +reg byte x [ vera_layer_set_tilebase::tilebase#0 ] +reg byte a [ vera_layer_mode_tile::$15 ] +reg byte a [ vera_layer_mode_tile::$14 ] +reg byte a [ vera_layer_mode_tile::$13 ] +reg byte x [ vera_layer_get_backcolor::layer#0 ] +reg byte a [ vera_layer_get_backcolor::return#2 ] +reg byte a [ clrscr::$0 ] +zp[1]:58 [ clrscr::$1 clrscr::color#0 vera_tile_area::w#11 ] +reg byte x [ vera_layer_get_textcolor::layer#0 ] +reg byte a [ vera_layer_get_textcolor::return#2 ] +reg byte a [ clrscr::$2 ] +reg byte a [ clrscr::$9 ] +reg byte a [ clrscr::$5 ] +reg byte a [ clrscr::$6 ] +reg byte a [ clrscr::$7 ] +reg byte a [ memcpy_to_vram::$0 ] +reg byte a [ memcpy_to_vram::$1 ] +zp[2]:59 [ vera_tile_area::rowskip#0 cputs::s#9 cputs::s#10 cputs::s#0 ] +zp[1]:61 [ vera_tile_area::vflip#0 vera_tile_area::index_h#2 ] +zp[1]:62 [ vera_tile_area::index_l#0 ] +reg byte a [ vera_tile_area::index_h#0 ] +reg byte a [ vera_tile_area::index_h#1 ] +reg byte a [ vera_tile_area::$5 ] +reg byte a [ vera_tile_area::vera_vram_address01_$1 ] +reg byte a [ vera_tile_area::vera_vram_address01_$3 ] +reg byte a [ vera_tile_area::vera_vram_address01_$5 ] +reg byte a [ vera_tile_area::vera_vram_address01_$6 ] +reg byte a [ cputs::c#1 ] +zp[1]:63 [ cputc::c#0 vera_tile_area::r#2 vera_tile_area::r#1 ] +zp[1]:64 [ kbhit::ch ] +reg byte a [ kbhit::return#0 ] +reg byte a [ kbhit::return#1 ] +zp[2]:65 [ vera_layer_set_text_color_mode::addr#0 vera_layer_mode_tile::$4 ] +reg byte a [ vera_layer_get_mapbase_bank::return#0 ] +reg byte a [ vera_layer_get_mapbase_offset::$0 ] +reg byte a [ vera_layer_get_rowshift::return#0 ] +reg byte a [ vera_layer_get_rowskip::$0 ] +reg byte a [ vera_layer_set_config::$0 ] +reg byte a [ vera_layer_set_tilebase::$0 ] +zp[2]:67 [ vera_layer_set_tilebase::addr#0 vera_layer_set_config::addr#0 ] +reg byte a [ vera_layer_get_backcolor::return#0 ] +reg byte a [ vera_layer_get_textcolor::return#0 ] +reg byte a [ vera_layer_get_color::return#3 ] +reg byte x [ cputc::color#0 ] +reg byte a [ cputc::$15 ] +zp[2]:69 [ cputc::conio_addr#0 cputc::conio_addr#1 vera_tile_area::$10 vera_tile_area::$4 clrscr::line_text#2 clrscr::line_text#1 clrscr::line_text#0 memcpy_in_vram::src#3 memcpy_in_vram::src#4 memcpy_in_vram::src#0 ] +reg byte a [ cputc::$2 ] +reg byte a [ cputc::$4 ] +reg byte a [ cputc::$5 ] +reg byte a [ cputc::$6 ] +reg byte a [ cputc::scroll_enable#0 ] +zp[2]:71 [ cputc::$16 vera_tile_area::vera_vram_address01_$0 memcpy_to_vram::vdest#2 memcpy_to_vram::vdest#1 memcpy_in_vram::dest#3 memcpy_in_vram::dest#0 insertup::start#0 insertup::line#0 ] +reg byte a [ vera_layer_get_color::$3 ] +reg byte a [ vera_layer_get_color::$0 ] +reg byte a [ vera_layer_get_color::$1 ] +reg byte a [ cputln::$2 ] +zp[2]:73 [ cputln::temp#0 cputln::temp#1 vera_tile_area::vera_vram_address01_$4 clearline::c#2 clearline::c#1 memcpy_in_vram::i#2 memcpy_in_vram::i#1 ] +reg byte a [ cputln::$3 ] +zp[1]:75 [ insertup::cy#0 vera_tile_area::shift#0 ] +zp[1]:76 [ insertup::width#0 vera_tile_area::hflip#0 ] +reg byte a [ insertup::$3 ] +reg byte a [ clearline::$5 ] +zp[2]:77 [ clearline::addr#0 vera_layer_get_color::addr#0 vera_tile_area::vera_vram_address01_$2 memcpy_to_vram::s#2 memcpy_to_vram::s#1 memcpy_in_vram::num#4 memcpy_in_vram::num#0 ] +reg byte a [ clearline::$1 ] +reg byte a [ clearline::$2 ] +reg byte a [ vera_layer_get_color::return#4 ] +reg byte x [ clearline::color#0 ]