Skip to content

Instantly share code, notes, and snippets.

@jdiez17
Created November 1, 2012 21:55
Show Gist options
  • Save jdiez17/3996898 to your computer and use it in GitHub Desktop.
Save jdiez17/3996898 to your computer and use it in GitHub Desktop.
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