remove "done" folders, label "bs/droneenter, bs/dronelook, and bs/dronevanish files and functions"

This commit is contained in:
Banjo Kazooie
2023-01-21 20:13:03 -06:00
parent 0ecaa54b4a
commit c004632915
190 changed files with 645 additions and 644 deletions

22
src/core1/io/sirawdma.c Normal file
View File

@@ -0,0 +1,22 @@
#include <ultra64.h>
s32 __osSiRawStartDma(s32 direction, void *dramAddr)
{
if (__osSiDeviceBusy())
return -1;
if (direction == OS_WRITE)
osWritebackDCache(dramAddr, 64);
IO_WRITE(SI_DRAM_ADDR_REG, osVirtualToPhysical(dramAddr));
if (direction == OS_READ)
IO_WRITE(SI_PIF_ADDR_RD64B_REG, 0x1FC007C0);
else
IO_WRITE(SI_PIF_ADDR_WR64B_REG, 0x1FC007C0);
if (direction == OS_READ)
osInvalDCache(dramAddr, 64);//bzero(dramAddr, 64);
return 0;
}