Created
November 1, 2012 21:19
-
-
Save jdiez17/3996623 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 sped3_rotate(unsigned int alpha) | |
{ | |
__asm | |
{ | |
SET PUSH, Y | |
.IMPORT _stubapi_locate_device | |
SET A, 0x42ba | |
SET B, 0xbf3c | |
JSR [_stubapi_locate_device] | |
SET PUSH, A | |
SET A, 0x2 | |
SET X, <alpha> | |
HWI POP | |
SET Y, POP | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment