mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-26 18:29:54 +00:00
added std charset / hicolor std charset and ecm std charset modes
This commit is contained in:
parent
7a55705b3e
commit
88313bbb81
@ -17,6 +17,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
|
@ -11,8 +11,6 @@ void main() {
|
||||
}
|
||||
}
|
||||
|
||||
const byte* MENU_SCREEN = $8000;
|
||||
const byte* MENU_CHARSET = $9800; // Charset ROM
|
||||
byte[] MENU_TEXT =
|
||||
"C64DTV Graphics Modes CCLHBME@" +
|
||||
" OHIIMCC@" +
|
||||
@ -36,9 +34,9 @@ byte[] MENU_TEXT =
|
||||
" (V) vicII (H) vicII+hicol (D) c64dtv@" +
|
||||
"@" ;
|
||||
|
||||
const dword DTV_COLOR_BANK_DEFAULT = $1d800;
|
||||
|
||||
void menu() {
|
||||
const byte* MENU_SCREEN = $8000;
|
||||
const byte* MENU_CHARSET = $9800; // Charset ROM
|
||||
// DTV Graphics Bank
|
||||
*DTV_GRAPHICS_VIC_BANK = (byte)((dword)MENU_CHARSET/$10000);
|
||||
// DTV Color Bank
|
||||
@ -69,6 +67,18 @@ void menu() {
|
||||
print_str_lines(MENU_TEXT);
|
||||
// Wait for key press
|
||||
while(true) {
|
||||
if(keyboard_key_pressed(KEY_1)!=0) {
|
||||
mode_stdchar();
|
||||
return;
|
||||
}
|
||||
if(keyboard_key_pressed(KEY_2)!=0) {
|
||||
mode_ecmchar();
|
||||
return;
|
||||
}
|
||||
if(keyboard_key_pressed(KEY_6)!=0) {
|
||||
mode_hicolstdchar();
|
||||
return;
|
||||
}
|
||||
if(keyboard_key_pressed(KEY_A)!=0) {
|
||||
mode_sixsfred2();
|
||||
return;
|
||||
@ -93,9 +103,166 @@ void menu() {
|
||||
|
||||
}
|
||||
|
||||
const byte* TWOPLANE_PLANEA = $4000;
|
||||
const byte* TWOPLANE_PLANEB = $6000;
|
||||
const byte* TWOPLANE_COLORS = $8000;
|
||||
// Standard Character Mode (LINEAR/HICOL/CHUNK/COLDIS/ECM/MCM/BMM = 0)
|
||||
// Resolution: 320x200
|
||||
// Normal VIC Adressing:
|
||||
// VicGfxData[16]: ( VicBank[1:0] & CharBase[2:0] & CharData[7:0] & RowCounter[2:0] )
|
||||
// Pixel Shifter (1)
|
||||
// - 0: 4bpp BgColor0[3:0]
|
||||
// - 1: 4bpp ColorData[3:0]
|
||||
void mode_stdchar() {
|
||||
const byte* STDCHAR_SCREEN = $8000;
|
||||
const byte* STDCHAR_CHARSET = $9000; // Charset ROM
|
||||
const byte* STDCHAR_COLORS = $8400;
|
||||
// DTV Graphics Bank
|
||||
*DTV_GRAPHICS_VIC_BANK = (byte)((dword)STDCHAR_CHARSET/$10000);
|
||||
// DTV Color Bank
|
||||
*DTV_COLOR_BANK_LO = <((word)(STDCHAR_COLORS/$400));
|
||||
*DTV_COLOR_BANK_HI = >((word)(STDCHAR_COLORS/$400));
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = 0;
|
||||
// VIC Graphics Bank
|
||||
*CIA2_PORT_A_DDR = %00000011; // Set VIC Bank bits to output - all others to input
|
||||
*CIA2_PORT_A = %00000011 ^ (byte)((word)STDCHAR_CHARSET/$4000); // Set VIC Bank
|
||||
// VIC Graphics Mode
|
||||
*VIC_CONTROL = VIC_DEN|VIC_RSEL|3;
|
||||
*VIC_CONTROL2 = VIC_CSEL;
|
||||
// VIC Memory Pointers
|
||||
*VIC_MEMORY = (byte)((((word)STDCHAR_SCREEN&$3fff)/$40)|(((word)STDCHAR_CHARSET&$3fff)/$400));
|
||||
// DTV Palette - default
|
||||
for(byte i : 0..$f) {
|
||||
DTV_PALETTE[i] = DTV_PALETTE_DEFAULT[i];
|
||||
}
|
||||
// Screen colors
|
||||
*BGCOL = 0;
|
||||
*BORDERCOL = 0;
|
||||
// Char Colors and screen chars
|
||||
byte* col=STDCHAR_COLORS;
|
||||
byte* ch=STDCHAR_SCREEN;
|
||||
for(byte cy: 0..24 ) {
|
||||
for(byte cx: 0..39) {
|
||||
*col++ = (cx+cy)&$f;
|
||||
*ch++ = (cy&$f)<<4|(cx&$f);
|
||||
}
|
||||
}
|
||||
// Wait for keypress
|
||||
while(true) {
|
||||
if(keyboard_key_pressed(KEY_SPACE)!=0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Extended Background Color Character Mode (LINEAR/HICOL/CHUNK/COLDIS/MCM/BMM = 0, ECM = 1)
|
||||
// Resolution: 320x200
|
||||
// Normal VIC Adressing:
|
||||
// VicGfxData[16]: ( VicBank[1:0] & CharBase[2:0] & "00" & CharData[5:0] & RowCounter[2:0] )
|
||||
// GfxData Pixel Shifter (1)
|
||||
// - 0: 4bpp Background Color
|
||||
// - CharData[7:6] 00: 4bpp BgColor0[3:0]
|
||||
// - CharData[7:6] 01: 4bpp BgColor1[3:0]
|
||||
// - CharData[7:6] 10: 4bpp BgColor2[3:0]
|
||||
// - CharData[7:6] 11: 4bpp BgColor3[3:0]
|
||||
// - 1: 4bpp ColorData[3:0]
|
||||
void mode_ecmchar() {
|
||||
const byte* ECMCHAR_SCREEN = $8000;
|
||||
const byte* ECMCHAR_CHARSET = $9000; // Charset ROM
|
||||
const byte* ECMCHAR_COLORS = $8400;
|
||||
// DTV Graphics Bank
|
||||
*DTV_GRAPHICS_VIC_BANK = (byte)((dword)ECMCHAR_CHARSET/$10000);
|
||||
// DTV Color Bank
|
||||
*DTV_COLOR_BANK_LO = <((word)(ECMCHAR_COLORS/$400));
|
||||
*DTV_COLOR_BANK_HI = >((word)(ECMCHAR_COLORS/$400));
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = 0;
|
||||
// VIC Graphics Bank
|
||||
*CIA2_PORT_A_DDR = %00000011; // Set VIC Bank bits to output - all others to input
|
||||
*CIA2_PORT_A = %00000011 ^ (byte)((word)ECMCHAR_CHARSET/$4000); // Set VIC Bank
|
||||
// VIC Graphics Mode
|
||||
*VIC_CONTROL = VIC_DEN|VIC_RSEL|VIC_ECM|3;
|
||||
*VIC_CONTROL2 = VIC_CSEL;
|
||||
// VIC Memory Pointers
|
||||
*VIC_MEMORY = (byte)((((word)ECMCHAR_SCREEN&$3fff)/$40)|(((word)ECMCHAR_CHARSET&$3fff)/$400));
|
||||
// DTV Palette - default
|
||||
for(byte i : 0..$f) {
|
||||
DTV_PALETTE[i] = DTV_PALETTE_DEFAULT[i];
|
||||
}
|
||||
// Screen colors
|
||||
*BORDERCOL = 0;
|
||||
*BGCOL1 = 0;
|
||||
*BGCOL2 = 2;
|
||||
*BGCOL3 = 5;
|
||||
*BGCOL4 = 6;
|
||||
// Char Colors and screen chars
|
||||
byte* col=ECMCHAR_COLORS;
|
||||
byte* ch=ECMCHAR_SCREEN;
|
||||
for(byte cy: 0..24 ) {
|
||||
for(byte cx: 0..39) {
|
||||
*col++ = (cx+cy)&$f;
|
||||
*ch++ = (cy&$f)<<4|(cx&$f);
|
||||
}
|
||||
}
|
||||
// Wait for keypress
|
||||
while(true) {
|
||||
if(keyboard_key_pressed(KEY_SPACE)!=0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// High Color Standard Character Mode (LINEAR/CHUNK/COLDIS/ECM/MCM/BMM = 0, HICOL = 1)
|
||||
// Resolution: 320x200
|
||||
// Normal VIC Adressing:
|
||||
// VicGfxData[16]: ( VicBank[1:0] & CharBase[2:0] & CharData[7:0] & RowCounter[2:0] )
|
||||
// Pixel Shifter (1)
|
||||
// - 0: 8bpp BgColor0[7:0]
|
||||
// - 1: 8bpp ColorData[7:0]
|
||||
void mode_hicolstdchar() {
|
||||
const byte* HICOLSTDCHAR_SCREEN = $8000;
|
||||
const byte* HICOLSTDCHAR_CHARSET = $9000; // Charset ROM
|
||||
const byte* HICOLSTDCHAR_COLORS = $8400;
|
||||
// DTV Graphics Bank
|
||||
*DTV_GRAPHICS_VIC_BANK = (byte)((dword)HICOLSTDCHAR_CHARSET/$10000);
|
||||
// DTV Color Bank
|
||||
*DTV_COLOR_BANK_LO = <((word)(HICOLSTDCHAR_COLORS/$400));
|
||||
*DTV_COLOR_BANK_HI = >((word)(HICOLSTDCHAR_COLORS/$400));
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_HIGHCOLOR_ON;
|
||||
// VIC Graphics Bank
|
||||
*CIA2_PORT_A_DDR = %00000011; // Set VIC Bank bits to output - all others to input
|
||||
*CIA2_PORT_A = %00000011 ^ (byte)((word)HICOLSTDCHAR_CHARSET/$4000); // Set VIC Bank
|
||||
// VIC Graphics Mode
|
||||
*VIC_CONTROL = VIC_DEN|VIC_RSEL|3;
|
||||
*VIC_CONTROL2 = VIC_CSEL;
|
||||
// VIC Memory Pointers
|
||||
*VIC_MEMORY = (byte)((((word)HICOLSTDCHAR_SCREEN&$3fff)/$40)|(((word)HICOLSTDCHAR_CHARSET&$3fff)/$400));
|
||||
// DTV Palette - Grey Tones
|
||||
for(byte i : 0..$f) {
|
||||
DTV_PALETTE[i] = i;
|
||||
}
|
||||
// Screen colors
|
||||
*BGCOL = 0;
|
||||
*BORDERCOL = 0;
|
||||
// Char Colors and screen chars
|
||||
byte* col=HICOLSTDCHAR_COLORS;
|
||||
byte* ch=HICOLSTDCHAR_SCREEN;
|
||||
for(byte cy: 0..24 ) {
|
||||
for(byte cx: 0..39) {
|
||||
byte v = (cy&$f)<<4|(cx&$f);
|
||||
*col++ = v;
|
||||
*ch++ = v;
|
||||
}
|
||||
}
|
||||
// Wait for keypress
|
||||
while(true) {
|
||||
if(keyboard_key_pressed(KEY_SPACE)!=0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Two Plane Bitmap - generated from the two DTV linear graphics plane counters
|
||||
// Two Plane Bitmap Mode (CHUNK/COLDIS/MCM = 0, ECM/BMM/HICOL/LINEAR = 1)
|
||||
@ -107,6 +274,9 @@ const byte* TWOPLANE_COLORS = $8000;
|
||||
// - Plane A = 1 Plane B = 0: 8bpp "0000" & ColorData[3:0]
|
||||
// - Plane A = 1 Plane B = 1: 8bpp BgColor1[7:0]
|
||||
void mode_twoplanebitmap() {
|
||||
const byte* TWOPLANE_PLANEA = $4000;
|
||||
const byte* TWOPLANE_PLANEB = $6000;
|
||||
const byte* TWOPLANE_COLORS = $8000;
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_HIGHCOLOR_ON | DTV_CONTROL_LINEAR_ADDRESSING_ON;
|
||||
// VIC Graphics Mode
|
||||
@ -171,10 +341,6 @@ void mode_twoplanebitmap() {
|
||||
|
||||
}
|
||||
|
||||
const byte* SIXSFRED_PLANEA = $4000;
|
||||
const byte* SIXSFRED_PLANEB = $6000;
|
||||
const byte* SIXSFRED_COLORS = $8000;
|
||||
|
||||
// Sixs Fred Mode - 8bpp Packed Bitmap - Generated from the two DTV linear graphics plane counters
|
||||
// Two Plane MultiColor Bitmap - 8bpp Packed Bitmap (CHUNK/COLDIS = 0, ECM/BMM/MCM/HICOL/LINEAR = 1)
|
||||
// Resolution: 160x200
|
||||
@ -182,6 +348,9 @@ const byte* SIXSFRED_COLORS = $8000;
|
||||
// GfxData/PlaneA Pixel Shifter (2), CharData/PlaneB Pixel Shifter (2):
|
||||
// - 8bpp color (ColorData[3:0],CharData/PlaneB[1:0], GfxData/PlaneA[1:0])
|
||||
void mode_sixsfred() {
|
||||
const byte* SIXSFRED_PLANEA = $4000;
|
||||
const byte* SIXSFRED_PLANEB = $6000;
|
||||
const byte* SIXSFRED_COLORS = $8000;
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_HIGHCOLOR_ON | DTV_CONTROL_LINEAR_ADDRESSING_ON;
|
||||
// VIC Graphics Mode
|
||||
@ -242,10 +411,6 @@ void mode_sixsfred() {
|
||||
|
||||
}
|
||||
|
||||
const byte* SIXSFRED2_PLANEA = $4000;
|
||||
const byte* SIXSFRED2_PLANEB = $6000;
|
||||
const byte* SIXSFRED2_COLORS = $8000;
|
||||
|
||||
// Sixs Fred Mode 2 - 8bpp Packed Bitmap - Generated from the two DTV linear graphics plane counters
|
||||
// Two Plane MultiColor Bitmap - 8bpp Packed Bitmap (CHUNK/COLDIS/HICOL = 0, ECM/BMM/MCM/LINEAR = 1)
|
||||
// Resolution: 160x200
|
||||
@ -253,6 +418,9 @@ const byte* SIXSFRED2_COLORS = $8000;
|
||||
// PlaneA Pixel Shifter (2), PlaneB Pixel Shifter (2):
|
||||
// - 8bpp color (PlaneB[1:0],ColorData[5:4],PlaneA[1:0],ColorData[1:0])
|
||||
void mode_sixsfred2() {
|
||||
const byte* SIXSFRED2_PLANEA = $4000;
|
||||
const byte* SIXSFRED2_PLANEB = $6000;
|
||||
const byte* SIXSFRED2_COLORS = $8000;
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_LINEAR_ADDRESSING_ON;
|
||||
// VIC Graphics Mode
|
||||
@ -313,10 +481,6 @@ void mode_sixsfred2() {
|
||||
|
||||
}
|
||||
|
||||
// 8BPP Pixel Cell Screen (contains 40x25=1000 chars)
|
||||
const byte* PIXELCELL8BPP_PLANEA = $3c00;
|
||||
// 8BPP Pixel Cell Charset (contains 256 64 byte chars)
|
||||
const byte* PIXELCELL8BPP_PLANEB = $4000;
|
||||
|
||||
//8bpp Pixel Cell Mode (BMM/COLDIS = 0, ECM/MCM/HICOL/LINEAR/CHUNK = 1)
|
||||
//Pixel Cell Adressing
|
||||
@ -328,6 +492,10 @@ const byte* PIXELCELL8BPP_PLANEB = $4000;
|
||||
//The characters come from counter A and the font (or "cells") from counter B.
|
||||
//Counter B step and modulo should be set to 0, counter A modulo to 0 and counter A step to 1 for normal operation.
|
||||
void mode_8bpppixelcell() {
|
||||
// 8BPP Pixel Cell Screen (contains 40x25=1000 chars)
|
||||
const byte* PIXELCELL8BPP_PLANEA = $3c00;
|
||||
// 8BPP Pixel Cell Charset (contains 256 64 byte chars)
|
||||
const byte* PIXELCELL8BPP_PLANEB = $4000;
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_HIGHCOLOR_ON | DTV_CONTROL_LINEAR_ADDRESSING_ON|DTV_CONTROL_CHUNKY_ON;
|
||||
// VIC Graphics Mode
|
||||
@ -389,8 +557,6 @@ void mode_8bpppixelcell() {
|
||||
}
|
||||
}
|
||||
|
||||
// 8BPP Chunky Bitmap (contains 8bpp pixels)
|
||||
const dword CHUNKYBMM8BPP_PLANEB = $20000;
|
||||
|
||||
//Chunky 8bpp Bitmap Mode (BMM = 0, ECM/MCM/HICOL/LINEAR/CHUNK/COLDIS = 1)
|
||||
// Resolution: 320x200
|
||||
@ -399,6 +565,8 @@ const dword CHUNKYBMM8BPP_PLANEB = $20000;
|
||||
// - 8bpp color PlaneB[7:0]
|
||||
// To set up a linear video frame buffer the step size must be set to 8.
|
||||
void mode_8bppchunkybmm() {
|
||||
// 8BPP Chunky Bitmap (contains 8bpp pixels)
|
||||
const dword CHUNKYBMM8BPP_PLANEB = $20000;
|
||||
// DTV Graphics Mode
|
||||
*DTV_CONTROL = DTV_CONTROL_HIGHCOLOR_ON | DTV_CONTROL_LINEAR_ADDRESSING_ON | DTV_CONTROL_CHUNKY_ON | DTV_CONTROL_COLORRAM_OFF;
|
||||
// VIC Graphics Mode
|
||||
@ -442,20 +610,3 @@ void mode_8bppchunkybmm() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Set the memory pointed to by CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
// This sets which actual memory is addressed when the CPU reads/writes to $4000-$7fff
|
||||
// The actual memory addressed will be $4000*cpuSegmentIdx
|
||||
void dtvSetCpuBankSegment1(byte cpuBankIdx) {
|
||||
// Move CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
byte* cpuBank = $ff;
|
||||
*cpuBank = cpuBankIdx;
|
||||
asm {
|
||||
// SAC $dd - A register points to 13 BANK 1 segment
|
||||
.byte $32, $dd
|
||||
// LDA $ff - Set CPU BANK 1 SEGMENT ($4000-$7fff) to ($ff)*$4000
|
||||
lda $ff
|
||||
// SAC $00 - A register points to 0 ACCUMULATOR
|
||||
.byte $32, $00
|
||||
}
|
||||
}
|
@ -52,10 +52,27 @@ const byte* DTV_SPRITE_BANK = $d04d;
|
||||
const byte* DTV_COLOR_BANK_LO = $d036;
|
||||
const byte* DTV_COLOR_BANK_HI = $d037;
|
||||
|
||||
const dword DTV_COLOR_BANK_DEFAULT = $1d800;
|
||||
|
||||
// Selects memory bank for normal VIC color mode and lower data for high color modes. (bits 5:0)
|
||||
// Memory address of VIC Graphics is GraphicsBank*$10000
|
||||
const byte* DTV_GRAPHICS_VIC_BANK = $d03d;
|
||||
// Selects memory bank for upper data for high color modes. (bits 5:0) - source only (H)
|
||||
const byte* DTV_GRAPHICS_HICOL_BANK = $d03e;
|
||||
|
||||
|
||||
// Set the memory pointed to by CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
// This sets which actual memory is addressed when the CPU reads/writes to $4000-$7fff
|
||||
// The actual memory addressed will be $4000*cpuSegmentIdx
|
||||
void dtvSetCpuBankSegment1(byte cpuBankIdx) {
|
||||
// Move CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
byte* cpuBank = $ff;
|
||||
*cpuBank = cpuBankIdx;
|
||||
asm {
|
||||
// SAC $dd - A register points to 13 BANK 1 segment
|
||||
.byte $32, $dd
|
||||
// LDA $ff - Set CPU BANK 1 SEGMENT ($4000-$7fff) to ($ff)*$4000
|
||||
lda $ff
|
||||
// SAC $00 - A register points to 0 ACCUMULATOR
|
||||
.byte $32, $00
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
@begin: scope:[] from
|
||||
[0] phi() [ ] ( )
|
||||
to:@1
|
||||
@1: scope:[] from @begin
|
||||
to:@2
|
||||
@2: scope:[] from @begin
|
||||
[1] phi() [ ] ( )
|
||||
[2] call main param-assignment [ ] ( )
|
||||
to:@end
|
||||
@end: scope:[] from @1
|
||||
@end: scope:[] from @2
|
||||
[3] phi() [ ] ( )
|
||||
main: scope:[main] from @1
|
||||
main: scope:[main] from @2
|
||||
asm { sei }
|
||||
[5] *((const byte*) DTV_FEATURE#0) ← (const byte) DTV_FEATURE_ENABLE#0 [ ] ( main:2 [ ] )
|
||||
[6] *((const byte*) DTV_CONTROL#0) ← (const byte) DTV_CONTROL_HIGHCOLOR_ON#0|(const byte) DTV_CONTROL_BORDER_OFF#0|(const byte) DTV_CONTROL_BADLINE_OFF#0 [ ] ( main:2 [ ] )
|
||||
|
@ -84,13 +84,30 @@ const byte* DTV_SPRITE_BANK = $d04d;
|
||||
const byte* DTV_COLOR_BANK_LO = $d036;
|
||||
const byte* DTV_COLOR_BANK_HI = $d037;
|
||||
|
||||
const dword DTV_COLOR_BANK_DEFAULT = $1d800;
|
||||
|
||||
// Selects memory bank for normal VIC color mode and lower data for high color modes. (bits 5:0)
|
||||
// Memory address of VIC Graphics is GraphicsBank*$10000
|
||||
const byte* DTV_GRAPHICS_VIC_BANK = $d03d;
|
||||
// Selects memory bank for upper data for high color modes. (bits 5:0) - source only (H)
|
||||
const byte* DTV_GRAPHICS_HICOL_BANK = $d03e;
|
||||
|
||||
|
||||
// Set the memory pointed to by CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
// This sets which actual memory is addressed when the CPU reads/writes to $4000-$7fff
|
||||
// The actual memory addressed will be $4000*cpuSegmentIdx
|
||||
void dtvSetCpuBankSegment1(byte cpuBankIdx) {
|
||||
// Move CPU BANK 1 SEGMENT ($4000-$7fff)
|
||||
byte* cpuBank = $ff;
|
||||
*cpuBank = cpuBankIdx;
|
||||
asm {
|
||||
// SAC $dd - A register points to 13 BANK 1 segment
|
||||
.byte $32, $dd
|
||||
// LDA $ff - Set CPU BANK 1 SEGMENT ($4000-$7fff) to ($ff)*$4000
|
||||
lda $ff
|
||||
// SAC $00 - A register points to 0 ACCUMULATOR
|
||||
.byte $32, $00
|
||||
}
|
||||
}
|
||||
|
||||
Importing c64.kc
|
||||
PARSING src/test/java/dk/camelot64/kickc/test/kc/c64.kc
|
||||
@ -113,6 +130,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -189,6 +208,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -258,8 +279,16 @@ STATEMENTS
|
||||
(byte*) DTV_SPRITE_BANK ← (word/dword/signed dword) 53325
|
||||
(byte*) DTV_COLOR_BANK_LO ← (word/dword/signed dword) 53302
|
||||
(byte*) DTV_COLOR_BANK_HI ← (word/dword/signed dword) 53303
|
||||
(dword) DTV_COLOR_BANK_DEFAULT ← (dword/signed dword) 120832
|
||||
(byte*) DTV_GRAPHICS_VIC_BANK ← (word/dword/signed dword) 53309
|
||||
(byte*) DTV_GRAPHICS_HICOL_BANK ← (word/dword/signed dword) 53310
|
||||
proc (void()) dtvSetCpuBankSegment1((byte) dtvSetCpuBankSegment1::cpuBankIdx)
|
||||
(byte*) dtvSetCpuBankSegment1::cpuBank ← (byte/word/signed word/dword/signed dword) 255
|
||||
*((byte*) dtvSetCpuBankSegment1::cpuBank) ← (byte) dtvSetCpuBankSegment1::cpuBankIdx
|
||||
asm { .byte$32,$dd lda$ff .byte$32,$00 }
|
||||
dtvSetCpuBankSegment1::@return:
|
||||
return
|
||||
endproc // dtvSetCpuBankSegment1()
|
||||
proc (void()) main()
|
||||
asm { sei }
|
||||
*((byte*) DTV_FEATURE) ← (byte) DTV_FEATURE_ENABLE
|
||||
@ -304,6 +333,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -323,6 +354,7 @@ SYMBOLS
|
||||
(byte*) D016
|
||||
(byte*) D018
|
||||
(byte) DARK_GREY
|
||||
(dword) DTV_COLOR_BANK_DEFAULT
|
||||
(byte*) DTV_COLOR_BANK_HI
|
||||
(byte*) DTV_COLOR_BANK_LO
|
||||
(byte*) DTV_CONTROL
|
||||
@ -387,6 +419,10 @@ SYMBOLS
|
||||
(byte) VIC_RST8
|
||||
(byte) WHITE
|
||||
(byte) YELLOW
|
||||
(void()) dtvSetCpuBankSegment1((byte) dtvSetCpuBankSegment1::cpuBankIdx)
|
||||
(label) dtvSetCpuBankSegment1::@return
|
||||
(byte*) dtvSetCpuBankSegment1::cpuBank
|
||||
(byte) dtvSetCpuBankSegment1::cpuBankIdx
|
||||
(void()) main()
|
||||
(byte~) main::$0
|
||||
(byte~) main::$1
|
||||
@ -421,6 +457,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -459,6 +497,7 @@ Promoting word/dword/signed dword to byte* in DTV_COLOR_BANK_LO ← ((byte*)) 53
|
||||
Promoting word/dword/signed dword to byte* in DTV_COLOR_BANK_HI ← ((byte*)) 53303
|
||||
Promoting word/dword/signed dword to byte* in DTV_GRAPHICS_VIC_BANK ← ((byte*)) 53309
|
||||
Promoting word/dword/signed dword to byte* in DTV_GRAPHICS_HICOL_BANK ← ((byte*)) 53310
|
||||
Promoting byte/word/signed word/dword/signed dword to byte* in dtvSetCpuBankSegment1::cpuBank ← ((byte*)) 255
|
||||
INITIAL CONTROL FLOW GRAPH
|
||||
@begin: scope:[] from
|
||||
(byte*) PROCPORT ← ((byte*)) (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
@ -476,6 +515,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -545,9 +586,20 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) DTV_SPRITE_BANK ← ((byte*)) (word/dword/signed dword) 53325
|
||||
(byte*) DTV_COLOR_BANK_LO ← ((byte*)) (word/dword/signed dword) 53302
|
||||
(byte*) DTV_COLOR_BANK_HI ← ((byte*)) (word/dword/signed dword) 53303
|
||||
(dword) DTV_COLOR_BANK_DEFAULT ← (dword/signed dword) 120832
|
||||
(byte*) DTV_GRAPHICS_VIC_BANK ← ((byte*)) (word/dword/signed dword) 53309
|
||||
(byte*) DTV_GRAPHICS_HICOL_BANK ← ((byte*)) (word/dword/signed dword) 53310
|
||||
to:@1
|
||||
dtvSetCpuBankSegment1: scope:[dtvSetCpuBankSegment1] from
|
||||
(byte*) dtvSetCpuBankSegment1::cpuBank ← ((byte*)) (byte/word/signed word/dword/signed dword) 255
|
||||
*((byte*) dtvSetCpuBankSegment1::cpuBank) ← (byte) dtvSetCpuBankSegment1::cpuBankIdx
|
||||
asm { .byte$32,$dd lda$ff .byte$32,$00 }
|
||||
to:dtvSetCpuBankSegment1::@return
|
||||
dtvSetCpuBankSegment1::@return: scope:[dtvSetCpuBankSegment1] from dtvSetCpuBankSegment1
|
||||
return
|
||||
to:@return
|
||||
@1: scope:[] from @begin
|
||||
to:@2
|
||||
main: scope:[main] from
|
||||
asm { sei }
|
||||
*((byte*) DTV_FEATURE) ← (byte) DTV_FEATURE_ENABLE
|
||||
@ -607,11 +659,12 @@ main::@16: scope:[main] from
|
||||
main::@return: scope:[main] from main::@3
|
||||
return
|
||||
to:@return
|
||||
@1: scope:[] from @begin
|
||||
@2: scope:[] from @1
|
||||
call main
|
||||
to:@end
|
||||
@end: scope:[] from @1
|
||||
@end: scope:[] from @2
|
||||
|
||||
Removing unused procedure dtvSetCpuBankSegment1
|
||||
Eliminating unused variable (byte*) PROCPORT and assignment [0] (byte*) PROCPORT ← ((byte*)) (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte*) CHARGEN and assignment [1] (byte*) CHARGEN ← ((byte*)) (word/dword/signed dword) 53248
|
||||
Eliminating unused variable (byte*) SPRITES_XPOS and assignment [2] (byte*) SPRITES_XPOS ← ((byte*)) (word/dword/signed dword) 53248
|
||||
@ -625,70 +678,74 @@ Eliminating unused variable (byte*) SPRITES_EXPAND_X and assignment [10] (byte*)
|
||||
Eliminating unused variable (byte*) BORDERCOL and assignment [11] (byte*) BORDERCOL ← ((byte*)) (word/dword/signed dword) 53280
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [32] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [33] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) DTV_FEATURE_DISABLE_TIL_RESET and assignment [58] (byte) DTV_FEATURE_DISABLE_TIL_RESET ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) DTV_CONTROL_LINEAR_ADDRESSING_ON and assignment [60] (byte) DTV_CONTROL_LINEAR_ADDRESSING_ON ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) DTV_CONTROL_OVERSCAN_ON and assignment [63] (byte) DTV_CONTROL_OVERSCAN_ON ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) DTV_CONTROL_COLORRAM_OFF and assignment [64] (byte) DTV_CONTROL_COLORRAM_OFF ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) DTV_CONTROL_CHUNKY_ON and assignment [66] (byte) DTV_CONTROL_CHUNKY_ON ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte[16]) DTV_PALETTE_DEFAULT and assignment [68] (byte[16]) DTV_PALETTE_DEFAULT ← { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 15, (byte/signed byte/word/signed word/dword/signed dword) 54, (byte/word/signed word/dword/signed dword) 190, (byte/signed byte/word/signed word/dword/signed dword) 88, (byte/word/signed word/dword/signed dword) 219, (byte/word/signed word/dword/signed dword) 134, (byte/word/signed word/dword/signed dword) 255, (byte/signed byte/word/signed word/dword/signed dword) 41, (byte/signed byte/word/signed word/dword/signed dword) 38, (byte/signed byte/word/signed word/dword/signed dword) 59, (byte/signed byte/word/signed word/dword/signed dword) 5, (byte/signed byte/word/signed word/dword/signed dword) 7, (byte/word/signed word/dword/signed dword) 223, (byte/word/signed word/dword/signed dword) 154, (byte/signed byte/word/signed word/dword/signed dword) 10 }
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_LO and assignment [69] (byte*) DTV_PLANEA_START_LO ← ((byte*)) (word/dword/signed dword) 53306
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_MI and assignment [70] (byte*) DTV_PLANEA_START_MI ← ((byte*)) (word/dword/signed dword) 53307
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_HI and assignment [71] (byte*) DTV_PLANEA_START_HI ← ((byte*)) (word/dword/signed dword) 53317
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_STEP and assignment [72] (byte*) DTV_PLANEA_STEP ← ((byte*)) (word/dword/signed dword) 53318
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_MODULO_LO and assignment [73] (byte*) DTV_PLANEA_MODULO_LO ← ((byte*)) (word/dword/signed dword) 53304
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_MODULO_HI and assignment [74] (byte*) DTV_PLANEA_MODULO_HI ← ((byte*)) (word/dword/signed dword) 53305
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_LO and assignment [75] (byte*) DTV_PLANEB_START_LO ← ((byte*)) (word/dword/signed dword) 53321
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_MI and assignment [76] (byte*) DTV_PLANEB_START_MI ← ((byte*)) (word/dword/signed dword) 53322
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_HI and assignment [77] (byte*) DTV_PLANEB_START_HI ← ((byte*)) (word/dword/signed dword) 53323
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_STEP and assignment [78] (byte*) DTV_PLANEB_STEP ← ((byte*)) (word/dword/signed dword) 53324
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_MODULO_LO and assignment [79] (byte*) DTV_PLANEB_MODULO_LO ← ((byte*)) (word/dword/signed dword) 53319
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_MODULO_HI and assignment [80] (byte*) DTV_PLANEB_MODULO_HI ← ((byte*)) (word/dword/signed dword) 53320
|
||||
Eliminating unused variable (byte*) DTV_SPRITE_BANK and assignment [81] (byte*) DTV_SPRITE_BANK ← ((byte*)) (word/dword/signed dword) 53325
|
||||
Eliminating unused variable (byte*) DTV_COLOR_BANK_LO and assignment [82] (byte*) DTV_COLOR_BANK_LO ← ((byte*)) (word/dword/signed dword) 53302
|
||||
Eliminating unused variable (byte*) DTV_COLOR_BANK_HI and assignment [83] (byte*) DTV_COLOR_BANK_HI ← ((byte*)) (word/dword/signed dword) 53303
|
||||
Eliminating unused variable (byte*) DTV_GRAPHICS_VIC_BANK and assignment [84] (byte*) DTV_GRAPHICS_VIC_BANK ← ((byte*)) (word/dword/signed dword) 53309
|
||||
Eliminating unused variable (byte*) DTV_GRAPHICS_HICOL_BANK and assignment [85] (byte*) DTV_GRAPHICS_HICOL_BANK ← ((byte*)) (word/dword/signed dword) 53310
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [34] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [35] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) DTV_FEATURE_DISABLE_TIL_RESET and assignment [60] (byte) DTV_FEATURE_DISABLE_TIL_RESET ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) DTV_CONTROL_LINEAR_ADDRESSING_ON and assignment [62] (byte) DTV_CONTROL_LINEAR_ADDRESSING_ON ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) DTV_CONTROL_OVERSCAN_ON and assignment [65] (byte) DTV_CONTROL_OVERSCAN_ON ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) DTV_CONTROL_COLORRAM_OFF and assignment [66] (byte) DTV_CONTROL_COLORRAM_OFF ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) DTV_CONTROL_CHUNKY_ON and assignment [68] (byte) DTV_CONTROL_CHUNKY_ON ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte[16]) DTV_PALETTE_DEFAULT and assignment [70] (byte[16]) DTV_PALETTE_DEFAULT ← { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 15, (byte/signed byte/word/signed word/dword/signed dword) 54, (byte/word/signed word/dword/signed dword) 190, (byte/signed byte/word/signed word/dword/signed dword) 88, (byte/word/signed word/dword/signed dword) 219, (byte/word/signed word/dword/signed dword) 134, (byte/word/signed word/dword/signed dword) 255, (byte/signed byte/word/signed word/dword/signed dword) 41, (byte/signed byte/word/signed word/dword/signed dword) 38, (byte/signed byte/word/signed word/dword/signed dword) 59, (byte/signed byte/word/signed word/dword/signed dword) 5, (byte/signed byte/word/signed word/dword/signed dword) 7, (byte/word/signed word/dword/signed dword) 223, (byte/word/signed word/dword/signed dword) 154, (byte/signed byte/word/signed word/dword/signed dword) 10 }
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_LO and assignment [71] (byte*) DTV_PLANEA_START_LO ← ((byte*)) (word/dword/signed dword) 53306
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_MI and assignment [72] (byte*) DTV_PLANEA_START_MI ← ((byte*)) (word/dword/signed dword) 53307
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_START_HI and assignment [73] (byte*) DTV_PLANEA_START_HI ← ((byte*)) (word/dword/signed dword) 53317
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_STEP and assignment [74] (byte*) DTV_PLANEA_STEP ← ((byte*)) (word/dword/signed dword) 53318
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_MODULO_LO and assignment [75] (byte*) DTV_PLANEA_MODULO_LO ← ((byte*)) (word/dword/signed dword) 53304
|
||||
Eliminating unused variable (byte*) DTV_PLANEA_MODULO_HI and assignment [76] (byte*) DTV_PLANEA_MODULO_HI ← ((byte*)) (word/dword/signed dword) 53305
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_LO and assignment [77] (byte*) DTV_PLANEB_START_LO ← ((byte*)) (word/dword/signed dword) 53321
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_MI and assignment [78] (byte*) DTV_PLANEB_START_MI ← ((byte*)) (word/dword/signed dword) 53322
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_START_HI and assignment [79] (byte*) DTV_PLANEB_START_HI ← ((byte*)) (word/dword/signed dword) 53323
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_STEP and assignment [80] (byte*) DTV_PLANEB_STEP ← ((byte*)) (word/dword/signed dword) 53324
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_MODULO_LO and assignment [81] (byte*) DTV_PLANEB_MODULO_LO ← ((byte*)) (word/dword/signed dword) 53319
|
||||
Eliminating unused variable (byte*) DTV_PLANEB_MODULO_HI and assignment [82] (byte*) DTV_PLANEB_MODULO_HI ← ((byte*)) (word/dword/signed dword) 53320
|
||||
Eliminating unused variable (byte*) DTV_SPRITE_BANK and assignment [83] (byte*) DTV_SPRITE_BANK ← ((byte*)) (word/dword/signed dword) 53325
|
||||
Eliminating unused variable (byte*) DTV_COLOR_BANK_LO and assignment [84] (byte*) DTV_COLOR_BANK_LO ← ((byte*)) (word/dword/signed dword) 53302
|
||||
Eliminating unused variable (byte*) DTV_COLOR_BANK_HI and assignment [85] (byte*) DTV_COLOR_BANK_HI ← ((byte*)) (word/dword/signed dword) 53303
|
||||
Eliminating unused variable (dword) DTV_COLOR_BANK_DEFAULT and assignment [86] (dword) DTV_COLOR_BANK_DEFAULT ← (dword/signed dword) 120832
|
||||
Eliminating unused variable (byte*) DTV_GRAPHICS_VIC_BANK and assignment [87] (byte*) DTV_GRAPHICS_VIC_BANK ← ((byte*)) (word/dword/signed dword) 53309
|
||||
Eliminating unused variable (byte*) DTV_GRAPHICS_HICOL_BANK and assignment [88] (byte*) DTV_GRAPHICS_HICOL_BANK ← ((byte*)) (word/dword/signed dword) 53310
|
||||
Removing empty block @1
|
||||
Removing empty block main::@9
|
||||
Removing empty block main::@3
|
||||
Removing empty block main::@10
|
||||
@ -712,8 +769,8 @@ CONTROL FLOW GRAPH SSA WITH ASSIGNMENT CALL & RETURN
|
||||
(byte) DTV_CONTROL_HIGHCOLOR_ON#0 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
(byte) DTV_CONTROL_BADLINE_OFF#0 ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
(byte*) DTV_PALETTE#0 ← ((byte*)) (word/dword/signed dword) 53760
|
||||
to:@1
|
||||
main: scope:[main] from @1
|
||||
to:@2
|
||||
main: scope:[main] from @2
|
||||
asm { sei }
|
||||
*((byte*) DTV_FEATURE#0) ← (byte) DTV_FEATURE_ENABLE#0
|
||||
(byte~) main::$0 ← (byte) DTV_CONTROL_HIGHCOLOR_ON#0 | (byte) DTV_CONTROL_BORDER_OFF#0
|
||||
@ -758,16 +815,16 @@ main::@8: scope:[main] from main::@14 main::@8
|
||||
main::@return: scope:[main] from main::@1
|
||||
return
|
||||
to:@return
|
||||
@1: scope:[] from @begin
|
||||
@2: scope:[] from @begin
|
||||
call main param-assignment
|
||||
to:@2
|
||||
@2: scope:[] from @1
|
||||
to:@3
|
||||
@3: scope:[] from @2
|
||||
to:@end
|
||||
@end: scope:[] from @2
|
||||
@end: scope:[] from @3
|
||||
|
||||
SYMBOL TABLE SSA
|
||||
(label) @1
|
||||
(label) @2
|
||||
(label) @3
|
||||
(label) @begin
|
||||
(label) @end
|
||||
(byte*) BGCOL
|
||||
@ -817,7 +874,7 @@ SYMBOL TABLE SSA
|
||||
OPTIMIZING CONTROL FLOW GRAPH
|
||||
Culled Empty Block (label) main::@2
|
||||
Culled Empty Block (label) main::@5
|
||||
Culled Empty Block (label) @2
|
||||
Culled Empty Block (label) @3
|
||||
Succesful SSA optimization Pass2CullEmptyBlocks
|
||||
Simple Condition (boolean~) main::$2 if(*((byte*) RASTER#0)!=(byte/signed byte/word/signed word/dword/signed dword) 64) goto main::@4
|
||||
Simple Condition (boolean~) main::$3 if((byte) main::r#1!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto main::@7
|
||||
@ -852,12 +909,12 @@ Constant inlined main::c#0 = (byte/signed byte/word/signed word/dword/signed dwo
|
||||
Constant inlined main::$1 = (const byte) DTV_CONTROL_HIGHCOLOR_ON#0|(const byte) DTV_CONTROL_BORDER_OFF#0|(const byte) DTV_CONTROL_BADLINE_OFF#0
|
||||
Constant inlined main::$0 = (const byte) DTV_CONTROL_HIGHCOLOR_ON#0|(const byte) DTV_CONTROL_BORDER_OFF#0
|
||||
Succesful SSA optimization Pass2ConstantInlining
|
||||
Block Sequence Planned @begin @1 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8
|
||||
Block Sequence Planned @begin @2 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8
|
||||
Added new block during phi lifting main::@17(between main::@7 and main::@7)
|
||||
Added new block during phi lifting main::@18(between main::@8 and main::@8)
|
||||
Block Sequence Planned @begin @1 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8 main::@18 main::@17
|
||||
Block Sequence Planned @begin @2 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8 main::@18 main::@17
|
||||
Adding NOP phi() at start of @begin
|
||||
Adding NOP phi() at start of @1
|
||||
Adding NOP phi() at start of @2
|
||||
Adding NOP phi() at start of @end
|
||||
CALL GRAPH
|
||||
Calls in [] to main:2
|
||||
@ -872,9 +929,9 @@ Coalesced [22] main::r#3 ← main::r#1
|
||||
Coalesced down to 2 phi equivalence classes
|
||||
Culled Empty Block (label) main::@18
|
||||
Culled Empty Block (label) main::@17
|
||||
Block Sequence Planned @begin @1 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8
|
||||
Block Sequence Planned @begin @2 @end main main::@1 main::@return main::@4 main::@6 main::@7 main::@8
|
||||
Adding NOP phi() at start of @begin
|
||||
Adding NOP phi() at start of @1
|
||||
Adding NOP phi() at start of @2
|
||||
Adding NOP phi() at start of @end
|
||||
Propagating live ranges...
|
||||
Propagating live ranges...
|
||||
@ -884,14 +941,14 @@ Propagating live ranges...
|
||||
FINAL CONTROL FLOW GRAPH
|
||||
@begin: scope:[] from
|
||||
[0] phi() [ ] ( )
|
||||
to:@1
|
||||
@1: scope:[] from @begin
|
||||
to:@2
|
||||
@2: scope:[] from @begin
|
||||
[1] phi() [ ] ( )
|
||||
[2] call main param-assignment [ ] ( )
|
||||
to:@end
|
||||
@end: scope:[] from @1
|
||||
@end: scope:[] from @2
|
||||
[3] phi() [ ] ( )
|
||||
main: scope:[main] from @1
|
||||
main: scope:[main] from @2
|
||||
asm { sei }
|
||||
[5] *((const byte*) DTV_FEATURE#0) ← (const byte) DTV_FEATURE_ENABLE#0 [ ] ( main:2 [ ] )
|
||||
[6] *((const byte*) DTV_CONTROL#0) ← (const byte) DTV_CONTROL_HIGHCOLOR_ON#0|(const byte) DTV_CONTROL_BORDER_OFF#0|(const byte) DTV_CONTROL_BADLINE_OFF#0 [ ] ( main:2 [ ] )
|
||||
@ -925,15 +982,15 @@ main::@8: scope:[main] from main::@7 main::@8
|
||||
|
||||
DOMINATORS
|
||||
@begin dominated by @begin
|
||||
@1 dominated by @1 @begin
|
||||
@end dominated by @1 @begin @end
|
||||
main dominated by @1 @begin main
|
||||
main::@1 dominated by @1 @begin main::@1 main
|
||||
main::@return dominated by main::@return @1 @begin main::@1 main
|
||||
main::@4 dominated by @1 @begin main::@1 main main::@4
|
||||
main::@6 dominated by @1 @begin main::@1 main main::@6 main::@4
|
||||
main::@7 dominated by @1 main::@7 @begin main::@1 main main::@6 main::@4
|
||||
main::@8 dominated by @1 main::@7 @begin main::@8 main::@1 main main::@6 main::@4
|
||||
@2 dominated by @2 @begin
|
||||
@end dominated by @2 @begin @end
|
||||
main dominated by @2 @begin main
|
||||
main::@1 dominated by @2 @begin main::@1 main
|
||||
main::@return dominated by main::@return @2 @begin main::@1 main
|
||||
main::@4 dominated by @2 @begin main::@1 main main::@4
|
||||
main::@6 dominated by @2 @begin main::@1 main main::@6 main::@4
|
||||
main::@7 dominated by @2 main::@7 @begin main::@1 main main::@6 main::@4
|
||||
main::@8 dominated by @2 main::@7 @begin main::@8 main::@1 main main::@6 main::@4
|
||||
|
||||
NATURAL LOOPS
|
||||
Found back edge: Loop head: main::@4 tails: main::@4 blocks: null
|
||||
@ -1007,15 +1064,15 @@ INITIAL ASM
|
||||
.label DTV_PALETTE = $d200
|
||||
//SEG2 @begin
|
||||
bbegin:
|
||||
//SEG3 [1] phi from @begin to @1 [phi:@begin->@1]
|
||||
b1_from_bbegin:
|
||||
jmp b1
|
||||
//SEG4 @1
|
||||
b1:
|
||||
//SEG3 [1] phi from @begin to @2 [phi:@begin->@2]
|
||||
b2_from_bbegin:
|
||||
jmp b2
|
||||
//SEG4 @2
|
||||
b2:
|
||||
//SEG5 [2] call main param-assignment [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @1 to @end [phi:@1->@end]
|
||||
bend_from_b1:
|
||||
//SEG6 [3] phi from @2 to @end [phi:@2->@end]
|
||||
bend_from_b2:
|
||||
jmp bend
|
||||
//SEG7 @end
|
||||
bend:
|
||||
@ -1166,15 +1223,15 @@ ASSEMBLER BEFORE OPTIMIZATION
|
||||
.label DTV_PALETTE = $d200
|
||||
//SEG2 @begin
|
||||
bbegin:
|
||||
//SEG3 [1] phi from @begin to @1 [phi:@begin->@1]
|
||||
b1_from_bbegin:
|
||||
jmp b1
|
||||
//SEG4 @1
|
||||
b1:
|
||||
//SEG3 [1] phi from @begin to @2 [phi:@begin->@2]
|
||||
b2_from_bbegin:
|
||||
jmp b2
|
||||
//SEG4 @2
|
||||
b2:
|
||||
//SEG5 [2] call main param-assignment [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @1 to @end [phi:@1->@end]
|
||||
bend_from_b1:
|
||||
//SEG6 [3] phi from @2 to @end [phi:@2->@end]
|
||||
bend_from_b2:
|
||||
jmp bend
|
||||
//SEG7 @end
|
||||
bend:
|
||||
@ -1280,7 +1337,7 @@ main: {
|
||||
}
|
||||
|
||||
ASSEMBLER OPTIMIZATIONS
|
||||
Removing instruction jmp b1
|
||||
Removing instruction jmp b2
|
||||
Removing instruction jmp bend
|
||||
Removing instruction jmp b1
|
||||
Removing instruction jmp breturn
|
||||
@ -1291,12 +1348,12 @@ Succesful ASM optimization Pass5NextJumpElimination
|
||||
Replacing label b7_from_b7 with b7
|
||||
Replacing label b8_from_b8 with b8
|
||||
Removing instruction bbegin:
|
||||
Removing instruction b1_from_bbegin:
|
||||
Removing instruction bend_from_b1:
|
||||
Removing instruction b2_from_bbegin:
|
||||
Removing instruction bend_from_b2:
|
||||
Removing instruction b7_from_b7:
|
||||
Removing instruction b8_from_b8:
|
||||
Succesful ASM optimization Pass5RedundantLabelElimination
|
||||
Removing instruction b1:
|
||||
Removing instruction b2:
|
||||
Removing instruction bend:
|
||||
Removing instruction breturn:
|
||||
Removing instruction b6:
|
||||
@ -1315,7 +1372,7 @@ Removing instruction b1:
|
||||
Succesful ASM optimization Pass5RedundantLabelElimination
|
||||
|
||||
FINAL SYMBOL TABLE
|
||||
(label) @1
|
||||
(label) @2
|
||||
(label) @begin
|
||||
(label) @end
|
||||
(byte*) BGCOL
|
||||
@ -1374,11 +1431,11 @@ Score: 10180
|
||||
.const DTV_CONTROL_BADLINE_OFF = $20
|
||||
.label DTV_PALETTE = $d200
|
||||
//SEG2 @begin
|
||||
//SEG3 [1] phi from @begin to @1 [phi:@begin->@1]
|
||||
//SEG4 @1
|
||||
//SEG3 [1] phi from @begin to @2 [phi:@begin->@2]
|
||||
//SEG4 @2
|
||||
//SEG5 [2] call main param-assignment [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @1 to @end [phi:@1->@end]
|
||||
//SEG6 [3] phi from @2 to @end [phi:@2->@end]
|
||||
//SEG7 @end
|
||||
//SEG8 main
|
||||
main: {
|
||||
|
@ -1,4 +1,4 @@
|
||||
(label) @1
|
||||
(label) @2
|
||||
(label) @begin
|
||||
(label) @end
|
||||
(byte*) BGCOL
|
||||
|
@ -6,6 +6,8 @@
|
||||
.label BGCOL = $d021
|
||||
.label BGCOL1 = $d021
|
||||
.label BGCOL2 = $d022
|
||||
.label BGCOL3 = $d023
|
||||
.label BGCOL4 = $d024
|
||||
.label VIC_CONTROL = $d011
|
||||
.const VIC_ECM = $40
|
||||
.const VIC_BMM = $20
|
||||
@ -43,28 +45,17 @@
|
||||
.label DTV_PLANEB_MODULO_HI = $d048
|
||||
.label DTV_COLOR_BANK_LO = $d036
|
||||
.label DTV_COLOR_BANK_HI = $d037
|
||||
.const DTV_COLOR_BANK_DEFAULT = $1d800
|
||||
.label DTV_GRAPHICS_VIC_BANK = $d03d
|
||||
.const KEY_A = $a
|
||||
.const KEY_E = $e
|
||||
.const KEY_D = $12
|
||||
.const KEY_6 = $13
|
||||
.const KEY_C = $14
|
||||
.const KEY_B = $1c
|
||||
.const KEY_1 = $38
|
||||
.const KEY_2 = $3b
|
||||
.const KEY_SPACE = $3c
|
||||
.label MENU_SCREEN = $8000
|
||||
.label MENU_CHARSET = $9800
|
||||
.const DTV_COLOR_BANK_DEFAULT = $1d800
|
||||
.label TWOPLANE_PLANEA = $4000
|
||||
.label TWOPLANE_PLANEB = $6000
|
||||
.label TWOPLANE_COLORS = $8000
|
||||
.label SIXSFRED_PLANEA = $4000
|
||||
.label SIXSFRED_PLANEB = $6000
|
||||
.label SIXSFRED_COLORS = $8000
|
||||
.label SIXSFRED2_PLANEA = $4000
|
||||
.label SIXSFRED2_PLANEB = $6000
|
||||
.label SIXSFRED2_COLORS = $8000
|
||||
.label PIXELCELL8BPP_PLANEA = $3c00
|
||||
.label PIXELCELL8BPP_PLANEB = $4000
|
||||
.const CHUNKYBMM8BPP_PLANEB = $20000
|
||||
.label print_char_cursor = 5
|
||||
.label print_line_cursor = $a
|
||||
jsr main
|
||||
@ -77,6 +68,8 @@ main: {
|
||||
jmp b2
|
||||
}
|
||||
menu: {
|
||||
.label MENU_SCREEN = $8000
|
||||
.label MENU_CHARSET = $9800
|
||||
.label c = 2
|
||||
lda #($ffffffff&MENU_CHARSET)/$10000
|
||||
sta DTV_GRAPHICS_VIC_BANK
|
||||
@ -130,34 +123,55 @@ menu: {
|
||||
breturn:
|
||||
rts
|
||||
b4:
|
||||
ldx #KEY_A
|
||||
ldx #KEY_1
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b6
|
||||
jsr mode_sixsfred2
|
||||
jsr mode_stdchar
|
||||
jmp breturn
|
||||
b6:
|
||||
ldx #KEY_B
|
||||
ldx #KEY_2
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b7
|
||||
jsr mode_twoplanebitmap
|
||||
jsr mode_ecmchar
|
||||
jmp breturn
|
||||
b7:
|
||||
ldx #KEY_C
|
||||
ldx #KEY_6
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b8
|
||||
jsr mode_sixsfred
|
||||
jsr mode_hicolstdchar
|
||||
jmp breturn
|
||||
b8:
|
||||
ldx #KEY_D
|
||||
ldx #KEY_A
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b9
|
||||
jsr mode_8bpppixelcell
|
||||
jsr mode_sixsfred2
|
||||
jmp breturn
|
||||
b9:
|
||||
ldx #KEY_B
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b10
|
||||
jsr mode_twoplanebitmap
|
||||
jmp breturn
|
||||
b10:
|
||||
ldx #KEY_C
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b11
|
||||
jsr mode_sixsfred
|
||||
jmp breturn
|
||||
b11:
|
||||
ldx #KEY_D
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b12
|
||||
jsr mode_8bpppixelcell
|
||||
jmp breturn
|
||||
b12:
|
||||
ldx #KEY_E
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
@ -166,6 +180,7 @@ menu: {
|
||||
jmp breturn
|
||||
}
|
||||
mode_8bppchunkybmm: {
|
||||
.const CHUNKYBMM8BPP_PLANEB = $20000
|
||||
.label _20 = $a
|
||||
.label gfxb = 5
|
||||
.label x = 2
|
||||
@ -292,6 +307,8 @@ dtvSetCpuBankSegment1: {
|
||||
rts
|
||||
}
|
||||
mode_8bpppixelcell: {
|
||||
.label PIXELCELL8BPP_PLANEA = $3c00
|
||||
.label PIXELCELL8BPP_PLANEB = $4000
|
||||
.label _12 = 7
|
||||
.label gfxa = 2
|
||||
.label ay = 4
|
||||
@ -433,6 +450,9 @@ mode_8bpppixelcell: {
|
||||
jmp breturn
|
||||
}
|
||||
mode_sixsfred: {
|
||||
.label SIXSFRED_PLANEA = $4000
|
||||
.label SIXSFRED_PLANEB = $6000
|
||||
.label SIXSFRED_COLORS = $8000
|
||||
.label col = 2
|
||||
.label cy = 4
|
||||
.label gfxa = 2
|
||||
@ -568,6 +588,9 @@ mode_sixsfred: {
|
||||
row_bitmask: .byte 0, $55, $aa, $ff
|
||||
}
|
||||
mode_twoplanebitmap: {
|
||||
.label TWOPLANE_PLANEA = $4000
|
||||
.label TWOPLANE_PLANEB = $6000
|
||||
.label TWOPLANE_COLORS = $8000
|
||||
.label _15 = 7
|
||||
.label col = 2
|
||||
.label cy = 4
|
||||
@ -723,6 +746,9 @@ mode_twoplanebitmap: {
|
||||
jmp b7
|
||||
}
|
||||
mode_sixsfred2: {
|
||||
.label SIXSFRED2_PLANEA = $4000
|
||||
.label SIXSFRED2_PLANEB = $6000
|
||||
.label SIXSFRED2_COLORS = $8000
|
||||
.label _15 = 7
|
||||
.label col = 2
|
||||
.label cy = 4
|
||||
@ -864,15 +890,291 @@ mode_sixsfred2: {
|
||||
jmp breturn
|
||||
row_bitmask: .byte 0, $55, $aa, $ff
|
||||
}
|
||||
mode_hicolstdchar: {
|
||||
.label HICOLSTDCHAR_SCREEN = $8000
|
||||
.label HICOLSTDCHAR_CHARSET = $9000
|
||||
.label HICOLSTDCHAR_COLORS = $8400
|
||||
.label _25 = 7
|
||||
.label col = 2
|
||||
.label ch = 5
|
||||
.label cy = 4
|
||||
lda #($ffffffff&HICOLSTDCHAR_CHARSET)/$10000
|
||||
sta DTV_GRAPHICS_VIC_BANK
|
||||
lda #HICOLSTDCHAR_COLORS/$400
|
||||
sta DTV_COLOR_BANK_LO
|
||||
lda #0
|
||||
sta DTV_COLOR_BANK_HI
|
||||
lda #DTV_CONTROL_HIGHCOLOR_ON
|
||||
sta DTV_CONTROL
|
||||
lda #3
|
||||
sta CIA2_PORT_A_DDR
|
||||
lda #3^HICOLSTDCHAR_CHARSET/$4000
|
||||
sta CIA2_PORT_A
|
||||
lda #VIC_DEN|VIC_RSEL|3
|
||||
sta VIC_CONTROL
|
||||
lda #VIC_CSEL
|
||||
sta VIC_CONTROL2
|
||||
lda #(HICOLSTDCHAR_SCREEN&$3fff)/$40|(HICOLSTDCHAR_CHARSET&$3fff)/$400
|
||||
sta VIC_MEMORY
|
||||
ldx #0
|
||||
b1:
|
||||
txa
|
||||
sta DTV_PALETTE,x
|
||||
inx
|
||||
cpx #$10
|
||||
bne b1
|
||||
lda #0
|
||||
sta BGCOL
|
||||
sta BORDERCOL
|
||||
lda #<HICOLSTDCHAR_SCREEN
|
||||
sta ch
|
||||
lda #>HICOLSTDCHAR_SCREEN
|
||||
sta ch+1
|
||||
lda #<HICOLSTDCHAR_COLORS
|
||||
sta col
|
||||
lda #>HICOLSTDCHAR_COLORS
|
||||
sta col+1
|
||||
lda #0
|
||||
sta cy
|
||||
b2:
|
||||
ldx #0
|
||||
b3:
|
||||
lda #$f
|
||||
and cy
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
sta _25
|
||||
txa
|
||||
and #$f
|
||||
ora _25
|
||||
ldy #0
|
||||
sta (col),y
|
||||
inc col
|
||||
bne !+
|
||||
inc col+1
|
||||
!:
|
||||
ldy #0
|
||||
sta (ch),y
|
||||
inc ch
|
||||
bne !+
|
||||
inc ch+1
|
||||
!:
|
||||
inx
|
||||
cpx #$28
|
||||
bne b3
|
||||
inc cy
|
||||
lda cy
|
||||
cmp #$19
|
||||
bne b2
|
||||
jmp b5
|
||||
breturn:
|
||||
rts
|
||||
b5:
|
||||
ldx #KEY_SPACE
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b5
|
||||
jmp breturn
|
||||
}
|
||||
mode_ecmchar: {
|
||||
.label ECMCHAR_SCREEN = $8000
|
||||
.label ECMCHAR_CHARSET = $9000
|
||||
.label ECMCHAR_COLORS = $8400
|
||||
.label _28 = 7
|
||||
.label col = 2
|
||||
.label ch = 5
|
||||
.label cy = 4
|
||||
lda #($ffffffff&ECMCHAR_CHARSET)/$10000
|
||||
sta DTV_GRAPHICS_VIC_BANK
|
||||
lda #ECMCHAR_COLORS/$400
|
||||
sta DTV_COLOR_BANK_LO
|
||||
lda #0
|
||||
sta DTV_COLOR_BANK_HI
|
||||
sta DTV_CONTROL
|
||||
lda #3
|
||||
sta CIA2_PORT_A_DDR
|
||||
lda #3^ECMCHAR_CHARSET/$4000
|
||||
sta CIA2_PORT_A
|
||||
lda #VIC_DEN|VIC_RSEL|VIC_ECM|3
|
||||
sta VIC_CONTROL
|
||||
lda #VIC_CSEL
|
||||
sta VIC_CONTROL2
|
||||
lda #(ECMCHAR_SCREEN&$3fff)/$40|(ECMCHAR_CHARSET&$3fff)/$400
|
||||
sta VIC_MEMORY
|
||||
ldx #0
|
||||
b1:
|
||||
lda DTV_PALETTE_DEFAULT,x
|
||||
sta DTV_PALETTE,x
|
||||
inx
|
||||
cpx #$10
|
||||
bne b1
|
||||
lda #0
|
||||
sta BORDERCOL
|
||||
sta BGCOL1
|
||||
lda #2
|
||||
sta BGCOL2
|
||||
lda #5
|
||||
sta BGCOL3
|
||||
lda #6
|
||||
sta BGCOL4
|
||||
lda #<ECMCHAR_SCREEN
|
||||
sta ch
|
||||
lda #>ECMCHAR_SCREEN
|
||||
sta ch+1
|
||||
lda #<ECMCHAR_COLORS
|
||||
sta col
|
||||
lda #>ECMCHAR_COLORS
|
||||
sta col+1
|
||||
lda #0
|
||||
sta cy
|
||||
b2:
|
||||
ldx #0
|
||||
b3:
|
||||
txa
|
||||
clc
|
||||
adc cy
|
||||
and #$f
|
||||
ldy #0
|
||||
sta (col),y
|
||||
inc col
|
||||
bne !+
|
||||
inc col+1
|
||||
!:
|
||||
lda #$f
|
||||
and cy
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
sta _28
|
||||
txa
|
||||
and #$f
|
||||
ora _28
|
||||
ldy #0
|
||||
sta (ch),y
|
||||
inc ch
|
||||
bne !+
|
||||
inc ch+1
|
||||
!:
|
||||
inx
|
||||
cpx #$28
|
||||
bne b3
|
||||
inc cy
|
||||
lda cy
|
||||
cmp #$19
|
||||
bne b2
|
||||
jmp b5
|
||||
breturn:
|
||||
rts
|
||||
b5:
|
||||
ldx #KEY_SPACE
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b5
|
||||
jmp breturn
|
||||
}
|
||||
mode_stdchar: {
|
||||
.label STDCHAR_SCREEN = $8000
|
||||
.label STDCHAR_CHARSET = $9000
|
||||
.label STDCHAR_COLORS = $8400
|
||||
.label _27 = 7
|
||||
.label col = 2
|
||||
.label ch = 5
|
||||
.label cy = 4
|
||||
lda #($ffffffff&STDCHAR_CHARSET)/$10000
|
||||
sta DTV_GRAPHICS_VIC_BANK
|
||||
lda #STDCHAR_COLORS/$400
|
||||
sta DTV_COLOR_BANK_LO
|
||||
lda #0
|
||||
sta DTV_COLOR_BANK_HI
|
||||
sta DTV_CONTROL
|
||||
lda #3
|
||||
sta CIA2_PORT_A_DDR
|
||||
lda #3^STDCHAR_CHARSET/$4000
|
||||
sta CIA2_PORT_A
|
||||
lda #VIC_DEN|VIC_RSEL|3
|
||||
sta VIC_CONTROL
|
||||
lda #VIC_CSEL
|
||||
sta VIC_CONTROL2
|
||||
lda #(STDCHAR_SCREEN&$3fff)/$40|(STDCHAR_CHARSET&$3fff)/$400
|
||||
sta VIC_MEMORY
|
||||
ldx #0
|
||||
b1:
|
||||
lda DTV_PALETTE_DEFAULT,x
|
||||
sta DTV_PALETTE,x
|
||||
inx
|
||||
cpx #$10
|
||||
bne b1
|
||||
lda #0
|
||||
sta BGCOL
|
||||
sta BORDERCOL
|
||||
lda #<STDCHAR_SCREEN
|
||||
sta ch
|
||||
lda #>STDCHAR_SCREEN
|
||||
sta ch+1
|
||||
lda #<STDCHAR_COLORS
|
||||
sta col
|
||||
lda #>STDCHAR_COLORS
|
||||
sta col+1
|
||||
lda #0
|
||||
sta cy
|
||||
b2:
|
||||
ldx #0
|
||||
b3:
|
||||
txa
|
||||
clc
|
||||
adc cy
|
||||
and #$f
|
||||
ldy #0
|
||||
sta (col),y
|
||||
inc col
|
||||
bne !+
|
||||
inc col+1
|
||||
!:
|
||||
lda #$f
|
||||
and cy
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
sta _27
|
||||
txa
|
||||
and #$f
|
||||
ora _27
|
||||
ldy #0
|
||||
sta (ch),y
|
||||
inc ch
|
||||
bne !+
|
||||
inc ch+1
|
||||
!:
|
||||
inx
|
||||
cpx #$28
|
||||
bne b3
|
||||
inc cy
|
||||
lda cy
|
||||
cmp #$19
|
||||
bne b2
|
||||
jmp b5
|
||||
breturn:
|
||||
rts
|
||||
b5:
|
||||
ldx #KEY_SPACE
|
||||
jsr keyboard_key_pressed
|
||||
cmp #0
|
||||
beq b5
|
||||
jmp breturn
|
||||
}
|
||||
print_str_lines: {
|
||||
.label str = 2
|
||||
lda #<MENU_SCREEN
|
||||
lda #<menu.MENU_SCREEN
|
||||
sta print_line_cursor
|
||||
lda #>MENU_SCREEN
|
||||
lda #>menu.MENU_SCREEN
|
||||
sta print_line_cursor+1
|
||||
lda #<MENU_SCREEN
|
||||
lda #<menu.MENU_SCREEN
|
||||
sta print_char_cursor
|
||||
lda #>MENU_SCREEN
|
||||
lda #>menu.MENU_SCREEN
|
||||
sta print_char_cursor+1
|
||||
lda #<MENU_TEXT
|
||||
sta str
|
||||
@ -930,9 +1232,9 @@ print_ln: {
|
||||
}
|
||||
print_cls: {
|
||||
.label sc = 2
|
||||
lda #<MENU_SCREEN
|
||||
lda #<menu.MENU_SCREEN
|
||||
sta sc
|
||||
lda #>MENU_SCREEN
|
||||
lda #>menu.MENU_SCREEN
|
||||
sta sc+1
|
||||
b1:
|
||||
lda #' '
|
||||
@ -943,10 +1245,10 @@ print_cls: {
|
||||
inc sc+1
|
||||
!:
|
||||
lda sc+1
|
||||
cmp #>MENU_SCREEN+$3e8
|
||||
cmp #>menu.MENU_SCREEN+$3e8
|
||||
bne b1
|
||||
lda sc
|
||||
cmp #<MENU_SCREEN+$3e8
|
||||
cmp #<menu.MENU_SCREEN+$3e8
|
||||
bne b1
|
||||
rts
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
(label) @26
|
||||
(label) @29
|
||||
(label) @begin
|
||||
(label) @end
|
||||
(byte*) BGCOL
|
||||
@ -7,10 +7,12 @@
|
||||
(const byte*) BGCOL1#0 BGCOL1 = ((byte*))(word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2
|
||||
(const byte*) BGCOL2#0 BGCOL2 = ((byte*))(word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3
|
||||
(const byte*) BGCOL3#0 BGCOL3 = ((byte*))(word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4
|
||||
(const byte*) BGCOL4#0 BGCOL4 = ((byte*))(word/dword/signed dword) 53284
|
||||
(byte*) BORDERCOL
|
||||
(const byte*) BORDERCOL#0 BORDERCOL = ((byte*))(word/dword/signed dword) 53280
|
||||
(dword) CHUNKYBMM8BPP_PLANEB
|
||||
(const dword) CHUNKYBMM8BPP_PLANEB#0 CHUNKYBMM8BPP_PLANEB = (dword/signed dword) 131072
|
||||
(byte*) CIA1_PORT_A
|
||||
(const byte*) CIA1_PORT_A#0 CIA1_PORT_A = ((byte*))(word/dword/signed dword) 56320
|
||||
(byte*) CIA1_PORT_B
|
||||
@ -71,6 +73,12 @@
|
||||
(const byte*) DTV_PLANEB_START_MI#0 DTV_PLANEB_START_MI = ((byte*))(word/dword/signed dword) 53322
|
||||
(byte*) DTV_PLANEB_STEP
|
||||
(const byte*) DTV_PLANEB_STEP#0 DTV_PLANEB_STEP = ((byte*))(word/dword/signed dword) 53324
|
||||
(byte) KEY_1
|
||||
(const byte) KEY_1#0 KEY_1 = (byte/signed byte/word/signed word/dword/signed dword) 56
|
||||
(byte) KEY_2
|
||||
(const byte) KEY_2#0 KEY_2 = (byte/signed byte/word/signed word/dword/signed dword) 59
|
||||
(byte) KEY_6
|
||||
(const byte) KEY_6#0 KEY_6 = (byte/signed byte/word/signed word/dword/signed dword) 19
|
||||
(byte) KEY_A
|
||||
(const byte) KEY_A#0 KEY_A = (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
(byte) KEY_B
|
||||
@ -85,36 +93,10 @@
|
||||
(const byte) KEY_SPACE#0 KEY_SPACE = (byte/signed byte/word/signed word/dword/signed dword) 60
|
||||
(byte) LIGHT_GREEN
|
||||
(const byte) LIGHT_GREEN#0 LIGHT_GREEN = (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
(byte*) MENU_CHARSET
|
||||
(const byte*) MENU_CHARSET#0 MENU_CHARSET = ((byte*))(word/dword/signed dword) 38912
|
||||
(byte*) MENU_SCREEN
|
||||
(const byte*) MENU_SCREEN#0 MENU_SCREEN = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte[]) MENU_TEXT
|
||||
(const string) MENU_TEXT#0 MENU_TEXT = (string) "C64DTV Graphics Modes CCLHBME@"+(string) " OHIIMCC@"+(string) " LUNCMMM@"+(string) "----------------------------------------@"+(string) "1. Standard Char (V) 0000000@"+(string) "2. Extended Color Char (V) 0000001@"+(string) "3. Multicolor Char (V) 0000010@"+(string) "4. Standard Bitmap (V) 0000100@"+(string) "5. Multicolor Bitmap (V) 0000110@"+(string) "6. High Color Standard Char (H) 0001000@"+(string) "7. High Extended Color Char (H) 0001001@"+(string) "8. High Multicolor Char (H) 0001010@"+(string) "9. High Multicolor Bitmap (H) 0001110@"+(string) "a. Sixs Fred 2 (D) 0010111@"+(string) "b. Two Plane Bitmap (D) 0011101@"+(string) "c. Sixs Fred (2 Plane MC BM) (D) 0011111@"+(string) "d. 8bpp Pixel Cell (D) 0111011@"+(string) "e. Chunky 8bpp Bitmap (D) 1111011@"+(string) "----------------------------------------@"+(string) " (V) vicII (H) vicII+hicol (D) c64dtv@"+(string) "@"
|
||||
(byte*) PIXELCELL8BPP_PLANEA
|
||||
(const byte*) PIXELCELL8BPP_PLANEA#0 PIXELCELL8BPP_PLANEA = ((byte*))(word/signed word/dword/signed dword) 15360
|
||||
(byte*) PIXELCELL8BPP_PLANEB
|
||||
(const byte*) PIXELCELL8BPP_PLANEB#0 PIXELCELL8BPP_PLANEB = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) PROCPORT
|
||||
(const byte*) PROCPORT#0 PROCPORT = ((byte*))(byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
(byte*) SIXSFRED2_COLORS
|
||||
(const byte*) SIXSFRED2_COLORS#0 SIXSFRED2_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) SIXSFRED2_PLANEA
|
||||
(const byte*) SIXSFRED2_PLANEA#0 SIXSFRED2_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) SIXSFRED2_PLANEB
|
||||
(const byte*) SIXSFRED2_PLANEB#0 SIXSFRED2_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte*) SIXSFRED_COLORS
|
||||
(const byte*) SIXSFRED_COLORS#0 SIXSFRED_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) SIXSFRED_PLANEA
|
||||
(const byte*) SIXSFRED_PLANEA#0 SIXSFRED_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) SIXSFRED_PLANEB
|
||||
(const byte*) SIXSFRED_PLANEB#0 SIXSFRED_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte*) TWOPLANE_COLORS
|
||||
(const byte*) TWOPLANE_COLORS#0 TWOPLANE_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) TWOPLANE_PLANEA
|
||||
(const byte*) TWOPLANE_PLANEA#0 TWOPLANE_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) TWOPLANE_PLANEB
|
||||
(const byte*) TWOPLANE_PLANEB#0 TWOPLANE_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte) VIC_BMM
|
||||
(const byte) VIC_BMM#0 VIC_BMM = (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
(byte*) VIC_CONTROL
|
||||
@ -147,19 +129,25 @@
|
||||
(byte) keyboard_key_pressed::colidx
|
||||
(byte) keyboard_key_pressed::colidx#0 reg byte y 0.6666666666666666
|
||||
(byte) keyboard_key_pressed::key
|
||||
(byte) keyboard_key_pressed::key#10 reg byte x 2.0
|
||||
(byte) keyboard_key_pressed::key#16 reg byte x 2.0
|
||||
(byte) keyboard_key_pressed::return
|
||||
(byte) keyboard_key_pressed::return#0 reg byte a 84.33333333333333
|
||||
(byte) keyboard_key_pressed::return#0 reg byte a 89.88888888888891
|
||||
(byte) keyboard_key_pressed::return#10 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#11 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#12 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#13 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#14 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#15 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#16 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#17 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#18 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#19 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#20 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#21 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#22 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#23 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#24 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#25 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::return#26 reg byte a 202.0
|
||||
(byte) keyboard_key_pressed::rowidx
|
||||
(byte) keyboard_key_pressed::rowidx#0 reg byte a 4.0
|
||||
(byte[]) keyboard_matrix_col_bitmask
|
||||
@ -184,28 +172,44 @@
|
||||
(byte~) menu::$37 reg byte a 202.0
|
||||
(byte~) menu::$41 reg byte a 202.0
|
||||
(byte~) menu::$45 reg byte a 202.0
|
||||
(byte~) menu::$49 reg byte a 202.0
|
||||
(byte~) menu::$53 reg byte a 202.0
|
||||
(byte~) menu::$57 reg byte a 202.0
|
||||
(label) menu::@1
|
||||
(label) menu::@10
|
||||
(label) menu::@11
|
||||
(label) menu::@12
|
||||
(label) menu::@15
|
||||
(label) menu::@17
|
||||
(label) menu::@19
|
||||
(label) menu::@18
|
||||
(label) menu::@2
|
||||
(label) menu::@21
|
||||
(label) menu::@23
|
||||
(label) menu::@20
|
||||
(label) menu::@22
|
||||
(label) menu::@24
|
||||
(label) menu::@26
|
||||
(label) menu::@27
|
||||
(label) menu::@29
|
||||
(label) menu::@28
|
||||
(label) menu::@3
|
||||
(label) menu::@30
|
||||
(label) menu::@32
|
||||
(label) menu::@34
|
||||
(label) menu::@35
|
||||
(label) menu::@36
|
||||
(label) menu::@38
|
||||
(label) menu::@39
|
||||
(label) menu::@4
|
||||
(label) menu::@41
|
||||
(label) menu::@43
|
||||
(label) menu::@45
|
||||
(label) menu::@47
|
||||
(label) menu::@49
|
||||
(label) menu::@51
|
||||
(label) menu::@6
|
||||
(label) menu::@7
|
||||
(label) menu::@8
|
||||
(label) menu::@9
|
||||
(label) menu::@return
|
||||
(byte*) menu::MENU_CHARSET
|
||||
(const byte*) menu::MENU_CHARSET#0 MENU_CHARSET = ((byte*))(word/dword/signed dword) 38912
|
||||
(byte*) menu::MENU_SCREEN
|
||||
(const byte*) menu::MENU_SCREEN#0 MENU_SCREEN = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) menu::c
|
||||
(byte*) menu::c#1 c zp ZP_WORD:2 151.5
|
||||
(byte*) menu::c#2 c zp ZP_WORD:2 151.5
|
||||
@ -228,6 +232,8 @@
|
||||
(label) mode_8bppchunkybmm::@6
|
||||
(label) mode_8bppchunkybmm::@9
|
||||
(label) mode_8bppchunkybmm::@return
|
||||
(dword) mode_8bppchunkybmm::CHUNKYBMM8BPP_PLANEB
|
||||
(const dword) mode_8bppchunkybmm::CHUNKYBMM8BPP_PLANEB#0 CHUNKYBMM8BPP_PLANEB = (dword/signed dword) 131072
|
||||
(byte) mode_8bppchunkybmm::c
|
||||
(byte) mode_8bppchunkybmm::c#0 reg byte a 2002.0
|
||||
(byte*) mode_8bppchunkybmm::gfxb
|
||||
@ -274,6 +280,10 @@
|
||||
(label) mode_8bpppixelcell::@9
|
||||
(label) mode_8bpppixelcell::@return
|
||||
(byte*) mode_8bpppixelcell::CHARGEN
|
||||
(byte*) mode_8bpppixelcell::PIXELCELL8BPP_PLANEA
|
||||
(const byte*) mode_8bpppixelcell::PIXELCELL8BPP_PLANEA#0 PIXELCELL8BPP_PLANEA = ((byte*))(word/signed word/dword/signed dword) 15360
|
||||
(byte*) mode_8bpppixelcell::PIXELCELL8BPP_PLANEB
|
||||
(const byte*) mode_8bpppixelcell::PIXELCELL8BPP_PLANEB#0 PIXELCELL8BPP_PLANEB = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte) mode_8bpppixelcell::ax
|
||||
(byte) mode_8bpppixelcell::ax#1 reg byte x 1501.5
|
||||
(byte) mode_8bpppixelcell::ax#2 reg byte x 429.0
|
||||
@ -317,6 +327,85 @@
|
||||
(byte) mode_8bpppixelcell::i
|
||||
(byte) mode_8bpppixelcell::i#1 reg byte x 151.5
|
||||
(byte) mode_8bpppixelcell::i#2 reg byte x 202.0
|
||||
(void()) mode_ecmchar()
|
||||
(byte~) mode_ecmchar::$25 reg byte a 2002.0
|
||||
(byte~) mode_ecmchar::$26 reg byte a 2002.0
|
||||
(byte~) mode_ecmchar::$27 reg byte a 2002.0
|
||||
(byte~) mode_ecmchar::$28 $28 zp ZP_BYTE:7 1001.0
|
||||
(byte~) mode_ecmchar::$29 reg byte a 2002.0
|
||||
(byte~) mode_ecmchar::$30 reg byte a 2002.0
|
||||
(byte~) mode_ecmchar::$33 reg byte a 202.0
|
||||
(label) mode_ecmchar::@1
|
||||
(label) mode_ecmchar::@16
|
||||
(label) mode_ecmchar::@2
|
||||
(label) mode_ecmchar::@3
|
||||
(label) mode_ecmchar::@4
|
||||
(label) mode_ecmchar::@5
|
||||
(label) mode_ecmchar::@8
|
||||
(label) mode_ecmchar::@9
|
||||
(label) mode_ecmchar::@return
|
||||
(byte*) mode_ecmchar::ECMCHAR_CHARSET
|
||||
(const byte*) mode_ecmchar::ECMCHAR_CHARSET#0 ECMCHAR_CHARSET = ((byte*))(word/dword/signed dword) 36864
|
||||
(byte*) mode_ecmchar::ECMCHAR_COLORS
|
||||
(const byte*) mode_ecmchar::ECMCHAR_COLORS#0 ECMCHAR_COLORS = ((byte*))(word/dword/signed dword) 33792
|
||||
(byte*) mode_ecmchar::ECMCHAR_SCREEN
|
||||
(const byte*) mode_ecmchar::ECMCHAR_SCREEN#0 ECMCHAR_SCREEN = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_ecmchar::ch
|
||||
(byte*) mode_ecmchar::ch#1 ch zp ZP_WORD:5 420.59999999999997
|
||||
(byte*) mode_ecmchar::ch#2 ch zp ZP_WORD:5 310.4
|
||||
(byte*) mode_ecmchar::ch#3 ch zp ZP_WORD:5 202.0
|
||||
(byte*) mode_ecmchar::col
|
||||
(byte*) mode_ecmchar::col#1 col zp ZP_WORD:2 191.1818181818182
|
||||
(byte*) mode_ecmchar::col#2 col zp ZP_WORD:2 776.0
|
||||
(byte*) mode_ecmchar::col#3 col zp ZP_WORD:2 202.0
|
||||
(byte) mode_ecmchar::cx
|
||||
(byte) mode_ecmchar::cx#1 reg byte x 1501.5
|
||||
(byte) mode_ecmchar::cx#2 reg byte x 364.0
|
||||
(byte) mode_ecmchar::cy
|
||||
(byte) mode_ecmchar::cy#1 cy zp ZP_BYTE:4 151.5
|
||||
(byte) mode_ecmchar::cy#4 cy zp ZP_BYTE:4 157.42857142857144
|
||||
(byte) mode_ecmchar::i
|
||||
(byte) mode_ecmchar::i#1 reg byte x 151.5
|
||||
(byte) mode_ecmchar::i#2 reg byte x 202.0
|
||||
(void()) mode_hicolstdchar()
|
||||
(byte~) mode_hicolstdchar::$24 reg byte a 2002.0
|
||||
(byte~) mode_hicolstdchar::$25 $25 zp ZP_BYTE:7 1001.0
|
||||
(byte~) mode_hicolstdchar::$26 reg byte a 2002.0
|
||||
(byte~) mode_hicolstdchar::$30 reg byte a 202.0
|
||||
(label) mode_hicolstdchar::@1
|
||||
(label) mode_hicolstdchar::@16
|
||||
(label) mode_hicolstdchar::@2
|
||||
(label) mode_hicolstdchar::@3
|
||||
(label) mode_hicolstdchar::@4
|
||||
(label) mode_hicolstdchar::@5
|
||||
(label) mode_hicolstdchar::@8
|
||||
(label) mode_hicolstdchar::@9
|
||||
(label) mode_hicolstdchar::@return
|
||||
(byte*) mode_hicolstdchar::HICOLSTDCHAR_CHARSET
|
||||
(const byte*) mode_hicolstdchar::HICOLSTDCHAR_CHARSET#0 HICOLSTDCHAR_CHARSET = ((byte*))(word/dword/signed dword) 36864
|
||||
(byte*) mode_hicolstdchar::HICOLSTDCHAR_COLORS
|
||||
(const byte*) mode_hicolstdchar::HICOLSTDCHAR_COLORS#0 HICOLSTDCHAR_COLORS = ((byte*))(word/dword/signed dword) 33792
|
||||
(byte*) mode_hicolstdchar::HICOLSTDCHAR_SCREEN
|
||||
(const byte*) mode_hicolstdchar::HICOLSTDCHAR_SCREEN#0 HICOLSTDCHAR_SCREEN = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_hicolstdchar::ch
|
||||
(byte*) mode_hicolstdchar::ch#1 ch zp ZP_WORD:5 420.59999999999997
|
||||
(byte*) mode_hicolstdchar::ch#2 ch zp ZP_WORD:5 388.0
|
||||
(byte*) mode_hicolstdchar::ch#3 ch zp ZP_WORD:5 202.0
|
||||
(byte*) mode_hicolstdchar::col
|
||||
(byte*) mode_hicolstdchar::col#1 col zp ZP_WORD:2 300.42857142857144
|
||||
(byte*) mode_hicolstdchar::col#2 col zp ZP_WORD:2 517.3333333333334
|
||||
(byte*) mode_hicolstdchar::col#3 col zp ZP_WORD:2 202.0
|
||||
(byte) mode_hicolstdchar::cx
|
||||
(byte) mode_hicolstdchar::cx#1 reg byte x 1501.5
|
||||
(byte) mode_hicolstdchar::cx#2 reg byte x 333.6666666666667
|
||||
(byte) mode_hicolstdchar::cy
|
||||
(byte) mode_hicolstdchar::cy#1 cy zp ZP_BYTE:4 151.5
|
||||
(byte) mode_hicolstdchar::cy#4 cy zp ZP_BYTE:4 100.25000000000001
|
||||
(byte) mode_hicolstdchar::i
|
||||
(byte) mode_hicolstdchar::i#1 reg byte x 151.5
|
||||
(byte) mode_hicolstdchar::i#2 reg byte x 202.0
|
||||
(byte) mode_hicolstdchar::v
|
||||
(byte) mode_hicolstdchar::v#0 reg byte a 1001.0
|
||||
(void()) mode_sixsfred()
|
||||
(byte~) mode_sixsfred::$15 reg byte a 2002.0
|
||||
(byte~) mode_sixsfred::$16 reg byte a 2002.0
|
||||
@ -337,6 +426,12 @@
|
||||
(label) mode_sixsfred::@8
|
||||
(label) mode_sixsfred::@9
|
||||
(label) mode_sixsfred::@return
|
||||
(byte*) mode_sixsfred::SIXSFRED_COLORS
|
||||
(const byte*) mode_sixsfred::SIXSFRED_COLORS#0 SIXSFRED_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_sixsfred::SIXSFRED_PLANEA
|
||||
(const byte*) mode_sixsfred::SIXSFRED_PLANEA#0 SIXSFRED_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) mode_sixsfred::SIXSFRED_PLANEB
|
||||
(const byte*) mode_sixsfred::SIXSFRED_PLANEB#0 SIXSFRED_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte) mode_sixsfred::ax
|
||||
(byte) mode_sixsfred::ax#1 reg byte x 1501.5
|
||||
(byte) mode_sixsfred::ax#2 reg byte x 400.4
|
||||
@ -396,6 +491,12 @@
|
||||
(label) mode_sixsfred2::@8
|
||||
(label) mode_sixsfred2::@9
|
||||
(label) mode_sixsfred2::@return
|
||||
(byte*) mode_sixsfred2::SIXSFRED2_COLORS
|
||||
(const byte*) mode_sixsfred2::SIXSFRED2_COLORS#0 SIXSFRED2_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_sixsfred2::SIXSFRED2_PLANEA
|
||||
(const byte*) mode_sixsfred2::SIXSFRED2_PLANEA#0 SIXSFRED2_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) mode_sixsfred2::SIXSFRED2_PLANEB
|
||||
(const byte*) mode_sixsfred2::SIXSFRED2_PLANEB#0 SIXSFRED2_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte) mode_sixsfred2::ax
|
||||
(byte) mode_sixsfred2::ax#1 reg byte x 1501.5
|
||||
(byte) mode_sixsfred2::ax#2 reg byte x 400.4
|
||||
@ -433,6 +534,46 @@
|
||||
(byte) mode_sixsfred2::row#0 reg byte a 2002.0
|
||||
(byte[]) mode_sixsfred2::row_bitmask
|
||||
(const byte[]) mode_sixsfred2::row_bitmask#0 row_bitmask = { (byte/signed byte/word/signed word/dword/signed dword) 0, (byte/signed byte/word/signed word/dword/signed dword) 85, (byte/word/signed word/dword/signed dword) 170, (byte/word/signed word/dword/signed dword) 255 }
|
||||
(void()) mode_stdchar()
|
||||
(byte~) mode_stdchar::$24 reg byte a 2002.0
|
||||
(byte~) mode_stdchar::$25 reg byte a 2002.0
|
||||
(byte~) mode_stdchar::$26 reg byte a 2002.0
|
||||
(byte~) mode_stdchar::$27 $27 zp ZP_BYTE:7 1001.0
|
||||
(byte~) mode_stdchar::$28 reg byte a 2002.0
|
||||
(byte~) mode_stdchar::$29 reg byte a 2002.0
|
||||
(byte~) mode_stdchar::$32 reg byte a 202.0
|
||||
(label) mode_stdchar::@1
|
||||
(label) mode_stdchar::@16
|
||||
(label) mode_stdchar::@2
|
||||
(label) mode_stdchar::@3
|
||||
(label) mode_stdchar::@4
|
||||
(label) mode_stdchar::@5
|
||||
(label) mode_stdchar::@8
|
||||
(label) mode_stdchar::@9
|
||||
(label) mode_stdchar::@return
|
||||
(byte*) mode_stdchar::STDCHAR_CHARSET
|
||||
(const byte*) mode_stdchar::STDCHAR_CHARSET#0 STDCHAR_CHARSET = ((byte*))(word/dword/signed dword) 36864
|
||||
(byte*) mode_stdchar::STDCHAR_COLORS
|
||||
(const byte*) mode_stdchar::STDCHAR_COLORS#0 STDCHAR_COLORS = ((byte*))(word/dword/signed dword) 33792
|
||||
(byte*) mode_stdchar::STDCHAR_SCREEN
|
||||
(const byte*) mode_stdchar::STDCHAR_SCREEN#0 STDCHAR_SCREEN = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_stdchar::ch
|
||||
(byte*) mode_stdchar::ch#1 ch zp ZP_WORD:5 420.59999999999997
|
||||
(byte*) mode_stdchar::ch#2 ch zp ZP_WORD:5 310.4
|
||||
(byte*) mode_stdchar::ch#3 ch zp ZP_WORD:5 202.0
|
||||
(byte*) mode_stdchar::col
|
||||
(byte*) mode_stdchar::col#1 col zp ZP_WORD:2 191.1818181818182
|
||||
(byte*) mode_stdchar::col#2 col zp ZP_WORD:2 776.0
|
||||
(byte*) mode_stdchar::col#3 col zp ZP_WORD:2 202.0
|
||||
(byte) mode_stdchar::cx
|
||||
(byte) mode_stdchar::cx#1 reg byte x 1501.5
|
||||
(byte) mode_stdchar::cx#2 reg byte x 364.0
|
||||
(byte) mode_stdchar::cy
|
||||
(byte) mode_stdchar::cy#1 cy zp ZP_BYTE:4 151.5
|
||||
(byte) mode_stdchar::cy#4 cy zp ZP_BYTE:4 157.42857142857144
|
||||
(byte) mode_stdchar::i
|
||||
(byte) mode_stdchar::i#1 reg byte x 151.5
|
||||
(byte) mode_stdchar::i#2 reg byte x 202.0
|
||||
(void()) mode_twoplanebitmap()
|
||||
(byte~) mode_twoplanebitmap::$14 reg byte a 2002.0
|
||||
(byte~) mode_twoplanebitmap::$15 $15 zp ZP_BYTE:7 1001.0
|
||||
@ -458,6 +599,12 @@
|
||||
(label) mode_twoplanebitmap::@8
|
||||
(label) mode_twoplanebitmap::@9
|
||||
(label) mode_twoplanebitmap::@return
|
||||
(byte*) mode_twoplanebitmap::TWOPLANE_COLORS
|
||||
(const byte*) mode_twoplanebitmap::TWOPLANE_COLORS#0 TWOPLANE_COLORS = ((byte*))(word/dword/signed dword) 32768
|
||||
(byte*) mode_twoplanebitmap::TWOPLANE_PLANEA
|
||||
(const byte*) mode_twoplanebitmap::TWOPLANE_PLANEA#0 TWOPLANE_PLANEA = ((byte*))(word/signed word/dword/signed dword) 16384
|
||||
(byte*) mode_twoplanebitmap::TWOPLANE_PLANEB
|
||||
(const byte*) mode_twoplanebitmap::TWOPLANE_PLANEB#0 TWOPLANE_PLANEB = ((byte*))(word/signed word/dword/signed dword) 24576
|
||||
(byte) mode_twoplanebitmap::ax
|
||||
(byte) mode_twoplanebitmap::ax#1 reg byte x 1501.5
|
||||
(byte) mode_twoplanebitmap::ax#2 reg byte x 250.25
|
||||
@ -498,7 +645,7 @@
|
||||
(byte*) print_char_cursor#17 print_char_cursor zp ZP_WORD:5 821.0
|
||||
(byte*) print_char_cursor#19 print_char_cursor zp ZP_WORD:5 101.0
|
||||
(byte*) print_char_cursor#32 print_char_cursor zp ZP_WORD:5 572.0
|
||||
(byte*~) print_char_cursor#76 print_char_cursor zp ZP_WORD:5 202.0
|
||||
(byte*~) print_char_cursor#83 print_char_cursor zp ZP_WORD:5 202.0
|
||||
(void()) print_cls()
|
||||
(label) print_cls::@1
|
||||
(label) print_cls::@return
|
||||
@ -531,16 +678,16 @@
|
||||
(byte*) print_str_lines::str#3 str zp ZP_WORD:2 1552.0
|
||||
|
||||
reg byte x [ menu::i#2 menu::i#1 ]
|
||||
zp ZP_WORD:2 [ menu::c#2 menu::c#1 mode_8bppchunkybmm::x#2 mode_8bppchunkybmm::x#1 mode_8bpppixelcell::gfxa#2 mode_8bpppixelcell::gfxa#3 mode_8bpppixelcell::gfxa#1 mode_8bpppixelcell::chargen#2 mode_8bpppixelcell::chargen#4 mode_8bpppixelcell::chargen#1 mode_sixsfred::col#2 mode_sixsfred::col#3 mode_sixsfred::col#1 mode_sixsfred::gfxa#2 mode_sixsfred::gfxa#3 mode_sixsfred::gfxa#1 mode_sixsfred::gfxb#2 mode_sixsfred::gfxb#3 mode_sixsfred::gfxb#1 mode_twoplanebitmap::col#2 mode_twoplanebitmap::col#3 mode_twoplanebitmap::col#1 mode_twoplanebitmap::gfxa#3 mode_twoplanebitmap::gfxa#6 mode_twoplanebitmap::gfxa#7 mode_twoplanebitmap::gfxa#2 mode_twoplanebitmap::gfxa#1 mode_twoplanebitmap::gfxb#2 mode_twoplanebitmap::gfxb#3 mode_twoplanebitmap::gfxb#1 mode_sixsfred2::col#2 mode_sixsfred2::col#3 mode_sixsfred2::col#1 mode_sixsfred2::gfxa#2 mode_sixsfred2::gfxa#3 mode_sixsfred2::gfxa#1 mode_sixsfred2::gfxb#2 mode_sixsfred2::gfxb#3 mode_sixsfred2::gfxb#1 print_str_lines::str#3 print_str_lines::str#2 print_str_lines::str#0 print_cls::sc#2 print_cls::sc#1 ]
|
||||
zp ZP_WORD:2 [ menu::c#2 menu::c#1 mode_8bppchunkybmm::x#2 mode_8bppchunkybmm::x#1 mode_8bpppixelcell::gfxa#2 mode_8bpppixelcell::gfxa#3 mode_8bpppixelcell::gfxa#1 mode_8bpppixelcell::chargen#2 mode_8bpppixelcell::chargen#4 mode_8bpppixelcell::chargen#1 mode_sixsfred::col#2 mode_sixsfred::col#3 mode_sixsfred::col#1 mode_sixsfred::gfxa#2 mode_sixsfred::gfxa#3 mode_sixsfred::gfxa#1 mode_sixsfred::gfxb#2 mode_sixsfred::gfxb#3 mode_sixsfred::gfxb#1 mode_twoplanebitmap::col#2 mode_twoplanebitmap::col#3 mode_twoplanebitmap::col#1 mode_twoplanebitmap::gfxa#3 mode_twoplanebitmap::gfxa#6 mode_twoplanebitmap::gfxa#7 mode_twoplanebitmap::gfxa#2 mode_twoplanebitmap::gfxa#1 mode_twoplanebitmap::gfxb#2 mode_twoplanebitmap::gfxb#3 mode_twoplanebitmap::gfxb#1 mode_sixsfred2::col#2 mode_sixsfred2::col#3 mode_sixsfred2::col#1 mode_sixsfred2::gfxa#2 mode_sixsfred2::gfxa#3 mode_sixsfred2::gfxa#1 mode_sixsfred2::gfxb#2 mode_sixsfred2::gfxb#3 mode_sixsfred2::gfxb#1 mode_hicolstdchar::col#2 mode_hicolstdchar::col#3 mode_hicolstdchar::col#1 mode_ecmchar::col#2 mode_ecmchar::col#3 mode_ecmchar::col#1 mode_stdchar::col#2 mode_stdchar::col#3 mode_stdchar::col#1 print_str_lines::str#3 print_str_lines::str#2 print_str_lines::str#0 print_cls::sc#2 print_cls::sc#1 ]
|
||||
reg byte x [ mode_8bppchunkybmm::i#2 mode_8bppchunkybmm::i#1 ]
|
||||
zp ZP_BYTE:4 [ mode_8bppchunkybmm::y#6 mode_8bppchunkybmm::y#1 mode_8bpppixelcell::ay#4 mode_8bpppixelcell::ay#1 mode_8bpppixelcell::ch#8 mode_8bpppixelcell::ch#1 mode_sixsfred::cy#4 mode_sixsfred::cy#1 mode_sixsfred::ay#4 mode_sixsfred::ay#1 mode_sixsfred::by#4 mode_sixsfred::by#1 mode_twoplanebitmap::cy#4 mode_twoplanebitmap::cy#1 mode_twoplanebitmap::ay#4 mode_twoplanebitmap::ay#1 mode_twoplanebitmap::by#4 mode_twoplanebitmap::by#1 mode_sixsfred2::cy#4 mode_sixsfred2::cy#1 mode_sixsfred2::ay#4 mode_sixsfred2::ay#1 mode_sixsfred2::by#4 mode_sixsfred2::by#1 ]
|
||||
zp ZP_BYTE:4 [ mode_8bppchunkybmm::y#6 mode_8bppchunkybmm::y#1 mode_8bpppixelcell::ay#4 mode_8bpppixelcell::ay#1 mode_8bpppixelcell::ch#8 mode_8bpppixelcell::ch#1 mode_sixsfred::cy#4 mode_sixsfred::cy#1 mode_sixsfred::ay#4 mode_sixsfred::ay#1 mode_sixsfred::by#4 mode_sixsfred::by#1 mode_twoplanebitmap::cy#4 mode_twoplanebitmap::cy#1 mode_twoplanebitmap::ay#4 mode_twoplanebitmap::ay#1 mode_twoplanebitmap::by#4 mode_twoplanebitmap::by#1 mode_sixsfred2::cy#4 mode_sixsfred2::cy#1 mode_sixsfred2::ay#4 mode_sixsfred2::ay#1 mode_sixsfred2::by#4 mode_sixsfred2::by#1 mode_hicolstdchar::cy#4 mode_hicolstdchar::cy#1 mode_ecmchar::cy#4 mode_ecmchar::cy#1 mode_stdchar::cy#4 mode_stdchar::cy#1 ]
|
||||
reg byte x [ mode_8bppchunkybmm::gfxbCpuBank#4 mode_8bppchunkybmm::gfxbCpuBank#7 mode_8bppchunkybmm::gfxbCpuBank#8 mode_8bppchunkybmm::gfxbCpuBank#2 ]
|
||||
zp ZP_WORD:5 [ mode_8bppchunkybmm::gfxb#4 mode_8bppchunkybmm::gfxb#3 mode_8bppchunkybmm::gfxb#5 mode_8bppchunkybmm::gfxb#1 mode_8bpppixelcell::gfxb#2 mode_8bpppixelcell::gfxb#5 mode_8bpppixelcell::gfxb#7 mode_8bpppixelcell::gfxb#1 print_char_cursor#17 print_char_cursor#19 print_char_cursor#76 print_char_cursor#32 print_char_cursor#1 ]
|
||||
reg byte x [ keyboard_key_pressed::key#10 ]
|
||||
zp ZP_WORD:5 [ mode_8bppchunkybmm::gfxb#4 mode_8bppchunkybmm::gfxb#3 mode_8bppchunkybmm::gfxb#5 mode_8bppchunkybmm::gfxb#1 mode_8bpppixelcell::gfxb#2 mode_8bpppixelcell::gfxb#5 mode_8bpppixelcell::gfxb#7 mode_8bpppixelcell::gfxb#1 mode_hicolstdchar::ch#2 mode_hicolstdchar::ch#3 mode_hicolstdchar::ch#1 mode_ecmchar::ch#2 mode_ecmchar::ch#3 mode_ecmchar::ch#1 mode_stdchar::ch#2 mode_stdchar::ch#3 mode_stdchar::ch#1 print_char_cursor#17 print_char_cursor#19 print_char_cursor#83 print_char_cursor#32 print_char_cursor#1 ]
|
||||
reg byte x [ keyboard_key_pressed::key#16 ]
|
||||
reg byte a [ dtvSetCpuBankSegment1::cpuBankIdx#3 dtvSetCpuBankSegment1::cpuBankIdx#1 ]
|
||||
reg byte x [ mode_8bpppixelcell::i#2 mode_8bpppixelcell::i#1 ]
|
||||
reg byte x [ mode_8bpppixelcell::ax#2 mode_8bpppixelcell::ax#1 ]
|
||||
zp ZP_BYTE:7 [ mode_8bpppixelcell::cr#6 mode_8bpppixelcell::cr#1 mode_8bpppixelcell::$12 mode_twoplanebitmap::$15 mode_sixsfred2::$15 ]
|
||||
zp ZP_BYTE:7 [ mode_8bpppixelcell::cr#6 mode_8bpppixelcell::cr#1 mode_8bpppixelcell::$12 mode_twoplanebitmap::$15 mode_sixsfred2::$15 mode_hicolstdchar::$25 mode_ecmchar::$28 mode_stdchar::$27 ]
|
||||
zp ZP_BYTE:8 [ mode_8bpppixelcell::bits#2 mode_8bpppixelcell::bits#0 mode_8bpppixelcell::bits#1 ]
|
||||
zp ZP_BYTE:9 [ mode_8bpppixelcell::col#2 mode_8bpppixelcell::col#5 mode_8bpppixelcell::col#7 mode_8bpppixelcell::col#1 ]
|
||||
reg byte x [ mode_8bpppixelcell::cp#2 mode_8bpppixelcell::cp#1 ]
|
||||
@ -557,19 +704,31 @@ reg byte x [ mode_sixsfred2::i#2 mode_sixsfred2::i#1 ]
|
||||
reg byte x [ mode_sixsfred2::cx#2 mode_sixsfred2::cx#1 ]
|
||||
reg byte x [ mode_sixsfred2::ax#2 mode_sixsfred2::ax#1 ]
|
||||
reg byte x [ mode_sixsfred2::bx#2 mode_sixsfred2::bx#1 ]
|
||||
reg byte x [ mode_hicolstdchar::i#2 mode_hicolstdchar::i#1 ]
|
||||
reg byte x [ mode_hicolstdchar::cx#2 mode_hicolstdchar::cx#1 ]
|
||||
reg byte x [ mode_ecmchar::i#2 mode_ecmchar::i#1 ]
|
||||
reg byte x [ mode_ecmchar::cx#2 mode_ecmchar::cx#1 ]
|
||||
reg byte x [ mode_stdchar::i#2 mode_stdchar::i#1 ]
|
||||
reg byte x [ mode_stdchar::cx#2 mode_stdchar::cx#1 ]
|
||||
zp ZP_WORD:10 [ print_line_cursor#18 print_line_cursor#17 print_line_cursor#19 mode_8bppchunkybmm::$20 ]
|
||||
reg byte a [ keyboard_key_pressed::return#13 ]
|
||||
reg byte a [ keyboard_key_pressed::return#19 ]
|
||||
reg byte a [ menu::$29 ]
|
||||
reg byte a [ keyboard_key_pressed::return#14 ]
|
||||
reg byte a [ keyboard_key_pressed::return#20 ]
|
||||
reg byte a [ menu::$33 ]
|
||||
reg byte a [ keyboard_key_pressed::return#15 ]
|
||||
reg byte a [ keyboard_key_pressed::return#21 ]
|
||||
reg byte a [ menu::$37 ]
|
||||
reg byte a [ keyboard_key_pressed::return#16 ]
|
||||
reg byte a [ keyboard_key_pressed::return#22 ]
|
||||
reg byte a [ menu::$41 ]
|
||||
reg byte a [ keyboard_key_pressed::return#17 ]
|
||||
reg byte a [ keyboard_key_pressed::return#23 ]
|
||||
reg byte a [ menu::$45 ]
|
||||
reg byte a [ keyboard_key_pressed::return#24 ]
|
||||
reg byte a [ menu::$49 ]
|
||||
reg byte a [ keyboard_key_pressed::return#25 ]
|
||||
reg byte a [ menu::$53 ]
|
||||
reg byte a [ keyboard_key_pressed::return#26 ]
|
||||
reg byte a [ menu::$57 ]
|
||||
reg byte a [ mode_8bppchunkybmm::c#0 ]
|
||||
reg byte a [ keyboard_key_pressed::return#11 ]
|
||||
reg byte a [ keyboard_key_pressed::return#17 ]
|
||||
reg byte a [ mode_8bppchunkybmm::$27 ]
|
||||
reg byte y [ keyboard_key_pressed::colidx#0 ]
|
||||
reg byte a [ keyboard_key_pressed::rowidx#0 ]
|
||||
@ -582,25 +741,44 @@ reg byte a [ mode_8bpppixelcell::$11 ]
|
||||
reg byte a [ mode_8bpppixelcell::$13 ]
|
||||
reg byte a [ mode_8bpppixelcell::$14 ]
|
||||
reg byte a [ mode_8bpppixelcell::$17 ]
|
||||
reg byte a [ keyboard_key_pressed::return#10 ]
|
||||
reg byte a [ keyboard_key_pressed::return#16 ]
|
||||
reg byte a [ mode_8bpppixelcell::$24 ]
|
||||
reg byte a [ mode_sixsfred::$15 ]
|
||||
reg byte a [ mode_sixsfred::$16 ]
|
||||
reg byte a [ mode_sixsfred::$19 ]
|
||||
reg byte a [ mode_sixsfred::row#0 ]
|
||||
reg byte a [ keyboard_key_pressed::return#19 ]
|
||||
reg byte a [ keyboard_key_pressed::return#14 ]
|
||||
reg byte a [ mode_sixsfred::$25 ]
|
||||
reg byte a [ mode_twoplanebitmap::$14 ]
|
||||
reg byte a [ mode_twoplanebitmap::$16 ]
|
||||
reg byte a [ mode_twoplanebitmap::$17 ]
|
||||
reg byte a [ mode_twoplanebitmap::$20 ]
|
||||
reg byte a [ keyboard_key_pressed::return#18 ]
|
||||
reg byte a [ keyboard_key_pressed::return#13 ]
|
||||
reg byte a [ mode_twoplanebitmap::$27 ]
|
||||
reg byte a [ mode_sixsfred2::$14 ]
|
||||
reg byte a [ mode_sixsfred2::$16 ]
|
||||
reg byte a [ mode_sixsfred2::$17 ]
|
||||
reg byte a [ mode_sixsfred2::$20 ]
|
||||
reg byte a [ mode_sixsfred2::row#0 ]
|
||||
reg byte a [ keyboard_key_pressed::return#20 ]
|
||||
reg byte a [ keyboard_key_pressed::return#15 ]
|
||||
reg byte a [ mode_sixsfred2::$26 ]
|
||||
reg byte a [ mode_hicolstdchar::$24 ]
|
||||
reg byte a [ mode_hicolstdchar::$26 ]
|
||||
reg byte a [ mode_hicolstdchar::v#0 ]
|
||||
reg byte a [ keyboard_key_pressed::return#12 ]
|
||||
reg byte a [ mode_hicolstdchar::$30 ]
|
||||
reg byte a [ mode_ecmchar::$25 ]
|
||||
reg byte a [ mode_ecmchar::$26 ]
|
||||
reg byte a [ mode_ecmchar::$27 ]
|
||||
reg byte a [ mode_ecmchar::$29 ]
|
||||
reg byte a [ mode_ecmchar::$30 ]
|
||||
reg byte a [ keyboard_key_pressed::return#11 ]
|
||||
reg byte a [ mode_ecmchar::$33 ]
|
||||
reg byte a [ mode_stdchar::$24 ]
|
||||
reg byte a [ mode_stdchar::$25 ]
|
||||
reg byte a [ mode_stdchar::$26 ]
|
||||
reg byte a [ mode_stdchar::$28 ]
|
||||
reg byte a [ mode_stdchar::$29 ]
|
||||
reg byte a [ keyboard_key_pressed::return#10 ]
|
||||
reg byte a [ mode_stdchar::$32 ]
|
||||
reg byte a [ print_str_lines::ch#0 ]
|
||||
|
@ -114,6 +114,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -405,6 +407,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -836,6 +840,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -1200,6 +1206,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -1238,6 +1246,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -1823,54 +1833,56 @@ Eliminating unused variable (byte*) BORDERCOL and assignment [11] (byte*) BORDER
|
||||
Eliminating unused variable (byte*) BGCOL and assignment [12] (byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [73] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [74] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [75] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [80] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [124] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [125] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [131] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [134] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [136] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [75] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [76] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [77] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [82] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [126] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [127] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [133] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [136] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [138] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable - keeping the call (void~) main::$3
|
||||
Eliminating unused variable - keeping the call (void~) main::$6
|
||||
Eliminating unused variable - keeping the call (void~) main::$9
|
||||
|
@ -215,6 +215,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -292,6 +294,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -506,6 +510,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -698,6 +704,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -734,6 +742,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -1022,58 +1032,60 @@ Eliminating unused variable (byte*) SPRITES_MC and assignment [9] (byte*) SPRITE
|
||||
Eliminating unused variable (byte*) SPRITES_EXPAND_X and assignment [10] (byte*) SPRITES_EXPAND_X ← ((byte*)) (word/dword/signed dword) 53277
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [56] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [57] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [58] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [59] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [60] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [61] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [62] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [63] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [71] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [107] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [108] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [114] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [117] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [119] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte[]) keyboard_char_keycodes and assignment [120] (byte[]) keyboard_char_keycodes ← { (byte) KEY_AT, (byte) KEY_A, (byte) KEY_B, (byte) KEY_C, (byte) KEY_D, (byte) KEY_E, (byte) KEY_F, (byte) KEY_G, (byte) KEY_H, (byte) KEY_I, (byte) KEY_J, (byte) KEY_K, (byte) KEY_L, (byte) KEY_M, (byte) KEY_N, (byte) KEY_O, (byte) KEY_P, (byte) KEY_Q, (byte) KEY_R, (byte) KEY_S, (byte) KEY_T, (byte) KEY_U, (byte) KEY_V, (byte) KEY_W, (byte) KEY_X, (byte) KEY_Y, (byte) KEY_Z, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_POUND, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ARROW_UP, (byte) KEY_ARROW_LEFT, (byte) KEY_SPACE, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ASTERISK, (byte) KEY_PLUS, (byte) KEY_COMMA, (byte) KEY_MINUS, (byte) KEY_DOT, (byte) KEY_SLASH, (byte) KEY_0, (byte) KEY_1, (byte) KEY_2, (byte) KEY_3, (byte) KEY_4, (byte) KEY_5, (byte) KEY_6, (byte) KEY_7, (byte) KEY_8, (byte) KEY_9, (byte) KEY_COLON, (byte) KEY_SEMICOLON, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_EQUALS, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63 }
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [58] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [59] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [60] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [61] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [62] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [63] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [64] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [65] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [73] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [109] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [110] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [116] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [119] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [121] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte[]) keyboard_char_keycodes and assignment [122] (byte[]) keyboard_char_keycodes ← { (byte) KEY_AT, (byte) KEY_A, (byte) KEY_B, (byte) KEY_C, (byte) KEY_D, (byte) KEY_E, (byte) KEY_F, (byte) KEY_G, (byte) KEY_H, (byte) KEY_I, (byte) KEY_J, (byte) KEY_K, (byte) KEY_L, (byte) KEY_M, (byte) KEY_N, (byte) KEY_O, (byte) KEY_P, (byte) KEY_Q, (byte) KEY_R, (byte) KEY_S, (byte) KEY_T, (byte) KEY_U, (byte) KEY_V, (byte) KEY_W, (byte) KEY_X, (byte) KEY_Y, (byte) KEY_Z, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_POUND, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ARROW_UP, (byte) KEY_ARROW_LEFT, (byte) KEY_SPACE, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ASTERISK, (byte) KEY_PLUS, (byte) KEY_COMMA, (byte) KEY_MINUS, (byte) KEY_DOT, (byte) KEY_SLASH, (byte) KEY_0, (byte) KEY_1, (byte) KEY_2, (byte) KEY_3, (byte) KEY_4, (byte) KEY_5, (byte) KEY_6, (byte) KEY_7, (byte) KEY_8, (byte) KEY_9, (byte) KEY_COLON, (byte) KEY_SEMICOLON, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_EQUALS, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63 }
|
||||
Eliminating unused variable - keeping the call (void~) main::$0
|
||||
Eliminating unused variable - keeping the call (void~) menu::$3
|
||||
Eliminating unused variable (byte) KEY_3 and assignment [6] (byte) KEY_3 ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
|
@ -91,6 +91,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -166,6 +168,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -243,6 +247,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -327,6 +333,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -362,6 +370,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -467,47 +477,49 @@ Eliminating unused variable (byte*) SPRITES_MC and assignment [9] (byte*) SPRITE
|
||||
Eliminating unused variable (byte*) SPRITES_EXPAND_X and assignment [10] (byte*) SPRITES_EXPAND_X ← ((byte*)) (word/dword/signed dword) 53277
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [32] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [33] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [34] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [35] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable - keeping the call (void~) main::$2
|
||||
Removing empty block main::@4
|
||||
Removing empty block main::@6
|
||||
|
@ -93,6 +93,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -168,6 +170,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -304,6 +308,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -423,6 +429,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -460,6 +468,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -627,45 +637,47 @@ Eliminating unused variable (byte*) BORDERCOL and assignment [11] (byte*) BORDER
|
||||
Eliminating unused variable (byte*) BGCOL and assignment [12] (byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [32] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [33] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [34] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [35] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable - keeping the call (void~) main::$0
|
||||
Eliminating unused variable - keeping the call (void~) main::$2
|
||||
Removing empty block main::@4
|
||||
|
@ -235,6 +235,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -726,6 +728,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -1358,6 +1362,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -1789,6 +1795,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -1830,6 +1838,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -2746,51 +2756,53 @@ Eliminating unused variable (byte*) SPRITES_MC and assignment [9] (byte*) SPRITE
|
||||
Eliminating unused variable (byte*) BGCOL and assignment [12] (byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [32] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [33] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [34] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [35] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A and assignment [34] (byte*) CIA1_PORT_A ← ((byte*)) (word/dword/signed dword) 56320
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B and assignment [35] (byte*) CIA1_PORT_B ← ((byte*)) (word/dword/signed dword) 56321
|
||||
Eliminating unused variable (byte*) CIA1_PORT_A_DDR and assignment [36] (byte*) CIA1_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56322
|
||||
Eliminating unused variable (byte*) CIA1_PORT_B_DDR and assignment [37] (byte*) CIA1_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56323
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable - keeping the call (void~) setFAC::$1
|
||||
Eliminating unused variable - keeping the call (void~) setMEMtoFAC::$0
|
||||
Eliminating unused variable - keeping the call (void~) addMEMtoFAC::$0
|
||||
Eliminating unused variable - keeping the call (void~) divMEMbyFAC::$0
|
||||
Eliminating unused variable - keeping the call (void~) mulFACbyMEM::$0
|
||||
Eliminating unused variable (byte*) print_char_cursor and assignment [92] (byte*) print_char_cursor ← (byte*) print_line_cursor
|
||||
Eliminating unused variable (byte*) print_char_cursor and assignment [94] (byte*) print_char_cursor ← (byte*) print_line_cursor
|
||||
Eliminating unused variable - keeping the call (void~) main::$0
|
||||
Eliminating unused variable - keeping the call (void~) main::$2
|
||||
Eliminating unused variable - keeping the call (void~) init::$0
|
||||
|
@ -179,6 +179,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -253,6 +255,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -426,6 +430,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -597,6 +603,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -632,6 +640,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -850,56 +860,58 @@ Eliminating unused variable (byte*) SPRITES_EXPAND_X and assignment [10] (byte*)
|
||||
Eliminating unused variable (byte*) BORDERCOL and assignment [11] (byte*) BORDERCOL ← ((byte*)) (word/dword/signed dword) 53280
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [56] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [57] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [58] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [59] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [60] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [61] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [62] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [63] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [71] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [107] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [108] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [114] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [117] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [119] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte[]) keyboard_char_keycodes and assignment [120] (byte[]) keyboard_char_keycodes ← { (byte) KEY_AT, (byte) KEY_A, (byte) KEY_B, (byte) KEY_C, (byte) KEY_D, (byte) KEY_E, (byte) KEY_F, (byte) KEY_G, (byte) KEY_H, (byte) KEY_I, (byte) KEY_J, (byte) KEY_K, (byte) KEY_L, (byte) KEY_M, (byte) KEY_N, (byte) KEY_O, (byte) KEY_P, (byte) KEY_Q, (byte) KEY_R, (byte) KEY_S, (byte) KEY_T, (byte) KEY_U, (byte) KEY_V, (byte) KEY_W, (byte) KEY_X, (byte) KEY_Y, (byte) KEY_Z, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_POUND, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ARROW_UP, (byte) KEY_ARROW_LEFT, (byte) KEY_SPACE, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ASTERISK, (byte) KEY_PLUS, (byte) KEY_COMMA, (byte) KEY_MINUS, (byte) KEY_DOT, (byte) KEY_SLASH, (byte) KEY_0, (byte) KEY_1, (byte) KEY_2, (byte) KEY_3, (byte) KEY_4, (byte) KEY_5, (byte) KEY_6, (byte) KEY_7, (byte) KEY_8, (byte) KEY_9, (byte) KEY_COLON, (byte) KEY_SEMICOLON, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_EQUALS, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63 }
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [58] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [59] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [60] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [61] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [62] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [63] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [64] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [65] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [73] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [109] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [110] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [116] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [119] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [121] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte[]) keyboard_char_keycodes and assignment [122] (byte[]) keyboard_char_keycodes ← { (byte) KEY_AT, (byte) KEY_A, (byte) KEY_B, (byte) KEY_C, (byte) KEY_D, (byte) KEY_E, (byte) KEY_F, (byte) KEY_G, (byte) KEY_H, (byte) KEY_I, (byte) KEY_J, (byte) KEY_K, (byte) KEY_L, (byte) KEY_M, (byte) KEY_N, (byte) KEY_O, (byte) KEY_P, (byte) KEY_Q, (byte) KEY_R, (byte) KEY_S, (byte) KEY_T, (byte) KEY_U, (byte) KEY_V, (byte) KEY_W, (byte) KEY_X, (byte) KEY_Y, (byte) KEY_Z, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_POUND, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ARROW_UP, (byte) KEY_ARROW_LEFT, (byte) KEY_SPACE, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_ASTERISK, (byte) KEY_PLUS, (byte) KEY_COMMA, (byte) KEY_MINUS, (byte) KEY_DOT, (byte) KEY_SLASH, (byte) KEY_0, (byte) KEY_1, (byte) KEY_2, (byte) KEY_3, (byte) KEY_4, (byte) KEY_5, (byte) KEY_6, (byte) KEY_7, (byte) KEY_8, (byte) KEY_9, (byte) KEY_COLON, (byte) KEY_SEMICOLON, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte) KEY_EQUALS, (byte/signed byte/word/signed word/dword/signed dword) 63, (byte/signed byte/word/signed word/dword/signed dword) 63 }
|
||||
Eliminating unused variable - keeping the call (void~) main::$0
|
||||
Eliminating unused variable (byte) KEY_3 and assignment [8] (byte) KEY_3 ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) KEY_W and assignment [9] (byte) KEY_W ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
|
@ -210,6 +210,8 @@ const byte* BORDERCOL = $d020;
|
||||
const byte* BGCOL = $d021;
|
||||
const byte* BGCOL1 = $d021;
|
||||
const byte* BGCOL2 = $d022;
|
||||
const byte* BGCOL3 = $d023;
|
||||
const byte* BGCOL4 = $d024;
|
||||
const byte* SPRITES_MC1 = $d025;
|
||||
const byte* SPRITES_MC2 = $d026;
|
||||
const byte* SPRITES_COLS = $d027;
|
||||
@ -287,6 +289,8 @@ STATEMENTS
|
||||
(byte*) BGCOL ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← (word/dword/signed dword) 53287
|
||||
@ -510,6 +514,8 @@ SYMBOLS
|
||||
(byte*) BGCOL
|
||||
(byte*) BGCOL1
|
||||
(byte*) BGCOL2
|
||||
(byte*) BGCOL3
|
||||
(byte*) BGCOL4
|
||||
(byte) BLACK
|
||||
(byte) BLUE
|
||||
(byte*) BORDERCOL
|
||||
@ -712,6 +718,8 @@ Promoting word/dword/signed dword to byte* in BORDERCOL ← ((byte*)) 53280
|
||||
Promoting word/dword/signed dword to byte* in BGCOL ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL1 ← ((byte*)) 53281
|
||||
Promoting word/dword/signed dword to byte* in BGCOL2 ← ((byte*)) 53282
|
||||
Promoting word/dword/signed dword to byte* in BGCOL3 ← ((byte*)) 53283
|
||||
Promoting word/dword/signed dword to byte* in BGCOL4 ← ((byte*)) 53284
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC1 ← ((byte*)) 53285
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_MC2 ← ((byte*)) 53286
|
||||
Promoting word/dword/signed dword to byte* in SPRITES_COLS ← ((byte*)) 53287
|
||||
@ -749,6 +757,8 @@ INITIAL CONTROL FLOW GRAPH
|
||||
(byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
(byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
(byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
(byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
(byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
(byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
(byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
@ -1038,57 +1048,59 @@ Eliminating unused variable (byte*) BORDERCOL and assignment [11] (byte*) BORDER
|
||||
Eliminating unused variable (byte*) BGCOL and assignment [12] (byte*) BGCOL ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL1 and assignment [13] (byte*) BGCOL1 ← ((byte*)) (word/dword/signed dword) 53281
|
||||
Eliminating unused variable (byte*) BGCOL2 and assignment [14] (byte*) BGCOL2 ← ((byte*)) (word/dword/signed dword) 53282
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [15] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [16] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [17] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [18] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [19] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [20] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [21] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [22] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [23] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [24] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [25] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [26] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [27] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [28] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [29] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [30] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [31] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [36] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [37] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [38] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [39] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [40] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [41] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [42] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [43] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [44] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [45] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [46] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [47] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [48] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [49] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [50] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [51] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [52] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [53] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [54] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [55] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [56] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [57] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [58] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [59] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [60] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [61] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [62] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [63] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [71] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [107] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [108] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [114] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [117] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [119] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable (byte*) BGCOL3 and assignment [15] (byte*) BGCOL3 ← ((byte*)) (word/dword/signed dword) 53283
|
||||
Eliminating unused variable (byte*) BGCOL4 and assignment [16] (byte*) BGCOL4 ← ((byte*)) (word/dword/signed dword) 53284
|
||||
Eliminating unused variable (byte*) SPRITES_MC1 and assignment [17] (byte*) SPRITES_MC1 ← ((byte*)) (word/dword/signed dword) 53285
|
||||
Eliminating unused variable (byte*) SPRITES_MC2 and assignment [18] (byte*) SPRITES_MC2 ← ((byte*)) (word/dword/signed dword) 53286
|
||||
Eliminating unused variable (byte*) SPRITES_COLS and assignment [19] (byte*) SPRITES_COLS ← ((byte*)) (word/dword/signed dword) 53287
|
||||
Eliminating unused variable (byte*) VIC_CONTROL and assignment [20] (byte*) VIC_CONTROL ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte*) D011 and assignment [21] (byte*) D011 ← ((byte*)) (word/dword/signed dword) 53265
|
||||
Eliminating unused variable (byte) VIC_RST8 and assignment [22] (byte) VIC_RST8 ← (byte/word/signed word/dword/signed dword) 128
|
||||
Eliminating unused variable (byte) VIC_ECM and assignment [23] (byte) VIC_ECM ← (byte/signed byte/word/signed word/dword/signed dword) 64
|
||||
Eliminating unused variable (byte) VIC_BMM and assignment [24] (byte) VIC_BMM ← (byte/signed byte/word/signed word/dword/signed dword) 32
|
||||
Eliminating unused variable (byte) VIC_DEN and assignment [25] (byte) VIC_DEN ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_RSEL and assignment [26] (byte) VIC_RSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) VIC_CONTROL2 and assignment [27] (byte*) VIC_CONTROL2 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte*) D016 and assignment [28] (byte*) D016 ← ((byte*)) (word/dword/signed dword) 53270
|
||||
Eliminating unused variable (byte) VIC_MCM and assignment [29] (byte) VIC_MCM ← (byte/signed byte/word/signed word/dword/signed dword) 16
|
||||
Eliminating unused variable (byte) VIC_CSEL and assignment [30] (byte) VIC_CSEL ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte*) D018 and assignment [31] (byte*) D018 ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) VIC_MEMORY and assignment [32] (byte*) VIC_MEMORY ← ((byte*)) (word/dword/signed dword) 53272
|
||||
Eliminating unused variable (byte*) COLS and assignment [33] (byte*) COLS ← ((byte*)) (word/dword/signed dword) 55296
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A and assignment [38] (byte*) CIA2_PORT_A ← ((byte*)) (word/dword/signed dword) 56576
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B and assignment [39] (byte*) CIA2_PORT_B ← ((byte*)) (word/dword/signed dword) 56577
|
||||
Eliminating unused variable (byte*) CIA2_PORT_A_DDR and assignment [40] (byte*) CIA2_PORT_A_DDR ← ((byte*)) (word/dword/signed dword) 56578
|
||||
Eliminating unused variable (byte*) CIA2_PORT_B_DDR and assignment [41] (byte*) CIA2_PORT_B_DDR ← ((byte*)) (word/dword/signed dword) 56579
|
||||
Eliminating unused variable (byte) BLACK and assignment [42] (byte) BLACK ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) WHITE and assignment [43] (byte) WHITE ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) RED and assignment [44] (byte) RED ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) CYAN and assignment [45] (byte) CYAN ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) PURPLE and assignment [46] (byte) PURPLE ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) GREEN and assignment [47] (byte) GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) BLUE and assignment [48] (byte) BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) YELLOW and assignment [49] (byte) YELLOW ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) ORANGE and assignment [50] (byte) ORANGE ← (byte/signed byte/word/signed word/dword/signed dword) 8
|
||||
Eliminating unused variable (byte) BROWN and assignment [51] (byte) BROWN ← (byte/signed byte/word/signed word/dword/signed dword) 9
|
||||
Eliminating unused variable (byte) PINK and assignment [52] (byte) PINK ← (byte/signed byte/word/signed word/dword/signed dword) 10
|
||||
Eliminating unused variable (byte) DARK_GREY and assignment [53] (byte) DARK_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 11
|
||||
Eliminating unused variable (byte) GREY and assignment [54] (byte) GREY ← (byte/signed byte/word/signed word/dword/signed dword) 12
|
||||
Eliminating unused variable (byte) LIGHT_GREEN and assignment [55] (byte) LIGHT_GREEN ← (byte/signed byte/word/signed word/dword/signed dword) 13
|
||||
Eliminating unused variable (byte) LIGHT_BLUE and assignment [56] (byte) LIGHT_BLUE ← (byte/signed byte/word/signed word/dword/signed dword) 14
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [57] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_DEL and assignment [58] (byte) KEY_DEL ← (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Eliminating unused variable (byte) KEY_RETURN and assignment [59] (byte) KEY_RETURN ← (byte/signed byte/word/signed word/dword/signed dword) 1
|
||||
Eliminating unused variable (byte) KEY_CRSR_RIGHT and assignment [60] (byte) KEY_CRSR_RIGHT ← (byte/signed byte/word/signed word/dword/signed dword) 2
|
||||
Eliminating unused variable (byte) KEY_F7 and assignment [61] (byte) KEY_F7 ← (byte/signed byte/word/signed word/dword/signed dword) 3
|
||||
Eliminating unused variable (byte) KEY_F1 and assignment [62] (byte) KEY_F1 ← (byte/signed byte/word/signed word/dword/signed dword) 4
|
||||
Eliminating unused variable (byte) KEY_F3 and assignment [63] (byte) KEY_F3 ← (byte/signed byte/word/signed word/dword/signed dword) 5
|
||||
Eliminating unused variable (byte) KEY_F5 and assignment [64] (byte) KEY_F5 ← (byte/signed byte/word/signed word/dword/signed dword) 6
|
||||
Eliminating unused variable (byte) KEY_CRSR_DOWN and assignment [65] (byte) KEY_CRSR_DOWN ← (byte/signed byte/word/signed word/dword/signed dword) 7
|
||||
Eliminating unused variable (byte) KEY_LSHIFT and assignment [73] (byte) KEY_LSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable (byte) KEY_HOME and assignment [109] (byte) KEY_HOME ← (byte/signed byte/word/signed word/dword/signed dword) 51
|
||||
Eliminating unused variable (byte) KEY_RSHIFT and assignment [110] (byte) KEY_RSHIFT ← (byte/signed byte/word/signed word/dword/signed dword) 52
|
||||
Eliminating unused variable (byte) KEY_CTRL and assignment [116] (byte) KEY_CTRL ← (byte/signed byte/word/signed word/dword/signed dword) 58
|
||||
Eliminating unused variable (byte) KEY_COMMODORE and assignment [119] (byte) KEY_COMMODORE ← (byte/signed byte/word/signed word/dword/signed dword) 61
|
||||
Eliminating unused variable (byte) KEY_RUNSTOP and assignment [121] (byte) KEY_RUNSTOP ← (byte/signed byte/word/signed word/dword/signed dword) 63
|
||||
Eliminating unused variable - keeping the call (void~) main::$2
|
||||
Removing empty block @1
|
||||
Removing empty block keyboard_matrix_read::@1
|
||||
|
Loading…
Reference in New Issue
Block a user