#define tmp(i) (tmp##i)
#define ROW (0x1fff)
unsigned char*iterator=0,*current=0,*b_start[ROW];
void main(void){*iterator=0;*current=0;*b_start[0]=255; //CLR [iterator,PCR]
//CLR [current,PCR]
//LDAB #255
//STAB [b_start,PCR]
for(;*iterator<(ROW);){*b_start[*current]=255;
//BRA *+31 ;abs = 002d
//LDAB [current,PCR]
//LSLD
//TFR D,X
//LDY b_start,X
//LDAB #255
//STAB 0,Y
*current++;*iterator++;
//LDX current
//INX
//STX current
//LDX iterator
//INX
//STX iterator
//LDAB [iterator,PCR]
//CLRA
//CPD #8191
//BLT *-37 ;abs = 0010
};
}
//RTS |