Created
November 1, 2012 21:55
-
-
Save jdiez17/3996898 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void nop() | |
{ | |
__asm | |
{ | |
SET PC, PC | |
} | |
} | |
void rotate() | |
{ | |
int i; | |
int j; | |
for(i = 0; i < 360; i++) | |
{ | |
sped3_rotate(i); | |
for(j = 0; j < 50; j++) | |
{ | |
nop(); | |
} | |
print_number(i, 0x8050); | |
} | |
for(i = 0x8050; i < 0x8050 + 0x4; i++) | |
{ | |
*i = 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment