Skip to content

Instantly share code, notes, and snippets.

@blondie7575
Created December 9, 2012 22:44
Show Gist options
  • Save blondie7575/4247333 to your computer and use it in GitHub Desktop.
Save blondie7575/4247333 to your computer and use it in GitHub Desktop.
// Plot a red pixel
testRender1:
// Take control of VRAM
EnableVRAMWrite
// Load a reasonable VRAM address
ldi accum,0x58
out PORTC,accum
ldi accum,0x1C
out PORTA,accum
// Plot a pixel
ldi accum,0x30
out PORTD,accum
PulseVRAMWrite
// Clean up and we're done
DisableVRAMWrite
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment