The first commit

This commit is contained in:
Banjo Kazooie
2022-07-15 17:09:41 -05:00
commit dd13d34074
1087 changed files with 391897 additions and 0 deletions

11
src/done/pirawread.c Normal file
View File

@@ -0,0 +1,11 @@
#include <ultra64.h>
#include "piint.h"
s32 osPiRawReadIo(u32 devAddr, u32 *data)
{
register u32 stat;
WAIT_ON_IOBUSY(stat);
*data = IO_READ((u32)osRomBase | devAddr);
return 0;
}