Created
December 9, 2012 22:44
-
-
Save blondie7575/4247333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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