-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload the legacy software
- Loading branch information
Showing
3,456 changed files
with
1,186,335 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are00.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are01.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are02.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are03.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are04.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are05.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_are06.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_areec.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_arejp.obj
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/sg_areus.obj
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+848 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Gnu/systemid.obj
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.57 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/aip.obj.elf
Binary file not shown.
Binary file added
BIN
+98.7 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/audio64.elf.lib
Binary file not shown.
Binary file added
BIN
+752 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/close.obj.elf
Binary file not shown.
Binary file added
BIN
+111 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/cri_adxs.elf.lib
Binary file not shown.
Binary file added
BIN
+4.02 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/cri_fsel.elf.lib
Binary file not shown.
Binary file added
BIN
+4.08 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/cri_fsk2.elf.lib
Binary file not shown.
Binary file added
BIN
+10.7 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/cri_san.elf.lib
Binary file not shown.
Binary file added
BIN
+13.2 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/dclan.elf.lib
Binary file not shown.
Binary file added
BIN
+10.3 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/dmcast.elf.lib
Binary file not shown.
Binary file added
BIN
+3.27 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/dns.elf.lib
Binary file not shown.
Binary file added
BIN
+107 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/duck_tm.elf.lib
Binary file not shown.
Binary file added
BIN
+14.7 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/ginsu.elf.lib
Binary file not shown.
Binary file added
BIN
+211 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kage.elf.lib
Binary file not shown.
Binary file added
BIN
+26.6 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kage_utd.elf.lib
Binary file not shown.
Binary file added
BIN
+392 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kamui2.elf.lib
Binary file not shown.
Binary file added
BIN
+479 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kamui2_d.elf.lib
Binary file not shown.
Binary file added
BIN
+18.2 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kmutil.elf.lib
Binary file not shown.
Binary file added
BIN
+18.2 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/kmutil_d.elf.lib
Binary file not shown.
Binary file added
BIN
+1.28 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/lock.obj.elf
Binary file not shown.
Binary file added
BIN
+692 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/lseek.obj.elf
Binary file not shown.
Binary file added
BIN
+41.1 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/mdmapi.elf.lib
Binary file not shown.
Binary file added
BIN
+342 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/modem.elf.lib
Binary file not shown.
Binary file added
BIN
+41.4 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/mp1a_l2.elf.lib
Binary file not shown.
Binary file added
BIN
+5.21 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/netuu.elf.lib
Binary file not shown.
Binary file added
BIN
+191 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/nindows.elf.lib
Binary file not shown.
Binary file added
BIN
+2.06 MB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/ninja.elf.lib
Binary file not shown.
Binary file added
BIN
+5.03 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/nt_utl.elf.lib
Binary file not shown.
Binary file added
BIN
+1.24 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/open.obj.elf
Binary file not shown.
Binary file added
BIN
+78.3 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/ppp.elf.lib
Binary file not shown.
Binary file added
BIN
+237 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/pwnet.elf.lib
Binary file not shown.
Binary file added
BIN
+236 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/pwnetd.elf.lib
Binary file not shown.
Binary file added
BIN
+688 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/read.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are00.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are01.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are02.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are03.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are04.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are05.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_are06.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_areec.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_arejp.obj.elf
Binary file not shown.
Binary file added
BIN
+624 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_areus.obj.elf
Binary file not shown.
Binary file added
BIN
+1.21 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_dpldr.elf.lib
Binary file not shown.
Binary file added
BIN
+10.6 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_ini.obj.elf
Binary file not shown.
Binary file added
BIN
+112 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_mw.elf.lib
Binary file not shown.
Binary file added
BIN
+111 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_mwa64.elf.lib
Binary file not shown.
Binary file added
BIN
+109 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_mwk2.elf.lib
Binary file not shown.
Binary file added
BIN
+107 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_mwk2a.elf.lib
Binary file not shown.
Binary file added
BIN
+5.43 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_mwwav.elf.lib
Binary file not shown.
Binary file added
BIN
+282 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_sd.elf.lib
Binary file not shown.
Binary file added
BIN
+13.6 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_sec.obj.elf
Binary file not shown.
Binary file added
BIN
+1.1 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sg_syDds.elf.lib
Binary file not shown.
Binary file added
BIN
+394 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sh4nlfzn.elf.lib
Binary file not shown.
Binary file added
BIN
+394 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sh4nlfzz.elf.lib
Binary file not shown.
Binary file added
BIN
+241 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/shinobi.elf.lib
Binary file not shown.
Binary file added
BIN
+1.43 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/snasm.obj.elf
Binary file not shown.
Binary file added
BIN
+50.5 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/socket.elf.lib
Binary file not shown.
Binary file added
BIN
+369 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sofdec.elf.lib
Binary file not shown.
Binary file added
BIN
+373 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/sofdecfx.elf.lib
Binary file not shown.
Binary file added
BIN
+14.9 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/strt1.obj.elf
Binary file not shown.
Binary file added
BIN
+1.77 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/strt2.obj.elf
Binary file not shown.
Binary file added
BIN
+1.88 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/syscalls.obj.elf
Binary file not shown.
Binary file added
BIN
+848 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/systemid.obj.elf
Binary file not shown.
Binary file added
BIN
+90.2 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/tcp.elf.lib
Binary file not shown.
Binary file added
BIN
+1.07 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/toc.obj.elf
Binary file not shown.
Binary file added
BIN
+9.29 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/wave.elf.lib
Binary file not shown.
Binary file added
BIN
+70.6 KB
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/waveMail.elf.lib
Binary file not shown.
Binary file added
BIN
+692 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/write.obj.elf
Binary file not shown.
Binary file added
BIN
+588 Bytes
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Lib/Mwerks/zero.obj.elf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
129 changes: 129 additions & 0 deletions
129
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Sample/Audio64/A64Thunk/a64chain.c
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
//----------------------------------------------------------------------------- | ||
// | ||
// FILE: a64chain.c | ||
// | ||
// DESC: Audio64 hooks for porting G2 DMA function support. | ||
// | ||
// The Audio64 library contains Audio64 hook functions that map | ||
// (thunk) to appropriate functions in the Shinobi library. If | ||
// needed, these may be overridden by explicitly including this | ||
// module in your object file list and substituting alternate | ||
// support. | ||
// | ||
// NOTE: The public/exported function names MUST be the only | ||
// globally visible symbols. | ||
// | ||
// HISTORY: 2000.01.xx Reworked samples/boilerplates for R10 release. | ||
// | ||
//----------------------------------------------------------------------------- | ||
// COPYRIGHT (C) SEGA OF AMERICA DREAMCAST, INC. 1998, 1999, 2000 | ||
// All rights reserved. | ||
// | ||
// Information and source code samples contained herein are provided "as-is", | ||
// without representations or warranties, and are subject to change without | ||
// notice. | ||
// | ||
// SEGA OF AMERICA DREAMCAST, INC. cannot support modifications or derivative | ||
// works created from the sample source code provided. Developers may use, | ||
// reproduce, and modify portions or entire sections of the sample source | ||
// code for the purposes of creating Dreamcast applications. | ||
// | ||
// Sample source code contained herein may not be appropriate for use under | ||
// all circumstances. Please consult Developer documentation provided along | ||
// with your Dreamcast unit for additional information and suggestions. | ||
//----------------------------------------------------------------------------- | ||
|
||
#include <ac.h> | ||
#include <a64thunk.h> | ||
#include <am.h> | ||
|
||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
#include <shinobi.h> | ||
#include <sg_chain.h> | ||
#endif | ||
|
||
// STARTDOC ------------------------------------------------------------------- | ||
// FUNCTION NAME a64ChainAddHandler | ||
// TERSE DESCRIPTION Chains (installs hook for) event interrupt handler. | ||
// | ||
// FORMAT | ||
// | ||
// #include <a64chain.h> | ||
// | ||
// KTU32 a64ChainAddHandler(KTS16 event, AC_ARM_INTERRUPT_HANDLER isr, | ||
// KTU32 priority, void *arg) | ||
// | ||
// PARAMETERS | ||
// | ||
// event | ||
// | ||
// isr | ||
// | ||
// priority | ||
// | ||
// arg | ||
// | ||
// RETURN VALUE | ||
// | ||
// non-zero If successful, the handle for the installed handler. | ||
// | ||
// zero An error occurred. | ||
// | ||
// FUNCTION | ||
// | ||
// Chains (installs hook for) event interrupt handler. | ||
// ENDDOC --------------------------------------------------------------------- | ||
|
||
KTU32 a64ChainAddHandler(KTS16 event, AC_ARM_INTERRUPT_HANDLER isr, | ||
KTU32 priority, void *arg) | ||
{ | ||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
|
||
return (syChainAddHandler(event, isr, priority, arg)); | ||
|
||
#else | ||
|
||
// Provide an alternate thunking here. | ||
|
||
#endif | ||
} | ||
|
||
// STARTDOC ------------------------------------------------------------------- | ||
// FUNCTION NAME a64ChainDeleteHandler | ||
// TERSE DESCRIPTION Deletes (removes hook for) event interrupt handler. | ||
// | ||
// FORMAT | ||
// | ||
// #include <a64chain.h> | ||
// | ||
// void a64ChainDeleteHandler(KTU32 handle) | ||
// | ||
// PARAMETERS | ||
// | ||
// handle | ||
// | ||
// RETURN VALUE | ||
// | ||
// void | ||
// | ||
// FUNCTION | ||
// | ||
// Deletes (removes hook for) event interrupt handler. | ||
// ENDDOC --------------------------------------------------------------------- | ||
|
||
void a64ChainDeleteHandler(KTU32 handle) | ||
{ | ||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
|
||
syChainDeleteHandler(handle); | ||
|
||
#else | ||
|
||
// Provide an alternate thunking here. | ||
|
||
#endif | ||
} | ||
|
||
//----------------------------------------------------------------------------- | ||
// ahchain.c (end) | ||
//----------------------------------------------------------------------------- |
122 changes: 122 additions & 0 deletions
122
SDK/EXES/INSTALL KATANA SDK/INPUT/R10.1_000518/Sample/Audio64/A64Thunk/a64dma.c
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
//----------------------------------------------------------------------------- | ||
// | ||
// FILE: a64dma.c | ||
// | ||
// DESC: Audio64 hooks for porting G2 DMA function support. | ||
// | ||
// The Audio64 library contains Audio64 hook functions that map | ||
// (thunk) to appropriate functions in the Shinobi library. If | ||
// needed, these may be overridden by explicitly including this | ||
// module in your object file list and substituting alternate | ||
// support. | ||
// | ||
// NOTE: The public/exported function names MUST be the only | ||
// globally visible symbols. | ||
// | ||
// HISTORY: 2000.01.xx Reworked samples/boilerplates for R10 release. | ||
// | ||
//----------------------------------------------------------------------------- | ||
// COPYRIGHT (C) SEGA OF AMERICA DREAMCAST, INC. 1998, 1999, 2000 | ||
// All rights reserved. | ||
// | ||
// Information and source code samples contained herein are provided "as-is", | ||
// without representations or warranties, and are subject to change without | ||
// notice. | ||
// | ||
// SEGA OF AMERICA DREAMCAST, INC. cannot support modifications or derivative | ||
// works created from the sample source code provided. Developers may use, | ||
// reproduce, and modify portions or entire sections of the sample source | ||
// code for the purposes of creating Dreamcast applications. | ||
// | ||
// Sample source code contained herein may not be appropriate for use under | ||
// all circumstances. Please consult Developer documentation provided along | ||
// with your Dreamcast unit for additional information and suggestions. | ||
//----------------------------------------------------------------------------- | ||
|
||
#include <ac.h> | ||
#include <a64thunk.h> | ||
#include <am.h> | ||
|
||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
#include <sg_syg2.h> | ||
#endif | ||
|
||
// STARTDOC ------------------------------------------------------------------- | ||
// FUNCTION NAME a64DmaResumeAll | ||
// TERSE DESCRIPTION Resumes all G2 DMA channels. | ||
// | ||
// FORMAT | ||
// | ||
// #include <a64dma.h> | ||
// | ||
// KTBOOL a64DmaResumeAll(void) | ||
// | ||
// PARAMETERS | ||
// | ||
// void | ||
// | ||
// RETURN VALUE | ||
// | ||
// KTTRUE If successful. | ||
// | ||
// KTFALSE An error occurred. | ||
// | ||
// FUNCTION | ||
// | ||
// Resumes all G2 DMA channels. | ||
// ENDDOC --------------------------------------------------------------------- | ||
|
||
KTBOOL a64DmaResumeAll(void) | ||
{ | ||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
|
||
return (syG2DmaResumeAll() == SYE_G2_ERR_NOTHING); | ||
|
||
#else | ||
|
||
// Provide an alternate thunking here. | ||
|
||
#endif | ||
} | ||
|
||
// STARTDOC ------------------------------------------------------------------- | ||
// FUNCTION NAME a64DmaSuspendAll | ||
// TERSE DESCRIPTION Suspends all G2 DMA channels. | ||
// | ||
// FORMAT | ||
// | ||
// #include <a64dma.h> | ||
// | ||
// KTBOOL a64DmaSuspendAll(void) | ||
// | ||
// PARAMETERS | ||
// | ||
// void | ||
// | ||
// RETURN VALUE | ||
// | ||
// KTTRUE If successful. | ||
// | ||
// KTFALSE An error occurred. | ||
// | ||
// FUNCTION | ||
// | ||
// Suspends all G2 DMA channels; required when directly accessing G2 bus data. | ||
// ENDDOC --------------------------------------------------------------------- | ||
|
||
KTBOOL a64DmaSuspendAll(void) | ||
{ | ||
#if defined(AUDIO64_THUNKS_SHINOBI) | ||
|
||
return (syG2DmaSuspendAll() == SYE_G2_ERR_NOTHING); | ||
|
||
#else | ||
|
||
// Provide an alternate thunking here. | ||
|
||
#endif | ||
} | ||
|
||
//----------------------------------------------------------------------------- | ||
// ahdma.c (end) | ||
//----------------------------------------------------------------------------- |
Oops, something went wrong.