// Test array index pointer rewriting // struct array with 8bit index // Commodore 64 PRG executable file .file [name="index-pointer-rewrite-8.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .const OFFSET_STRUCT_BALL_VEL = 1 .const OFFSET_STRUCT_BALL_SYM = 2 .segment Code main: { ldy #0 __b1: // for(char i=0;i