All pastes #88622 Raw Edit

Mine

public text v1 · immutable
·published 2006-07-15 05:21 UTC
rendered paste body
// Works
uint16 tile;
uint16 *tram = (uint16*)BG_TILE_RAM(1);
for(tile = 0; tile < 32; tile++)
   *(tram+tile) = 0x1e1e;

// Doesn't work
uint8 tile;
uint8 *tram = (uint8*)BG_TILE_RAM(1);
for(tile = 0; tile < 64; tile++)
   *(tram+tile) = 0x1e;