Merge pull request #98 from RevoSucks/make

The second great major Make/build System Refactor
This commit is contained in:
Revo 2024-08-11 18:11:06 -04:00 committed by GitHub
commit 3fca12f7af
1120 changed files with 92231 additions and 13071 deletions

36
.gitignore vendored
View File

@ -1,28 +1,28 @@
# Generated by splat
.splat/
asm/
bin/
assets/
# Build directory
build/
.vscode/
linker_scripts/*/auto/
linker_scripts/*/pokestadium.ld
*_auto.ld
pokestadium.ld
pokestadium-*yaml
__pycache__/
.make_options
ctx.c
ctx.c.m2c
*.o
*.z64
*.ld
*.csv
*.n64
*.v64
*.plf
*.sym
.venv
undefined_funcs_auto.txt
undefined_syms_auto.txt
# qemu-irix compilers
tools/ido5.3_compiler/
tools/ido7.1_compiler/
# diffing directory
expected/
# misc
.DS_Store
.vscode/*
!.vscode/c_cpp_properties.json

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "tools/n64splat"]
path = tools/n64splat
url = https://github.com/ethteck/n64splat.git
[submodule "tools/asmproc"]
path = tools/asmproc
url = https://github.com/simonlindholm/asm-processor.git

646
Makefile
View File

@ -1,427 +1,359 @@
BASEROM = baserom.z64
TARGET = pokestadium
NON_MATCHING ?= 0
RUN_CC_CHECK ?= 1
WERROR ?= 0
# Build options can be changed by modifying the makefile or by building with 'make SETTING=value'.
# It is also possible to override the settings in Defaults in a file called .make_options as 'SETTING=value'.
# Fail early if baserom does not exist
ifeq ($(wildcard $(BASEROM)),)
$(error Baserom `$(BASEROM)' not found.)
endif
-include .make_options
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
HOST_OS := linux
else ifeq ($(UNAME_S),Darwin)
HOST_OS := macos
MAKEFLAGS += --no-builtin-rules
# Ensure the build fails if a piped command fails
SHELL = /bin/bash
.SHELLFLAGS = -o pipefail -c
# OS Detection
ifeq ($(OS),Windows_NT)
$(error Native Windows is currently unsupported for building this repository, use WSL instead c:)
else
$(error Unsupported host/building OS <$(UNAME_S)>)
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
DETECTED_OS = linux
MAKE = make
VENV_BIN_DIR = bin
endif
ifeq ($(UNAME_S),Darwin)
DETECTED_OS = macos
MAKE = gmake
VENV_BIN_DIR = bin
endif
endif
FRAGMENT_DIRS := \
fragments/1/ \
fragments/2/ \
fragments/3/ \
fragments/4/ \
fragments/5/ \
fragments/6/ \
fragments/7/ \
fragments/8/ \
fragments/9/ \
fragments/10/ \
fragments/11/ \
fragments/12/ \
fragments/13/ \
fragments/14/ \
fragments/15/ \
fragments/16/ \
fragments/17/ \
fragments/18/ \
fragments/19/ \
fragments/20/ \
fragments/21/ \
fragments/22/ \
fragments/23/ \
fragments/24/ \
fragments/25/ \
fragments/26/ \
fragments/27/ \
fragments/28/ \
fragments/29/ \
fragments/30/ \
fragments/31/ \
fragments/32/ \
fragments/33/ \
fragments/34/ \
fragments/35/ \
fragments/36/ \
fragments/37/ \
fragments/38/ \
fragments/39/ \
fragments/40/ \
fragments/41/ \
fragments/42/ \
fragments/43/ \
fragments/44/ \
fragments/45/ \
fragments/46/ \
fragments/47/ \
fragments/48/ \
fragments/49/ \
fragments/50/ \
fragments/51/ \
fragments/52/ \
fragments/53/ \
fragments/54/ \
fragments/55/ \
fragments/56/ \
fragments/57/ \
fragments/58/ \
fragments/59/ \
fragments/60/ \
fragments/61/ \
fragments/62/ \
fragments/63/ \
fragments/64/ \
fragments/65/ \
fragments/66/ \
fragments/67/ \
fragments/68/ \
fragments/69/ \
fragments/70/ \
fragments/71/ \
fragments/72/ \
fragments/73/ \
fragments/74/ \
fragments/75/ \
fragments/76/ \
fragments/77/
#### Defaults ####
# Target game version. Currently only the following version is supported:
# us N64 US (default)
VERSION ?= us
# If COMPARE is 1, check the output md5sum after building
COMPARE ?= 1
# If NON_MATCHING is 1, define the NON_MATCHING C flag when building
NON_MATCHING ?= 0
# if WERROR is 1, pass -Werror to CC_CHECK, so warnings would be treated as errors
WERROR ?= 0
# Keep .mdebug section in build
KEEP_MDEBUG ?= 1
# Check code syntax with host compiler
RUN_CC_CHECK ?= 1
CC_CHECK_COMP ?= gcc
# Dump build object files
OBJDUMP_BUILD ?= 0
# Number of threads to compress with
N_THREADS ?= $(shell nproc)
# Not meant to be used by normal users. Toggles some options to improve the use of the warning checker system
WARNINGS_CHECK ?= 0
# Disassembles matched functions and migrated data as well
FULL_DISASM ?= 0
# Python virtual environment
VENV ?= .venv
# Python interpreter
PYTHON ?= $(VENV)/$(VENV_BIN_DIR)/python3
# Emulator w/ flags
N64_EMULATOR ?=
# Set prefix to mips binutils binaries (mips-linux-gnu-ld => 'mips-linux-gnu-') - Change at your own risk!
# In nearly all cases, not having 'mips-linux-gnu-*' binaries on the PATH is indicative of missing dependencies
MIPS_BINUTILS_PREFIX ?= mips-linux-gnu-
TARGET := pokestadium
BASEROM_DIR := baseroms/$(VERSION)
BASEROM := $(BASEROM_DIR)/baserom.z64
ULTRALIB_VERSION := I_P
ULTRALIB_TARGET := libultra_rom
### Output ###
BUILD_DIR := build
ROM := $(TARGET).z64
ELF := $(BUILD_DIR)/$(TARGET).elf
LD_SCRIPT := $(TARGET).ld
LD_MAP := $(BUILD_DIR)/$(TARGET).map
# TODO: Recursively make fragment folders correctly.
ASM_DIRS := asm asm/os asm/libleo asm/libultra asm/libultra/os asm/libultra/io asm/libultra/gu asm/libultra/libc asm/libultra/al asm/data
DATA_DIRS := bin assets
SRC_DIRS := $(shell find src -type d)
ROM := $(BUILD_DIR)/$(TARGET)-$(VERSION).z64
ELF := $(ROM:.z64=.elf)
MAP := $(ROM:.z64=.map)
LDSCRIPT := $(ROM:.z64=.ld)
# Append FRAGMENT_DIRS to each dirs.
ASM_DIRS += $(addprefix asm/,$(FRAGMENT_DIRS))
ASM_DIRS += $(addprefix asm/data/,$(FRAGMENT_DIRS))
DATA_DIRS += $(addprefix assets/,$(FRAGMENT_DIRS))
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
S_FILES := $(foreach dir,$(ASM_DIRS),$(wildcard $(dir)/*.s))
DATA_FILES := $(foreach dir,$(DATA_DIRS),$(wildcard $(dir)/*.bin))
#### Setup ####
# Object files
O_FILES := $(foreach file,$(C_FILES),$(BUILD_DIR)/$(file:.c=.c.o)) \
$(foreach file,$(S_FILES),$(BUILD_DIR)/$(file:.s=.s.o)) \
$(foreach file,$(DATA_FILES),$(BUILD_DIR)/$(file:.bin=.bin.o)) \
BUILD_DEFINES ?=
DECOMP_C_OBJS := $(filter %.c.o,$(filter-out $(BUILD_DIR)/src/libultra%,$(O_FILES)))
DECOMP_POKE_STADIUM := $(filter %.c.o,$(filter-out $(BUILD_DIR)/src/libleo%,$(DECOMP_C_OBJS)))
DECOMP_LIBLEO := $(filter $(BUILD_DIR)/src/libleo/%.c.o,$(O_FILES))
DEP_FILES := $(O_FILES:.o=.d) $(DECOMP_C_OBJS:.o=.asmproc.d)
SPLAT_YAML := splat.yaml
SPLAT = $(PYTHON) tools/n64splat/split.py $(SPLAT_YAML)
##################### Compiler Options #######################
findcmd = $(shell type $(1) >/dev/null 2>/dev/null; echo $$?)
ifeq ($(call findcmd,mips-linux-gnu-ld),0)
CROSS := mips-linux-gnu-
else ifeq ($(call findcmd,mips64-elf-ld),0)
CROSS := mips64-elf-
else ifeq ($(call findcmd,mips-elf-ld),0)
CROSS := mips-elf-
ifeq ($(VERSION),us)
BUILD_DEFINES += -DVERSION_US=1
else
$(error Missing cross compilation toolchain)
$(error Invalid VERSION variable detected. Please use 'us')
endif
AS = $(CROSS)as
LD = $(CROSS)ld
OBJDUMP = $(CROSS)objdump
OBJCOPY = $(CROSS)objcopy
ifeq ($(HOST_OS),macos)
CPP := clang -E -P -x c
else
CPP := cpp
ifeq ($(NON_MATCHING),1)
BUILD_DEFINES += -DNON_MATCHING -DAVOID_UB
COMPARE := 0
endif
#CC := $(QEMU_IRIX) -L tools/ido7.1_compiler tools/ido7.1_compiler/usr/bin/cc
#CC_OLD := $(QEMU_IRIX) -L tools/ido5.3_compiler tools/ido5.3_compiler/usr/bin/cc
MAKE = make
CPPFLAGS += -fno-dollars-in-identifiers -P
LDFLAGS := --no-check-sections --accept-unknown-input-arch --emit-relocs --whole-archive
CC = tools/ido_recomp/$(HOST_OS)/7.1/cc
CC_OLD = tools/ido_recomp/$(HOST_OS)/5.3/cc
ASMPROC = python3 tools/asmproc/build.py
ASMPROC_FLAGS :=
ifeq ($(DETECTED_OS), macos)
CPPFLAGS += -xc++
endif
MIPS_VERSION := -mips2
#### Tools ####
ifneq ($(shell type $(MIPS_BINUTILS_PREFIX)ld >/dev/null 2>/dev/null; echo $$?), 0)
$(error Unable to find $(MIPS_BINUTILS_PREFIX)ld. Please install or build MIPS binutils, commonly mips-linux-gnu. (or set MIPS_BINUTILS_PREFIX if your MIPS binutils install uses another prefix))
endif
OPTFLAGS := -O2
OBJDUMP_FLAGS := -d -r -z -Mreg-names=32
CC := tools/ido/$(DETECTED_OS)/7.1/cc
CC_OLD := tools/ido/$(DETECTED_OS)/5.3/cc
# include locations
INC_DIRS := include include/PR include/audio .
IINCS := $(foreach d,$(INC_DIRS),-I$d)
# defines for SGI IDO
CDEFS := -D_LANGUAGE_C -DF3DEX_GBI_2 -DNDEBUG
AS := $(MIPS_BINUTILS_PREFIX)as
LD := $(MIPS_BINUTILS_PREFIX)ld
OBJCOPY := $(MIPS_BINUTILS_PREFIX)objcopy
OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump
NM := $(MIPS_BINUTILS_PREFIX)nm
AR := ar
CPP := cpp
ICONV := iconv
CAT := cat
ASM_PROC := $(PYTHON) tools/asm-processor/build.py
ASM_PROC_FLAGS := --input-enc=utf-8 --output-enc=euc-jp --convert-statics=global-with-filename
SPLAT := $(PYTHON) -m splat split
SPLAT_YAML := $(TARGET)-$(VERSION).yaml
IINC := -Iinclude -Isrc -Iassets/$(VERSION) -I. -I$(BUILD_DIR)
IINC += -Ilib/ultralib/include -Ilib/ultralib/include/PR -Ilib/ultralib/include/ido
IINC += -Iinclude/
ifeq ($(KEEP_MDEBUG),0)
RM_MDEBUG = $(OBJCOPY) --remove-section .mdebug $@
else
RM_MDEBUG = @:
endif
# Check code syntax with host compiler
CHECK_WARNINGS := -Wall -Wextra -Wimplicit-fallthrough -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-uninitialized -Wno-unused-label
# Have CC_CHECK pretend to be a MIPS compiler
MIPS_BUILTIN_DEFS := -DMIPSEB -D_MIPS_FPSET=16 -D_MIPS_ISA=2 -D_ABIO32=1 -D_MIPS_SIM=_ABIO32 -D_MIPS_SZINT=32 -D_MIPS_SZPTR=32
ifneq ($(RUN_CC_CHECK),0)
CHECK_WARNINGS := -Wall -Wextra -Wno-unknown-pragmas
CHECK_DEFS := -D_MIPS_SZLONG=32 -DNON_MATCHING
CHECK_FLAGS := -fno-builtin -funsigned-char -fdiagnostics-color -std=gnu89 $(CDEFS) $(CHECK_DEFS) $(IINCS) -nostdinc
CC_CHECK := gcc -fsyntax-only
ifeq ($(HOST_OS),linux)
CC_CHECK += -m32
endif
ifneq ($(WERROR),0)
CHECK_WARNINGS += -Werror
# The -MMD flags additionaly creates a .d file with the same name as the .o file.
CC_CHECK := $(CC_CHECK_COMP)
CC_CHECK_FLAGS := -MMD -MP -fno-builtin -fsyntax-only -funsigned-char -fdiagnostics-color -std=gnu89 -m32 -DNON_MATCHING -DAVOID_UB -DCC_CHECK=1
ifneq ($(WERROR), 0)
CHECK_WARNINGS += -Werror
endif
else
CC_CHECK := @:
CC_CHECK := @:
endif
######################## Flags #############################
ASFLAGS = -EB -mtune=vr4300 -march=vr4300 $(IINCS) -32
CFLAGS += -G 0 -non_shared -Xcpluscomm -nostdinc -Wab,-r4300_mul
# we support Microsoft extensions such as anonymous structs, which the compiler does support but warns for their usage. Surpress the warnings with -woff.
CFLAGS = -G 0 -non_shared -Xfullwarn -Xcpluscomm $(IINCS) -Wab,-r4300_mul $(CDEFS) -woff 624,649,838,712,516,513,596,564,594,807 $(MIPS_VERSION)
WARNINGS := -fullwarn -verbose -woff 624,649,838,712,516,513,596,564,594
ASFLAGS := -march=vr4300 -32 -G0
COMMON_DEFINES := -D_MIPS_SZLONG=32
GBI_DEFINES := -DF3DEX_GBI_2
RELEASE_DEFINES := -DNDEBUG -D_FINALROM
AS_DEFINES := -DMIPSEB -D_LANGUAGE_ASSEMBLY -D_ULTRA64
C_DEFINES := -DLANGUAGE_C -D_LANGUAGE_C
LIBULTRA_DEFINES := -DBUILD_VERSION=VERSION_$(ULTRALIB_VERSION)
ENDIAN := -EB
LDFLAGS = -T undefined_syms.txt -T undefined_syms_auto.txt -T undefined_funcs_auto.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(BUILD_DIR)/$(TARGET).map --no-check-sections
OPTFLAGS := -O2
MIPS_VERSION := -mips2
ICONV_FLAGS := --from-code=UTF-8 --to-code=EUC-JP
######################## Targets #############################
# Use relocations and abi fpr names in the dump
OBJDUMP_FLAGS := --disassemble --reloc --disassemble-zeroes -Mreg-names=32 -Mno-aliases
$(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(DATA_DIRS) $(COMPRESSED_DIRS) $(MAP_DIRS) $(BGM_DIRS),$(shell mkdir -p build/$(dir)))
ifneq ($(OBJDUMP_BUILD), 0)
OBJDUMP_CMD = $(OBJDUMP) $(OBJDUMP_FLAGS) $@ > $(@:.o=.s)
OBJCOPY_BIN = $(OBJCOPY) -O binary $@ $@.bin
LIBDUMP_CMD = $(AR) xo --output $(@:.a=) $@
else
OBJDUMP_CMD = @:
OBJCOPY_BIN = @:
LIBDUMP_CMD = @:
endif
# The reimplementations of the string functions need to treat char as signed.
build/src/hal_libc.c.o: CFLAGS += -signed
SPLAT_FLAGS ?=
ifneq ($(WARNINGS_CHECK), 0)
SPLAT_FLAGS += --stdout-only
endif
# Libultra O1 files
build/src/libultra/os/sendmesg.c.o: OPTFLAGS := -O1
build/src/libultra/os/stopthread.c.o: OPTFLAGS := -O1
build/src/libultra/os/recvmesg.c.o: OPTFLAGS := -O1
build/src/libultra/os/destroythread.c.o: OPTFLAGS := -O1
build/src/libultra/os/dequeuethread.c.o: OPTFLAGS := -O1
build/src/libultra/os/createthread.c.o: OPTFLAGS := -O1
build/src/libultra/os/virtualtophysical.c.o: OPTFLAGS := -O1
build/src/libultra/os/initialize.c.o: OPTFLAGS := -O1
build/src/libultra/os/epilinkhandle.c.o: OPTFLAGS := -O1
build/src/libultra/os/getmemsize.c.o: OPTFLAGS := -O1
build/src/libultra/os/seteventmesg.c.o: OPTFLAGS := -O1
build/src/libultra/os/createmesgqueue.c.o: OPTFLAGS := -O1
build/src/libultra/os/jammesg.c.o: OPTFLAGS := -O1
build/src/libultra/os/setthreadpri.c.o: OPTFLAGS := -O1
build/src/libultra/os/gettime.c.o: OPTFLAGS := -O1
build/src/libultra/os/timerintr.c.o: OPTFLAGS := -O1
build/src/libultra/os/setglobalintmask.c.o: OPTFLAGS := -O1
build/src/libultra/os/resetglobalintmask.c.o: OPTFLAGS := -O1
build/src/libultra/os/settime.c.o: OPTFLAGS := -O1
build/src/libultra/os/yieldthread.c.o: OPTFLAGS := -O1
build/src/libultra/os/settimer.c.o: OPTFLAGS := -O1
build/src/libultra/os/startthread.c.o: OPTFLAGS := -O1
build/src/libultra/os/sethwinterrupt.c.o: OPTFLAGS := -O1
build/src/libultra/io/pigetcmdq.c.o: OPTFLAGS := -O1
build/src/libultra/io/sptask.c.o: OPTFLAGS := -O1
build/src/libultra/io/controller.c.o: OPTFLAGS := -O1
build/src/libultra/io/conteeplongread.c.o: OPTFLAGS := -O1
build/src/libultra/io/viblack.c.o: OPTFLAGS := -O1
build/src/libultra/io/visetmode.c.o: OPTFLAGS := -O1
build/src/libultra/io/virepeatline.c.o: OPTFLAGS := -O1
build/src/libultra/io/pfsisplug.c.o: OPTFLAGS := -O1
build/src/libultra/io/epidma.c.o: OPTFLAGS := -O1
build/src/libultra/io/dpctr.c.o: OPTFLAGS := -O1
build/src/libultra/io/conteeplongwrite.c.o: OPTFLAGS := -O1
build/src/libultra/io/si.c.o: OPTFLAGS := -O1
build/src/libultra/io/sp.c.o: OPTFLAGS := -O1
build/src/libultra/io/viswapbuf.c.o: OPTFLAGS := -O1
build/src/libultra/io/sptaskyielded.c.o: OPTFLAGS := -O1
build/src/libultra/io/vi.c.o: OPTFLAGS := -O1
build/src/libultra/io/visetevent.c.o: OPTFLAGS := -O1
build/src/libultra/io/aisetnextbuf.c.o: OPTFLAGS := -O1
build/src/libultra/io/ai.c.o: OPTFLAGS := -O1
build/src/libultra/io/vigetcurrframebuf.c.o: OPTFLAGS := -O1
build/src/libultra/io/spsetpc.c.o: OPTFLAGS := -O1
build/src/libultra/libc/ll.c.o: OPTFLAGS := -O1
build/src/libultra/libc/ll.c.o: MIPS_VERSION := -mips3 -32
build/src/libultra/libc/llcvt.c.o: OPTFLAGS := -O1
build/src/libultra/libc/llcvt.c.o: MIPS_VERSION := -mips3 -32
ifneq ($(FULL_DISASM), 0)
SPLAT_FLAGS += --disassemble-all
endif
# cheap hack. TODO: Make the override better
build/src/libultra/io/gbpakpower.c.o: OPTFLAGS += -Wo,-loopunroll,0
build/src/libultra/io/gbpakinit.c.o: OPTFLAGS += -Wo,-loopunroll,0
build/src/libultra/io/gbpakselectbank.c.o: OPTFLAGS += -Wo,-loopunroll,0
#### Files ####
build/src/C030.c.o: OPTFLAGS += -Wo,-loopunroll,0
$(shell mkdir -p asm/$(VERSION) assets/$(VERSION) linker_scripts/$(VERSION)/auto)
# Libultra misc
build/src/libultra/gu/scale.c.o: CC := $(CC_OLD)
build/src/libultra/gu/scale.c.o: OPTFLAGS := -O3
build/src/libultra/gu/translate.c.o: CC := $(CC_OLD)
build/src/libultra/gu/translate.c.o: OPTFLAGS := -O3
build/src/libultra/gu/mtxcatf.c.o: CC := $(CC_OLD)
build/src/libultra/gu/mtxcatf.c.o: OPTFLAGS := -O3
build/src/libultra/gu/mtxcatl.c.o: CC := $(CC_OLD)
build/src/libultra/gu/mtxcatl.c.o: OPTFLAGS := -O3
build/src/libultra/gu/rotateRPY.c.o: CC := $(CC_OLD)
build/src/libultra/gu/rotateRPY.c.o: OPTFLAGS := -O3
build/src/libultra/gu/rotate.c.o: CC := $(CC_OLD)
build/src/libultra/gu/rotate.c.o: OPTFLAGS := -O3
build/src/libultra/gu/ortho.c.o: CC := $(CC_OLD)
build/src/libultra/gu/ortho.c.o: OPTFLAGS := -O3
build/src/libultra/gu/sinf.c.o: CC := $(CC_OLD)
build/src/libultra/gu/cosf.c.o: CC := $(CC_OLD)
build/src/libultra/gu/random.c.o: CC := $(CC_OLD)
build/src/libultra/libc/xprintf.c.o: CC := $(CC_OLD)
build/src/libultra/libc/xprintf.c.o: OPTFLAGS := -O3
build/src/libultra/libc/xldtob.c.o: CC := $(CC_OLD)
build/src/libultra/libc/xldtob.c.o: OPTFLAGS := -O3
build/src/libultra/libc/xlitob.c.o: CC := $(CC_OLD)
build/src/libultra/libc/xlitob.c.o: OPTFLAGS := -O3
build/src/libultra/libc/string.c.o: CC := $(CC_OLD)
build/src/libultra/libc/string.c.o: OPTFLAGS := -O3
build/src/libultra/io/controller.c.o: CC := $(CC_OLD)
build/src/libultra/io/contreaddata.c.o: CC := $(CC_OLD)
build/src/libultra/io/devmgr.c.o: CC := $(CC_OLD)
build/src/libultra/os/initialize.c.o: CC := $(CC_OLD)
build/src/libultra/io/pfsgetstatus.c.o: CC := $(CC_OLD)
build/src/libultra/io/epiread.c.o: CC := $(CC_OLD)
build/src/libultra/al/reverb.c.o: CC := $(CC_OLD)
build/src/libultra/al/bnkf.c.o: CC := $(CC_OLD)
build/src/libultra/al/bnkf.c.o: OPTFLAGS := -O3
build/src/libultra/al/load.c.o: CC := $(CC_OLD)
build/src/libultra/al/load.c.o: OPTFLAGS := -O3
build/src/libultra/al/synthesizer.c.o: CC := $(CC_OLD)
build/src/libultra/al/drvrNew.c.o: CC := $(CC_OLD)
build/src/libultra/al/mainbus.c.o: CC := $(CC_OLD)
build/src/libultra/al/mainbus.c.o: OPTFLAGS := -O3
build/src/libultra/al/auxbus.c.o: CC := $(CC_OLD)
build/src/libultra/al/auxbus.c.o: OPTFLAGS := -O3
build/src/libultra/al/env.c.o: CC := $(CC_OLD)
build/src/libultra/al/resample.c.o: CC := $(CC_OLD)
build/src/libultra/al/resample.c.o: OPTFLAGS := -O3
build/src/libultra/al/save.c.o: CC := $(CC_OLD)
build/src/libultra/al/heapalloc.c.o: CC := $(CC_OLD)
build/src/libultra/gu/mtxutil.c.o: CC := $(CC_OLD)
build/src/libultra/gu/mtxutil.c.o: OPTFLAGS := -O3
build/src/libultra/io/pfsisplug.c.o: CC := $(CC_OLD)
build/src/libultra/io/conteepprobe.c.o: CC := $(CC_OLD)
build/src/libultra/io/conteepwrite.c.o: CC := $(CC_OLD)
build/src/libultra/io/conteepread.c.o: CC := $(CC_OLD)
build/src/libultra/io/contpfs.c.o: CC := $(CC_OLD)
build/src/libultra/io/viswapcontext.c.o: CC := $(CC_OLD)
build/src/libultra/io/contramwrite.c.o: CC := $(CC_OLD)
build/src/libultra/io/contramread.c.o: CC := $(CC_OLD)
build/src/libultra/io/crc.c.o: CC := $(CC_OLD)
build/src/libultra/libc/ldiv.c.o: CC := $(CC_OLD)
build/src/libultra/io/vimgr.c.o: CC := $(CC_OLD)
build/src/libultra/io/visetxscale.c.o: CC := $(CC_OLD)
build/src/libultra/io/visetxscale.c.o: OPTFLAGS := -O1
build/src/libultra/io/visetyscale.c.o: CC := $(CC_OLD)
build/src/libultra/io/visetyscale.c.o: OPTFLAGS := -O1
build/src/libultra/al/synallocfx.c.o: CC := $(CC_OLD)
build/src/libultra/al/synallocfx.c.o: OPTFLAGS := -O3
ULTRALIB_DIR := lib/ultralib
ULTRALIB_LIB := $(ULTRALIB_DIR)/build/$(ULTRALIB_VERSION)/$(ULTRALIB_TARGET)/$(ULTRALIB_TARGET).a
LIBULTRA_DIR := lib/libultra
LIBULTRA_LIB := $(BUILD_DIR)/$(LIBULTRA_DIR).a
build/src/libultra/io/gbpakcheckconnector.c.o: CC := $(CC_OLD)
build/src/libultra/io/gbpakreadid.c.o: CC := $(CC_OLD)
build/src/libultra/io/gbpakreadwrite.c.o: CC := $(CC_OLD)
build/src/libultra/io/gbpakselectbank.c.o: CC := $(CC_OLD)
SRC_DIRS := $(shell find src -type d)
ASM_DIRS := $(shell find asm/$(VERSION) -type d -not -path "asm/$(VERSION)/nonmatchings/*" -not -path "asm/$(VERSION)/lib/*")
ASSET_DIRS := $(shell find assets/$(VERSION) -type d)
LIB_DIRS := $(foreach f, $(LIBULTRA_DIR), $f)
# run ASM-processor on non-libultra source files
$(DECOMP_POKE_STADIUM): CC := $(ASMPROC) $(ASMPROC_FLAGS) $(CC) -- $(AS) $(ASFLAGS) --
$(DECOMP_LIBLEO): CC := $(ASMPROC) $(ASMPROC_FLAGS) $(CC_OLD) -- $(AS) $(ASFLAGS) --
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
S_FILES := $(foreach dir,$(ASM_DIRS) $(SRC_DIRS),$(wildcard $(dir)/*.s))
BIN_FILES := $(foreach dir,$(ASSET_DIRS),$(wildcard $(dir)/*.bin))
O_FILES := $(foreach f,$(C_FILES:.c=.o),$(BUILD_DIR)/$f) \
$(foreach f,$(S_FILES:.s=.o),$(BUILD_DIR)/$f) \
$(foreach f,$(BIN_FILES:.bin=.o),$(BUILD_DIR)/$f)
# turn off syntax checking errors for libultra
build/src/libultra/al/%.c.o: CHECK_WARNINGS := -w
build/src/libultra/gu/%.c.o: CHECK_WARNINGS := -w
build/src/libultra/io/%.c.o: CHECK_WARNINGS := -w
build/src/libultra/libc/%.c.o: CHECK_WARNINGS := -w
build/src/libultra/os/%.c.o: CHECK_WARNINGS := -w
ASSET_PNGS := $(foreach dir,$(ASSET_DIRS),$(wildcard $(dir)/*.png))
ASSET_BINS := $(foreach f,$(ASSET_PNGS:.png=.bin),$(BUILD_DIR)/$f)
ASSET_INC_C := $(foreach f,$(ASSET_PNGS:.png=.inc.c),$(BUILD_DIR)/$f)
######################## Build #############################
default: all
# Automatic dependency files
DEP_FILES := $(O_FILES:.o=.d) \
$(O_FILES:.o=.asmproc.d)
LD_SCRIPT = $(TARGET).ld
# create build directories
$(shell mkdir -p $(BUILD_DIR)/linker_scripts/$(VERSION) $(BUILD_DIR)/linker_scripts/$(VERSION)/auto $(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(ASSET_DIRS) $(LIB_DIRS),$(BUILD_DIR)/$(dir)))
# directory flags
build/src/boot/O2/%.o: OPTFLAGS := -O2
build/src/boot/libc/%.o: OPTFLAGS := -O2
build/src/boot/libc64/%.o: OPTFLAGS := -O2
build/src/boot/libm/%.o: OPTFLAGS := -O2
build/src/boot/libu64/%.o: OPTFLAGS := -O2
# per-file flags
build/src/boot/fault.o: CFLAGS += -trapuv
build/src/boot/fault_drawer.o: CFLAGS += -trapuv
build/src/C030.o: OPTFLAGS += -Wo,-loopunroll,0
build/src/hal_libc.o: CFLAGS += -signed
# cc & asm-processor
build/src/libleo/%.o: CC := $(ASM_PROC) $(ASM_PROC_FLAGS) $(CC_OLD) -- $(AS) $(ASFLAGS) --
build/src/%.o: CC := $(ASM_PROC) $(ASM_PROC_FLAGS) $(CC) -- $(AS) $(ASFLAGS) --
#### Main Targets ###
all: rom
rom: $(ROM)
all: $(BUILD_DIR) $(BUILD_DIR)/$(ROM) verify
distclean:
rm -rf asm bin assets $(BUILD_DIR) undefined_syms_auto.txt undefined_funcs_auto.txt
ifneq ($(COMPARE),0)
@md5sum $(ROM)
@md5sum -c $(BASEROM_DIR)/checksum.md5
endif
clean:
rm -rf $(BUILD_DIR)
$(RM) -r $(BUILD_DIR)
submodules:
git submodule update --init --recursive
libclean:
$(MAKE) -C lib/ultralib clean VERSION=$(ULTRALIB_VERSION) TARGET=$(ULTRALIB_TARGET)
$(RM) -rf $(BUILD_DIR)/lib
$(RM) -r build/$(TARGET)-$(VERSION).elf
$(RM) -r build/$(TARGET)-$(VERSION).ld
$(RM) -r build/$(TARGET)-$(VERSION).map
$(RM) -r build/$(TARGET)-$(VERSION).z64
split:
rm -rf $(DATA_DIRS) $(ASM_DIRS) && ./tools/n64splat/split.py $(SPLAT_YAML)
distclean: clean libclean
$(RM) -r $(BUILD_DIR) asm/ assets/ .splat/
$(RM) -r linker_scripts/$(VERSION)/auto $(LDSCRIPT)
$(MAKE) -C tools distclean
tools:
make -s -C tools
venv:
test -d $(VENV) || python3 -m venv $(VENV)
$(PYTHON) -m pip install -U pip
$(PYTHON) -m pip install -U -r requirements.txt
expected:
setup:
$(MAKE) -C tools WARNINGS_CHECK=$(WARNINGS_CHECK)
extract:
$(RM) -r asm/$(VERSION) assets/$(VERSION)
$(CAT) yamls/$(VERSION)/header.yaml yamls/$(VERSION)/rom.yaml > $(SPLAT_YAML)
$(SPLAT) $(SPLAT_FLAGS) $(SPLAT_YAML)
lib: $(ULTRALIB_LIB)
diff-init: rom
$(RM) -r expected/
mkdir -p expected/
cp -r $(BUILD_DIR) expected/$(BUILD_DIR)
setup: distclean submodules split
init: distclean
$(MAKE) venv
$(MAKE) setup
$(MAKE) extract
$(MAKE) all
$(MAKE) diff-init
$(BUILD_DIR):
echo $(C_FILES)
mkdir $(BUILD_DIR)
run: $(ROM)
ifeq ($(N64_EMULATOR),)
$(error Emulator path not set. Set N64_EMULATOR in the Makefile, .make_options, or define it as an environment variable)
endif
$(N64_EMULATOR) $<
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
@mkdir -p $(shell dirname $@)
$(CPP) -P -DBUILD_DIR=$(BUILD_DIR) -o $@ $<
.PHONY: all rom clean libclean distclean venv setup extract lib diff-init init run
.DEFAULT_GOAL := rom
# Prevent removing intermediate files
.SECONDARY:
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(OBJCOPY) $< $@ -O binary --gap-fill 0xFF
$(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(BUILD_DIR)/$(LD_SCRIPT)
@$(LD) $(LDFLAGS) -o $@
#### Various Recipes ####
$(BUILD_DIR)/%.c.o: %.c
$(CC_CHECK) $(CHECK_FLAGS) $(CHECK_WARNINGS) -MMD -MP -MT $@ -MF $(@:.o=.d) $<
$(CC) -c $(CFLAGS) $(OPTFLAGS) -o $@ $<
$(ROM): $(ELF)
$(OBJCOPY) -O binary --gap-fill=0xFF $< $@
# TODO: update rom header checksum
$(BUILD_DIR)/src/libultra/libc/ll.c.o: src/libultra/libc/ll.c
$(CC) -c $(CFLAGS) $(OPTFLAGS) -o $@ $<
python3 tools/set_o32abi_bit.py $@
@$(OBJDUMP) $(OBJDUMP_FLAGS) $@ > $(@:.o=.s)
# TODO: avoid using auto/undefined
$(ELF): $(O_FILES) $(LIBULTRA_LIB) $(LDSCRIPT) $(BUILD_DIR)/linker_scripts/$(VERSION)/hardware_regs.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/undefined_syms.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/unused_syms.ld $(BUILD_DIR)/linker_scripts/common_undef_syms.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_syms_auto.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_funcs_auto.ld
$(LD) $(LDFLAGS) -T $(LDSCRIPT) \
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/hardware_regs.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/undefined_syms.ld \
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/unused_syms.ld -T $(BUILD_DIR)/linker_scripts/common_undef_syms.ld \
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_syms_auto.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_funcs_auto.ld \
-Map $(MAP) $(LIBULTRA_LIB) -o $@
$(BUILD_DIR)/src/libultra/libc/llcvt.c.o: src/libultra/libc/llcvt.c
$(CC) -c $(CFLAGS) $(OPTFLAGS) -o $@ $<
python3 tools/set_o32abi_bit.py $@
@$(OBJDUMP) $(OBJDUMP_FLAGS) $@ > $(@:.o=.s)
$(LDSCRIPT): linker_scripts/$(VERSION)/$(TARGET).ld
cp $< $@
$(BUILD_DIR)/%.s.o: %.s
iconv --from UTF-8 --to EUC-JP $^ | $(AS) $(ASFLAGS) -o $@
$(BUILD_DIR)/%.ld: %.ld
$(CPP) $(CPPFLAGS) $(BUILD_DEFINES) $(IINC) $< > $@
$(BUILD_DIR)/%.bin.o: %.bin
$(LD) -r -b binary -o $@ $<
$(LIBULTRA_LIB): $(ULTRALIB_LIB)
cp $< $@
$(LIBDUMP_CMD)
# final z64 updates checksum
$(BUILD_DIR)/$(ROM): $(BUILD_DIR)/$(TARGET).bin
@cp $< $@
$(ULTRALIB_LIB):
$(MAKE) -C lib/ultralib VERSION=$(ULTRALIB_VERSION) TARGET=$(ULTRALIB_TARGET) FIXUPS=1 CROSS=$(MIPS_BINUTILS_PREFIX) CC=../../$(CC_OLD)
verify: $(BUILD_DIR)/$(ROM)
md5sum -c checksum.md5
$(BUILD_DIR)/%.o: %.bin
$(OBJCOPY) -I binary -O elf32-big $< $@
.PHONY: all clean distclean default split setup
$(BUILD_DIR)/%.o: %.s
$(ICONV) $(ICONV_FLAGS) $< | $(AS) $(ASFLAGS) $(ENDIAN) $(IINC) -I $(dir $*) -o $@
$(OBJDUMP_CMD)
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
$(BUILD_DIR)/%.o: %.c
$(CC_CHECK) $(CC_CHECK_FLAGS) $(IINC) -I $(dir $*) $(CHECK_WARNINGS) $(BUILD_DEFINES) $(COMMON_DEFINES) $(RELEASE_DEFINES) $(GBI_DEFINES) $(LIBULTRA_DEFINES) $(C_DEFINES) $(MIPS_BUILTIN_DEFS) -o $@ $<
$(CC) -c $(CFLAGS) $(BUILD_DEFINES) $(IINC) $(WARNINGS) $(MIPS_VERSION) $(ENDIAN) $(COMMON_DEFINES) $(RELEASE_DEFINES) $(GBI_DEFINES) $(LIBULTRA_DEFINES) $(C_DEFINES) $(OPTFLAGS) -o $@ $<
$(OBJDUMP_CMD)
$(RM_MDEBUG)
# Add these as a dependency for .o files
asset_files: $(ASSET_INC_C)
$(O_FILES): | asset_files
.PHONY: asset_files
-include $(DEP_FILES)
# Print target for debugging
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true

1
baseroms/us/checksum.md5 Normal file
View File

@ -0,0 +1 @@
ed1378bc12115f71209a77844965ba50 build/pokestadium-us.z64

View File

@ -1 +0,0 @@
ed1378bc12115f71209a77844965ba50 build/pokestadium.z64

0
diff.py Normal file → Executable file
View File

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
def apply(config, args):
config['baseimg'] = 'baserom.z64'
config['myimg'] = 'build/pokestadium.z64'
config['mapfile'] = 'build/pokestadium.map'
config['baseimg'] = 'baseroms/us/baserom.z64'
config['myimg'] = 'build/pokestadium-us.z64'
config['mapfile'] = 'build/pokestadium-us.map'
config['source_directories'] = ['.']

View File

@ -1,9 +1,87 @@
.macro glabel label
.global \label
.type \label, @function
\label:
.endm
.macro dlabel label
.global \label
\label:
.endm
.macro jlabel label
.global \label
.type \label, @function
\label:
.endm
# COP0 register aliases
.set Index, $0
.set Random, $1
.set EntryLo0, $2
.set EntryLo1, $3
.set Context, $4
.set PageMask, $5
.set Wired, $6
.set Reserved07, $7
.set BadVaddr, $8
.set Count, $9
.set EntryHi, $10
.set Compare, $11
.set Status, $12
.set Cause, $13
.set EPC, $14
.set PRevID, $15
.set Config, $16
.set LLAddr, $17
.set WatchLo, $18
.set WatchHi, $19
.set XContext, $20
.set Reserved21, $21
.set Reserved22, $22
.set Reserved23, $23
.set Reserved24, $24
.set Reserved25, $25
.set PErr, $26
.set CacheErr, $27
.set TagLo, $28
.set TagHi, $29
.set ErrorEPC, $30
.set Reserved31, $31
# Float register aliases (o32 ABI, odd ones are rarely used)
.set $fv0, $f0
.set $fv0f, $f1
.set $fv1, $f2
.set $fv1f, $f3
.set $ft0, $f4
.set $ft0f, $f5
.set $ft1, $f6
.set $ft1f, $f7
.set $ft2, $f8
.set $ft2f, $f9
.set $ft3, $f10
.set $ft3f, $f11
.set $fa0, $f12
.set $fa0f, $f13
.set $fa1, $f14
.set $fa1f, $f15
.set $ft4, $f16
.set $ft4f, $f17
.set $ft5, $f18
.set $ft5f, $f19
.set $fs0, $f20
.set $fs0f, $f21
.set $fs1, $f22
.set $fs1f, $f23
.set $fs2, $f24
.set $fs2f, $f25
.set $fs3, $f26
.set $fs3f, $f27
.set $fs4, $f28
.set $fs4f, $f29
.set $fs5, $f30
.set $fs5f, $f31

View File

@ -153,9 +153,7 @@ s32 __osCheckPackId(OSPfs* pfs, __OSPackId* check);
s32 __osGetId(OSPfs *pfs);
s32 __osCheckId(OSPfs *pfs);
s32 __osPfsRWInode(OSPfs *pfs, __OSInode *inode, u8 flag, u8 bank);
s32 __osPfsSelectBank(OSPfs *pfs, u8 bank);
s32 __osPfsDeclearPage(OSPfs *pfs, __OSInode *inode, int file_size_in_pages, int *first_page, u8 bank, int *decleared, int *last_page);
s32 __osPfsReleasePages(OSPfs *pfs, __OSInode *inode, u8 start_page, u8 bank, __OSInodeUnit *last_page);
s32 __osBlockSum(OSPfs *pfs, u8 page_no, u16 *sum, u8 bank);
s32 __osContRamRead(OSMesgQueue *mq, int channel, u16 address, u8 *buffer);
s32 __osContRamWrite(OSMesgQueue *mq, int channel, u16 address, u8 *buffer, int force);
@ -166,7 +164,7 @@ void __osPfsGetInitData(u8* pattern, OSContStatus* data);
u8 __osContAddressCrc(u16 addr);
u8 __osContDataCrc(u8 *data);
s32 __osPfsGetStatus(OSMesgQueue *queue, int channel);
s32 __osGbpakSelectBank(OSPfs *pfs, u8 bank);
s32 __osGbpakSetBank(OSPfs *pfs, u8 bank);
extern u8 __osContLastCmd;
extern OSTimer __osEepromTimer;
@ -183,13 +181,6 @@ extern u8 __osMaxControllers;
if (ret != 0) \
return ret;
#define SET_ACTIVEBANK_TO_ZERO \
if (pfs->activebank != 0) \
{ \
pfs->activebank = 0; \
ERRCK(__osPfsSelectBank(pfs)) \
}
#define PFS_CHECK_ID \
if (__osCheckId(pfs) == PFS_ERR_NEW_PACK) \
return PFS_ERR_NEW_PACK;

View File

@ -0,0 +1,42 @@
# CI file for EGCS builds
# TODO: rename to `ci_egcs.yml` when the repo has EGCS / iQue support
name: Build EGCS libultra
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request_target]
jobs:
build_repo:
name: Build repo
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [ique_v1.5]
suffix: [_rom] # [~, _d, _rom]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install package requirements
run: sudo apt-get install -y build-essential python3
- name: Get extra dependencies
uses: actions/checkout@v3
with:
repository: ${{ secrets.SECRETREPO }}
token: ${{ secrets.SECRETTOKEN }}
path: deps_repo
- name: Get the dependency
run: cp deps_repo/libultra/${{ matrix.version }}/* .
- name: Setup
run: make setup -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }}
- name: Build libultra${{ matrix.suffix }} ${{ matrix.version }}
run: make -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }}

View File

@ -0,0 +1,41 @@
# CI file for GCC/KMC builds
name: Build GCC libgultra
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request_target]
jobs:
build_repo:
name: Build repo
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [I, J, K, L] # [H, I, I_patch, J, K, L]
suffix: [~, _d, _rom]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install package requirements
run: sudo apt-get install -y build-essential python3
- name: Get extra dependencies
uses: actions/checkout@v3
with:
repository: ${{ secrets.SECRETREPO }}
token: ${{ secrets.SECRETTOKEN }}
path: deps_repo
- name: Get the dependency
run: cp deps_repo/libultra/${{ matrix.version }}/* base/${{ matrix.version }}
- name: Setup
run: make setup -j $(nproc) TARGET=libgultra${{ matrix.suffix }} VERSION=${{ matrix.version }}
- name: Build libgultra${{ matrix.suffix }} ${{ matrix.version }}
run: make -j $(nproc) TARGET=libgultra${{ matrix.suffix }} VERSION=${{ matrix.version }}

View File

@ -0,0 +1,41 @@
# CI file for IDO builds
name: Build IDO libultra
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request_target]
jobs:
build_repo:
name: Build repo
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [I, J, K, L] # [E, F, G, H, I, I_patch, J, K, L]
suffix: [~, _rom] # [~, _d, _rom]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install package requirements
run: sudo apt-get install -y build-essential python3 binutils-mips-linux-gnu
- name: Get extra dependencies
uses: actions/checkout@v3
with:
repository: ${{ secrets.SECRETREPO }}
token: ${{ secrets.SECRETTOKEN }}
path: deps_repo
- name: Get the dependency
run: cp deps_repo/libultra/${{ matrix.version }}/* base/${{ matrix.version }}
- name: Setup
run: make setup -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }}
- name: Build libultra${{ matrix.suffix }} ${{ matrix.version }}
run: make -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }}

29
lib/ultralib/.gitignore vendored Normal file
View File

@ -0,0 +1,29 @@
# Cache files
__pycache__/
.pyc
.DS_Store
# Text editor remnants
.vscode/
.vs/
.idea/
CMakeLists.txt
cmake-build-debug
venv/
.venv
# Project-specific ignores
base_*/
build/
expected/
notes/
tools/gcc
tools/ido
*.elf
*.o
*.a
# Tool artifacts
ctx.c
libultra_collection/

12
lib/ultralib/.gitrepo Normal file
View File

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = git@github.com:decompals/ultralib.git
branch = main
commit = 299d7faf8798cbe75e3247ccdf4e65c09f5270dd
parent = a10bb11ed6784c6a16a09b7eb17657d2e1bb303c
method = merge
cmdver = 0.4.6

235
lib/ultralib/Makefile Normal file
View File

@ -0,0 +1,235 @@
COMPARE ?= 1
FIXUPS ?= 0
ifneq ($(FIXUPS),0)
COMPARE := 0
endif
# One of:
# libgultra_rom, libgultra_d, libgultra
# libultra_rom, libultra_d, libultra
TARGET ?= libgultra_rom
VERSION ?= L
CROSS ?= mips-linux-gnu-
BASE_DIR := extracted/$(VERSION)/$(TARGET)
BASE_AR := base/$(VERSION)/$(TARGET).a
BUILD_ROOT := build
BUILD_DIR := $(BUILD_ROOT)/$(VERSION)/$(TARGET)
BUILD_AR := $(BUILD_DIR)/$(TARGET).a
WORKING_DIR := $(shell pwd)
CPP := cpp -P
AR := ar
VERSION_D := 1
VERSION_E := 2
VERSION_F := 3
VERSION_G := 4
VERSION_H := 5
VERSION_I := 6
VERSION_I_P := 7
VERSION_J := 8
VERSION_K := 9
VERSION_L := 10
VERSION_DEFINE := -DBUILD_VERSION=$(VERSION_$(VERSION)) -DBUILD_VERSION_STRING=\"2.0$(VERSION)\"
ifeq ($(findstring _d,$(TARGET)),_d)
DEBUGFLAG := -D_DEBUG
else
DEBUGFLAG := -DNDEBUG
endif
ifeq ($(findstring libgultra,$(TARGET)),libgultra)
-include Makefile.gcc
else ifeq ($(findstring libultra,$(TARGET)),libultra)
-include Makefile.ido
else
$(error Invalid Target)
endif
ifeq ($(findstring _rom,$(TARGET)),_rom)
CPPFLAGS += -D_FINALROM
endif
SRC_DIRS := $(shell find src -type d)
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
S_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.s))
# Versions J and below used the C matrix math implementations
MGU_MATRIX_FILES := mtxcatf normalize scale translate
ifneq ($(filter $(VERSION),D E F G H I I_P J),)
S_FILES := $(filter-out $(addprefix src/mgu/,$(MGU_MATRIX_FILES:=.s)),$(S_FILES))
else
C_FILES := $(filter-out $(addprefix src/gu/,$(MGU_MATRIX_FILES:=.c)),$(C_FILES))
endif
C_O_FILES := $(foreach f,$(C_FILES:.c=.o),$(BUILD_DIR)/$f)
S_O_FILES := $(foreach f,$(S_FILES:.s=.o),$(BUILD_DIR)/$f)
O_FILES := $(S_O_FILES) $(C_O_FILES)
# Because we patch the object file timestamps, we can't use them as the targets since they'll always be older than the C file
# Therefore instead we use marker files that have actual timestamps as the dependencies for the archive
C_MARKER_FILES := $(C_O_FILES:.o=.marker)
S_MARKER_FILES := $(S_O_FILES:.o=.marker)
S_MARKER_FILES := $(filter-out $(MDEBUG_FILES),$(S_MARKER_FILES))
MARKER_FILES := $(C_MARKER_FILES) $(S_MARKER_FILES) $(MDEBUG_FILES)
ifneq ($(COMPARE),0)
COMPARE_OBJ = cmp $(BASE_DIR)/$(@F:.marker=.o) $(@:.marker=.o) && echo "$(@:.marker=.o): OK"
COMPARE_AR = cmp $(BASE_AR) $@ && echo "$@: OK"
ifeq ($(COMPILER),ido)
COMPARE_OBJ = $(CROSS)objcopy -p --strip-debug $(WORKING_DIR)/$(@:.marker=.o) $(WORKING_DIR)/$(@:.marker=.cmp.o) && \
cmp $(BASE_DIR)/.cmp/$(@F:.marker=.cmp.o) $(WORKING_DIR)/$(@:.marker=.cmp.o) && echo "$(@:.marker=.o): OK"
COMPARE_AR = echo "$@: Cannot compare archive currently"
endif
else
COMPARE_OBJ :=
COMPARE_AR :=
AR_OLD := $(AR)
endif
BASE_OBJS := $(wildcard $(BASE_DIR)/*.o)
# Check to make sure the current version has been set up
ifneq ($(COMPARE),0)
ifeq ($(BASE_OBJS),)
# Ignore this check if the user is currently running setup, clean or distclean
ifeq ($(filter $(MAKECMDGOALS),setup clean distclean),)
$(error Current version ($(TARGET) 2.0$(VERSION)) has not been setup!)
endif
endif
endif
AR_OBJECTS := $(shell cat base/$(VERSION)/$(TARGET).txt)
# If the version and target doesn't have a text file yet, resort back to using the base archive to get objects
ifeq ($(AR_OBJECTS),)
AR_OBJECTS := $(shell ar t $(BASE_AR))
endif
# Try to find a file corresponding to an archive file in src/ or the base directory, prioritizing src then the original file
AR_ORDER = $(foreach f,$(AR_OBJECTS),$(shell find $(BUILD_DIR)/src $(BASE_DIR) -iname $f -type f -print -quit))
MATCHED_OBJS = $(filter-out $(BASE_DIR)/%,$(AR_ORDER))
UNMATCHED_OBJS = $(filter-out $(MATCHED_OBJS),$(AR_ORDER))
NUM_OBJS = $(words $(AR_ORDER))
NUM_OBJS_MATCHED = $(words $(MATCHED_OBJS))
NUM_OBJS_UNMATCHED = $(words $(UNMATCHED_OBJS))
$(shell mkdir -p $(BASE_DIR) src $(foreach dir,$(SRC_DIRS),$(BUILD_DIR)/$(dir)))
.PHONY: all clean distclean setup
all: $(BUILD_AR)
$(BUILD_AR): $(MARKER_FILES)
$(AR_OLD) rcs $@ $(AR_ORDER)
ifneq ($(COMPARE),0)
# patch archive creation time and individual files' ownership & permissions
dd bs=1 skip=24 seek=24 count=12 conv=notrunc if=$(BASE_AR) of=$@ status=none
python3 tools/patch_ar_meta.py $@ $(BASE_AR) $(PATCH_AR_FLAGS)
@$(COMPARE_AR)
@echo "Matched: $(NUM_OBJS_MATCHED)/$(NUM_OBJS)"
endif
clean:
$(RM) -rf $(BUILD_DIR)
distclean:
$(MAKE) -C tools distclean
$(RM) -rf extracted/ $(BUILD_ROOT)
setup:
$(MAKE) -C tools
ifneq ($(COMPARE),0)
cd $(BASE_DIR) && $(AR) xo $(WORKING_DIR)/$(BASE_AR)
chmod -R +rw $(BASE_DIR)
ifeq ($(COMPILER),ido)
export CROSS=$(CROSS) && ./tools/strip_debug.sh $(BASE_DIR)
endif
endif
$(BUILD_DIR)/$(BASE_DIR)/%.marker: $(BASE_DIR)/%.o
cp $< $(@:.marker=.o)
ifneq ($(COMPARE),0)
# change file timestamps to match original
@touch -r $(BASE_DIR)/$(@F:.marker=.o) $(@:.marker=.o)
@$(COMPARE_OBJ)
@touch $@
endif
GBIDEFINE := -DF3DEX_GBI
$(BUILD_DIR)/src/gu/parse_gbi.marker: GBIDEFINE := -DF3D_GBI
$(BUILD_DIR)/src/gu/us2dex_emu.marker: GBIDEFINE :=
$(BUILD_DIR)/src/gu/us2dex2_emu.marker: GBIDEFINE :=
$(BUILD_DIR)/src/sp/sprite.marker: GBIDEFINE := -DF3D_GBI
$(BUILD_DIR)/src/sp/spriteex.marker: GBIDEFINE :=
$(BUILD_DIR)/src/sp/spriteex2.marker: GBIDEFINE :=
$(BUILD_DIR)/src/voice/%.marker: OPTFLAGS += -DLANG_JAPANESE -I$(WORKING_DIR)/src -I$(WORKING_DIR)/src/voice
$(BUILD_DIR)/src/voice/%.marker: CC := tools/compile_sjis.py -D__CC=$(WORKING_DIR)/$(CC) -D__BUILD_DIR=$(BUILD_DIR)
$(C_MARKER_FILES): $(BUILD_DIR)/%.marker: %.c
cd $(<D) && $(WORKING_DIR)/$(CC) $(CFLAGS) $(MIPS_VERSION) $(CPPFLAGS) $(OPTFLAGS) $(<F) $(IINC) -o $(WORKING_DIR)/$(@:.marker=.o)
ifneq ($(COMPARE),0)
# check if this file is in the archive; patch corrupted bytes and change file timestamps to match original if so
@$(if $(findstring $(BASE_DIR)/$(@F:.marker=.o), $(BASE_OBJS)), \
python3 tools/fix_objfile.py $(@:.marker=.o) $(BASE_DIR)/$(@F:.marker=.o) $(STRIP) && \
$(COMPARE_OBJ) && \
touch -r $(BASE_DIR)/$(@F:.marker=.o) $(@:.marker=.o), \
echo "Object file $(@F:.marker=.o) is not in the current archive" \
)
endif
ifneq ($(FIXUPS),0)
tools/set_o32abi_bit.py $(WORKING_DIR)/$(@:.marker=.o)
$(CROSS)strip $(WORKING_DIR)/$(@:.marker=.o) -N asdasdasdasd
$(CROSS)objcopy --remove-section .mdebug $(WORKING_DIR)/$(@:.marker=.o)
endif
# create or update the marker file
@touch $@
$(S_MARKER_FILES): $(BUILD_DIR)/%.marker: %.s
cd $(<D) && $(WORKING_DIR)/$(CC) $(ASFLAGS) $(MIPS_VERSION) $(CPPFLAGS) $(ASOPTFLAGS) $(<F) $(IINC) -o $(WORKING_DIR)/$(@:.marker=.o)
ifneq ($(COMPARE),0)
# check if this file is in the archive; patch corrupted bytes and change file timestamps to match original if so
@$(if $(findstring $(BASE_DIR)/$(@F:.marker=.o), $(BASE_OBJS)), \
python3 tools/fix_objfile.py $(@:.marker=.o) $(BASE_DIR)/$(@F:.marker=.o) $(STRIP) && \
$(COMPARE_OBJ) && \
touch -r $(BASE_DIR)/$(@F:.marker=.o) $(@:.marker=.o), \
echo "Object file $(@F:.marker=.o) is not in the current archive" \
)
endif
ifneq ($(FIXUPS),0)
tools/set_o32abi_bit.py $(WORKING_DIR)/$(@:.marker=.o)
$(CROSS)strip $(WORKING_DIR)/$(@:.marker=.o) -N asdasdasdasd
$(CROSS)objcopy --remove-section .mdebug $(WORKING_DIR)/$(@:.marker=.o)
endif
# create or update the marker file
@touch $@
# Rule for building files that require specific file paths in the mdebug section
$(MDEBUG_FILES): $(BUILD_DIR)/src/%.marker: src/%.s
cp $(<:.marker=.s) $(dir $@)
mkdir -p $(@:.marker=)
export USR_INCLUDE=$(WORKING_DIR)/include && cd $(@:.marker=) && $(WORKING_DIR)/$(CC) $(ASFLAGS) $(CPPFLAGS) ../$(<F) -I/usr/include -o $(notdir $(<:.s=.o))
mv $(@:.marker=)/$(<F:.s=.o) $(@:.marker=)/..
ifneq ($(COMPARE),0)
# check if this file is in the archive; patch corrupted bytes and change file timestamps to match original if so
@$(if $(findstring $(BASE_DIR)/$(@F:.marker=.o), $(BASE_OBJS)), \
python3 tools/fix_objfile.py $(@:.marker=.o) $(BASE_DIR)/$(@F:.marker=.o) && \
$(COMPARE_OBJ) && \
touch -r $(BASE_DIR)/$(@F:.marker=.o) $(@:.marker=.o), \
echo "Object file $(@F:.marker=.o) is not in the current archive" \
)
endif
ifneq ($(FIXUPS),0)
tools/set_o32abi_bit.py $(WORKING_DIR)/$(@:.marker=.o)
$(CROSS)strip $(WORKING_DIR)/$(@:.marker=.o) -N asdasdasdasd
$(CROSS)objcopy --remove-section .mdebug $(WORKING_DIR)/$(@:.marker=.o)
endif
# create or update the marker file
@touch $@
# Disable built-in rules
.SUFFIXES:
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true

67
lib/ultralib/Makefile.gcc Normal file
View File

@ -0,0 +1,67 @@
COMPILER := gcc
AS := tools/gcc/as
CC := tools/gcc/gcc
AR_OLD := tools/gcc/ar
PATCH_AR_FLAGS := 0 0 37777700
STRIP =
export COMPILER_PATH := $(WORKING_DIR)/tools/gcc
CFLAGS := -w -nostdinc -c -G 0 -mgp32 -mfp32 -D_LANGUAGE_C
ASFLAGS := -w -nostdinc -c -G 0 -mgp32 -mfp32 -DMIPSEB -D_LANGUAGE_ASSEMBLY -D_MIPS_SIM=1 -D_ULTRA64 -x assembler-with-cpp
CPPFLAGS = -D_MIPS_SZLONG=32 -D__USE_ISOC99 $(GBIDEFINE) $(VERSION_DEFINE) $(DEBUGFLAG)
IINC = -I . -I $(WORKING_DIR)/include -I $(WORKING_DIR)/include/gcc -I $(WORKING_DIR)/include/PR
MIPS_VERSION := -mips3
ASOPTFLAGS :=
ifneq ($(filter $(VERSION),D E F G H I I_P J),)
CFLAGS += -funsigned-char
endif
# 2.0I libgultra_rom was not compiled with -DNDEBUG and instead libgultra had -DNDEBUG
ifneq ($(filter $(VERSION),I I_P),)
ifeq ($(findstring _rom,$(TARGET)),_rom)
DEBUGFLAG :=
else ifeq ($(findstring _d,$(TARGET)),_d)
DEBUGFLAG := -D_DEBUG
else
DEBUGFLAG := -DNDEBUG
endif
endif
ifeq ($(findstring _d,$(TARGET)),_d)
OPTFLAGS := -O0
else
OPTFLAGS := -O3
endif
ifeq ($(findstring _d,$(TARGET)),_d)
$(BUILD_DIR)/src/rmon/%.marker: OPTFLAGS := -O0
endif
# KMC gcc has a custom flag, N64ALIGN, which forces 8 byte alignment on arrays. This can be used to match, but
# an explicit aligned(8) attribute can be used instead. We opted for the latter for better compatibilty with
# other versions of GCC that do not have this flag.
# export N64ALIGN := ON
export VR4300MUL := ON
$(BUILD_DIR)/src/os/initialize_isv.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/os/initialize_isv.marker: STRIP = && tools/gcc/strip-2.7 -N initialize_isv.c $(WORKING_DIR)/$(@:.marker=.o)
$(BUILD_DIR)/src/os/assert.marker: OPTFLAGS := -O0
ifeq ($(filter $(VERSION),D E F G H I I_P),)
$(BUILD_DIR)/src/os/seterrorhandler.marker: OPTFLAGS := -O0
endif
$(BUILD_DIR)/src/mgu/%.marker: export VR4300MUL := OFF
$(BUILD_DIR)/src/mgu/rotate.marker: export VR4300MUL := ON
$(BUILD_DIR)/src/debug/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/error/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/log/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/os/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/gu/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/libc/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/rmon/%.marker: ASFLAGS += -P
$(BUILD_DIR)/src/host/host_ptn64.marker: CFLAGS += -fno-builtin # Probably a better way to solve this
MDEBUG_FILES := $(BUILD_DIR)/src/monutil.marker
$(BUILD_DIR)/src/monutil.marker: CC := tools/ido/cc
$(BUILD_DIR)/src/monutil.marker: ASFLAGS := -non_shared -mips2 -fullwarn -verbose -Xcpluscomm -G 0 -woff 516,649,838,712 -Wab,-r4300_mul -nostdinc -o32 -c

108
lib/ultralib/Makefile.ido Normal file
View File

@ -0,0 +1,108 @@
COMPILER := ido
AS := tools/ido/cc
CC := tools/ido/cc
AR_OLD := tools/ar.py
PATCH_AR_FLAGS := 40001 110 100644
STRIP =
export COMPILER_PATH := $(WORKING_DIR)/tools/ido
CFLAGS := -c -Wab,-r4300_mul -G 0 -nostdinc -Xcpluscomm -fullwarn -woff 516,649,838,712
ASFLAGS := -c -Wab,-r4300_mul -G 0 -nostdinc -woff 516,649,838,712
CPPFLAGS = -D_MIPS_SZLONG=32 $(GBIDEFINE) $(VERSION_DEFINE) $(PICFLAGS) $(DEBUGFLAG)
IINC = -I $(WORKING_DIR)/include -I $(WORKING_DIR)/include/ido -I $(WORKING_DIR)/include/PR
MIPS_VERSION := -mips2 -o32
PICFLAGS := -non_shared
ifeq ($(findstring _d,$(TARGET)),_d)
OPTFLAGS := -O1 -g2
ASOPTFLAGS := -O0 -g2
else
ifneq ($(filter $(VERSION),D E F G H I I_P),)
OPTFLAGS := -O1
else
OPTFLAGS := -O2
endif
ASOPTFLAGS := -O1
endif
ifneq ($(findstring _d,$(TARGET)),_d)
$(BUILD_DIR)/src/debug/%.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/host/%.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/os/%.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/rmon/%.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/libc/ll.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/libc/llbit.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/libc/llcvt.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/log/%.marker: OPTFLAGS := -O1
$(BUILD_DIR)/src/libc/%.marker: ASOPTFLAGS := -O2
$(BUILD_DIR)/src/mgu/%.marker: ASOPTFLAGS := -O2
endif
$(BUILD_DIR)/src/os/initialize_isv.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/libc/ll.marker: MIPS_VERSION := -mips3 -32
$(BUILD_DIR)/src/libc/llbit.marker: MIPS_VERSION := -mips3 -32
$(BUILD_DIR)/src/libc/llcvt.marker: MIPS_VERSION := -mips3 -32
$(BUILD_DIR)/src/os/exceptasm.marker: MIPS_VERSION := -mips3 -32
$(BUILD_DIR)/src/log/delay.marker: MIPS_VERSION := -mips1 -o32
$(BUILD_DIR)/src/log/delay.marker: PICFLAGS := -KPIC
ifneq ($(filter $(VERSION),D E F G H I I_P),)
$(BUILD_DIR)/src/libc/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/sched/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/gu/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/mgu/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/sp/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/audio/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/rg/%.marker: OPTFLAGS := -O3
$(BUILD_DIR)/src/gt/%.marker: OPTFLAGS := -O3
endif
ifneq ($(filter $(VERSION),I_P),)
$(BUILD_DIR)/src/audio/reverb.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/audio/synthesizer.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/audio/drvrnew.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/audio/env.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/audio/save.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakgetstatus.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakcheckconnector.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakpower.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/contreaddata.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakinit.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/pfsgetstatus.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/pimgr.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/devmgr.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/pirawdma.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/conteepprobe.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/conteepwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/contpfs.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/epirawread.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/epirawdma.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/aisetfreq.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/viswapcontext.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/visetspecial.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakreadid.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/cartrominit.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/pfsselectbank.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/contramwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/contramread.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/crc.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/epirawwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/vimgr.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpakreadwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/gbpaksetbank.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/conteepread.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/sprawdma.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/sirawdma.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/sirawread.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/epiread.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/epiwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/io/sirawwrite.marker: OPTFLAGS := -O2
$(BUILD_DIR)/src/libc/syncprintf.marker: OPTFLAGS := -O2
endif

72
lib/ultralib/README.md Normal file
View File

@ -0,0 +1,72 @@
# ultralib
Reverse engineering of libultra
## Compatibility
Currently this repo supports building the following versions:
| IDO / GCC | `libultra.a` / `libgultra.a` | `libultra_d.a` / `libgultra_d.a` | `libultra_rom.a` / `libgultra_rom.a` |
| - | :-: | :-: | :-: |
| 2.0E | :x: / N/A | :x: / N/A | :x: / N/A |
| 2.0F | :x: / N/A | :x: / N/A | :x: / N/A |
| 2.0G | :x: / N/A | :x: / N/A | :x: / N/A |
| 2.0H | N/A / :x: | N/A / :x: | N/A / :x: |
| 2.0I | :heavy_check_mark: / :heavy_check_mark: | :x: / :heavy_check_mark: | :heavy_check_mark: / :heavy_check_mark: |
| 2.0I_patch | :x: / :x: | :x: / :x: | :x: / :x: |
| 2.0J | :heavy_check_mark: / :heavy_check_mark: | :x: / :heavy_check_mark: | :heavy_check_mark: / :heavy_check_mark: |
| 2.0K | :heavy_check_mark: / :heavy_check_mark: | :x: / :heavy_check_mark: | :heavy_check_mark: / :heavy_check_mark: |
| 2.0L | :heavy_check_mark: / :heavy_check_mark: | :x: / :heavy_check_mark: | :heavy_check_mark: / :heavy_check_mark: |
| ique_v1.5 | :x: | :x: | :x: |
## Preparation
After cloning the repo, put a copy of the target archive(s) in their correct version folder in `base/`.
For example, if your target archive is libgultra_rom.a 2.0L then you'd place it in `base/L/`.
If you will be building without a target archive by setting `COMPARE=0` then you can skip this step.
## Build dependencies
The build process requires the following packages:
- build-essential
- python3
- binutils-mips-linux-gnu (libultra* only)
Under Debian / Ubunutu you can install them with the following commands:
```bash
sudo apt update
sudo apt install build-essential python3
```
If building any libultra you can install binutils-mips-linux-gnu with:
```bash
sudo apt install binutils-mips-linux-gnu
```
## Building
Run make setup with the proper flags set followed by make with optional jobs.
For example, if building the 2.0L PC archive you'd do the following:
- `make VERSION=L TARGET=libgultra_rom setup`
- `make VERSION=L TARGET=libgultra_rom`
Every target flag combination requires separate a setup command.
If building without an target archive, than you can use `COMPARE=0` like the the following:
- `make VERSION=L TARGET=libgultra_rom COMPARE=0 setup`
- `make VERSION=L TARGET=libgultra_rom COMPARE=0`
note that running setup without `COMPARE=0` and no archive will result in an error,
and only needs to be run once instead of per target flag combination
If building for use with modern linkers, than you can use `FIXUPS=1` like the the following:
- `make VERSION=L TARGET=libgultra_rom FIXUPS=1 setup`
- `make VERSION=L TARGET=libgultra_rom FIXUPS=1`
note that running with `FIXUPS=1` will automatically set `COMPARE=0`.

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,400 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,370 @@
gt.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guloadtile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,400 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,404 @@
gt.o
dumpturbo.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
errorasm.o
assertbreak.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
error.o
seterrorhandler.o
assert.o
exit.o
profile.o
readhost.o
testhost.o
writehost.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
giorawinterrupt.o
giointerrupt.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
sched.o

View File

@ -0,0 +1,380 @@
gt.o
sqrtf.o
libm_vals.o
align.o
cosf.o
coss.o
frustum.o
lookat.o
lookatref.o
lookathil.o
lookatstereo.o
mtxutil.o
mtxcatf.o
mtxcatl.o
normalize.o
ortho.o
perspective.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
loadtextureblockmipmap.o
guLoadTile_bug.o
position.o
poslight.o
poslighthil.o
random.o
usprite.o
us2dex.o
us2dex_emu.o
exceptasm.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
getintmask.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
invaldcache.o
invalicache.o
interrupt.o
maptlb.o
parameters.o
probetlb.o
setintmask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
unmaptlb.o
unmaptlball.o
writebackdcache.o
writebackdcacheall.o
maptlbrdb.o
atomic.o
createmesgqueue.o
createthread.o
destroythread.o
getactivequeue.o
getthreadid.o
getthreadpri.o
gettime.o
initialize.o
jammesg.o
kdebugserver.o
physicaltovirtual.o
recvmesg.o
resetglobalintmask.o
sendmesg.o
seteventmesg.o
setglobalintmask.o
sethwinterrupt.o
setthreadpri.o
settime.o
settimer.o
startthread.o
stopthread.o
stoptimer.o
syncputchars.o
thread.o
timerintr.o
virtualtophysical.o
yieldthread.o
getcurrfaultthread.o
getnextfaultthread.o
initrdb.o
rdbsend.o
getmemsize.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
color.o
clearattribute.o
hide.o
spscale.o
setattribute.o
show.o
sprite.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
crc.o
contramread.o
contramwrite.o
contpfs.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsselectbank.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
motor.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
leodiskinit.o
leointerrupt.o
driverominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
gbpakcheckconnector.o
gbpakgetbank.o
gbpakgetstatus.o
gbpakinit.o
gbpakpower.o
gbpakreadid.o
gbpakreadwrite.o
gbpaksetbank.o
afterprenmi.o
syncprintf.o
sched.o

View File

@ -0,0 +1,446 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
profile.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
exit.o

View File

@ -0,0 +1,451 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
error.o
seterrorhandler.o
kmcprintf.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
exit.o

View File

@ -0,0 +1,416 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotaterpy.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,446 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
profile.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
exit.o

View File

@ -0,0 +1,451 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
error.o
seterrorhandler.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
exit.o
kmcprintf.o

View File

@ -0,0 +1,418 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
giorawinterrupt.o
giointerrupt.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
mtxcatf.o
mtxcatl.o
mtxutil.o
normalize.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotate.o
rotateRPY.o
scale.o
sinf.o
sins.o
translate.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,468 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
initialize_isv.o
monutil.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,471 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
seterrorhandler.o
commonerror.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
initialize_isv.o
monutil.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,425 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,468 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
initialize_isv.o
monutil.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,471 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
initialize_isv.o
monutil.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
seterrorhandler.o
commonerror.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,427 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
giorawinterrupt.o
giointerrupt.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,483 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
initialize_isv.o
monutil.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,486 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
seterrorhandler.o
commonerror.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
initialize_isv.o
monutil.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,440 @@
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrnew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guloadtile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotaterpy.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteex.o
spriteex2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,483 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
initialize_isv.o
monutil.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,486 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
assertbreak.o
atomic.o
kdebugserver.o
syncputchars.o
assert.o
profile.o
threadprofile.o
threadprofileclear.o
threadprofileinit.o
threadprofilereadcount.o
threadprofilereadtime.o
threadprofilestart.o
threadprofilestop.o
giorawinterrupt.o
giointerrupt.o
gt.o
dumpturbo.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
parse_rdp.o
parse_gbi.o
dump_gbi.o
parse_string.o
rdbsend.o
initrdb.o
ackramromread.o
ackramromwrite.o
host_ptn64.o
readhost.o
testhost.o
writehost.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
delay.o
log.o
logfloat.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
printregion.o
rmonrcp.o
rmonbrk.o
rmoncmds.o
rmonmem.o
rmonmisc.o
rmonprint.o
rmonregs.o
rmontask.o
rmonmain.o
rmonsio.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
initialize_isv.o
monutil.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
errorasm.o
getcurrfaultthread.o
getnextfaultthread.o
seterrorhandler.o
commonerror.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o
initialize_kmc.o
initialize_msp.o
initialize_emu.o
exit.o

View File

@ -0,0 +1,442 @@
ai.o
aigetlen.o
aigetstat.o
aisetfreq.o
aisetnextbuf.o
drvrNew.o
load.o
auxbus.o
bnkf.o
env.o
event.o
filter.o
mainbus.o
resample.o
reverb.o
save.o
seq.o
sl.o
heapcheck.o
heapinit.o
heapalloc.o
copy.o
seqpdelete.o
seqpgetfxmix.o
seqpgetpan.o
seqpgetchlvol.o
seqpgetpriority.o
seqpgetprogram.o
seqpgetseq.o
seqpgettempo.o
seqpgetvol.o
seqpgetstate.o
seqploop.o
seqpplay.o
seqpsendmidi.o
seqpsetbank.o
seqpsetfxmix.o
seqpsetpan.o
seqpsetchlvol.o
seqpsetpriority.o
seqpsetprogram.o
seqpsetseq.o
seqpsettempo.o
seqpsetvol.o
seqpstop.o
seqplayer.o
cseq.o
cspdelete.o
cspgetfxmix.o
cspgetpan.o
cspgetchlvol.o
cspgetpriority.o
cspgetprogram.o
cspgetseq.o
cspgettempo.o
cspgetvol.o
cspgetstate.o
cspplay.o
cspsendmidi.o
cspsetbank.o
cspsetfxmix.o
cspsetpan.o
cspsetchlvol.o
cspsetpriority.o
cspsetprogram.o
cspsetseq.o
cspsettempo.o
cspsetvol.o
cspstop.o
csplayer.o
sndplayer.o
sndpdelete.o
sndpallocate.o
sndpdeallocate.o
sndpsetsound.o
sndpplay.o
sndpplayat.o
sndpgetsound.o
sndpstop.o
sndpgetstate.o
sndpsetpitch.o
sndpsetpriority.o
sndpsetvol.o
sndpsetpan.o
sndpsetfxmix.o
synthesizer.o
syndelete.o
synaddplayer.o
synremoveplayer.o
synfreevoice.o
synallocvoice.o
synstopvoice.o
synstartvoice.o
synstartvoiceparam.o
synsetpitch.o
synsetvol.o
synsetfxmix.o
synsetpan.o
syngetpriority.o
synsetpriority.o
synallocfx.o
synfreefx.o
syngetfxref.o
synsetfxparam.o
cents2ratio.o
parse_abi.o
invaldcache.o
invalicache.o
writebackdcache.o
writebackdcacheall.o
contquery.o
contreaddata.o
contreset.o
controller.o
contsetch.o
physicaltovirtual.o
virtualtophysical.o
atomic.o
kdebugserver.o
syncputchars.o
giorawinterrupt.o
giointerrupt.o
gt.o
libm_vals.o
sqrtf.o
align.o
cosf.o
coss.o
frustum.o
guLoadTile_bug.o
loadtextureblockmipmap.o
lookat.o
lookathil.o
lookatref.o
lookatstereo.o
ortho.o
perspective.o
position.o
poslight.o
poslighthil.o
random.o
rotateRPY.o
sinf.o
sins.o
us2dex.o
us2dex_emu.o
us2dex2_emu.o
usprite.o
rdbsend.o
initrdb.o
bcmp.o
bcopy.o
bzero.o
ll.o
llcvt.o
string.o
ldiv.o
llbit.o
xlitob.o
xldtob.o
xprintf.o
sprintf.o
syncprintf.o
createmesgqueue.o
jammesg.o
recvmesg.o
sendmesg.o
seteventmesg.o
dp.o
dpgetstat.o
dpsetstat.o
dpsetnextbuf.o
dpctr.o
getcause.o
getcompare.o
getconfig.o
getcount.o
getfpccsr.o
getsr.o
gettlbasid.o
gettlbhi.o
gettlblo0.o
gettlblo1.o
gettlbpagemask.o
setcause.o
setcompare.o
setconfig.o
setcount.o
setfpccsr.o
setsr.o
settlbasid.o
getwatchlo.o
setwatchlo.o
region.o
malloc.o
free.o
getbufcount.o
getsize.o
sp.o
spgetstat.o
spsetstat.o
spsetpc.o
sprawread.o
sprawwrite.o
sprawdma.o
sptask.o
sptaskyield.o
sptaskyielded.o
sched.o
si.o
sigetstat.o
sirawread.o
sirawwrite.o
sirawdma.o
siacs.o
crc.o
clearattribute.o
color.o
hide.o
setattribute.o
show.o
sprite.o
spriteEX.o
spriteEX2.o
spscale.o
createthread.o
destroythread.o
getthreadid.o
getthreadpri.o
setthreadpri.o
startthread.o
stopthread.o
thread.o
yieldthread.o
getactivequeue.o
gettime.o
settime.o
settimer.o
stoptimer.o
timerintr.o
maptlb.o
probetlb.o
maptlbrdb.o
unmaptlb.o
unmaptlball.o
vi.o
vigetcurrcontext.o
vigetfield.o
vigetcurrframebuf.o
vigetnextframebuf.o
vigetline.o
vigetmode.o
vigetnextcontext.o
vigetstat.o
vimgr.o
visetevent.o
visetmode.o
visetspecial.o
visetxscale.o
visetyscale.o
viswapbuf.o
viswapcontext.o
vitbl.o
viblack.o
virepeatline.o
vifade.o
viextendvstart.o
vimodentsclpn1.o
vimodentsclpf1.o
vimodentsclan1.o
vimodentsclaf1.o
vimodentsclpn2.o
vimodentsclpf2.o
vimodentsclan2.o
vimodentsclaf2.o
vimodentschpn1.o
vimodentschpf1.o
vimodentschan1.o
vimodentschaf1.o
vimodentschpn2.o
vimodentschpf2.o
vimodepallpn1.o
vimodepallpf1.o
vimodepallan1.o
vimodepallaf1.o
vimodepallpn2.o
vimodepallpf2.o
vimodepallan2.o
vimodepallaf2.o
vimodepalhpn1.o
vimodepalhpf1.o
vimodepalhan1.o
vimodepalhaf1.o
vimodepalhpn2.o
vimodepalhpf2.o
vimodempallpn1.o
vimodempallpf1.o
vimodempallan1.o
vimodempallaf1.o
vimodempallpn2.o
vimodempallpf2.o
vimodempallan2.o
vimodempallaf2.o
vimodempalhpn1.o
vimodempalhpf1.o
vimodempalhan1.o
vimodempalhaf1.o
vimodempalhpn2.o
vimodempalhpf2.o
vimodefpallpn1.o
vimodefpallpf1.o
vimodefpallan1.o
vimodefpallaf1.o
vimodefpallpn2.o
vimodefpallpf2.o
vimodefpallan2.o
vimodefpallaf2.o
vimodefpalhpn1.o
vimodefpalhpf1.o
vimodefpalhan1.o
vimodefpalhaf1.o
vimodefpalhpn2.o
vimodefpalhpf2.o
mtxident.o
mtxidentf.o
mtxf2l.o
mtxl2f.o
mtxcatf.o
scale.o
scalef.o
normalize.o
translate.o
translatef.o
mtxcatl.o
mtxxfml.o
mtxxfmf.o
rotate.o
conteepread.o
conteepwrite.o
conteepprobe.o
conteeplongwrite.o
conteeplongread.o
getcurrfaultthread.o
getnextfaultthread.o
exceptasm.o
interrupt.o
setintmask.o
getintmask.o
sethwinterrupt.o
gethwinterrupt.o
setpiinterrupt.o
setglobalintmask.o
resetglobalintmask.o
pi.o
pigettype.o
pigetstat.o
pirawread.o
pirawwrite.o
pirawdma.o
pigetcmdq.o
pimgr.o
epirawread.o
epirawwrite.o
epirawdma.o
epiwrite.o
epiread.o
epidma.o
epigettype.o
epilinkhandle.o
cartrominit.o
devmgr.o
piacs.o
piwrite.o
piread.o
pidma.o
voicecontrolgain.o
voiceinit.o
voicecheckresult.o
voicecontwrite20.o
voicemaskdictionary.o
voicecheckword.o
voicecontwrite4.o
voicesetadconverter.o
voicecleardictionary.o
voicecrc.o
voicesetword.o
voicecontread2.o
voicegetreaddata.o
voicestartreaddata.o
voicecontread36.o
voicegetstatus.o
voicestopreaddata.o
voicecountsyllables.o
contchannelreset.o
flashgetaddr.o
flashreinit.o
flashchange.o
flashinit.o
flashreadstatus.o
flashreadid.o
flashclearstatus.o
flashallerase.o
flashallerasethrough.o
flashcheckeraseend.o
flashsectorerase.o
flashsectorerasethrough.o
flashwritebuffer.o
flashwritearray.o
flashreadarray.o
gbpakinit.o
gbpakgetstatus.o
gbpaksetbank.o
gbpakgetbank.o
gbpakpower.o
gbpakreadwrite.o
gbpakreadid.o
gbpakcheckconnector.o
motor.o
pfsreformat.o
pfschecker.o
pfsinit.o
pfsallocatefile.o
pfsdeletefile.o
pfsreadwritefile.o
pfsfilestate.o
pfssearchfile.o
pfssetlabel.o
pfsgetlabel.o
pfsisplug.o
pfsfreeblocks.o
pfsnumfiles.o
pfsinitpak.o
pfsrepairid.o
pfsgetstatus.o
pfsselectbank.o
contpfs.o
contramread.o
contramwrite.o
parameters.o
afterprenmi.o
getmemsize.o
initialize.o

View File

@ -0,0 +1,453 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/**************************************************************************
*
* $Revision: 1.13 $
* $Date: 1997/02/11 08:15:34 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/R4300.h,v $
*
**************************************************************************/
#ifndef __R4300_H__
#define __R4300_H__
#include <PR/ultratypes.h>
/*
* Segment base addresses and sizes
*/
#define KUBASE 0
#define KUSIZE 0x80000000
#define K0BASE 0x80000000
#define K0SIZE 0x20000000
#define K1BASE 0xA0000000
#define K1SIZE 0x20000000
#define K2BASE 0xC0000000
#define K2SIZE 0x20000000
/*
* Exception vectors
*/
#define SIZE_EXCVEC 0x80 /* Size of an exc. vec */
#define UT_VEC K0BASE /* utlbmiss vector */
#define R_VEC (K1BASE+0x1fc00000) /* reset vector */
#define XUT_VEC (K0BASE+0x80) /* extended address tlbmiss */
#define ECC_VEC (K0BASE+0x100) /* Ecc exception vector */
#define E_VEC (K0BASE+0x180) /* Gen. exception vector */
/*
* Address conversion macros
*/
#ifdef _LANGUAGE_ASSEMBLY
#define K0_TO_K1(x) ((x)|0xA0000000) /* kseg0 to kseg1 */
#define K1_TO_K0(x) ((x)&0x9FFFFFFF) /* kseg1 to kseg0 */
#define K0_TO_PHYS(x) ((x)&0x1FFFFFFF) /* kseg0 to physical */
#define K1_TO_PHYS(x) ((x)&0x1FFFFFFF) /* kseg1 to physical */
#define KDM_TO_PHYS(x) ((x)&0x1FFFFFFF) /* direct mapped to physical */
#define PHYS_TO_K0(x) ((x)|0x80000000) /* physical to kseg0 */
#define PHYS_TO_K1(x) ((x)|0xA0000000) /* physical to kseg1 */
#else /* _LANGUAGE_C */
#define K0_TO_K1(x) ((u32)(x)|0xA0000000) /* kseg0 to kseg1 */
#define K1_TO_K0(x) ((u32)(x)&0x9FFFFFFF) /* kseg1 to kseg0 */
#define K0_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF) /* kseg0 to physical */
#define K1_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF) /* kseg1 to physical */
#define KDM_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF) /* direct mapped to physical */
#define PHYS_TO_K0(x) ((u32)(x)|0x80000000) /* physical to kseg0 */
#define PHYS_TO_K1(x) ((u32)(x)|0xA0000000) /* physical to kseg1 */
#endif /* _LANGUAGE_ASSEMBLY */
/*
* Address predicates
*/
#define IS_KSEG0(x) ((u32)(x) >= K0BASE && (u32)(x) < K1BASE)
#define IS_KSEG1(x) ((u32)(x) >= K1BASE && (u32)(x) < K2BASE)
#define IS_KSEGDM(x) ((u32)(x) >= K0BASE && (u32)(x) < K2BASE)
#define IS_KSEG2(x) ((u32)(x) >= K2BASE && (u32)(x) < KPTE_SHDUBASE)
#define IS_KPTESEG(x) ((u32)(x) >= KPTE_SHDUBASE)
#define IS_KUSEG(x) ((u32)(x) < K0BASE)
/*
* TLB size constants
*/
#define NTLBENTRIES 31 /* entry 31 is reserved by rdb */
#define TLBHI_VPN2MASK 0xffffe000
#define TLBHI_VPN2SHIFT 13
#define TLBHI_PIDMASK 0xff
#define TLBHI_PIDSHIFT 0
#define TLBHI_NPID 255 /* 255 to fit in 8 bits */
#define TLBLO_PFNMASK 0x3fffffc0
#define TLBLO_PFNSHIFT 6
#define TLBLO_CACHMASK 0x38 /* cache coherency algorithm */
#define TLBLO_CACHSHIFT 3
#define TLBLO_UNCACHED 0x10 /* not cached */
#define TLBLO_NONCOHRNT 0x18 /* Cacheable non-coherent */
#define TLBLO_EXLWR 0x28 /* Exclusive write */
#define TLBLO_D 0x4 /* writeable */
#define TLBLO_V 0x2 /* valid bit */
#define TLBLO_G 0x1 /* global access bit */
#define TLBINX_PROBE 0x80000000
#define TLBINX_INXMASK 0x3f
#define TLBINX_INXSHIFT 0
#define TLBRAND_RANDMASK 0x3f
#define TLBRAND_RANDSHIFT 0
#define TLBWIRED_WIREDMASK 0x3f
#define TLBCTXT_BASEMASK 0xff800000
#define TLBCTXT_BASESHIFT 23
#define TLBCTXT_BASEBITS 9
#define TLBCTXT_VPNMASK 0x7ffff0
#define TLBCTXT_VPNSHIFT 4
#define TLBPGMASK_4K 0x0
#define TLBPGMASK_16K 0x6000
#define TLBPGMASK_64K 0x1e000
/*
* Status register
*/
#define SR_CUMASK 0xf0000000 /* coproc usable bits */
#define SR_CU3 0x80000000 /* Coprocessor 3 usable */
#define SR_CU2 0x40000000 /* Coprocessor 2 usable */
#define SR_CU1 0x20000000 /* Coprocessor 1 usable */
#define SR_CU0 0x10000000 /* Coprocessor 0 usable */
#define SR_RP 0x08000000 /* Reduced power (quarter speed) */
#define SR_FR 0x04000000 /* MIPS III FP register mode */
#define SR_RE 0x02000000 /* Reverse endian */
#define SR_ITS 0x01000000 /* Instruction trace support */
#define SR_BEV 0x00400000 /* Use boot exception vectors */
#define SR_TS 0x00200000 /* TLB shutdown */
#define SR_SR 0x00100000 /* Soft reset occured */
#define SR_CH 0x00040000 /* Cache hit for last 'cache' op */
#define SR_CE 0x00020000 /* Create ECC */
#define SR_DE 0x00010000 /* ECC of parity does not cause error */
/*
* Interrupt enable bits
* (NOTE: bits set to 1 enable the corresponding level interrupt)
*/
#define SR_IMASK 0x0000ff00 /* Interrupt mask */
#define SR_IMASK8 0x00000000 /* mask level 8 */
#define SR_IMASK7 0x00008000 /* mask level 7 */
#define SR_IMASK6 0x0000c000 /* mask level 6 */
#define SR_IMASK5 0x0000e000 /* mask level 5 */
#define SR_IMASK4 0x0000f000 /* mask level 4 */
#define SR_IMASK3 0x0000f800 /* mask level 3 */
#define SR_IMASK2 0x0000fc00 /* mask level 2 */
#define SR_IMASK1 0x0000fe00 /* mask level 1 */
#define SR_IMASK0 0x0000ff00 /* mask level 0 */
#define SR_IBIT8 0x00008000 /* bit level 8 */
#define SR_IBIT7 0x00004000 /* bit level 7 */
#define SR_IBIT6 0x00002000 /* bit level 6 */
#define SR_IBIT5 0x00001000 /* bit level 5 */
#define SR_IBIT4 0x00000800 /* bit level 4 */
#define SR_IBIT3 0x00000400 /* bit level 3 */
#define SR_IBIT2 0x00000200 /* bit level 2 */
#define SR_IBIT1 0x00000100 /* bit level 1 */
#define SR_IMASKSHIFT 8
#define SR_KX 0x00000080 /* extended-addr TLB vec in kernel */
#define SR_SX 0x00000040 /* xtended-addr TLB vec supervisor */
#define SR_UX 0x00000020 /* xtended-addr TLB vec in user mode */
#define SR_KSU_MASK 0x00000018 /* mode mask */
#define SR_KSU_USR 0x00000010 /* user mode */
#define SR_KSU_SUP 0x00000008 /* supervisor mode */
#define SR_KSU_KER 0x00000000 /* kernel mode */
#define SR_ERL 0x00000004 /* Error level, 1=>cache error */
#define SR_EXL 0x00000002 /* Exception level, 1=>exception */
#define SR_IE 0x00000001 /* interrupt enable, 1=>enable */
/*
* Cause Register
*/
#define CAUSE_BD 0x80000000 /* Branch delay slot */
#define CAUSE_CEMASK 0x30000000 /* coprocessor error */
#define CAUSE_CESHIFT 28
/* Interrupt pending bits */
#define CAUSE_IP8 0x00008000 /* External level 8 pending - COMPARE */
#define CAUSE_IP7 0x00004000 /* External level 7 pending - INT4 */
#define CAUSE_IP6 0x00002000 /* External level 6 pending - INT3 */
#define CAUSE_IP5 0x00001000 /* External level 5 pending - INT2 */
#define CAUSE_IP4 0x00000800 /* External level 4 pending - INT1 */
#define CAUSE_IP3 0x00000400 /* External level 3 pending - INT0 */
#define CAUSE_SW2 0x00000200 /* Software level 2 pending */
#define CAUSE_SW1 0x00000100 /* Software level 1 pending */
#define CAUSE_IPMASK 0x0000FF00 /* Pending interrupt mask */
#define CAUSE_IPSHIFT 8
#define CAUSE_EXCMASK 0x0000007C /* Cause code bits */
#define CAUSE_EXCSHIFT 2
/* Cause register exception codes */
#define EXC_CODE(x) ((x)<<2)
/* Hardware exception codes */
#define EXC_INT EXC_CODE(0) /* interrupt */
#define EXC_MOD EXC_CODE(1) /* TLB mod */
#define EXC_RMISS EXC_CODE(2) /* Read TLB Miss */
#define EXC_WMISS EXC_CODE(3) /* Write TLB Miss */
#define EXC_RADE EXC_CODE(4) /* Read Address Error */
#define EXC_WADE EXC_CODE(5) /* Write Address Error */
#define EXC_IBE EXC_CODE(6) /* Instruction Bus Error */
#define EXC_DBE EXC_CODE(7) /* Data Bus Error */
#define EXC_SYSCALL EXC_CODE(8) /* SYSCALL */
#define EXC_BREAK EXC_CODE(9) /* BREAKpoint */
#define EXC_II EXC_CODE(10) /* Illegal Instruction */
#define EXC_CPU EXC_CODE(11) /* CoProcessor Unusable */
#define EXC_OV EXC_CODE(12) /* OVerflow */
#define EXC_TRAP EXC_CODE(13) /* Trap exception */
#define EXC_VCEI EXC_CODE(14) /* Virt. Coherency on Inst. fetch */
#define EXC_FPE EXC_CODE(15) /* Floating Point Exception */
#define EXC_WATCH EXC_CODE(23) /* Watchpoint reference */
#define EXC_VCED EXC_CODE(31) /* Virt. Coherency on data read */
/* C0_PRID Defines */
#define C0_IMPMASK 0xff00
#define C0_IMPSHIFT 8
#define C0_REVMASK 0xff
#define C0_MAJREVMASK 0xf0
#define C0_MAJREVSHIFT 4
#define C0_MINREVMASK 0xf
/*
* Coprocessor 0 operations
*/
#define C0_READI 0x1 /* read ITLB entry addressed by C0_INDEX */
#define C0_WRITEI 0x2 /* write ITLB entry addressed by C0_INDEX */
#define C0_WRITER 0x6 /* write ITLB entry addressed by C0_RAND */
#define C0_PROBE 0x8 /* probe for ITLB entry addressed by TLBHI */
#define C0_RFE 0x10 /* restore for exception */
/*
* 'cache' instruction definitions
*/
/* Target cache */
#define CACH_PI 0x0 /* specifies primary inst. cache */
#define CACH_PD 0x1 /* primary data cache */
#define CACH_SI 0x2 /* secondary instruction cache */
#define CACH_SD 0x3 /* secondary data cache */
/* Cache operations */
#define C_IINV 0x0 /* index invalidate (inst, 2nd inst) */
#define C_IWBINV 0x0 /* index writeback inval (d, sd) */
#define C_ILT 0x4 /* index load tag (all) */
#define C_IST 0x8 /* index store tag (all) */
#define C_CDX 0xc /* create dirty exclusive (d, sd) */
#define C_HINV 0x10 /* hit invalidate (all) */
#define C_HWBINV 0x14 /* hit writeback inv. (d, sd) */
#define C_FILL 0x14 /* fill (i) */
#define C_HWB 0x18 /* hit writeback (i, d, sd) */
#define C_HSV 0x1c /* hit set virt. (si, sd) */
/*
* Cache size definitions
*/
#define ICACHE_SIZE 0x4000 /* 16K */
#define ICACHE_LINESIZE 32 /* 8 words */
#define ICACHE_LINEMASK (ICACHE_LINESIZE-1)
#define DCACHE_SIZE 0x2000 /* 8K */
#define DCACHE_LINESIZE 16 /* 4 words */
#define DCACHE_LINEMASK (DCACHE_LINESIZE-1)
/*
* C0_CONFIG register definitions
*/
#define CONFIG_CM 0x80000000 /* 1 == Master-Checker enabled */
#define CONFIG_EC 0x70000000 /* System Clock ratio */
#define CONFIG_EC_1_1 0x6 /* System Clock ratio 1 :1 */
#define CONFIG_EC_3_2 0x7 /* System Clock ratio 1.5 :1 */
#define CONFIG_EC_2_1 0x0 /* System Clock ratio 2 :1 */
#define CONFIG_EC_3_1 0x1 /* System Clock ratio 3 :1 */
#define CONFIG_EP 0x0f000000 /* Transmit Data Pattern */
#define CONFIG_SB 0x00c00000 /* Secondary cache block size */
#define CONFIG_SS 0x00200000 /* Split scache: 0 == I&D combined */
#define CONFIG_SW 0x00100000 /* scache port: 0==128, 1==64 */
#define CONFIG_EW 0x000c0000 /* System Port width: 0==64, 1==32 */
#define CONFIG_SC 0x00020000 /* 0 -> 2nd cache present */
#define CONFIG_SM 0x00010000 /* 0 -> Dirty Shared Coherency enabled*/
#define CONFIG_BE 0x00008000 /* Endian-ness: 1 --> BE */
#define CONFIG_EM 0x00004000 /* 1 -> ECC mode, 0 -> parity */
#define CONFIG_EB 0x00002000 /* Block order:1->sequent,0->subblock */
#define CONFIG_IC 0x00000e00 /* Primary Icache size */
#define CONFIG_DC 0x000001c0 /* Primary Dcache size */
#define CONFIG_IB 0x00000020 /* Icache block size */
#define CONFIG_DB 0x00000010 /* Dcache block size */
#define CONFIG_CU 0x00000008 /* Update on Store-conditional */
#define CONFIG_K0 0x00000007 /* K0SEG Coherency algorithm */
#define CONFIG_UNCACHED 0x00000002 /* K0 is uncached */
#define CONFIG_NONCOHRNT 0x00000003
#define CONFIG_COHRNT_EXLWR 0x00000005
#define CONFIG_SB_SHFT 22 /* shift SB to bit position 0 */
#define CONFIG_IC_SHFT 9 /* shift IC to bit position 0 */
#define CONFIG_DC_SHFT 6 /* shift DC to bit position 0 */
#define CONFIG_BE_SHFT 15 /* shift BE to bit position 0 */
/*
* C0_TAGLO definitions for setting/getting cache states and physaddr bits
*/
#define SADDRMASK 0xFFFFE000 /* 31..13 -> scache paddr bits 35..17 */
#define SVINDEXMASK 0x00000380 /* 9..7: prim virt index bits 14..12 */
#define SSTATEMASK 0x00001c00 /* bits 12..10 hold scache line state */
#define SINVALID 0x00000000 /* invalid --> 000 == state 0 */
#define SCLEANEXCL 0x00001000 /* clean exclusive --> 100 == state 4 */
#define SDIRTYEXCL 0x00001400 /* dirty exclusive --> 101 == state 5 */
#define SECC_MASK 0x0000007f /* low 7 bits are ecc for the tag */
#define SADDR_SHIFT 4 /* shift STagLo (31..13) to 35..17 */
#define PADDRMASK 0xFFFFFF00 /* PTagLo31..8->prim paddr bits35..12 */
#define PADDR_SHIFT 4 /* roll bits 35..12 down to 31..8 */
#define PSTATEMASK 0x00C0 /* bits 7..6 hold primary line state */
#define PINVALID 0x0000 /* invalid --> 000 == state 0 */
#define PCLEANEXCL 0x0080 /* clean exclusive --> 10 == state 2 */
#define PDIRTYEXCL 0x00C0 /* dirty exclusive --> 11 == state 3 */
#define PPARITY_MASK 0x0001 /* low bit is parity bit (even). */
/*
* C0_CACHE_ERR definitions.
*/
#define CACHERR_ER 0x80000000 /* 0: inst ref, 1: data ref */
#define CACHERR_EC 0x40000000 /* 0: primary, 1: secondary */
#define CACHERR_ED 0x20000000 /* 1: data error */
#define CACHERR_ET 0x10000000 /* 1: tag error */
#define CACHERR_ES 0x08000000 /* 1: external ref, e.g. snoop*/
#define CACHERR_EE 0x04000000 /* error on SysAD bus */
#define CACHERR_EB 0x02000000 /* complicated, see spec. */
#define CACHERR_EI 0x01000000 /* complicated, see spec. */
#define CACHERR_SIDX_MASK 0x003ffff8 /* secondary cache index */
#define CACHERR_PIDX_MASK 0x00000007 /* primary cache index */
#define CACHERR_PIDX_SHIFT 12 /* bits 2..0 are paddr14..12 */
/* R4000 family supports hardware watchpoints:
* C0_WATCHLO:
* bits 31..3 are bits 31..3 of physaddr to watch
* bit 2: reserved; must be written as 0.
* bit 1: when set causes a watchpoint trap on load accesses to paddr.
* bit 0: when set traps on stores to paddr;
* C0_WATCHHI
* bits 31..4 are reserved and must be written as zeros.
* bits 3..0 are bits 35..32 of the physaddr to watch
*/
#define WATCHLO_WTRAP 0x00000001
#define WATCHLO_RTRAP 0x00000002
#define WATCHLO_ADDRMASK 0xfffffff8
#define WATCHLO_VALIDMASK 0xfffffffb
#define WATCHHI_VALIDMASK 0x0000000f
/*
* Coprocessor 0 registers
*/
#ifdef _LANGUAGE_ASSEMBLY
#define C0_INX $0
#define C0_RAND $1
#define C0_ENTRYLO0 $2
#define C0_ENTRYLO1 $3
#define C0_CONTEXT $4
#define C0_PAGEMASK $5 /* page mask */
#define C0_WIRED $6 /* # wired entries in tlb */
#define C0_BADVADDR $8
#define C0_COUNT $9 /* free-running counter */
#define C0_ENTRYHI $10
#define C0_SR $12
#define C0_CAUSE $13
#define C0_EPC $14
#define C0_PRID $15 /* revision identifier */
#define C0_COMPARE $11 /* counter comparison reg. */
#define C0_CONFIG $16 /* hardware configuration */
#define C0_LLADDR $17 /* load linked address */
#define C0_WATCHLO $18 /* watchpoint */
#define C0_WATCHHI $19 /* watchpoint */
#define C0_ECC $26 /* S-cache ECC and primary parity */
#define C0_CACHE_ERR $27 /* cache error status */
#define C0_TAGLO $28 /* cache operations */
#define C0_TAGHI $29 /* cache operations */
#define C0_ERROR_EPC $30 /* ECC error prg. counter */
# else /* ! _LANGUAGE_ASSEMBLY */
#define C0_INX 0
#define C0_RAND 1
#define C0_ENTRYLO0 2
#define C0_ENTRYLO1 3
#define C0_CONTEXT 4
#define C0_PAGEMASK 5 /* page mask */
#define C0_WIRED 6 /* # wired entries in tlb */
#define C0_BADVADDR 8
#define C0_COUNT 9 /* free-running counter */
#define C0_ENTRYHI 10
#define C0_SR 12
#define C0_CAUSE 13
#define C0_EPC 14
#define C0_PRID 15 /* revision identifier */
#define C0_COMPARE 11 /* counter comparison reg. */
#define C0_CONFIG 16 /* hardware configuration */
#define C0_LLADDR 17 /* load linked address */
#define C0_WATCHLO 18 /* watchpoint */
#define C0_WATCHHI 19 /* watchpoint */
#define C0_ECC 26 /* S-cache ECC and primary parity */
#define C0_CACHE_ERR 27 /* cache error status */
#define C0_TAGLO 28 /* cache operations */
#define C0_TAGHI 29 /* cache operations */
#define C0_ERROR_EPC 30 /* ECC error prg. counter */
#endif /* _LANGUAGE_ASSEMBLY */
/*
* floating-point status register
*/
#define FPCSR_FS 0x01000000 /* flush denorm to zero */
#define FPCSR_C 0x00800000 /* condition bit */
#define FPCSR_CE 0x00020000 /* cause: unimplemented operation */
#define FPCSR_CV 0x00010000 /* cause: invalid operation */
#define FPCSR_CZ 0x00008000 /* cause: division by zero */
#define FPCSR_CO 0x00004000 /* cause: overflow */
#define FPCSR_CU 0x00002000 /* cause: underflow */
#define FPCSR_CI 0x00001000 /* cause: inexact operation */
#define FPCSR_EV 0x00000800 /* enable: invalid operation */
#define FPCSR_EZ 0x00000400 /* enable: division by zero */
#define FPCSR_EO 0x00000200 /* enable: overflow */
#define FPCSR_EU 0x00000100 /* enable: underflow */
#define FPCSR_EI 0x00000080 /* enable: inexact operation */
#define FPCSR_FV 0x00000040 /* flag: invalid operation */
#define FPCSR_FZ 0x00000020 /* flag: division by zero */
#define FPCSR_FO 0x00000010 /* flag: overflow */
#define FPCSR_FU 0x00000008 /* flag: underflow */
#define FPCSR_FI 0x00000004 /* flag: inexact operation */
#define FPCSR_RM_MASK 0x00000003 /* rounding mode mask */
#define FPCSR_RM_RN 0x00000000 /* round to nearest */
#define FPCSR_RM_RZ 0x00000001 /* round to zero */
#define FPCSR_RM_RP 0x00000002 /* round to positive infinity */
#define FPCSR_RM_RM 0x00000003 /* round to negative infinity */
#endif /* __R4300_H */

View File

@ -0,0 +1,410 @@
#ifndef _ABI_H_
#define _ABI_H_
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/**************************************************************************
*
* $Revision: 1.32 $
* $Date: 1997/02/11 08:16:37 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/abi.h,v $
*
**************************************************************************/
/*
* Header file for the Audio Binary Interface.
* This is included in the Media Binary Interface file
* mbi.h.
*
* This file follows the framework used for graphics.
*
*/
/* Audio commands: */
#define A_SPNOOP 0
#define A_ADPCM 1
#define A_CLEARBUFF 2
#define A_ENVMIXER 3
#define A_LOADBUFF 4
#define A_RESAMPLE 5
#define A_SAVEBUFF 6
#define A_SEGMENT 7
#define A_SETBUFF 8
#define A_SETVOL 9
#define A_DMEMMOVE 10
#define A_LOADADPCM 11
#define A_MIXER 12
#define A_INTERLEAVE 13
#define A_POLEF 14
#define A_SETLOOP 15
#define ACMD_SIZE 32
/*
* Audio flags
*/
#define A_INIT 0x01
#define A_CONTINUE 0x00
#define A_LOOP 0x02
#define A_OUT 0x02
#define A_LEFT 0x02
#define A_RIGHT 0x00
#define A_VOL 0x04
#define A_RATE 0x00
#define A_AUX 0x08
#define A_NOAUX 0x00
#define A_MAIN 0x00
#define A_MIX 0x10
/*
* BEGIN C-specific section: (typedef's)
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/*
* Data Structures.
*/
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int gain:16;
unsigned int addr;
} Aadpcm;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int gain:16;
unsigned int addr;
} Apolef;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int pad1:16;
unsigned int addr;
} Aenvelope;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:8;
unsigned int dmem:16;
unsigned int pad2:16;
unsigned int count:16;
} Aclearbuff;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:8;
unsigned int pad2:16;
unsigned int inL:16;
unsigned int inR:16;
} Ainterleave;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:24;
unsigned int addr;
} Aloadbuff;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int pad1:16;
unsigned int addr;
} Aenvmixer;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int gain:16;
unsigned int dmemi:16;
unsigned int dmemo:16;
} Amixer;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int dmem2:16;
unsigned int addr;
} Apan;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int pitch:16;
unsigned int addr;
} Aresample;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int pad1:16;
unsigned int addr;
} Areverb;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:24;
unsigned int addr;
} Asavebuff;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:24;
unsigned int pad2:2;
unsigned int number:4;
unsigned int base:24;
} Asegment;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int dmemin:16;
unsigned int dmemout:16;
unsigned int count:16;
} Asetbuff;
typedef struct {
unsigned int cmd:8;
unsigned int flags:8;
unsigned int vol:16;
unsigned int voltgt:16;
unsigned int volrate:16;
} Asetvol;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:8;
unsigned int dmemin:16;
unsigned int dmemout:16;
unsigned int count:16;
} Admemmove;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:8;
unsigned int count:16;
unsigned int addr;
} Aloadadpcm;
typedef struct {
unsigned int cmd:8;
unsigned int pad1:8;
unsigned int pad2:16;
unsigned int addr;
} Asetloop;
/*
* Generic Acmd Packet
*/
typedef struct {
unsigned int w0;
unsigned int w1;
} Awords;
typedef union {
Awords words;
Aadpcm adpcm;
Apolef polef;
Aclearbuff clearbuff;
Aenvelope envelope;
Ainterleave interleave;
Aloadbuff loadbuff;
Aenvmixer envmixer;
Aresample resample;
Areverb reverb;
Asavebuff savebuff;
Asegment segment;
Asetbuff setbuff;
Asetvol setvol;
Admemmove dmemmove;
Aloadadpcm loadadpcm;
Amixer mixer;
Asetloop setloop;
long long int force_union_align; /* dummy, force alignment */
} Acmd;
/*
* ADPCM State
*/
#define ADPCMVSIZE 8
#define ADPCMFSIZE 16
typedef short ADPCM_STATE[ADPCMFSIZE];
/*
* Pole filter state
*/
typedef short POLEF_STATE[4];
/*
* Resampler state
*/
typedef short RESAMPLE_STATE[16];
/*
* Resampler constants
*/
#define UNITY_PITCH 0x8000
#define MAX_RATIO 1.99996 /* within .03 cents of +1 octave */
/*
* Enveloper/Mixer state
*/
typedef short ENVMIX_STATE[40];
/*
* Macros to assemble the audio command list
*/
#define aADPCMdec(pkt, f, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_ADPCM, 24, 8) | _SHIFTL(f, 16, 8); \
_a->words.w1 = (unsigned int)(s); \
}
#define aPoleFilter(pkt, f, g, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_POLEF, 24, 8) | _SHIFTL(f, 16, 8) | \
_SHIFTL(g, 0, 16)); \
_a->words.w1 = (unsigned int)(s); \
}
#define aClearBuffer(pkt, d, c) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_CLEARBUFF, 24, 8) | _SHIFTL(d, 0, 24); \
_a->words.w1 = (unsigned int)(c); \
}
#define aEnvMixer(pkt, f, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_ENVMIXER, 24, 8) | _SHIFTL(f, 16, 8); \
_a->words.w1 = (unsigned int)(s); \
}
#define aInterleave(pkt, l, r) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_INTERLEAVE, 24, 8); \
_a->words.w1 = _SHIFTL(l, 16, 16) | _SHIFTL(r, 0, 16); \
}
#define aLoadBuffer(pkt, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_LOADBUFF, 24, 8); \
_a->words.w1 = (unsigned int)(s); \
}
#define aMix(pkt, f, g, i, o) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_MIXER, 24, 8) | _SHIFTL(f, 16, 8) | \
_SHIFTL(g, 0, 16)); \
_a->words.w1 = _SHIFTL(i,16, 16) | _SHIFTL(o, 0, 16); \
}
#define aPan(pkt, f, d, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_PAN, 24, 8) | _SHIFTL(f, 16, 8) | \
_SHIFTL(d, 0, 16)); \
_a->words.w1 = (unsigned int)(s); \
}
#define aResample(pkt, f, p, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_RESAMPLE, 24, 8) | _SHIFTL(f, 16, 8) |\
_SHIFTL(p, 0, 16)); \
_a->words.w1 = (unsigned int)(s); \
}
#define aSaveBuffer(pkt, s) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_SAVEBUFF, 24, 8); \
_a->words.w1 = (unsigned int)(s); \
}
#define aSegment(pkt, s, b) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_SEGMENT, 24, 8); \
_a->words.w1 = _SHIFTL(s, 24, 8) | _SHIFTL(b, 0, 24); \
}
#define aSetBuffer(pkt, f, i, o, c) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_SETBUFF, 24, 8) | _SHIFTL(f, 16, 8) | \
_SHIFTL(i, 0, 16)); \
_a->words.w1 = _SHIFTL(o, 16, 16) | _SHIFTL(c, 0, 16); \
}
#define aSetVolume(pkt, f, v, t, r) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = (_SHIFTL(A_SETVOL, 24, 8) | _SHIFTL(f, 16, 16) | \
_SHIFTL(v, 0, 16)); \
_a->words.w1 = _SHIFTL(t, 16, 16) | _SHIFTL(r, 0, 16); \
}
#define aSetLoop(pkt, a) \
{ \
Acmd *_a = (Acmd *)pkt; \
_a->words.w0 = _SHIFTL(A_SETLOOP, 24, 8); \
_a->words.w1 = (unsigned int)(a); \
}
#define aDMEMMove(pkt, i, o, c) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_DMEMMOVE, 24, 8) | _SHIFTL(i, 0, 24); \
_a->words.w1 = _SHIFTL(o, 16, 16) | _SHIFTL(c, 0, 16); \
}
#define aLoadADPCM(pkt, c, d) \
{ \
Acmd *_a = (Acmd *)pkt; \
\
_a->words.w0 = _SHIFTL(A_LOADADPCM, 24, 8) | _SHIFTL(c, 0, 24); \
_a->words.w1 = (unsigned int) d; \
}
#endif /* _LANGUAGE_C */
#endif /* !_ABI_H_ */

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,392 @@
/*---------------------------------------------------------------------
Copyright (C) 1997, Nintendo.
File gs2dex.h
Coded by Yoshitaka Yasumoto. Jul 31, 1997.
Modified by
Comments Header file for S2DEX ucode.
$Id: gs2dex.h,v 1.21 1998/05/28 00:14:49 has Exp $
---------------------------------------------------------------------*/
#ifndef _GS2DEX_H_
#define _GS2DEX_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
/*===========================================================================*
* Macro
*===========================================================================*/
#define GS_CALC_DXT(line) (((1<< G_TX_DXT_FRAC)-1)/(line)+1)
#define GS_PIX2TMEM(pix, siz) ((pix)>>(4-(siz)))
#define GS_PIX2DXT(pix, siz) GS_CALC_DXT(GS_PIX2TMEM((pix), (siz)))
/*===========================================================================*
* Data structures for S2DEX microcode
*===========================================================================*/
/*---------------------------------------------------------------------------*
* Background
*---------------------------------------------------------------------------*/
#define G_BGLT_LOADBLOCK 0x0033
#define G_BGLT_LOADTILE 0xfff4
#define G_BG_FLAG_FLIPS 0x01
#define G_BG_FLAG_FLIPT 0x10
/* Non scalable background plane */
typedef struct {
u16 imageX; /* x-coordinate of upper-left position of texture (u10.5) */
u16 imageW; /* width of the texture (u10.2) */
s16 frameX; /* upper-left position of transferred frame (s10.2) */
u16 frameW; /* width of transferred frame (u10.2) */
u16 imageY; /* y-coordinate of upper-left position of texture (u10.5) */
u16 imageH; /* height of the texture (u10.2) */
s16 frameY; /* upper-left position of transferred frame (s10.2) */
u16 frameH; /* height of transferred frame (u10.2) */
u64 *imagePtr; /* texture source address on DRAM */
u16 imageLoad; /* which to use, LoadBlock or LoadTile */
u8 imageFmt; /* format of texel - G_IM_FMT_* */
u8 imageSiz; /* size of texel - G_IM_SIZ_* */
u16 imagePal; /* pallet number */
u16 imageFlip; /* right & left image inversion (Inverted by G_BG_FLAG_FLIPS) */
/* The following is set in the initialization routine guS2DInitBg(). There is no need for the user to set it. */
u16 tmemW; /* TMEM width and Word size of frame 1 line.
At LoadBlock, GS_PIX2TMEM(imageW/4,imageSiz)
At LoadTile GS_PIX2TMEM(frameW/4,imageSiz)+1 */
u16 tmemH; /* height of TMEM loadable at a time (s13.2) 4 times value
When the normal texture, 512/tmemW*4
When the CI texture, 256/tmemW*4 */
u16 tmemLoadSH; /* SH value
At LoadBlock, tmemSize/2-1
At LoadTile, tmemW*16-1 */
u16 tmemLoadTH; /* TH value or Stride value
At LoadBlock, GS_CALC_DXT(tmemW)
At LoadTile, tmemH-1 */
u16 tmemSizeW; /* skip value of imagePtr for image 1-line
At LoadBlock, tmemW*2
At LoadTile, GS_PIX2TMEM(imageW/4,imageSiz)*2 */
u16 tmemSize; /* skip value of imagePtr for 1-loading
= tmemSizeW*tmemH */
} uObjBg_t; /* 40 bytes */
/* Scalable background plane */
typedef struct {
u16 imageX; /* x-coordinate of upper-left position of texture (u10.5) */
u16 imageW; /* width of texture (u10.2) */
s16 frameX; /* upper-left position of transferred frame (s10.2) */
u16 frameW; /* width of transferred frame (u10.2) */
u16 imageY; /* y-coordinate of upper-left position of texture (u10.5) */
u16 imageH; /* height of texture (u10.2) */
s16 frameY; /* upper-left position of transferred frame (s10.2) */
u16 frameH; /* height of transferred frame (u10.2) */
u64 *imagePtr; /* texture source address on DRAM */
u16 imageLoad; /* Which to use, LoadBlock or LoadTile? */
u8 imageFmt; /* format of texel - G_IM_FMT_* */
u8 imageSiz; /* size of texel - G_IM_SIZ_* */
u16 imagePal; /* pallet number */
u16 imageFlip; /* right & left image inversion (Inverted by G_BG_FLAG_FLIPS) */
u16 scaleW; /* scale value of X-direction (u5.10) */
u16 scaleH; /* scale value of Y-direction (u5.10) */
s32 imageYorig; /* start point of drawing on image (s20.5) */
u8 padding[4];
} uObjScaleBg_t; /* 40 bytes */
typedef union {
uObjBg_t b;
uObjScaleBg_t s;
long long int force_structure_alignment;
} uObjBg;
/*---------------------------------------------------------------------------*
* 2D Objects
*---------------------------------------------------------------------------*/
#define G_OBJ_FLAG_FLIPS 1<<0 /* inversion to S-direction */
#define G_OBJ_FLAG_FLIPT 1<<4 /* nversion to T-direction */
typedef struct {
s16 objX; /* s10.2 OBJ x-coordinate of upper-left end */
u16 scaleW; /* u5.10 Scaling of u5.10 width direction */
u16 imageW; /* u10.5 width of u10.5 texture (length of S-direction) */
u16 paddingX; /* Unused - Always 0 */
s16 objY; /* s10.2 OBJ y-coordinate of s10.2 OBJ upper-left end */
u16 scaleH; /* u5.10 Scaling of u5.10 height direction */
u16 imageH; /* u10.5 height of u10.5 texture (length of T-direction) */
u16 paddingY; /* Unused - Always 0 */
u16 imageStride; /* folding width of texel (In units of 64bit word) */
u16 imageAdrs; /* texture header position in TMEM (In units of 64bit word) */
u8 imageFmt; /* format of texel - G_IM_FMT_* */
u8 imageSiz; /* size of texel - G_IM_SIZ_* */
u8 imagePal; /* pallet number (0-7) */
u8 imageFlags; /* The display flag - G_OBJ_FLAG_FLIP* */
} uObjSprite_t; /* 24 bytes */
typedef union {
uObjSprite_t s;
long long int force_structure_alignment;
} uObjSprite;
/*---------------------------------------------------------------------------*
* 2D Matrix
*---------------------------------------------------------------------------*/
typedef struct {
s32 A, B, C, D; /* s15.16 */
s16 X, Y; /* s10.2 */
u16 BaseScaleX; /* u5.10 */
u16 BaseScaleY; /* u5.10 */
} uObjMtx_t; /* 24 bytes */
typedef union {
uObjMtx_t m;
long long int force_structure_alignment;
} uObjMtx;
typedef struct {
s16 X, Y; /* s10.2 */
u16 BaseScaleX; /* u5.10 */
u16 BaseScaleY; /* u5.10 */
} uObjSubMtx_t; /* 8 bytes */
typedef union {
uObjSubMtx_t m;
long long int force_structure_alignment;
} uObjSubMtx;
/*---------------------------------------------------------------------------*
* Loading into TMEM
*---------------------------------------------------------------------------*/
#define G_OBJLT_TXTRBLOCK 0x00001033
#define G_OBJLT_TXTRTILE 0x00fc1034
#define G_OBJLT_TLUT 0x00000030
#define GS_TB_TSIZE(pix,siz) (GS_PIX2TMEM((pix),(siz))-1)
#define GS_TB_TLINE(pix,siz) (GS_CALC_DXT(GS_PIX2TMEM((pix),(siz))))
typedef struct {
u32 type; /* G_OBJLT_TXTRBLOCK divided into types */
u64 *image; /* texture source address on DRAM */
u16 tmem; /* loaded TMEM word address (8byteWORD) */
u16 tsize; /* Texture size, Specified by macro GS_TB_TSIZE() */
u16 tline; /* width of Texture 1-line, Specified by macro GS_TB_TLINE() */
u16 sid; /* STATE ID Multipled by 4 (Either one of 0, 4, 8 and 12) */
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrBlock_t; /* 24 bytes */
#define GS_TT_TWIDTH(pix,siz) ((GS_PIX2TMEM((pix), (siz))<<2)-1)
#define GS_TT_THEIGHT(pix,siz) (((pix)<<2)-1)
typedef struct {
u32 type; /* G_OBJLT_TXTRTILE divided into types */
u64 *image; /* texture source address on DRAM */
u16 tmem; /* loaded TMEM word address (8byteWORD)*/
u16 twidth; /* width of Texture (Specified by macro GS_TT_TWIDTH()) */
u16 theight; /* height of Texture (Specified by macro GS_TT_THEIGHT()) */
u16 sid; /* STATE ID Multipled by 4 (Either one of 0, 4, 8 and 12) */
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrTile_t; /* 24 bytes */
#define GS_PAL_HEAD(head) ((head)+256)
#define GS_PAL_NUM(num) ((num)-1)
typedef struct {
u32 type; /* G_OBJLT_TLUT divided into types */
u64 *image; /* texture source address on DRAM */
u16 phead; /* pallet number of load header (Between 256 and 511) */
u16 pnum; /* loading pallet number -1 */
u16 zero; /* Assign 0 all the time */
u16 sid; /* STATE ID Multipled by 4 (Either one of 0, 4, 8 and 12)*/
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrTLUT_t; /* 24 bytes */
typedef union {
uObjTxtrBlock_t block;
uObjTxtrTile_t tile;
uObjTxtrTLUT_t tlut;
long long int force_structure_alignment;
} uObjTxtr;
/*---------------------------------------------------------------------------*
* Loading into TMEM & 2D Objects
*---------------------------------------------------------------------------*/
typedef struct {
uObjTxtr txtr;
uObjSprite sprite;
} uObjTxSprite; /* 48 bytes */
/*===========================================================================*
* GBI Commands for S2DEX microcode
*===========================================================================*/
/* GBI Header */
#ifdef F3DEX_GBI_2
#define G_OBJ_RECTANGLE_R 0xda
#define G_OBJ_MOVEMEM 0xdc
#define G_RDPHALF_0 0xe4
#define G_OBJ_RECTANGLE 0x01
#define G_OBJ_SPRITE 0x02
#define G_SELECT_DL 0x04
#define G_OBJ_LOADTXTR 0x05
#define G_OBJ_LDTX_SPRITE 0x06
#define G_OBJ_LDTX_RECT 0x07
#define G_OBJ_LDTX_RECT_R 0x08
#define G_BG_1CYC 0x09
#define G_BG_COPY 0x0a
#define G_OBJ_RENDERMODE 0x0b
#else
#define G_BG_1CYC 0x01
#define G_BG_COPY 0x02
#define G_OBJ_RECTANGLE 0x03
#define G_OBJ_SPRITE 0x04
#define G_OBJ_MOVEMEM 0x05
#define G_SELECT_DL 0xb0
#define G_OBJ_RENDERMODE 0xb1
#define G_OBJ_RECTANGLE_R 0xb2
#define G_OBJ_LOADTXTR 0xc1
#define G_OBJ_LDTX_SPRITE 0xc2
#define G_OBJ_LDTX_RECT 0xc3
#define G_OBJ_LDTX_RECT_R 0xc4
#define G_RDPHALF_0 0xe4
#endif
/*---------------------------------------------------------------------------*
* Background wrapped screen
*---------------------------------------------------------------------------*/
#define gSPBgRectangle(pkt, m, mptr) gDma0p((pkt),(m),(mptr),0)
#define gsSPBgRectangle(m, mptr) gsDma0p( (m),(mptr),0)
#define gSPBgRectCopy(pkt, mptr) gSPBgRectangle((pkt), G_BG_COPY, (mptr))
#define gsSPBgRectCopy(mptr) gsSPBgRectangle( G_BG_COPY, (mptr))
#define gSPBgRect1Cyc(pkt, mptr) gSPBgRectangle((pkt), G_BG_1CYC, (mptr))
#define gsSPBgRect1Cyc(mptr) gsSPBgRectangle( G_BG_1CYC, (mptr))
/*---------------------------------------------------------------------------*
* 2D Objects
*---------------------------------------------------------------------------*/
#define gSPObjSprite(pkt, mptr) gDma0p((pkt),G_OBJ_SPRITE, (mptr),0)
#define gsSPObjSprite(mptr) gsDma0p( G_OBJ_SPRITE, (mptr),0)
#define gSPObjRectangle(pkt, mptr) gDma0p((pkt),G_OBJ_RECTANGLE, (mptr),0)
#define gsSPObjRectangle(mptr) gsDma0p( G_OBJ_RECTANGLE, (mptr),0)
#define gSPObjRectangleR(pkt, mptr) gDma0p((pkt),G_OBJ_RECTANGLE_R,(mptr),0)
#define gsSPObjRectangleR(mptr) gsDma0p( G_OBJ_RECTANGLE_R,(mptr),0)
/*---------------------------------------------------------------------------*
* 2D Matrix
*---------------------------------------------------------------------------*/
#define gSPObjMatrix(pkt, mptr) gDma1p((pkt),G_OBJ_MOVEMEM,(mptr),0,23)
#define gsSPObjMatrix(mptr) gsDma1p( G_OBJ_MOVEMEM,(mptr),0,23)
#define gSPObjSubMatrix(pkt, mptr) gDma1p((pkt),G_OBJ_MOVEMEM,(mptr),2, 7)
#define gsSPObjSubMatrix(mptr) gsDma1p( G_OBJ_MOVEMEM,(mptr),2, 7)
/*---------------------------------------------------------------------------*
* Loading into TMEM
*---------------------------------------------------------------------------*/
#define gSPObjLoadTxtr(pkt, tptr) gDma0p((pkt),G_OBJ_LOADTXTR, (tptr),23)
#define gsSPObjLoadTxtr(tptr) gsDma0p( G_OBJ_LOADTXTR, (tptr),23)
#define gSPObjLoadTxSprite(pkt, tptr) gDma0p((pkt),G_OBJ_LDTX_SPRITE,(tptr),47)
#define gsSPObjLoadTxSprite(tptr) gsDma0p( G_OBJ_LDTX_SPRITE,(tptr),47)
#define gSPObjLoadTxRect(pkt, tptr) gDma0p((pkt),G_OBJ_LDTX_RECT, (tptr),47)
#define gsSPObjLoadTxRect(tptr) gsDma0p( G_OBJ_LDTX_RECT, (tptr),47)
#define gSPObjLoadTxRectR(pkt, tptr) gDma0p((pkt),G_OBJ_LDTX_RECT_R,(tptr),47)
#define gsSPObjLoadTxRectR(tptr) gsDma0p( G_OBJ_LDTX_RECT_R,(tptr),47)
/*---------------------------------------------------------------------------*
* Select Display List
*---------------------------------------------------------------------------*/
#define gSPSelectDL(pkt, mptr, sid, flag, mask) \
{ gDma1p((pkt), G_RDPHALF_0, (flag), (u32)(mptr) & 0xffff, (sid)); \
gDma1p((pkt), G_SELECT_DL, (mask), (u32)(mptr) >> 16, G_DL_PUSH); }
#define gsSPSelectDL(mptr, sid, flag, mask) \
{ gsDma1p(G_RDPHALF_0, (flag), (u32)(mptr) & 0xffff, (sid)); \
gsDma1p(G_SELECT_DL, (mask), (u32)(mptr) >> 16, G_DL_PUSH); }
#define gSPSelectBranchDL(pkt, mptr, sid, flag, mask) \
{ gDma1p((pkt), G_RDPHALF_0, (flag), (u32)(mptr) & 0xffff, (sid)); \
gDma1p((pkt), G_SELECT_DL, (mask), (u32)(mptr) >> 16, G_DL_NOPUSH); }
#define gsSPSelectBranchDL(mptr, sid, flag, mask) \
{ gsDma1p(G_RDPHALF_0, (flag), (u32)(mptr) & 0xffff, (sid)); \
gsDma1p(G_SELECT_DL, (mask), (u32)(mptr) >> 16, G_DL_NOPUSH); }
/*---------------------------------------------------------------------------*
* Set general status
*---------------------------------------------------------------------------*/
#define G_MW_GENSTAT 0x08 /* Note that it is the same value of G_MW_FOG */
#define gSPSetStatus(pkt, sid, val) \
gMoveWd((pkt), G_MW_GENSTAT, (sid), (val))
#define gsSPSetStatus(sid, val) \
gsMoveWd( G_MW_GENSTAT, (sid), (val))
/*---------------------------------------------------------------------------*
* Set Object Render Mode
*---------------------------------------------------------------------------*/
#define G_OBJRM_NOTXCLAMP 0x01
#define G_OBJRM_XLU 0x02 /* Ignored */
#define G_OBJRM_ANTIALIAS 0x04 /* Ignored */
#define G_OBJRM_BILERP 0x08
#define G_OBJRM_SHRINKSIZE_1 0x10
#define G_OBJRM_SHRINKSIZE_2 0x20
#define G_OBJRM_WIDEN 0x40
#define gSPObjRenderMode(pkt, mode) gImmp1((pkt),G_OBJ_RENDERMODE,(mode))
#define gsSPObjRenderMode(mode) gsImmp1( G_OBJ_RENDERMODE,(mode))
/*===========================================================================*
* Render Mode Macro
*===========================================================================*/
#define RM_RA_SPRITE(clk) \
AA_EN | CVG_DST_CLAMP | \
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_OPA | TEX_EDGE | \
GBL_c##clk(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_1MA)
#define G_RM_SPRITE G_RM_OPA_SURF
#define G_RM_SPRITE2 G_RM_OPA_SURF2
#define G_RM_RA_SPRITE RM_RA_SPRITE(1)
#define G_RM_RA_SPRITE2 RM_RA_SPRITE(2)
#define G_RM_AA_SPRITE G_RM_AA_TEX_TERR
#define G_RM_AA_SPRITE2 G_RM_AA_TEX_TERR2
#define G_RM_XLU_SPRITE G_RM_XLU_SURF
#define G_RM_XLU_SPRITE2 G_RM_XLU_SURF2
#define G_RM_AA_XLU_SPRITE G_RM_AA_XLU_SURF
#define G_RM_AA_XLU_SPRITE2 G_RM_AA_XLU_SURF2
/*===========================================================================*
* External functions
*===========================================================================*/
extern u64 gspS2DEX_fifoTextStart[], gspS2DEX_fifoTextEnd[];
extern u64 gspS2DEX_fifoDataStart[], gspS2DEX_fifoDataEnd[];
extern u64 gspS2DEX_fifo_dTextStart[], gspS2DEX_fifo_dTextEnd[];
extern u64 gspS2DEX_fifo_dDataStart[], gspS2DEX_fifo_dDataEnd[];
extern u64 gspS2DEX2_fifoTextStart[], gspS2DEX2_fifoTextEnd[];
extern u64 gspS2DEX2_fifoDataStart[], gspS2DEX2_fifoDataEnd[];
extern u64 gspS2DEX2_xbusTextStart[], gspS2DEX2_xbusTextEnd[];
extern u64 gspS2DEX2_xbusDataStart[], gspS2DEX2_xbusDataEnd[];
extern void guS2DInitBg(uObjBg *);
#ifdef F3DEX_GBI_2
# define guS2DEmuBgRect1Cyc guS2D2EmuBgRect1Cyc /*Wrapper*/
# define guS2DEmuSetScissor guS2D2EmuSetScissor /*Wrapper*/
extern void guS2D2EmuSetScissor(u32, u32, u32, u32, u8);
extern void guS2D2EmuBgRect1Cyc(Gfx **, uObjBg *);
#else
extern void guS2DEmuSetScissor(u32, u32, u32, u32, u8);
extern void guS2DEmuBgRect1Cyc(Gfx **, uObjBg *);
#endif
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _GS2DEX_H_ */
/*======== End of gs2dex.h ========*/

View File

@ -0,0 +1,365 @@
/*
* Copyright 1995, Silicon Graphics, Inc.
* ALL RIGHTS RESERVED
*
* UNPUBLISHED -- Rights reserved under the copyright laws of the United
* States. Use of a copyright notice is precautionary only and does not
* imply publication or disclosure.
*
* U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to restrictions
* as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
* in similar or successor clauses in the FAR, or the DOD or NASA FAR
* Supplement. Contractor/manufacturer is Silicon Graphics, Inc.,
* 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
*
* THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
* INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
* DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
* PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
* GRAPHICS, INC.
*
*/
/*
* File: gt.h
* Creator: hsa@sgi.com
* Create Date: Thu Oct 12 15:48:14 PDT 1995
*
* This file defines the GBI for the TURBO 3D graphics microcode.
* The turbo microcode is a special FEATURE-LIMITED microcode designed
* for specific applications. It is not for general use.
*
* (see XXX for more information)
*
*/
/**************************************************************************
*
* $Revision: 1.16 $
* $Date: 1998/05/28 00:14:50 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/gt.h,v $
*
**************************************************************************/
#ifndef _GT_H_
#define _GT_H_
/* this file should be #included AFTER gbi.h */
#include "sptask.h"
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif /* _LANGUAGE_C_PLUS_PLUS */
#include <PR/ultratypes.h>
/* the following #defines seem out of order, but we need them
* for the microcode.
*/
/*
* object state field: rendState
*
* This flag word is built up out of the bits from a
* subset of the G_SETGEOMETRYMODE flags from gbi.h.
*
* When each of these bits is '1', the comments below explain
* the effect on the triangles.
*/
#define GT_ZBUFFER G_ZBUFFER
#define GT_TEXTURE G_TEXTURE_ENABLE /* texture ON */
#define GT_CULL_BACK G_CULL_BACK /* reject backfaces */
#define GT_SHADING_SMOOTH G_SHADING_SMOOTH /* smooth shade ON */
/*
* object state field: textureState
*
* The lower 3 bits of this flag word contain the texture tile number
* to be used. All triangles of an object are rendered with the same
* texture tile.
*/
/*
* object state field: flag
*
* This is a group of what would be pad bits. We use them for some
* flag bits.
*/
#define GT_FLAG_NOMTX 0x01 /* don't load the matrix */
#define GT_FLAG_NO_XFM 0x02 /* load vtx, use verbatim */
#define GT_FLAG_XFM_ONLY 0x04 /* xform vtx, write to *TriN */
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* turbo 3D ucode: */
extern long long int gspTurbo3DTextStart[], gspTurbo3DTextEnd[];
extern long long int gspTurbo3DDataStart[], gspTurbo3DDataEnd[];
extern long long int gspTurbo3D_dramTextStart[], gspTurbo3D_dramTextEnd[];
extern long long int gspTurbo3D_dramDataStart[], gspTurbo3D_dramDataEnd[];
extern long long int gspTurbo3D_fifoTextStart[], gspTurbo3D_fifoTextEnd[];
extern long long int gspTurbo3D_fifoDataStart[], gspTurbo3D_fifoDataEnd[];
/*
* This is the global state structure. It's definition carefully
* matches the ucode, so if this structure changes, you must also change
* the ucode.
*/
typedef struct {
u16 perspNorm; /* persp normalization */
u16 pad0;
u32 flag;
Gfx rdpOthermode;
u32 segBases[16]; /* table of segment base addrs (SEE NOTE!) */
Vp viewport; /* the viewport to use */
Gfx *rdpCmds; /* block of RDP data, process if !NULL
* block terminated by gDPEndDisplayList()
* (This is a segment address)
*/
} gtGlobState_t;
/* NOTE:
* Although there are 16 segment table entries, the first one (segment 0)
* is reserved for physical memory mapping. You should not segment 0
* to anything other than 0x0.
*/
typedef union {
gtGlobState_t sp;
long long int force_structure_alignment;
} gtGlobState;
/*
* This is the 'state' structure associated with each object
* to be rendered. It's definition carefully matches the
* ucode, so if this structure changes, you must also change
* the gtoff.c tool and the ucode.
*/
typedef struct {
u32 renderState; /* render state */
u32 textureState; /* texture state */
u8 vtxCount; /* how many verts? */
u8 vtxV0; /* where to load verts? */
u8 triCount; /* how many tris? */
u8 flag;
Gfx *rdpCmds; /* ptr (segment address) to RDP DL */
Gfx rdpOthermode;
Mtx transform; /* the transform matrix to use */
} gtState_t;
typedef union {
gtState_t sp;
long long int force_structure_alignment;
} gtState;
/* gtStateLite : same as gtState, but no matrix (see flags below) */
/* this structure must be identical to gtState! (bad) */
typedef struct {
u32 renderState; /* render state */
u32 textureState; /* texture state */
u8 vtxCount; /* how many verts? */
u8 vtxV0; /* where to load verts? */
u8 triCount; /* how many tris? */
u8 flag;
Gfx *rdpCmds; /* ptr (segment address) to RDP DL */
Gfx rdpOthermode;
} gtStateL_t;
typedef union {
gtStateL_t sp;
long long int force_structure_alignment;
} gtStateL;
/*
* The vertex list for the turbo display list uses the
* Vtx struct in gbi.h
*
*/
/*
* This structure represents a single triangle, part of the
* triangle list of the object to be rendered.
*
* NOTE: The triangle list MUST be aligned to an 8-byte boundary.
* Since this structure is only 4 bytes, we are REQUIRING that
* this structure only be used as an array of triangles, and we
* depend on the MIPS C compiler (which always aligns arrays to
* 8-byte boundaries). THIS IS DANGEROUS!!!!
*
*/
typedef struct {
u8 v0, v1, v2, flag; /* flag is which one for flat shade */
} gtTriN;
/*
* This structure represents the transformed points. It is the format
* of the points written out when GT_FLAG_XFM_ONLY is set, as well as
* the format expected when GT_FLAG_NO_XFM is used.
*
* NOTE: The size and layout of these points is very similar to Vtx,
* except the screen coordinates overwrite the x,y,z,pad fields.
* (we could consider adding to the Vtx union, but we want to keep
* turbo stuff out of gbi.h)
*
* NOTE: The z is a special format. It can be used to compare vertices
* for sorting, but it should not be used for other purposes. If modified,
* the z-buffer hardware might not understand the data.
*
*/
typedef struct {
short int xscrn; /* x,y screen coordinates are SSSS10.2 */
short int yscrn;
int zscrn; /* z screen is S15.16 */
short int s; /* transformed texture coord, S10.5 */
short int t;
u8 r; /* color (or normal) */
u8 g;
u8 b;
u8 a;
} gtVtxOut_t;
/* see "Data Structure" comment in gbi.h for information about why
* we use this union.
*/
typedef union {
gtVtxOut_t v;
long long int force_structure_alignment;
} gtVtxOut;
/*
* state field: rdpOthermode
*
* This is one of the trickier state fields. The turbo interface
* requires the RDP othermode command to be cached by the host,
* therefore we provide a different interface in libultra to help cache
* this in the gt state (this word is just bits, you could pack them
* on your own).
*
* gtStateSetOthermode() accomplishs this, taking as arguments
* the state, one of the following mode enums, and a piece of data
* (othermode parameters from gbi.h).
*
* By definition, the othermode word from the gt state structure is sent
* to the RDP *before* any RDP commands from the rdpCmds[] field. The
* othermode is *always* sent.
*
* Stated another way, NONE of the gbi RDP othermode commands equivalent
* to those listed here are allowed in the rdpCmd[] field of the
* gt state structure.
*
* Notice also that many of these commands do not make sense for
* the turbo ucode (they control features not supported, like mip-mapping).
* They are only included here for completeness.
*
*/
typedef enum {
GT_CLEAR, /* special gt mode, clears othermode state */
GT_ALPHACOMPARE,
GT_ZSRCSEL,
GT_RENDERMODE,
GT_ALPHADITHER,
GT_RGBDITHER,
GT_COMBKEY,
GT_TEXTCONV,
GT_TEXTFILT,
GT_TEXTLUT,
GT_TEXTLOD,
GT_TEXTDETAIL,
GT_TEXTPERSP,
GT_CYCLETYPE,
GT_PIPELINE
} gtStateOthermode_t;
/*
* This call builds up an othermode command word. The 'mode' is one of
* the above modes, the 'data' field comes from gbi.h, it is the data
* field for the equivalent gbi setothermode macro.
*/
extern void gtStateSetOthermode(Gfx *om, gtStateOthermode_t mode, int data);
/*
* This call dumps a turbo display list for use with gbi2mem and RSPSIM
*/
#define GT_DUMPTURBO_HANGAFTER 64
#define GT_DUMPTURBO_NOTEXTURES 128
extern void gtDumpTurbo(OSTask *tp,u8 flags);
/*
* Special macros to init othermode words to all 0's, a good default
* value.
*/
#define gDPClearOtherMode(pkt) \
{ \
Gfx *_g = (Gfx *)(pkt); \
\
_g->words.w0 = _SHIFTL(G_RDPSETOTHERMODE, 24, 8); \
_g->words.w1 = 0x0; \
}
#define gsDPClearOtherMode() \
{ \
_SHIFTL(G_RDPSETOTHERMODE, 24, 8), 0x0 \
}
/*
* Special macros to end DP blocks (see above). These commands
* generate all 0's, which the turbo ucode looks for. They *aren't*
* real DP commands!
*/
#define gDPEndDisplayList(pkt) gSPNoOp(pkt)
#define gsDPEndDisplayList() gsSPNoOp()
/*
* This structure is a turbo 'object', the turbo display list is
* simply a list of these.
*
* NOTE: All pointers are segment addresses
*
* NOTE: If (statep->flag & GT_FLAG_XFM_ONLY), the trip field is
* interpreted as a pointer to gtVtxOut[] that can be used to store
* the transformed points. (statep->triCount should be 0, else bad
* things could happen...)
*
* NOTE: If (statep->flag & GT_FLAG_NO_XFM), the vtxp field is
* interpreted as a pointer to gtVtxOut[] that can be used to load
* pre-transformed points.
*
*/
typedef struct {
gtGlobState *gstatep; /* global state, usually NULL */
gtState *statep; /* if this is NULL, end object processing */
Vtx *vtxp; /* if this is NULL, use points in buffer */
gtTriN *trip; /* if this is NULL, use tris in buffer */
} gtGfx_t;
typedef union {
gtGfx_t obj;
long long int force_structure_alignment;
} gtGfx;
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_ASSEMBLY
#include <PR/gtoff.h>
#endif /* _LANGUAGE_ASSEMBLY */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif /* _LANGUAGE_C_PLUS_PLUS */
#ifdef _LANGUAGE_MAKEROM
#endif /* _LANGUAGE_MAKEROM */
#endif /* _GT_H_ */

View File

@ -0,0 +1,270 @@
#ifndef _GU_H_
#define _GU_H_
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/**************************************************************************
*
* $Revision: 1.48 $
* $Date: 1999/07/13 08:00:20 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/gu.h,v $
*
**************************************************************************/
#include <PR/mbi.h>
#include <PR/ultratypes.h>
#include <PR/sptask.h>
#include <PR/os_version.h>
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#define M_PI 3.14159265358979323846
#define M_DTOR (3.14159265358979323846/180.0)
#define FTOFIX32(x) (long)((x) * (float)0x00010000)
#define FIX32TOF(x) ((float)(x) * (1.0f / (float)0x00010000))
#define FTOFRAC8(x) ((int) MIN(((x) * (128.0f)), 127.0f) & 0xff)
#define FILTER_WRAP 0
#define FILTER_CLAMP 1
#define RAND(x) (guRandom()%x) /* random number between 0 to x */
/*
* Data Structures
*/
typedef struct {
unsigned char *base;
int fmt, siz;
int xsize, ysize;
int lsize;
/* current tile info */
int addr;
int w, h;
int s, t;
} Image;
typedef struct {
float col[3];
float pos[3];
float a1, a2; /* actual color = col/(a1*dist + a2) */
} PositionalLight;
/*
* Function Prototypes
*/
extern int guLoadTextureBlockMipMap(Gfx **glist, unsigned char *tbuf, Image *im,
unsigned char startTile, unsigned char pal, unsigned char cms,
unsigned char cmt, unsigned char masks, unsigned char maskt,
unsigned char shifts, unsigned char shiftt, unsigned char cfs,
unsigned char cft);
extern int guGetDPLoadTextureTileSz (int ult, int lrt);
extern void guDPLoadTextureTile (Gfx *glistp, void *timg,
int texl_fmt, int texl_size,
int img_width, int img_height,
int uls, int ult, int lrs, int lrt,
int palette,
int cms, int cmt,
int masks, int maskt,
int shifts, int shiftt);
/*
* matrix operations:
*
* The 'F' version is floating point, in case the application wants
* to do matrix manipulations and convert to fixed-point at the last
* minute.
*/
extern void guMtxIdent(Mtx *m);
extern void guMtxIdentF(float mf[4][4]);
extern void guOrtho(Mtx *m, float l, float r, float b, float t,
float n, float f, float scale);
extern void guOrthoF(float mf[4][4], float l, float r, float b, float t,
float n, float f, float scale);
extern void guFrustum(Mtx *m, float l, float r, float b, float t,
float n, float f, float scale);
extern void guFrustumF(float mf[4][4], float l, float r, float b, float t,
float n, float f, float scale);
extern void guPerspective(Mtx *m, u16 *perspNorm, float fovy,
float aspect, float near, float far, float scale);
extern void guPerspectiveF(float mf[4][4], u16 *perspNorm, float fovy,
float aspect, float near, float far, float scale);
extern void guLookAt(Mtx *m,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp);
extern void guLookAtF(float mf[4][4], float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp);
extern void guLookAtReflect(Mtx *m, LookAt *l,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp);
extern void guLookAtReflectF(float mf[4][4], LookAt *l,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp);
extern void guLookAtHilite(Mtx *m, LookAt *l, Hilite *h,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp,
float xl1, float yl1, float zl1,
float xl2, float yl2, float zl2,
int twidth, int theight);
extern void guLookAtHiliteF(float mf[4][4], LookAt *l, Hilite *h,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp,
float xl1, float yl1, float zl1,
float xl2, float yl2, float zl2,
int twidth, int theight);
extern void guLookAtStereo(Mtx *m,
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp,
float eyedist);
extern void guLookAtStereoF(float mf[4][4],
float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
float xUp, float yUp, float zUp,
float eyedist);
extern void guRotate(Mtx *m, float a, float x, float y, float z);
extern void guRotateF(float mf[4][4], float a, float x, float y, float z);
extern void guRotateRPY(Mtx *m, float r, float p, float y);
extern void guRotateRPYF(float mf[4][4], float r, float p, float h);
extern void guAlign(Mtx *m, float a, float x, float y, float z);
extern void guAlignF(float mf[4][4], float a, float x, float y, float z);
extern void guScale(Mtx *m, float x, float y, float z);
extern void guScaleF(float mf[4][4], float x, float y, float z);
extern void guTranslate(Mtx *m, float x, float y, float z);
extern void guTranslateF(float mf[4][4], float x, float y, float z);
extern void guPosition(Mtx *m, float r, float p, float h, float s,
float x, float y, float z);
extern void guPositionF(float mf[4][4], float r, float p, float h, float s,
float x, float y, float z);
extern void guMtxF2L(float mf[4][4], Mtx *m);
extern void guMtxL2F(float mf[4][4], Mtx *m);
extern void guMtxCatF(float m[4][4], float n[4][4], float r[4][4]);
extern void guMtxCatL(Mtx *m, Mtx *n, Mtx *res);
extern void guMtxXFMF(float mf[4][4], float x, float y, float z,
float *ox, float *oy, float *oz);
extern void guMtxXFML(Mtx *m, float x, float y, float z,
float *ox, float *oy, float *oz);
/* vector utility: */
extern void guNormalize(float *x, float *y, float *z);
/* light utilities: */
void guPosLight(PositionalLight *pl, Light *l,
float xOb, float yOb, float zOb);
void guPosLightHilite(PositionalLight *pl1, PositionalLight *pl2,
Light *l1, Light *l2,
LookAt *l, Hilite *h,
float xEye, float yEye, float zEye,
float xOb, float yOb, float zOb,
float xUp, float yUp, float zUp,
int twidth, int theight);
extern int guRandom(void);
/*
* Math functions
*/
extern float sinf(float angle);
extern float cosf(float angle);
extern signed short sins (unsigned short angle);
extern signed short coss (unsigned short angle);
extern float sqrtf(float value);
#if defined(__sgi) && BUILD_VERSION >= VERSION_K
#pragma intrinsic(sqrtf);
#endif
/*
* Dump routines for low-level display lists
*/
/* flag values for guParseRdpDL() */
#define GU_PARSERDP_VERBOSE 1
#define GU_PARSERDP_PRAREA 2
#define GU_PARSERDP_PRHISTO 4
#define GU_PARSERDP_DUMPONLY 32 /* doesn't need to be same as */
/* GU_PARSEGBI_DUMPOLNY, but this */
/* allows app to use interchangeably */
extern void guParseRdpDL(u64 *rdp_dl, u64 nbytes, u8 flags);
extern void guParseString(char *StringPointer, u64 nbytes);
/*
* NO LONGER SUPPORTED,
* use guParseRdpDL with GU_PARSERDP_DUMPONLY flags
*/
/* extern void guDumpRawRdpDL(u64 *rdp_dl, u64 nbytes); */
/* flag values for guBlinkRdpDL() */
#define GU_BLINKRDP_HILITE 1
#define GU_BLINKRDP_EXTRACT 2
extern void
guBlinkRdpDL(u64 *rdp_dl_in, u64 nbytes_in,
u64 *rdp_dl_out, u64 *nbytes_out,
u32 x, u32 y, u32 radius,
u8 red, u8 green, u8 blue,
u8 flags);
/* flag values for guParseGbiDL() */
#define GU_PARSEGBI_ROWMAJOR 1
#define GU_PARSEGBI_NONEST 2
#define GU_PARSEGBI_FLTMTX 4
#define GU_PARSEGBI_SHOWDMA 8
#define GU_PARSEGBI_ALLMTX 16
#define GU_PARSEGBI_DUMPONLY 32
/*
#define GU_PARSEGBI_HANGAFTER 64
#define GU_PARSEGBI_NOTEXTURES 128
*/
extern void guParseGbiDL(u64 *gbi_dl, u32 nbytes, u8 flags);
extern void guDumpGbiDL(OSTask *tp,u8 flags);
#define GU_PARSE_GBI_TYPE 1
#define GU_PARSE_RDP_TYPE 2
#define GU_PARSE_READY 3
#define GU_PARSE_MEM_BLOCK 4
#define GU_PARSE_ABI_TYPE 5
#define GU_PARSE_STRING_TYPE 6
typedef struct {
int dataSize;
int dlType;
int flags;
u32 paddr;
} guDLPrintCB;
void guSprite2DInit(uSprite *SpritePointer,
void *SourceImagePointer,
void *TlutPointer,
int Stride,
int SubImageWidth,
int SubImageHeight,
int SourceImageType,
int SourceImageBitSize,
int SourceImageOffsetS,
int SourceImageOffsetT);
#endif /* !_GU_H_ */

View File

@ -0,0 +1,947 @@
/*====================================================================
* libaudio.h
*
* Copyright 1993, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/**************************************************************************
*
* $Revision: 1.173 $
* $Date: 1997/12/01 12:42:21 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/libaudio.h,v $
*
**************************************************************************/
#ifndef __LIB_AUDIO__
#define __LIB_AUDIO__
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include <PR/mbi.h>
/***********************************************************************
* misc defines
***********************************************************************/
#ifndef _EMULATOR
# ifdef AUD_PROFILE
#define PROFILE_AUD(num, cnt, max, min) \
{ \
u32 currCnt = osGetCount(); \
currCnt -= lastCnt[cnt_index]; \
cnt_index--; \
cnt += currCnt; \
num++; \
\
if ( currCnt > max ) max = currCnt; \
if ( currCnt < min ) min = currCnt; \
}
# endif /* AUD_PROFILE */
#endif /* EMULATOR */
#ifndef NULL
#define NULL 0
#endif
#define AL_FX_BUFFER_SIZE 8192
#define AL_FRAME_INIT -1
#define AL_USEC_PER_FRAME 16000
#define AL_MAX_PRIORITY 127
#define AL_GAIN_CHANGE_TIME 1000
typedef s32 ALMicroTime;
typedef u8 ALPan;
#define AL_PAN_CENTER 64
#define AL_PAN_LEFT 0
#define AL_PAN_RIGHT 127
#define AL_VOL_FULL 127
#define AL_KEY_MIN 0
#define AL_KEY_MAX 127
#define AL_DEFAULT_FXMIX 0
#define AL_SUSTAIN 63
/***********************************************************************
* Error handling
***********************************************************************/
#ifdef _DEBUG
#define ALFailIf(condition, error) \
if (condition) { \
__osError(error, 0); \
return; }
#else
#define ALFailIf(condition, error) \
if (condition) { \
return; }
#endif
#ifdef _DEBUG
#define ALFlagFailIf(condition, flag, error) \
if (condition) { \
if(flag) __osError(error, 0); \
return; }
#else
#define ALFlagFailIf(condition, flag, error) \
if (condition) { \
return; }
#endif
/***********************************************************************
* Audio Library global routines
***********************************************************************/
typedef struct ALLink_s {
struct ALLink_s *next;
struct ALLink_s *prev;
} ALLink;
void alUnlink(ALLink *element);
void alLink(ALLink *element, ALLink *after);
typedef s32 (*ALDMAproc)(s32 addr, s32 len, void *state);
typedef ALDMAproc (*ALDMANew)(void *state);
void alCopy(void *src, void *dest, s32 len);
typedef struct {
u8 *base;
u8 *cur;
s32 len;
s32 count;
} ALHeap;
#define AL_HEAP_DEBUG 1
#define AL_HEAP_MAGIC 0x20736a73
#define AL_HEAP_INIT 0
void alHeapInit(ALHeap *hp, u8 *base, s32 len);
void *alHeapDBAlloc(u8 *file, s32 line, ALHeap *hp, s32 num, s32 size);
s32 alHeapCheck(ALHeap *hp);
#ifdef _DEBUG
#define alHeapAlloc(hp, elem ,size) alHeapDBAlloc((u8 *) __FILE__,__LINE__,(hp),(elem),(size))
#else
#define alHeapAlloc(hp, elem ,size) alHeapDBAlloc(0, 0,(hp),(elem),(size))
#endif
/***********************************************************************
* FX Stuff
***********************************************************************/
#define AL_FX_NONE 0
#define AL_FX_SMALLROOM 1
#define AL_FX_BIGROOM 2
#define AL_FX_CHORUS 3
#define AL_FX_FLANGE 4
#define AL_FX_ECHO 5
#define AL_FX_CUSTOM 6
typedef u8 ALFxId;
typedef void *ALFxRef;
/***********************************************************************
* data structures for sound banks
***********************************************************************/
#define AL_BANK_VERSION 0x4231 /* 'B1' */
/* Possible wavetable types */
enum {AL_ADPCM_WAVE = 0,
AL_RAW16_WAVE};
typedef struct {
s32 order;
s32 npredictors;
s16 book[1]; /* Actually variable size. Must be 8-byte aligned */
} ALADPCMBook;
typedef struct {
u32 start;
u32 end;
u32 count;
ADPCM_STATE state;
} ALADPCMloop;
typedef struct {
u32 start;
u32 end;
u32 count;
} ALRawLoop;
typedef struct {
ALMicroTime attackTime;
ALMicroTime decayTime;
ALMicroTime releaseTime;
u8 attackVolume;
u8 decayVolume;
} ALEnvelope;
typedef struct {
u8 velocityMin;
u8 velocityMax;
u8 keyMin;
u8 keyMax;
u8 keyBase;
s8 detune;
} ALKeyMap;
typedef struct {
ALADPCMloop *loop;
ALADPCMBook *book;
} ALADPCMWaveInfo;
typedef struct {
ALRawLoop *loop;
} ALRAWWaveInfo;
typedef struct ALWaveTable_s {
u8 *base; /* ptr to start of wave data */
s32 len; /* length of data in bytes */
u8 type; /* compression type */
u8 flags; /* offset/address flags */
union {
ALADPCMWaveInfo adpcmWave;
ALRAWWaveInfo rawWave;
} waveInfo;
} ALWaveTable;
typedef struct ALSound_s {
ALEnvelope *envelope;
ALKeyMap *keyMap;
ALWaveTable *wavetable; /* offset to wavetable struct */
ALPan samplePan;
u8 sampleVolume;
u8 flags;
} ALSound;
typedef struct {
u8 volume; /* overall volume for this instrument */
ALPan pan; /* 0 = hard left, 127 = hard right */
u8 priority; /* voice priority for this instrument */
u8 flags;
u8 tremType; /* the type of tremelo osc. to use */
u8 tremRate; /* the rate of the tremelo osc. */
u8 tremDepth; /* the depth of the tremelo osc */
u8 tremDelay; /* the delay for the tremelo osc */
u8 vibType; /* the type of tremelo osc. to use */
u8 vibRate; /* the rate of the tremelo osc. */
u8 vibDepth; /* the depth of the tremelo osc */
u8 vibDelay; /* the delay for the tremelo osc */
s16 bendRange; /* pitch bend range in cents */
s16 soundCount; /* number of sounds in this array */
ALSound *soundArray[1];
} ALInstrument;
typedef struct ALBank_s {
s16 instCount; /* number of programs in this bank */
u8 flags;
u8 pad;
s32 sampleRate; /* e.g. 44100, 22050, etc... */
ALInstrument *percussion; /* default percussion for GM */
ALInstrument *instArray[1]; /* ARRAY of instruments */
} ALBank;
typedef struct { /* Note: sizeof won't be correct */
s16 revision; /* format revision of this file */
s16 bankCount; /* number of banks */
ALBank *bankArray[1]; /* ARRAY of bank offsets */
} ALBankFile;
void alBnkfNew(ALBankFile *f, u8 *table);
/***********************************************************************
* Sequence Files
***********************************************************************/
#define AL_SEQBANK_VERSION 'S1'
typedef struct {
u8 *offset;
s32 len;
} ALSeqData;
typedef struct { /* Note: sizeof won't be correct */
s16 revision; /* format revision of this file */
s16 seqCount; /* number of sequences */
ALSeqData seqArray[1]; /* ARRAY of sequence info */
} ALSeqFile;
void alSeqFileNew(ALSeqFile *f, u8 *base);
/***********************************************************************
* Synthesis driver stuff
***********************************************************************/
typedef ALMicroTime (*ALVoiceHandler)(void *);
typedef struct {
s32 maxVVoices; /* obsolete */
s32 maxPVoices;
s32 maxUpdates;
s32 maxFXbusses;
void *dmaproc;
ALHeap *heap;
s32 outputRate; /* output sample rate */
ALFxId fxType;
s32 *params;
} ALSynConfig;
typedef struct ALPlayer_s {
struct ALPlayer_s *next;
void *clientData; /* storage for client callback */
ALVoiceHandler handler; /* voice handler for player */
ALMicroTime callTime; /* usec requested callback */
s32 samplesLeft; /* usec remaining to callback */
} ALPlayer;
typedef struct ALVoice_s {
ALLink node;
struct PVoice_s *pvoice;
ALWaveTable *table;
void *clientPrivate;
s16 state;
s16 priority;
s16 fxBus;
s16 unityPitch;
} ALVoice;
typedef struct ALVoiceConfig_s {
s16 priority; /* voice priority */
s16 fxBus; /* bus assignment */
u8 unityPitch; /* unity pitch flag */
} ALVoiceConfig;
typedef struct {
ALPlayer *head; /* client list head */
ALLink pFreeList; /* list of free physical voices */
ALLink pAllocList; /* list of allocated physical voices */
ALLink pLameList; /* list of voices ready to be freed */
s32 paramSamples;
s32 curSamples; /* samples from start of game */
ALDMANew dma;
ALHeap *heap;
struct ALParam_s *paramList;
struct ALMainBus_s *mainBus;
struct ALAuxBus_s *auxBus; /* ptr to array of aux bus structs */
struct ALFilter_s *outputFilter; /* last filter in the filter chain */
s32 numPVoices;
s32 maxAuxBusses;
s32 outputRate; /* output sample rate */
s32 maxOutSamples; /* Maximum samples rsp can generate
at one time at output rate */
} ALSynth;
void alSynNew(ALSynth *s, ALSynConfig *config);
void alSynDelete(ALSynth *s);
void alSynAddPlayer(ALSynth *s, ALPlayer *client);
void alSynRemovePlayer(ALSynth *s, ALPlayer *client);
s32 alSynAllocVoice(ALSynth *s, ALVoice *v, ALVoiceConfig *vc);
void alSynFreeVoice(ALSynth *s, ALVoice *voice);
void alSynStartVoice(ALSynth *s, ALVoice *voice, ALWaveTable *w);
void alSynStartVoiceParams(ALSynth *s, ALVoice *voice, ALWaveTable *w,
f32 pitch, s16 vol, ALPan pan, u8 fxmix,
ALMicroTime t);
void alSynStopVoice(ALSynth *s, ALVoice *voice);
void alSynSetVol(ALSynth *s, ALVoice *v, s16 vol, ALMicroTime delta);
void alSynSetPitch(ALSynth *s, ALVoice *voice, f32 ratio);
void alSynSetPan(ALSynth *s, ALVoice *voice, ALPan pan);
void alSynSetFXMix(ALSynth *s, ALVoice *voice, u8 fxmix);
void alSynSetPriority(ALSynth *s, ALVoice *voice, s16 priority);
s16 alSynGetPriority(ALSynth *s, ALVoice *voice);
ALFxRef *alSynAllocFX(ALSynth *s, s16 bus, ALSynConfig *c, ALHeap *hp);
ALFxRef alSynGetFXRef(ALSynth *s, s16 bus, s16 index);
void alSynFreeFX(ALSynth *s, ALFxRef *fx);
void alSynSetFXParam(ALSynth *s, ALFxRef fx, s16 paramID, void *param);
/***********************************************************************
* Audio Library (AL) stuff
***********************************************************************/
typedef struct {
ALSynth drvr;
} ALGlobals;
extern ALGlobals *alGlobals;
void alInit(ALGlobals *glob, ALSynConfig *c);
void alClose(ALGlobals *glob);
Acmd *alAudioFrame(Acmd *cmdList, s32 *cmdLen, s16 *outBuf, s32 outLen);
/***********************************************************************
* Sequence Player stuff
***********************************************************************/
/*
* Play states
*/
#define AL_STOPPED 0
#define AL_PLAYING 1
#define AL_STOPPING 2
#define AL_DEFAULT_PRIORITY 5
#define AL_DEFAULT_VOICE 0
#define AL_MAX_CHANNELS 16
/*
* Audio Library event type definitions
*/
enum ALMsg {
AL_SEQ_REF_EVT, /* Reference to a pending event in the sequence. */
AL_SEQ_MIDI_EVT,
AL_SEQP_MIDI_EVT,
AL_TEMPO_EVT,
AL_SEQ_END_EVT,
AL_NOTE_END_EVT,
AL_SEQP_ENV_EVT,
AL_SEQP_META_EVT,
AL_SEQP_PROG_EVT,
AL_SEQP_API_EVT,
AL_SEQP_VOL_EVT,
AL_SEQP_LOOP_EVT,
AL_SEQP_PRIORITY_EVT,
AL_SEQP_SEQ_EVT,
AL_SEQP_BANK_EVT,
AL_SEQP_PLAY_EVT,
AL_SEQP_STOP_EVT,
AL_SEQP_STOPPING_EVT,
AL_TRACK_END,
AL_CSP_LOOPSTART,
AL_CSP_LOOPEND,
AL_CSP_NOTEOFF_EVT,
AL_TREM_OSC_EVT,
AL_VIB_OSC_EVT
};
/*
* Midi event definitions
*/
#define AL_EVTQ_END 0x7fffffff
enum AL_MIDIstatus {
/* For distinguishing channel number from status */
AL_MIDI_ChannelMask = 0x0F,
AL_MIDI_StatusMask = 0xF0,
/* Channel voice messages */
AL_MIDI_ChannelVoice = 0x80,
AL_MIDI_NoteOff = 0x80,
AL_MIDI_NoteOn = 0x90,
AL_MIDI_PolyKeyPressure = 0xA0,
AL_MIDI_ControlChange = 0xB0,
AL_MIDI_ChannelModeSelect = 0xB0,
AL_MIDI_ProgramChange = 0xC0,
AL_MIDI_ChannelPressure = 0xD0,
AL_MIDI_PitchBendChange = 0xE0,
/* System messages */
AL_MIDI_SysEx = 0xF0, /* System Exclusive */
/* System common */
AL_MIDI_SystemCommon = 0xF1,
AL_MIDI_TimeCodeQuarterFrame = 0xF1,
AL_MIDI_SongPositionPointer = 0xF2,
AL_MIDI_SongSelect = 0xF3,
AL_MIDI_Undefined1 = 0xF4,
AL_MIDI_Undefined2 = 0xF5,
AL_MIDI_TuneRequest = 0xF6,
AL_MIDI_EOX = 0xF7, /* End of System Exclusive */
/* System real time */
AL_MIDI_SystemRealTime = 0xF8,
AL_MIDI_TimingClock = 0xF8,
AL_MIDI_Undefined3 = 0xF9,
AL_MIDI_Start = 0xFA,
AL_MIDI_Continue = 0xFB,
AL_MIDI_Stop = 0xFC,
AL_MIDI_Undefined4 = 0xFD,
AL_MIDI_ActiveSensing = 0xFE,
AL_MIDI_SystemReset = 0xFF,
AL_MIDI_Meta = 0xFF /* MIDI Files only */
};
enum AL_MIDIctrl {
AL_MIDI_VOLUME_CTRL = 0x07,
AL_MIDI_PAN_CTRL = 0x0A,
AL_MIDI_PRIORITY_CTRL = 0x10, /* use general purpose controller for priority */
AL_MIDI_FX_CTRL_0 = 0x14,
AL_MIDI_FX_CTRL_1 = 0x15,
AL_MIDI_FX_CTRL_2 = 0x16,
AL_MIDI_FX_CTRL_3 = 0x17,
AL_MIDI_FX_CTRL_4 = 0x18,
AL_MIDI_FX_CTRL_5 = 0x19,
AL_MIDI_FX_CTRL_6 = 0x1A,
AL_MIDI_FX_CTRL_7 = 0x1B,
AL_MIDI_FX_CTRL_8 = 0x1C,
AL_MIDI_FX_CTRL_9 = 0x1D,
AL_MIDI_SUSTAIN_CTRL = 0x40,
AL_MIDI_FX1_CTRL = 0x5B,
AL_MIDI_FX3_CTRL = 0x5D
};
enum AL_MIDImeta {
AL_MIDI_META_TEMPO = 0x51,
AL_MIDI_META_EOT = 0x2f
};
#define AL_CMIDI_BLOCK_CODE 0xFE
#define AL_CMIDI_LOOPSTART_CODE 0x2E
#define AL_CMIDI_LOOPEND_CODE 0x2D
#define AL_CMIDI_CNTRL_LOOPSTART 102
#define AL_CMIDI_CNTRL_LOOPEND 103
#define AL_CMIDI_CNTRL_LOOPCOUNT_SM 104
#define AL_CMIDI_CNTRL_LOOPCOUNT_BIG 105
typedef struct {
u8 *curPtr; /* ptr to the next event */
s32 lastTicks; /* sequence clock ticks (used by alSeqSetLoc) */
s32 curTicks; /* sequence clock ticks of next event (used by loop end test) */
s16 lastStatus; /* the last status msg */
} ALSeqMarker;
typedef struct {
s32 ticks; /* MIDI, Tempo and End events must start with ticks */
u8 status;
u8 byte1;
u8 byte2;
u32 duration;
} ALMIDIEvent;
typedef struct {
s32 ticks;
u8 status;
u8 type;
u8 len;
u8 byte1;
u8 byte2;
u8 byte3;
} ALTempoEvent;
typedef struct {
s32 ticks;
u8 status;
u8 type;
u8 len;
} ALEndEvent;
typedef struct {
struct ALVoice_s *voice;
} ALNoteEvent;
typedef struct {
struct ALVoice_s *voice;
ALMicroTime delta;
u8 vol;
} ALVolumeEvent;
typedef struct {
s16 vol;
} ALSeqpVolEvent;
typedef struct {
ALSeqMarker *start;
ALSeqMarker *end;
s32 count;
} ALSeqpLoopEvent;
typedef struct {
u8 chan;
u8 priority;
} ALSeqpPriorityEvent;
typedef struct {
void *seq; /* pointer to a seq (could be an ALSeq or an ALCSeq). */
} ALSeqpSeqEvent;
typedef struct {
ALBank *bank;
} ALSeqpBankEvent;
typedef struct {
struct ALVoiceState_s *vs;
void *oscState;
u8 chan;
} ALOscEvent;
typedef struct {
s16 type;
union {
ALMIDIEvent midi;
ALTempoEvent tempo;
ALEndEvent end;
ALNoteEvent note;
ALVolumeEvent vol;
ALSeqpLoopEvent loop;
ALSeqpVolEvent spvol;
ALSeqpPriorityEvent sppriority;
ALSeqpSeqEvent spseq;
ALSeqpBankEvent spbank;
ALOscEvent osc;
} msg;
} ALEvent;
typedef struct {
ALLink node;
ALMicroTime delta;
ALEvent evt;
} ALEventListItem;
typedef struct {
ALLink freeList;
ALLink allocList;
s32 eventCount;
} ALEventQueue;
void alEvtqNew(ALEventQueue *evtq, ALEventListItem *items,
s32 itemCount);
ALMicroTime alEvtqNextEvent(ALEventQueue *evtq, ALEvent *evt);
void alEvtqPostEvent(ALEventQueue *evtq, ALEvent *evt,
ALMicroTime delta);
void alEvtqFlush(ALEventQueue *evtq);
void alEvtqFlushType(ALEventQueue *evtq, s16 type);
#define AL_PHASE_ATTACK 0
#define AL_PHASE_NOTEON 0
#define AL_PHASE_DECAY 1
#define AL_PHASE_SUSTAIN 2
#define AL_PHASE_RELEASE 3
#define AL_PHASE_SUSTREL 4
typedef struct ALVoiceState_s {
struct ALVoiceState_s *next;/* MUST be first */
ALVoice voice;
ALSound *sound;
ALMicroTime envEndTime; /* time of envelope segment end */
f32 pitch; /* currect pitch ratio */
f32 vibrato; /* current value of the vibrato */
u8 envGain; /* current envelope gain */
u8 channel; /* channel assignment */
u8 key; /* note on key number */
u8 velocity; /* note on velocity */
u8 envPhase; /* what envelope phase */
u8 phase;
u8 tremelo; /* current value of the tremelo */
u8 flags; /* bit 0 tremelo flag
bit 1 vibrato flag */
} ALVoiceState;
typedef struct {
ALInstrument *instrument; /* instrument assigned to this chan */
s16 bendRange; /* pitch bend range in cents */
ALFxId fxId; /* type of fx assigned to this chan */
ALPan pan; /* overall pan for this chan */
u8 priority; /* priority for this chan */
u8 vol; /* current volume for this chan */
u8 fxmix; /* current fx mix for this chan */
u8 sustain; /* current sustain pedal state */
f32 pitchBend; /* current pitch bend val in cents */
} ALChanState;
typedef struct ALSeq_s {
u8 *base; /* ptr to start of sequence file */
u8 *trackStart; /* ptr to first MIDI event */
u8 *curPtr; /* ptr to next event to read */
s32 lastTicks; /* MIDI ticks for last event */
s32 len; /* length of sequence in bytes */
f32 qnpt; /* qrter notes / tick (1/division) */
s16 division; /* ticks per quarter note */
s16 lastStatus; /* for running status */
} ALSeq;
typedef struct {
u32 trackOffset[16];
u32 division;
} ALCMidiHdr;
typedef struct ALCSeq_s {
ALCMidiHdr *base; /* ptr to start of sequence file */
u32 validTracks; /* set of flags, showing valid tracks */
f32 qnpt; /* qrter notes / tick (1/division) */
u32 lastTicks; /* keep track of ticks incase app wants */
u32 lastDeltaTicks; /* number of delta ticks of last event */
u32 deltaFlag; /* flag: set if delta's not subtracted */
u8 *curLoc[16]; /* ptr to current track location, */
/* may point to next event, or may point */
/* to a backup code */
u8 *curBUPtr[16]; /* ptr to next event if in backup mode */
u8 curBULen[16]; /* if > 0, then in backup mode */
u8 lastStatus[16]; /* for running status */
u32 evtDeltaTicks[16]; /* delta time to next event */
} ALCSeq;
typedef struct {
u32 validTracks;
s32 lastTicks;
u32 lastDeltaTicks;
u8 *curLoc[16];
u8 *curBUPtr[16];
u8 curBULen[16];
u8 lastStatus[16];
u32 evtDeltaTicks[16];
} ALCSeqMarker;
#define NO_SOUND_ERR_MASK 0x01
#define NOTE_OFF_ERR_MASK 0x02
#define NO_VOICE_ERR_MASK 0x04
typedef struct {
s32 maxVoices; /* max number of voices to alloc */
s32 maxEvents; /* max internal events to support */
u8 maxChannels; /* max MIDI channels to support (16)*/
u8 debugFlags; /* control which error get reported */
ALHeap *heap; /* ptr to initialized heap */
void *initOsc;
void *updateOsc;
void *stopOsc;
} ALSeqpConfig;
typedef ALMicroTime (*ALOscInit)(void **oscState,f32 *initVal, u8 oscType,
u8 oscRate, u8 oscDepth, u8 oscDelay);
typedef ALMicroTime (*ALOscUpdate)(void *oscState, f32 *updateVal);
typedef void (*ALOscStop)(void *oscState);
typedef struct {
ALPlayer node; /* note: must be first in structure */
ALSynth *drvr; /* reference to the client driver */
ALSeq *target; /* current sequence */
ALMicroTime curTime;
ALBank *bank; /* current ALBank */
s32 uspt; /* microseconds per tick */
s32 nextDelta; /* microseconds to next callback */
s32 state;
u16 chanMask; /* active channels */
s16 vol; /* overall sequence volume */
u8 maxChannels; /* number of MIDI channels */
u8 debugFlags; /* control which error get reported */
ALEvent nextEvent;
ALEventQueue evtq;
ALMicroTime frameTime;
ALChanState *chanState; /* 16 channels for MIDI */
ALVoiceState *vAllocHead; /* list head for allocated voices */
ALVoiceState *vAllocTail; /* list tail for allocated voices */
ALVoiceState *vFreeList; /* list of free voice state structs */
ALOscInit initOsc;
ALOscUpdate updateOsc;
ALOscStop stopOsc;
ALSeqMarker *loopStart;
ALSeqMarker *loopEnd;
s32 loopCount; /* -1 = loop forever, 0 = no loop */
} ALSeqPlayer;
typedef struct {
ALPlayer node; /* note: must be first in structure */
ALSynth *drvr; /* reference to the client driver */
ALCSeq *target; /* current sequence */
ALMicroTime curTime;
ALBank *bank; /* current ALBank */
s32 uspt; /* microseconds per tick */
s32 nextDelta; /* microseconds to next callback */
s32 state;
u16 chanMask; /* active channels */
s16 vol; /* overall sequence volume */
u8 maxChannels; /* number of MIDI channels */
u8 debugFlags; /* control which error get reported */
ALEvent nextEvent;
ALEventQueue evtq;
ALMicroTime frameTime;
ALChanState *chanState; /* 16 channels for MIDI */
ALVoiceState *vAllocHead; /* list head for allocated voices */
ALVoiceState *vAllocTail; /* list tail for allocated voices */
ALVoiceState *vFreeList; /* list of free voice state structs */
ALOscInit initOsc;
ALOscUpdate updateOsc;
ALOscStop stopOsc;
} ALCSPlayer;
/*
* Sequence data representation routines
*/
void alSeqNew(ALSeq *seq, u8 *ptr, s32 len);
void alSeqNextEvent(ALSeq *seq, ALEvent *event);
s32 alSeqGetTicks(ALSeq *seq);
f32 alSeqTicksToSec(ALSeq *seq, s32 ticks, u32 tempo);
u32 alSeqSecToTicks(ALSeq *seq, f32 sec, u32 tempo);
void alSeqNewMarker(ALSeq *seq, ALSeqMarker *m, u32 ticks);
void alSeqSetLoc(ALSeq *seq, ALSeqMarker *marker);
void alSeqGetLoc(ALSeq *seq, ALSeqMarker *marker);
/*
* Compact Sequence data representation routines
*/
void alCSeqNew(ALCSeq *seq, u8 *ptr);
void alCSeqNextEvent(ALCSeq *seq,ALEvent *evt);
s32 alCSeqGetTicks(ALCSeq *seq);
f32 alCSeqTicksToSec(ALCSeq *seq, s32 ticks, u32 tempo);
u32 alCSeqSecToTicks(ALCSeq *seq, f32 sec, u32 tempo);
void alCSeqNewMarker(ALCSeq *seq, ALCSeqMarker *m, u32 ticks);
void alCSeqSetLoc(ALCSeq *seq, ALCSeqMarker *marker);
void alCSeqGetLoc(ALCSeq *seq, ALCSeqMarker *marker);
/*
* Sequence Player routines
*/
f32 alCents2Ratio(s32 cents);
void alSeqpNew(ALSeqPlayer *seqp, ALSeqpConfig *config);
void alSeqpDelete(ALSeqPlayer *seqp);
void alSeqpSetSeq(ALSeqPlayer *seqp, ALSeq *seq);
ALSeq *alSeqpGetSeq(ALSeqPlayer *seqp);
void alSeqpPlay(ALSeqPlayer *seqp);
void alSeqpStop(ALSeqPlayer *seqp);
s32 alSeqpGetState(ALSeqPlayer *seqp);
void alSeqpSetBank(ALSeqPlayer *seqp, ALBank *b);
void alSeqpSetTempo(ALSeqPlayer *seqp, s32 tempo);
s32 alSeqpGetTempo(ALSeqPlayer *seqp);
s16 alSeqpGetVol(ALSeqPlayer *seqp); /* Master volume control */
void alSeqpSetVol(ALSeqPlayer *seqp, s16 vol);
void alSeqpLoop(ALSeqPlayer *seqp, ALSeqMarker *start, ALSeqMarker *end, s32 count);
void alSeqpSetChlProgram(ALSeqPlayer *seqp, u8 chan, u8 prog);
s32 alSeqpGetChlProgram(ALSeqPlayer *seqp, u8 chan);
void alSeqpSetChlFXMix(ALSeqPlayer *seqp, u8 chan, u8 fxmix);
u8 alSeqpGetChlFXMix(ALSeqPlayer *seqp, u8 chan);
void alSeqpSetChlVol(ALSeqPlayer *seqp, u8 chan, u8 vol);
u8 alSeqpGetChlVol(ALSeqPlayer *seqp, u8 chan);
void alSeqpSetChlPan(ALSeqPlayer *seqp, u8 chan, ALPan pan);
ALPan alSeqpGetChlPan(ALSeqPlayer *seqp, u8 chan);
void alSeqpSetChlPriority(ALSeqPlayer *seqp, u8 chan, u8 priority);
u8 alSeqpGetChlPriority(ALSeqPlayer *seqp, u8 chan);
void alSeqpSendMidi(ALSeqPlayer *seqp, s32 ticks, u8 status, u8 byte1, u8 byte2);
/* Maintain backwards compatibility with old routine names. */
#define alSeqpSetProgram alSeqpSetChlProgram
#define alSeqpGetProgram alSeqpGetChlProgram
#define alSeqpSetFXMix alSeqpSetChlFXMix
#define alSeqpGetFXMix alSeqpGetChlFXMix
#define alSeqpSetPan alSeqpSetChlPan
#define alSeqpGetPan alSeqpGetChlPan
#define alSeqpSetChannelPriority alSeqpSetChlPriority
#define alSeqpGetChannelPriority alSeqpGetChlPriority
/*
* Compressed Sequence Player routines
*/
void alCSPNew(ALCSPlayer *seqp, ALSeqpConfig *config);
void alCSPDelete(ALCSPlayer *seqp);
void alCSPSetSeq(ALCSPlayer *seqp, ALCSeq *seq);
ALCSeq *alCSPGetSeq(ALCSPlayer *seqp);
void alCSPPlay(ALCSPlayer *seqp);
void alCSPStop(ALCSPlayer *seqp);
s32 alCSPGetState(ALCSPlayer *seqp);
void alCSPSetBank(ALCSPlayer *seqp, ALBank *b);
void alCSPSetTempo(ALCSPlayer *seqp, s32 tempo);
s32 alCSPGetTempo(ALCSPlayer *seqp);
s16 alCSPGetVol(ALCSPlayer *seqp);
void alCSPSetVol(ALCSPlayer *seqp, s16 vol);
void alCSPSetChlProgram(ALCSPlayer *seqp, u8 chan, u8 prog);
s32 alCSPGetChlProgram(ALCSPlayer *seqp, u8 chan);
void alCSPSetChlFXMix(ALCSPlayer *seqp, u8 chan, u8 fxmix);
u8 alCSPGetChlFXMix(ALCSPlayer *seqp, u8 chan);
void alCSPSetChlPan(ALCSPlayer *seqp, u8 chan, ALPan pan);
ALPan alCSPGetChlPan(ALCSPlayer *seqp, u8 chan);
void alCSPSetChlVol(ALCSPlayer *seqp, u8 chan, u8 vol);
u8 alCSPGetChlVol(ALCSPlayer *seqp, u8 chan);
void alCSPSetChlPriority(ALCSPlayer *seqp, u8 chan, u8 priority);
u8 alCSPGetChlPriority(ALCSPlayer *seqp, u8 chan);
void alCSPSendMidi(ALCSPlayer *seqp, s32 ticks, u8 status,
u8 byte1, u8 byte2);
/* Maintain backwards compatibility with old routine names. */
#define alCSPSetProgram alCSPSetChlProgram
#define alCSPGetProgram alCSPGetChlProgram
#define alCSPSetFXMix alCSPSetChlFXMix
#define alCSPGetFXMix alCSPGetChlFXMix
#define alCSPSetPan alCSPSetChlPan
#define alCSPGetPan alCSPGetChlPan
#define alCSPSetChannelPriority alCSPSetChlPriority
#define alCSPGetChannelPriority alCSPGetChlPriority
/***********************************************************************
* Sound Player stuff
***********************************************************************/
typedef struct {
s32 maxSounds;
s32 maxEvents;
ALHeap *heap;
} ALSndpConfig;
typedef struct {
ALPlayer node; /* note: must be first in structure */
ALEventQueue evtq;
ALEvent nextEvent;
ALSynth *drvr; /* reference to the client driver */
s32 target;
void *sndState;
s32 maxSounds;
ALMicroTime frameTime;
ALMicroTime nextDelta; /* microseconds to next callback */
ALMicroTime curTime;
} ALSndPlayer;
typedef s16 ALSndId;
void alSndpNew(ALSndPlayer *sndp, ALSndpConfig *c);
void alSndpDelete(ALSndPlayer *sndp);
ALSndId alSndpAllocate(ALSndPlayer *sndp, ALSound *sound);
void alSndpDeallocate(ALSndPlayer *sndp, ALSndId id);
void alSndpSetSound(ALSndPlayer *sndp, ALSndId id);
ALSndId alSndpGetSound(ALSndPlayer *sndp);
void alSndpPlay(ALSndPlayer *sndp);
void alSndpPlayAt(ALSndPlayer *sndp, ALMicroTime delta);
void alSndpStop(ALSndPlayer *sndp);
void alSndpSetVol(ALSndPlayer *sndp, s16 vol);
void alSndpSetPitch(ALSndPlayer *sndp, f32 pitch);
void alSndpSetPan(ALSndPlayer *sndp, ALPan pan);
void alSndpSetPriority(ALSndPlayer *sndp, ALSndId id, u8 priority);
void alSndpSetFXMix(ALSndPlayer *sndp, u8 mix);
s32 alSndpGetState(ALSndPlayer *sndp);
#ifndef _FINALROM
void alParseAbiCL(Acmd *cmdList, u32 nbytes);
#endif
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !__LIB_AUDIO__ */

View File

@ -0,0 +1,100 @@
#ifndef _MBI_H_
#define _MBI_H_
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/**************************************************************************
*
* $Revision: 1.136 $
* $Date: 1999/01/05 13:04:00 $
* $Source: /exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/mbi.h,v $
*
**************************************************************************/
/*
* Header file for the Media Binary Interface
*
* NOTE: This file is included by the RSP microcode, so any C-specific
* constructs must be bracketed by #ifdef _LANGUAGE_C
*
*/
/*
* the SHIFT macros are used to build display list commands, inserting
* bit-fields into a 32-bit word. They take a value, a shift amount,
* and a width.
*
* For the left shift, the lower bits of the value are masked,
* then shifted left.
*
* For the right shift, the value is shifted right, then the lower bits
* are masked.
*
* (NOTE: _SHIFTL(v, 0, 32) won't work, just use an assignment)
*
*/
#define _SHIFTL(v, s, w) \
((unsigned int) (((unsigned int)(v) & ((0x01 << (w)) - 1)) << (s)))
#define _SHIFTR(v, s, w) \
((unsigned int)(((unsigned int)(v) >> (s)) & ((0x01 << (w)) - 1)))
#define _SHIFT _SHIFTL /* old, for compatibility only */
#define G_ON (1)
#define G_OFF (0)
/**************************************************************************
*
* Graphics Binary Interface
*
**************************************************************************/
#include <PR/gbi.h>
/**************************************************************************
*
* Audio Binary Interface
*
**************************************************************************/
#include <PR/abi.h>
/**************************************************************************
*
* Task list
*
**************************************************************************/
#define M_GFXTASK 1
#define M_AUDTASK 2
#define M_VIDTASK 3
#define M_HVQTASK 6
#define M_HVQMTASK 7
/**************************************************************************
*
* Segment macros and definitions
*
**************************************************************************/
#define NUM_SEGMENTS (16)
#define SEGMENT_OFFSET(a) ((unsigned int)(a) & 0x00ffffff)
#define SEGMENT_NUMBER(a) (((unsigned int)(a) << 4) >> 28)
#define SEGMENT_ADDR(num, off) (((num) << 24) + (off))
#ifndef NULL
#define NULL 0
#endif
#endif /* !_MBI_H_ */

View File

@ -0,0 +1,108 @@
/*====================================================================
* os.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os.h,v $
$Revision: 1.168 $
$Date: 2000/06/15 06:24:52 $
*---------------------------------------------------------------------*/
#ifndef _OS_H_
#define _OS_H_
#include <PR/os_thread.h>
#include <PR/os_message.h>
#include <PR/os_exception.h>
#include <PR/os_tlb.h>
#include <PR/os_pi.h>
#include <PR/os_vi.h>
#include <PR/os_ai.h>
#include <PR/os_si.h>
#include <PR/os_time.h>
#include <PR/os_cont.h>
#include <PR/os_pfs.h>
#include <PR/os_gbpak.h>
#include <PR/os_voice.h>
#include <PR/os_cache.h>
#include <PR/os_debug.h>
#include <PR/os_error.h>
#include <PR/os_gio.h>
#include <PR/os_reg.h>
#include <PR/os_system.h>
#include <PR/os_eeprom.h>
#include <PR/os_flash.h>
#include <PR/os_host.h>
#include <PR/os_convert.h>
#include <PR/os_rdp.h>
#include <PR/os_rsp.h>
#include <PR/os_motor.h>
#include <PR/os_libc.h>
#include <PR/os_version.h>
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
/**************************************************************************
*
* Global definitions
*
*/
/*
* Stack size for I/O device managers: PIM (PI Manager), VIM (VI Manager),
* SIM (SI Manager)
*
*/
#define OS_PIM_STACKSIZE 4096
#define OS_VIM_STACKSIZE 4096
#define OS_SIM_STACKSIZE 4096
#define OS_MIN_STACKSIZE 72
/*
* Leo Disk
*/
/* transfer mode */
#define LEO_BLOCK_MODE 1
#define LEO_TRACK_MODE 2
#define LEO_SECTOR_MODE 3
/*
* Boot addresses
*/
#define BOOT_ADDRESS_ULTRA 0x80000400
#define BOOT_ADDRESS_COSIM 0x80002000
#define BOOT_ADDRESS_EMU 0x20010000
#define BOOT_ADDRESS_INDY 0x88100000
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_H */

View File

@ -0,0 +1,92 @@
/*====================================================================
* os_ai.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_ai.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:04 $
*---------------------------------------------------------------------*/
#ifndef _OS_AI_H_
#define _OS_AI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Audio interface (Ai) */
extern u32 osAiGetStatus(void);
extern u32 osAiGetLength(void);
extern s32 osAiSetFrequency(u32);
extern s32 osAiSetNextBuffer(void *, u32);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_AI_H_ */

View File

@ -0,0 +1,96 @@
/*====================================================================
* os_cache.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_cache.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:04 $
*---------------------------------------------------------------------*/
#ifndef _OS_CACHE_H_
#define _OS_CACHE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
#define OS_DCACHE_ROUNDUP_ADDR(x) (void *)(((((u32)(x)+0xf)/0x10)*0x10))
#define OS_DCACHE_ROUNDUP_SIZE(x) (u32)(((((u32)(x)+0xf)/0x10)*0x10))
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Cache operations and macros */
extern void osInvalDCache(void *, s32);
extern void osInvalICache(void *, s32);
extern void osWritebackDCache(void *, s32);
extern void osWritebackDCacheAll(void);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CACHE_H_ */

View File

@ -0,0 +1,208 @@
/*====================================================================
* os_cont.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_cont.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:05 $
*---------------------------------------------------------------------*/
#ifndef _OS_CONT_H_
#define _OS_CONT_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure for controllers
*/
typedef struct {
u16 type; /* Controller Type */
u8 status; /* Controller status */
u8 errno;
}OSContStatus;
typedef struct {
u16 button;
s8 stick_x; /* -80 <= stick_x <= 80 */
s8 stick_y; /* -80 <= stick_y <= 80 */
u8 errno;
} OSContPad;
typedef struct {
void *address; /* Ram pad Address: 11 bits */
u8 databuffer[32]; /* address of the data buffer */
u8 addressCrc; /* CRC code for address */
u8 dataCrc; /* CRC code for data */
u8 errno;
} OSContRamIo;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/*
* Controllers number
*/
#ifndef _HW_VERSION_1
#define MAXCONTROLLERS 4
#else
#define MAXCONTROLLERS 6
#endif
/* controller errors */
#define CONT_NO_RESPONSE_ERROR 0x8
#define CONT_OVERRUN_ERROR 0x4
#define CONT_RANGE_ERROR -1
#ifdef _HW_VERSION_1
#define CONT_FRAME_ERROR 0x2
#define CONT_COLLISION_ERROR 0x1
#endif
/* Controller type */
#define CONT_ABSOLUTE 0x0001
#define CONT_RELATIVE 0x0002
#define CONT_JOYPORT 0x0004
#define CONT_EEPROM 0x8000
#define CONT_EEP16K 0x4000
#define CONT_TYPE_MASK 0x1f07
#define CONT_TYPE_NORMAL 0x0005
#define CONT_TYPE_MOUSE 0x0002
#define CONT_TYPE_VOICE 0x0100
/* Controller status */
#define CONT_CARD_ON 0x01
#define CONT_CARD_PULL 0x02
#define CONT_ADDR_CRC_ER 0x04
#define CONT_EEPROM_BUSY 0x80
/* Buttons */
#define CONT_A 0x8000
#define CONT_B 0x4000
#define CONT_G 0x2000
#define CONT_START 0x1000
#define CONT_UP 0x0800
#define CONT_DOWN 0x0400
#define CONT_LEFT 0x0200
#define CONT_RIGHT 0x0100
#define CONT_L 0x0020
#define CONT_R 0x0010
#define CONT_E 0x0008
#define CONT_D 0x0004
#define CONT_C 0x0002
#define CONT_F 0x0001
/* Nintendo's official button names */
#define A_BUTTON CONT_A
#define B_BUTTON CONT_B
#define L_TRIG CONT_L
#define R_TRIG CONT_R
#define Z_TRIG CONT_G
#define START_BUTTON CONT_START
#define U_JPAD CONT_UP
#define L_JPAD CONT_LEFT
#define R_JPAD CONT_RIGHT
#define D_JPAD CONT_DOWN
#define U_CBUTTONS CONT_E
#define L_CBUTTONS CONT_C
#define R_CBUTTONS CONT_F
#define D_CBUTTONS CONT_D
/* Controller error number */
#define CONT_ERR_NO_CONTROLLER PFS_ERR_NOPACK /* 1 */
#define CONT_ERR_CONTRFAIL CONT_OVERRUN_ERROR /* 4 */
#define CONT_ERR_INVALID PFS_ERR_INVALID /* 5 */
#define CONT_ERR_DEVICE PFS_ERR_DEVICE /* 11 */
#define CONT_ERR_NOT_READY 12
#define CONT_ERR_VOICE_MEMORY 13
#define CONT_ERR_VOICE_WORD 14
#define CONT_ERR_VOICE_NO_RESPONSE 15
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Controller interface */
extern s32 osContInit(OSMesgQueue *, u8 *, OSContStatus *);
extern s32 osContReset(OSMesgQueue *, OSContStatus *);
extern s32 osContStartQuery(OSMesgQueue *);
extern s32 osContStartReadData(OSMesgQueue *);
#ifndef _HW_VERSION_1
extern s32 osContSetCh(u8);
#endif
extern void osContGetQuery(OSContStatus *);
extern void osContGetReadData(OSContPad *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONT_H_ */

View File

@ -0,0 +1,111 @@
/*====================================================================
* os_convert.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_convert.h,v $
$Revision: 1.2 $
$Date: 1999/04/21 02:53:11 $
*---------------------------------------------------------------------*/
#ifndef _OS_CONVERT_H_
#define _OS_CONVERT_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#define OS_CLOCK_RATE 62500000LL
#define OS_CPU_COUNTER (OS_CLOCK_RATE*3/4)
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
#define OS_NSEC_TO_CYCLES(n) (((u64)(n)*(OS_CPU_COUNTER/15625000LL))/(1000000000LL/15625000LL))
#define OS_USEC_TO_CYCLES(n) (((u64)(n)*(OS_CPU_COUNTER/15625LL))/(1000000LL/15625LL))
#define OS_CYCLES_TO_NSEC(c) (((u64)(c)*(1000000000LL/15625000LL))/(OS_CPU_COUNTER/15625000LL))
#define OS_CYCLES_TO_USEC(c) (((u64)(c)*(1000000LL/15625LL))/(OS_CPU_COUNTER/15625LL))
/* OS_K?_TO_PHYSICAL macro bug fix for CodeWarrior */
#ifndef __MWERKS__
#define OS_K0_TO_PHYSICAL(x) (u32)(((char *)(x)-0x80000000))
#define OS_K1_TO_PHYSICAL(x) (u32)(((char *)(x)-0xa0000000))
#else
#define OS_K0_TO_PHYSICAL(x) ((char *)(x)-0x80000000)
#define OS_K1_TO_PHYSICAL(x) ((char *)(x)-0xa0000000)
#endif
#define OS_PHYSICAL_TO_K0(x) (void *)(((u32)(x)+0x80000000))
#define OS_PHYSICAL_TO_K1(x) (void *)(((u32)(x)+0xa0000000))
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Address translation routines and macros */
extern u32 osVirtualToPhysical(void *);
extern void * osPhysicalToVirtual(u32);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONVERT_H_ */

View File

@ -0,0 +1,117 @@
/*====================================================================
* os_debug.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_debug.h,v $
$Revision: 1.4 $
$Date: 1999/06/30 03:04:08 $
*---------------------------------------------------------------------*/
#ifndef _OS_DEBUG_H_
#define _OS_DEBUG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure for Profiler
*/
typedef struct {
u16 *histo_base; /* histogram base */
u32 histo_size; /* histogram size */
u32 *text_start; /* start of text segment */
u32 *text_end; /* end of text segment */
} OSProf;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/*
* Profiler constants
*/
#define PROF_MIN_INTERVAL 50 /* microseconds */
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Profiler Interface */
extern void osProfileInit(OSProf *, u32 profcnt);
extern void osProfileStart(u32);
extern void osProfileFlush(void);
extern void osProfileStop(void);
/* Thread Profiler Interface */
extern void osThreadProfileClear(OSId);
extern void osThreadProfileInit(void);
extern void osThreadProfileStart(void);
extern void osThreadProfileStop(void);
extern u32 osThreadProfileReadCount(OSId);
extern u32 osThreadProfileReadCountTh(OSThread*);
extern OSTime osThreadProfileReadTime(OSId);
extern OSTime osThreadProfileReadTimeTh(OSThread*);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_DEBUG_H_ */

View File

@ -0,0 +1,107 @@
/*====================================================================
* os_eeprom.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_eeprom.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:06 $
*---------------------------------------------------------------------*/
#ifndef _OS_EEPROM_H_
#define _OS_EEPROM_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* EEPROM TYPE */
#define EEPROM_TYPE_4K 0x01
#define EEPROM_TYPE_16K 0x02
/* definition for EEPROM */
#define EEPROM_MAXBLOCKS 64
#define EEP16K_MAXBLOCKS 256
#define EEPROM_BLOCK_SIZE 8
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* EEPROM interface */
extern s32 osEepromProbe(OSMesgQueue *);
extern s32 osEepromRead(OSMesgQueue *, u8, u8 *);
extern s32 osEepromWrite(OSMesgQueue *, u8, u8 *);
extern s32 osEepromLongRead(OSMesgQueue *, u8, u8 *, int);
extern s32 osEepromLongWrite(OSMesgQueue *, u8, u8 *, int);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EEPROM_H_ */

View File

@ -0,0 +1,86 @@
/*====================================================================
* os_error.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_error.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:06 $
*---------------------------------------------------------------------*/
#ifndef _OS_ERROR_H_
#define _OS_ERROR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_ERROR_H_ */

View File

@ -0,0 +1,86 @@
/*====================================================================
* os_exception.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_exception.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:07 $
*---------------------------------------------------------------------*/
#ifndef _OS_EXCEPTION_H_
#define _OS_EXCEPTION_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "ultratypes.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
typedef u32 OSIntMask;
typedef u32 OSHWIntr;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/* Flags for debugging purpose */
#define OS_FLAG_CPU_BREAK 1 /* Break exception has occurred */
#define OS_FLAG_FAULT 2 /* CPU fault has occurred */
/* Interrupt masks */
#define OS_IM_NONE 0x00000001
#define OS_IM_RCP 0x00000401
#define OS_IM_SW1 0x00000501
#define OS_IM_SW2 0x00000601
#define OS_IM_CART 0x00000c01
#define OS_IM_PRENMI 0x00001401
#define OS_IM_RDBWRITE 0x00002401
#define OS_IM_RDBREAD 0x00004401
#define OS_IM_COUNTER 0x00008401
#define OS_IM_CPU 0x0000ff01
#define OS_IM_SP 0x00010401
#define OS_IM_SI 0x00020401
#define OS_IM_AI 0x00040401
#define OS_IM_VI 0x00080401
#define OS_IM_PI 0x00100401
#define OS_IM_DP 0x00200401
#define OS_IM_ALL 0x003fff01
#define RCP_IMASK 0x003f0000
#define RCP_IMASKSHIFT 16
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Interrupt operations */
extern OSIntMask osGetIntMask(void);
extern OSIntMask osSetIntMask(OSIntMask);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EXCEPTION_H_ */

View File

@ -0,0 +1,77 @@
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo.
$RCSfile: os_flash.h,v $
$Revision: 1.1 $
$Date: 2000/06/15 06:24:55 $
*---------------------------------------------------------------------*/
#ifndef _OS_FLASH_H_
#define _OS_FLASH_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "ultratypes.h"
#include "os_pi.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/*
* defines for FLASH
*/
#define FLASH_START_ADDR 0x08000000
#define FLASH_SIZE 0x20000
#define FLASH_LATENCY 0x5
#define FLASH_PULSE 0x0c
#define FLASH_PAGE_SIZE 0xf
#define FLASH_REL_DURATION 0x2
#define DEVICE_TYPE_FLASH 8
#define FLASH_VERSION_MX_PROTO_A 0x00c20000
#define FLASH_VERSION_MX_A 0x00c20001
#define FLASH_VERSION_MX_C 0x00c2001e
#define FLASH_VERSION_MX_B_AND_D 0x00c2001d
#define FLASH_VERSION_MEI 0x003200f1
/* OLD_FLASH is MX_PROTO_A, MX_A and MX_C */
#define OLD_FLASH 0
/* NEW_FLASH is MX_B_AND_D and MATSUSHITA flash */
#define NEW_FLASH 1
#define FLASH_STATUS_ERASE_BUSY 2
#define FLASH_STATUS_ERASE_OK 0
#define FLASH_STATUS_ERASE_ERROR -1
#define FLASH_STATUS_WRITE_BUSY 1
#define FLASH_STATUS_WRITE_OK 0
#define FLASH_STATUS_WRITE_ERROR -1
extern OSPiHandle *osFlashReInit(u8 latency, u8 pulse,
u8 page_size, u8 rel_duration, u32 start);
extern OSPiHandle *osFlashInit(void);
extern void osFlashReadStatus(u8 *flash_status);
extern void osFlashReadId(u32 *flash_type, u32 *flash_maker);
extern void osFlashClearStatus(void);
extern s32 osFlashAllErase(void);
extern s32 osFlashSectorErase(u32 page_num);
extern s32 osFlashWriteBuffer(OSIoMesg *mb, s32 priority,
void *dramAddr, OSMesgQueue *mq);
extern s32 osFlashWriteArray(u32 page_num);
extern s32 osFlashReadArray(OSIoMesg *mb, s32 priority, u32 page_num,
void *dramAddr, u32 n_pages, OSMesgQueue *mq);
extern void osFlashChange(u32 flash_num);
extern void osFlashAllEraseThrough(void);
extern void osFlashSectorEraseThrough(u32 page_num);
extern s32 osFlashCheckEraseEnd(void);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_FLASH_H_ */

View File

@ -0,0 +1,107 @@
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo.
$RCSfile: os_gbpak.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:07 $
*---------------------------------------------------------------------*/
#ifndef _OS_GBPAK_H_
#define _OS_GBPAK_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#include "os_pfs.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
typedef struct {
u16 fixed1;
u16 start_address;
u8 nintendo_chr[0x30];
u8 game_title[16];
u16 company_code;
u8 body_code;
u8 cart_type;
u8 rom_size;
u8 ram_size;
u8 country_code;
u8 fixed2;
u8 version;
u8 isum;
u16 sum;
} OSGbpakId;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* definition for 64GB-PAK */
#define OS_GBPAK_POWER 0x01
#define OS_GBPAK_RSTB_DETECTION 0x04
#define OS_GBPAK_RSTB_STATUS 0x08
#define OS_GBPAK_GBCART_PULL 0x40
#define OS_GBPAK_GBCART_ON 0x80
#define OS_GBPAK_POWER_OFF 0x00 /* power of 64GB-PAK */
#define OS_GBPAK_POWER_ON 0x01
#define OS_GBPAK_ROM_ID_SIZE 0x50 /* ID size of GB cartridge */
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* 64GB-PAK */
extern s32 osGbpakInit(OSMesgQueue *, OSPfs *, int);
extern s32 osGbpakPower(OSPfs *, s32);
extern s32 osGbpakGetStatus(OSPfs *, u8 *);
extern s32 osGbpakReadWrite(OSPfs *, u16, u16, u8 *, u16);
extern s32 osGbpakReadId(OSPfs *, OSGbpakId *, u8 *);
extern s32 osGbpakCheckConnector(OSPfs *, u8 *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GBPAK_H_ */

View File

@ -0,0 +1,86 @@
/*====================================================================
* os_gio.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_gio.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:08 $
*---------------------------------------------------------------------*/
#ifndef _OS_GIO_H_
#define _OS_GIO_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GIO_H_ */

View File

@ -0,0 +1,166 @@
/*====================================================================
* os_host.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_host.h,v $
$Revision: 1.3 $
$Date: 1999/06/24 09:23:06 $
*---------------------------------------------------------------------*/
#ifndef _OS_HOST_H_
#define _OS_HOST_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include <PR/os_version.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
extern void __osInitialize_common(void);
#if defined(_FINALROM)
#define osInitialize() __osInitialize_common()
#else
/* PARTNER-N64 */
#if defined(PTN64)
extern void __osInitialize_kmc(void);
#define osReadHost osReadHost_pt
#define osWriteHost osWriteHost_pt
#define osInitialize() \
{ \
__osInitialize_common(); \
__osInitialize_kmc(); \
}
/* MONEGI SMART PACK A */
#elif defined(MWN64)
extern void __osInitialize_msp(void);
#define osReadHost osReadHost_pt
#define osWriteHost osWriteHost_pt
#define osInitialize() \
{ \
__osInitialize_common(); \
__osInitialize_msp(); \
}
/* IS-Viewer(for Debugger) */
#elif defined(ISV64)
extern void __osInitialize_isv(void);
#define osInitialize() \
{ \
__osInitialize_common(); \
__osInitialize_isv(); \
}
/* Emulation board for INDY */
#elif defined(EMU64)
extern void __osInitialize_emu(void);
#define osInitialize() \
{ \
__osInitialize_common(); \
__osInitialize_emu(); \
}
#else
/* Default (auto detect) */
extern void __osInitialize_autodetect(void);
extern void __osInitialize_msp(void);
extern void __osInitialize_kmc(void);
extern void __osInitialize_isv(void);
extern void __osInitialize_emu(void);
#define osInitialize() \
{ \
__osInitialize_common(); \
__osInitialize_autodetect(); \
}
#endif
#endif /* _FINAL_ROM */
#if BUILD_VERSION < VERSION_K
#undef osInitialize
#endif
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Game <> Host data transfer functions */
extern s32 osTestHost(void);
extern void osReadHost(void *, u32);
extern void osWriteHost(void *, u32);
extern void osAckRamromRead(void);
extern void osAckRamromWrite(void);
/* RDB port operations */
extern void osInitRdb(u8 *sendBuf, u32 sendSize);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_HOST_H_ */

View File

@ -0,0 +1,49 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal.h,v $
$Revision: 1.20 $
$Date: 1998/10/09 08:01:09 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_H_
#define _OS_INTERNAL_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
#include "os_internal_reg.h"
#include "os_internal_exception.h"
#include "os_internal_tlb.h"
#include "os_internal_si.h"
#include "os_internal_rsp.h"
#include "os_internal_error.h"
#include "os_internal_gio.h"
#include "os_internal_thread.h"
#include "os_internal_debug.h"
#include "os_internal_host.h"
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_H */

View File

@ -0,0 +1,43 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_debug.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:09 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_DEBUG_H_
#define _OS_INTERNAL_DEBUG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Debug port */
extern void __osSyncPutChars(int, int, const char *);
extern int __osAtomicDec(unsigned int *p);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_DEBUG_H */

View File

@ -0,0 +1,45 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_error.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:10 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_ERROR_H_
#define _OS_INTERNAL_ERROR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Error handling */
extern void __osError(s16, s16, ...);
extern OSThread * __osGetCurrFaultedThread(void);
extern OSThread * __osGetNextFaultedThread(OSThread *);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_ERROR_H */

View File

@ -0,0 +1,57 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_exception.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:10 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_EXCEPTION_H_
#define _OS_INTERNAL_EXCEPTION_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "os.h"
#include "os_version.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Routine for HW interrupt "handler" */
#if BUILD_VERSION >= VERSION_I_P
extern void __osSetHWIntrRoutine(OSHWIntr interrupt,
s32 (*handler)(void), void *stackEnd);
extern void __osGetHWIntrRoutine(OSHWIntr interrupt,
s32 (**handler)(void), void **stackEnd);
#else
extern void __osSetHWIntrRoutine(OSHWIntr interrupt,
s32 (*handler)(void));
extern void __osGetHWIntrRoutine(OSHWIntr interrupt,
s32 (**handler)(void));
#endif
/* Routine for global interrupt mask */
extern void __osSetGlobalIntMask(OSHWIntr);
extern void __osResetGlobalIntMask(OSHWIntr);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_EXCEPTION_H */

View File

@ -0,0 +1,40 @@
#ifndef _OS_INTERNAL_FLASH_H_
#define _OS_INTERNAL_FLASH_H_
#include "os_message.h"
#include "os_flash.h"
#define FLASH_BLOCK_SIZE 128
/**
* Flash commands
*/
#define FLASH_CMD_REG 0x10000
/* set whole chip erase mode */
#define FLASH_CMD_CHIP_ERASE 0x3C000000
/* set sector erase mode */
#define FLASH_CMD_SECTOR_ERASE 0x4B000000
/* do erasure */
#define FLASH_CMD_EXECUTE_ERASE 0x78000000
/* program selected page */
#define FLASH_CMD_PROGRAM_PAGE 0xA5000000
/* set page program mode */
#define FLASH_CMD_PAGE_PROGRAM 0xB4000000
/* set status mode */
#define FLASH_CMD_STATUS 0xD2000000
/* set silicon id mode */
#define FLASH_CMD_ID 0xE1000000
/* set read mode */
#define FLASH_CMD_READ_ARRAY 0xF0000000
extern OSIoMesg __osFlashMsg;
extern OSMesgQueue __osFlashMessageQ;
extern OSPiHandle __osFlashHandler;
extern OSMesg __osFlashMsgBuf[1];
extern s32 __osFlashVersion;
extern u32 __osFlashID[4];
u32 __osFlashGetAddr(u32 page_num);
#endif

View File

@ -0,0 +1,45 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_gio.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:11 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_GIO_H_
#define _OS_INTERNAL_GIO_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Development board functions */
extern void __osGIOInit(s32);
extern void __osGIOInterrupt(s32);
extern void __osGIORawInterrupt(s32);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_GIO_H */

View File

@ -0,0 +1,42 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_host.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:11 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_HOST_H_
#define _OS_INTERNAL_HOST_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* routine for rdb port */
extern u32 __osRdbSend(u8 *buf, u32 size, u32 type);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_HOST_H */

View File

@ -0,0 +1,57 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_reg.h,v $
$Revision: 1.2 $
$Date: 1999/03/10 12:19:14 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_REG_H_
#define _OS_INTERNAL_REG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "os.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Routines to get/fetch coprocessor 0 registers */
extern u32 __osGetCause(void);
extern void __osSetCause(u32);
extern u32 __osGetCompare(void);
extern void __osSetCompare(u32);
extern u32 __osGetConfig(void);
extern void __osSetConfig(u32);
extern void __osSetCount(u32);
extern u32 __osGetSR(void);
extern void __osSetSR(u32);
extern u32 __osDisableInt(void);
extern void __osRestoreInt(u32);
extern u32 __osGetWatchLo(void);
extern void __osSetWatchLo(u32);
/* Routines to get/set floating-point control and status register */
extern u32 __osSetFpcCsr(u32);
extern u32 __osGetFpcCsr(void);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_REG_H */

View File

@ -0,0 +1,48 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_rsp.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:12 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_RSP_H_
#define _OS_INTERNAL_RSP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Signal processor interface (Sp) */
extern u32 __osSpGetStatus(void);
extern void __osSpSetStatus(u32);
extern s32 __osSpSetPc(u32);
extern s32 __osSpRawWriteIo(u32, u32);
extern s32 __osSpRawReadIo(u32, u32 *);
extern s32 __osSpRawStartDma(s32, u32, void *, u32);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_RSP_H */

View File

@ -0,0 +1,46 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_si.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:13 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_SI_H_
#define _OS_INTERNAL_SI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Serial interface (Si) */
extern u32 __osSiGetStatus(void);
extern s32 __osSiRawWriteIo(u32, u32);
extern s32 __osSiRawReadIo(u32, u32 *);
extern s32 __osSiRawStartDma(s32, void *);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_SI_H */

View File

@ -0,0 +1,43 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_thread.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:13 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_THREAD_H_
#define _OS_INTERNAL_THREAD_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* For debugger use */
extern OSThread * __osGetActiveQueue(void);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_THREAD_H */

View File

@ -0,0 +1,47 @@
/**************************************************************************
* *
* Copyright (C) 1995, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_internal_tlb.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:14 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_TLB_H_
#define _OS_INTERNAL_TLB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/os.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/* Routines for fetch TLB info */
extern u32 __osGetTLBASID(void);
extern u32 __osGetTLBPageMask(s32);
extern u32 __osGetTLBHi(s32);
extern u32 __osGetTLBLo0(s32);
extern u32 __osGetTLBLo1(s32);
#endif /* _LANGUAGE_C */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_TLB_H */

View File

@ -0,0 +1,100 @@
/*====================================================================
* os_libc.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_libc.h,v $
$Revision: 1.3 $
$Date: 1999/07/13 01:43:47 $
*---------------------------------------------------------------------*/
#ifndef _OS_LIBC_H_
#define _OS_LIBC_H_
#include "os_pfs.h"
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* byte string operations */
extern void bcopy(const void *, void *, int);
extern int bcmp(const void *, const void *, int);
extern void bzero(void *, int);
/* Printf */
extern int sprintf(char *s, const char *fmt, ...);
extern void osSyncPrintf(const char *fmt, ...);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_LIBC_H_ */

View File

@ -0,0 +1,162 @@
/*====================================================================
* os_message.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_message.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:15 $
*---------------------------------------------------------------------*/
#ifndef _OS_MESSAGE_H_
#define _OS_MESSAGE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "ultratypes.h"
#include "os_thread.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
typedef u32 OSEvent;
/*
* Structure for message
*/
typedef void *OSMesg;
/*
* Structure for message queue
*/
typedef struct OSMesgQueue_s {
OSThread *mtqueue; /* Queue to store threads blocked on empty mailboxes (receive) */
OSThread *fullqueue; /* Queue to store threads blocked on full mailboxes (send) */
s32 validCount; /* Contains number of valid message */
s32 first; /* Points to first valid message */
s32 msgCount; /* Contains total # of messages */
OSMesg *msg; /* Points to message buffer array */
} OSMesgQueue;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* Events */
#ifdef _FINALROM
#define OS_NUM_EVENTS 15
#else
#define OS_NUM_EVENTS 23
#endif
#define OS_EVENT_SW1 0 /* CPU SW1 interrupt */
#define OS_EVENT_SW2 1 /* CPU SW2 interrupt */
#define OS_EVENT_CART 2 /* Cartridge interrupt: used by rmon */
#define OS_EVENT_COUNTER 3 /* Counter int: used by VI/Timer Mgr */
#define OS_EVENT_SP 4 /* SP task done interrupt */
#define OS_EVENT_SI 5 /* SI (controller) interrupt */
#define OS_EVENT_AI 6 /* AI interrupt */
#define OS_EVENT_VI 7 /* VI interrupt: used by VI/Timer Mgr */
#define OS_EVENT_PI 8 /* PI interrupt: used by PI Manager */
#define OS_EVENT_DP 9 /* DP full sync interrupt */
#define OS_EVENT_CPU_BREAK 10 /* CPU breakpoint: used by rmon */
#define OS_EVENT_SP_BREAK 11 /* SP breakpoint: used by rmon */
#define OS_EVENT_FAULT 12 /* CPU fault event: used by rmon */
#define OS_EVENT_THREADSTATUS 13 /* CPU thread status: used by rmon */
#define OS_EVENT_PRENMI 14 /* Pre NMI interrupt */
#ifndef _FINALROM
#define OS_EVENT_RDB_READ_DONE 15 /* RDB read ok event: used by rmon */
#define OS_EVENT_RDB_LOG_DONE 16 /* read of log data complete */
#define OS_EVENT_RDB_DATA_DONE 17 /* read of hostio data complete */
#define OS_EVENT_RDB_REQ_RAMROM 18 /* host needs ramrom access */
#define OS_EVENT_RDB_FREE_RAMROM 19 /* host is done with ramrom access */
#define OS_EVENT_RDB_DBG_DONE 20
#define OS_EVENT_RDB_FLUSH_PROF 21
#define OS_EVENT_RDB_ACK_PROF 22
#endif
/* Flags to turn blocking on/off when sending/receiving message */
#define OS_MESG_NOBLOCK 0
#define OS_MESG_BLOCK 1
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/* Get count of valid messages in queue */
#define MQ_GET_COUNT(mq) ((mq)->validCount)
/* Figure out if message queue is empty or full */
#define MQ_IS_EMPTY(mq) (MQ_GET_COUNT(mq) == 0)
#define MQ_IS_FULL(mq) (MQ_GET_COUNT(mq) >= (mq)->msgCount)
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Message operations */
extern void osCreateMesgQueue(OSMesgQueue *, OSMesg *, s32);
extern s32 osSendMesg(OSMesgQueue *, OSMesg, s32);
extern s32 osJamMesg(OSMesgQueue *, OSMesg, s32);
extern s32 osRecvMesg(OSMesgQueue *, OSMesg *, s32);
/* Event operations */
extern void osSetEventMesg(OSEvent, OSMesgQueue *, OSMesg);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MESSAGE_H_ */

View File

@ -0,0 +1,84 @@
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo.
$RCSfile: os_motor.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:15 $
*---------------------------------------------------------------------*/
#ifndef _OS_MOTOR_H_
#define _OS_MOTOR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#include "os_pfs.h"
#include "os_version.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Rumble PAK interface */
extern s32 osMotorInit(OSMesgQueue *, OSPfs *, int);
#if BUILD_VERSION >= VERSION_J
#define MOTOR_START 1
#define MOTOR_STOP 0
#define osMotorStart(x) __osMotorAccess((x), MOTOR_START)
#define osMotorStop(x) __osMotorAccess((x), MOTOR_STOP)
extern s32 __osMotorAccess(OSPfs *, s32);
#else
extern s32 osMotorStop(OSPfs *);
extern s32 osMotorStart(OSPfs *);
#endif
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MOTOR_H_ */

View File

@ -0,0 +1,200 @@
/*====================================================================
* os_pfs.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_pfs.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:16 $
*---------------------------------------------------------------------*/
#ifndef _OS_PFS_H_
#define _OS_PFS_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure for file system
*/
typedef struct {
int status;
OSMesgQueue *queue;
int channel;
u8 id[32];
u8 label[32];
int version;
int dir_size;
int inode_table; /* block location */
int minode_table; /* mirrioring inode_table */
int dir_table; /* block location */
int inode_start_page; /* page # */
u8 banks;
u8 activebank;
} OSPfs;
typedef struct {
u32 file_size; /* bytes */
u32 game_code;
u16 company_code;
char ext_name[4];
char game_name[16];
} OSPfsState;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* File System size */
#define OS_PFS_VERSION 0x0200
#define OS_PFS_VERSION_HI (OS_PFS_VERSION >> 8)
#define OS_PFS_VERSION_LO (OS_PFS_VERSION & 255)
#define PFS_INODE_SIZE_PER_PAGE 128
#define PFS_FILE_NAME_LEN 16
#define PFS_FILE_EXT_LEN 4
#define BLOCKSIZE 32 /* bytes */
#define PFS_ONE_PAGE 8 /* blocks */
#define PFS_MAX_BANKS 62
/* File System flag */
#define PFS_READ 0
#define PFS_WRITE 1
#define PFS_CREATE 2
/* File System status */
#define PFS_INITIALIZED 0x1
#define PFS_CORRUPTED 0x2
#define PFS_ID_BROKEN 0x4
#define PFS_MOTOR_INITIALIZED 0x8
#define PFS_GBPAK_INITIALIZED 0x10
/* Definition for page usage */
#define PFS_EOF 1
#define PFS_PAGE_NOT_EXIST 2
#define PFS_PAGE_NOT_USED 3
/* File System error number */
#define PFS_ERR_NOPACK 1 /* no memory card is plugged or */
#define PFS_ERR_NEW_PACK 2 /* ram pack has been changed to a different one */
#define PFS_ERR_INCONSISTENT 3 /* need to run Pfschecker*/
#define PFS_ERR_CONTRFAIL CONT_OVERRUN_ERROR
#define PFS_ERR_INVALID 5 /* invalid parameter or file not exist*/
#define PFS_ERR_BAD_DATA 6 /* the data read from pack are bad*/
#define PFS_DATA_FULL 7 /* no free pages on ram pack*/
#define PFS_DIR_FULL 8 /* no free directories on ram pack*/
#define PFS_ERR_EXIST 9 /* file exists*/
#define PFS_ERR_ID_FATAL 10 /* dead ram pack */
#define PFS_ERR_DEVICE 11 /* wrong device type*/
#define PFS_ERR_NO_GBCART 12 /* no gb cartridge (64GB-PAK) */
#define PFS_ERR_NEW_GBCART 13 /* gb cartridge may be changed */
/* Definition for bank */
#define PFS_ID_BANK_256K 0
#define PFS_ID_BANK_1M 4
#define PFS_BANKS_256K 1
#define PFS_WRITTEN 2
#define DEF_DIR_PAGES 2
#define PFS_ID_0AREA 1
#define PFS_ID_1AREA 3
#define PFS_ID_2AREA 4
#define PFS_ID_3AREA 6
#define PFS_LABEL_AREA 7
#define PFS_ID_PAGE PFS_ONE_PAGE * 0
#define PFS_BANK_LAPPED_BY 8 /* => u8 */
#define PFS_SECTOR_PER_BANK 32
#define PFS_INODE_DIST_MAP (PFS_BANK_LAPPED_BY * PFS_SECTOR_PER_BANK)
#define PFS_SECTOR_SIZE (PFS_INODE_SIZE_PER_PAGE/PFS_SECTOR_PER_BANK)
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* file system interface */
extern s32 osPfsInitPak(OSMesgQueue *, OSPfs *, int);
extern s32 osPfsRepairId(OSPfs *);
extern s32 osPfsInit(OSMesgQueue *, OSPfs *, int);
extern s32 osPfsReFormat(OSPfs *, OSMesgQueue *, int);
extern s32 osPfsChecker(OSPfs *);
extern s32 osPfsAllocateFile(OSPfs *, u16, u32, u8 *, u8 *, int, s32 *);
extern s32 osPfsFindFile(OSPfs *, u16, u32, u8 *, u8 *, s32 *);
extern s32 osPfsDeleteFile(OSPfs *, u16, u32, u8 *, u8 *);
extern s32 osPfsReadWriteFile(OSPfs *, s32, u8, int, int, u8 *);
extern s32 osPfsFileState(OSPfs *, s32, OSPfsState *);
extern s32 osPfsGetLabel(OSPfs *, u8 *, int *);
extern s32 osPfsSetLabel(OSPfs *, u8 *);
extern s32 osPfsIsPlug(OSMesgQueue *, u8 *);
extern s32 osPfsFreeBlocks(OSPfs *, s32 *);
extern s32 osPfsNumFiles(OSPfs *, s32 *, s32 *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PFS_H_ */

View File

@ -0,0 +1,221 @@
/*====================================================================
* os_pi.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_pi.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:16 $
*---------------------------------------------------------------------*/
#ifndef _OS_PI_H_
#define _OS_PI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include "ultratypes.h"
#include "os_thread.h"
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure for Enhanced PI interface
*/
/*
* OSTranxInfo is set up for Leo Disk DMA. This info will be maintained
* by exception handler. This is how the PIMGR and the ISR communicate.
*/
typedef struct {
u32 errStatus; /* error status */
void *dramAddr; /* RDRAM buffer address (DMA) */
void *C2Addr; /* C2 buffer address */
u32 sectorSize; /* size of transfering sector */
u32 C1ErrNum; /* total # of C1 errors */
u32 C1ErrSector[4]; /* error sectors */
} __OSBlockInfo;
typedef struct {
u32 cmdType; /* for disk only */
u16 transferMode; /* Block, Track, or sector? */
u16 blockNum; /* which block is transfering */
s32 sectorNum; /* which sector is transfering */
u32 devAddr; /* Device buffer address */
u32 bmCtlShadow; /* asic bm_ctl(510) register shadow ram */
u32 seqCtlShadow; /* asic seq_ctl(518) register shadow ram */
__OSBlockInfo block[2]; /* bolck transfer info */
} __OSTranxInfo;
typedef struct OSPiHandle_s {
struct OSPiHandle_s *next; /* point to next handle on the table */
u8 type; /* DEVICE_TYPE_BULK for disk */
u8 latency; /* domain latency */
u8 pageSize; /* domain page size */
u8 relDuration; /* domain release duration */
u8 pulse; /* domain pulse width */
u8 domain; /* which domain */
u32 baseAddress; /* Domain address */
u32 speed; /* for roms only */
/* The following are "private" elements" */
__OSTranxInfo transferInfo; /* for disk only */
} OSPiHandle;
typedef struct {
u8 type;
u32 address;
} OSPiInfo;
/*
* Structure for I/O message block
*/
typedef struct {
u16 type; /* Message type */
u8 pri; /* Message priority (High or Normal) */
u8 status; /* Return status */
OSMesgQueue *retQueue; /* Return message queue to notify I/O completion */
} OSIoMesgHdr;
typedef struct {
OSIoMesgHdr hdr; /* Message header */
void *dramAddr; /* RDRAM buffer address (DMA) */
u32 devAddr; /* Device buffer address (DMA) */
u32 size; /* DMA transfer size in bytes */
OSPiHandle *piHandle; /* PI device handle */
} OSIoMesg;
/*
* Structure for device manager block
*/
typedef struct {
s32 active; /* Status flag */
OSThread *thread; /* Calling thread */
OSMesgQueue *cmdQueue; /* Command queue */
OSMesgQueue *evtQueue; /* Event queue */
OSMesgQueue *acsQueue; /* Access queue */
/* Raw DMA routine */
s32 (*dma)(s32, u32, void *, u32);
s32 (*edma)(OSPiHandle *, s32, u32, void *, u32);
} OSDevMgr;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* Flags to indicate direction of data transfer */
#define OS_READ 0 /* device -> RDRAM */
#define OS_WRITE 1 /* device <- RDRAM */
#define OS_OTHERS 2 /* for Leo disk only */
/*
* I/O message types
*/
#define OS_MESG_TYPE_BASE (10)
#define OS_MESG_TYPE_LOOPBACK (OS_MESG_TYPE_BASE + 0)
#define OS_MESG_TYPE_DMAREAD (OS_MESG_TYPE_BASE + 1)
#define OS_MESG_TYPE_DMAWRITE (OS_MESG_TYPE_BASE + 2)
#define OS_MESG_TYPE_VRETRACE (OS_MESG_TYPE_BASE + 3)
#define OS_MESG_TYPE_COUNTER (OS_MESG_TYPE_BASE + 4)
#define OS_MESG_TYPE_EDMAREAD (OS_MESG_TYPE_BASE + 5)
#define OS_MESG_TYPE_EDMAWRITE (OS_MESG_TYPE_BASE + 6)
/*
* I/O message priority
*/
#define OS_MESG_PRI_NORMAL 0
#define OS_MESG_PRI_HIGH 1
/*
* PI/EPI
*/
#define PI_DOMAIN1 0
#define PI_DOMAIN2 1
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
extern OSPiHandle *__osPiTable; /* The head of OSPiHandle link list */
/**************************************************************************
*
* Function prototypes
*
*/
extern u32 osPiGetStatus(void);
extern s32 osPiGetDeviceType(void);
extern s32 osPiWriteIo(u32, u32);
extern s32 osPiReadIo(u32, u32 *);
extern s32 osPiStartDma(OSIoMesg *, s32, s32, u32, void *, u32, OSMesgQueue *);
extern void osCreatePiManager(OSPri, OSMesgQueue *, OSMesg *, s32);
/* Enhanced PI interface */
extern OSPiHandle *osCartRomInit(void);
extern OSPiHandle *osLeoDiskInit(void);
extern OSPiHandle *osDriveRomInit(void);
extern s32 osEPiDeviceType(OSPiHandle *, OSPiInfo *);
extern s32 osEPiWriteIo(OSPiHandle *, u32 , u32 );
extern s32 osEPiReadIo(OSPiHandle *, u32 , u32 *);
extern s32 osEPiStartDma(OSPiHandle *, OSIoMesg *, s32);
extern s32 osEPiLinkHandle(OSPiHandle *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PI_H_ */

View File

@ -0,0 +1,92 @@
/*====================================================================
* os_rdp.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_rdp.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:16 $
*---------------------------------------------------------------------*/
#ifndef _OS_RDP_H_
#define _OS_RDP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Display processor interface (Dp) */
extern u32 osDpGetStatus(void);
extern void osDpSetStatus(u32);
extern void osDpGetCounters(u32 *);
extern s32 osDpSetNextBuffer(void *, u64);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RDP_H_ */

View File

@ -0,0 +1,90 @@
/*====================================================================
* os_reg.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_reg.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:17 $
*---------------------------------------------------------------------*/
#ifndef _OS_REG_H_
#define _OS_REG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Miscellaneous operations */
extern u32 osGetCount(void);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_REG_H_ */

View File

@ -0,0 +1,86 @@
/*====================================================================
* os_rsp.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_rsp.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:17 $
*---------------------------------------------------------------------*/
#ifndef _OS_RSP_H_
#define _OS_RSP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RSP_H_ */

View File

@ -0,0 +1,86 @@
/*====================================================================
* os_si.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_si.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:18 $
*---------------------------------------------------------------------*/
#ifndef _OS_SI_H_
#define _OS_SI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SI_H_ */

View File

@ -0,0 +1,118 @@
/*====================================================================
* os_system.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_system.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:18 $
*---------------------------------------------------------------------*/
#ifndef _OS_SYSTEM_H_
#define _OS_SYSTEM_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/*
* Values for osTvType
*/
#define OS_TV_PAL 0
#define OS_TV_NTSC 1
#define OS_TV_MPAL 2
/*
* Size of buffer the retains contents after NMI
*/
#define OS_APP_NMI_BUFSIZE 64
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
extern s32 osRomType; /* Bulk or cartridge ROM. 0=cartridge 1=bulk */
extern void *osRomBase; /* Rom base address of the game image */
extern s32 osTvType; /* 0 = PAL, 1 = NTSC, 2 = MPAL */
extern s32 osResetType; /* 0 = cold reset, 1 = NMI */
extern s32 osCicId;
extern s32 osVersion;
extern u32 osMemSize; /* Memory Size */
extern s32 osAppNMIBuffer[];
extern u64 osClockRate;
extern OSIntMask __OSGlobalIntMask; /* global interrupt mask */
/**************************************************************************
*
* Function prototypes
*
*/
extern void osInitialize(void);
extern void osExit(void);
extern u32 osGetMemSize(void);
/* pre-NMI */
extern s32 osAfterPreNMI(void);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SYSTEM_H_ */

View File

@ -0,0 +1,161 @@
/*====================================================================
* os_thread.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_thread.h,v $
$Revision: 1.3 $
$Date: 1999/06/15 12:39:40 $
*---------------------------------------------------------------------*/
#ifndef _OS_THREAD_H_
#define _OS_THREAD_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
typedef s32 OSPri;
typedef s32 OSId;
typedef union {
struct {
f32 f_odd;
f32 f_even;
} f;
f64 d;
} __OSfp;
typedef struct {
u64 at, v0, v1, a0, a1, a2, a3;
u64 t0, t1, t2, t3, t4, t5, t6, t7;
u64 s0, s1, s2, s3, s4, s5, s6, s7;
u64 t8, t9;
u64 gp, sp, s8, ra;
u64 lo, hi;
u32 sr, pc, cause, badvaddr, rcp;
u32 fpcsr;
__OSfp fp0, fp2, fp4, fp6, fp8, fp10, fp12, fp14;
__OSfp fp16, fp18, fp20, fp22, fp24, fp26, fp28, fp30;
} __OSThreadContext;
typedef struct {
u32 flag;
u32 count;
u64 time;
} __OSThreadprofile_s;
typedef struct OSThread_s {
struct OSThread_s *next; /* run/mesg queue link */
OSPri priority; /* run/mesg queue priority */
struct OSThread_s **queue; /* queue thread is on */
struct OSThread_s *tlnext; /* all threads queue link */
u16 state; /* OS_STATE_* */
u16 flags; /* flags for rmon */
OSId id; /* id for debugging */
int fp; /* thread has used fp unit */
__OSThreadprofile_s *thprof; /* workarea for thread profiler */
__OSThreadContext context; /* register/interrupt mask */
} OSThread;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* Thread states */
#define OS_STATE_STOPPED (1 << 0)
#define OS_STATE_RUNNABLE (1 << 1)
#define OS_STATE_RUNNING (1 << 2)
#define OS_STATE_WAITING (1 << 3)
/* Recommended thread priorities for the system threads */
#define OS_PRIORITY_MAX 255
#define OS_PRIORITY_VIMGR 254
#define OS_PRIORITY_RMON 250
#define OS_PRIORITY_RMONSPIN 200
#define OS_PRIORITY_PIMGR 150
#define OS_PRIORITY_SIMGR 140
#define OS_PRIORITY_APPMAX 127
#define OS_PRIORITY_IDLE 0 /* Must be 0 */
/* For thread profiler */
#define THPROF_IDMAX 64
#define THPROF_STACKSIZE 256
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Thread operations */
extern void osCreateThread(OSThread *, OSId, void (*)(void *), void *, void *, OSPri);
extern void osDestroyThread(OSThread *);
extern void osYieldThread(void);
extern void osStartThread(OSThread *);
extern void osStopThread(OSThread *);
extern OSId osGetThreadId(OSThread *);
extern void osSetThreadPri(OSThread *, OSPri);
extern OSPri osGetThreadPri(OSThread *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_THREAD_H_ */

View File

@ -0,0 +1,114 @@
/*====================================================================
* os_time.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_time.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:19 $
*---------------------------------------------------------------------*/
#ifndef _OS_TIME_H_
#define _OS_TIME_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure for time value
*/
typedef u64 OSTime;
/*
* Structure for interval timer
*/
typedef struct OSTimer_s {
struct OSTimer_s *next; /* point to next timer in list */
struct OSTimer_s *prev; /* point to previous timer in list */
OSTime interval; /* duration set by user */
OSTime value; /* time remaining before */
/* timer fires */
OSMesgQueue *mq; /* Message Queue */
OSMesg msg; /* Message to send */
} OSTimer;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Timer interface */
extern OSTime osGetTime(void);
extern void osSetTime(OSTime);
extern int osSetTimer(OSTimer *, OSTime, OSTime,
OSMesgQueue *, OSMesg);
extern int osStopTimer(OSTimer *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TIME_H_ */

View File

@ -0,0 +1,107 @@
/*====================================================================
* os_tlb.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_tlb.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:20 $
*---------------------------------------------------------------------*/
#ifndef _OS_TLB_H_
#define _OS_TLB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
typedef u32 OSPageMask;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/*
* Page size argument for TLB routines
*/
#define OS_PM_4K 0x0000000
#define OS_PM_16K 0x0006000
#define OS_PM_64K 0x001e000
#define OS_PM_256K 0x007e000
#define OS_PM_1M 0x01fe000
#define OS_PM_4M 0x07fe000
#define OS_PM_16M 0x1ffe000
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* TLB management routines */
extern void osMapTLB(s32, OSPageMask, void *, u32, u32, s32);
extern void osMapTLBRdb(void);
extern void osUnmapTLB(s32);
extern void osUnmapTLBAll(void);
extern void osSetTLBASID(s32);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TLB_H_ */

View File

@ -0,0 +1,27 @@
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo.
$RCSfile: os_version.h,v $
$Revision: 1.2 $
$Date: 1999/06/17 01:33:01 $
*---------------------------------------------------------------------*/
#ifndef _OS_VERSION_H_
#define _OS_VERSION_H_
#define VERSION_D 1
#define VERSION_E 2
#define VERSION_F 3
#define VERSION_G 4
#define VERSION_H 5
#define VERSION_I 6
#define VERSION_I_P 7
#define VERSION_J 8
#define VERSION_K 9
#define VERSION_L 10
#define OS_MAJOR_VERSION BUILD_VERSION_STRING /* major version */
#define OS_MINOR_VERSION 0 /* patch level */
#endif /* !_OS_VERSION_H_ */

View File

@ -0,0 +1,298 @@
/*====================================================================
* os_vi.h
*
* Copyright 1995, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo. (Originated by SGI)
$RCSfile: os_vi.h,v $
$Revision: 1.1 $
$Date: 1998/10/09 08:01:20 $
*---------------------------------------------------------------------*/
#ifndef _OS_VI_H_
#define _OS_VI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#include "os_thread.h"
#include "os_message.h"
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
/*
* Structure to store VI register values that remain the same between 2 fields
*/
typedef struct {
u32 ctrl;
u32 width;
u32 burst;
u32 vSync;
u32 hSync;
u32 leap;
u32 hStart;
u32 xScale;
u32 vCurrent;
} OSViCommonRegs;
/*
* Structure to store VI register values that change between fields
*/
typedef struct {
u32 origin;
u32 yScale;
u32 vStart;
u32 vBurst;
u32 vIntr;
} OSViFieldRegs;
/*
* Structure for VI mode
*/
typedef struct {
u8 type; /* Mode type */
OSViCommonRegs comRegs; /* Common registers for both fields */
OSViFieldRegs fldRegs[2]; /* Registers for Field 1 & 2 */
} OSViMode;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/*
* Video Interface (VI) mode type
*/
#define OS_VI_NTSC_LPN1 0 /* NTSC */
#define OS_VI_NTSC_LPF1 1
#define OS_VI_NTSC_LAN1 2
#define OS_VI_NTSC_LAF1 3
#define OS_VI_NTSC_LPN2 4
#define OS_VI_NTSC_LPF2 5
#define OS_VI_NTSC_LAN2 6
#define OS_VI_NTSC_LAF2 7
#define OS_VI_NTSC_HPN1 8
#define OS_VI_NTSC_HPF1 9
#define OS_VI_NTSC_HAN1 10
#define OS_VI_NTSC_HAF1 11
#define OS_VI_NTSC_HPN2 12
#define OS_VI_NTSC_HPF2 13
#define OS_VI_PAL_LPN1 14 /* PAL */
#define OS_VI_PAL_LPF1 15
#define OS_VI_PAL_LAN1 16
#define OS_VI_PAL_LAF1 17
#define OS_VI_PAL_LPN2 18
#define OS_VI_PAL_LPF2 19
#define OS_VI_PAL_LAN2 20
#define OS_VI_PAL_LAF2 21
#define OS_VI_PAL_HPN1 22
#define OS_VI_PAL_HPF1 23
#define OS_VI_PAL_HAN1 24
#define OS_VI_PAL_HAF1 25
#define OS_VI_PAL_HPN2 26
#define OS_VI_PAL_HPF2 27
#define OS_VI_MPAL_LPN1 28 /* MPAL - mainly Brazil */
#define OS_VI_MPAL_LPF1 29
#define OS_VI_MPAL_LAN1 30
#define OS_VI_MPAL_LAF1 31
#define OS_VI_MPAL_LPN2 32
#define OS_VI_MPAL_LPF2 33
#define OS_VI_MPAL_LAN2 34
#define OS_VI_MPAL_LAF2 35
#define OS_VI_MPAL_HPN1 36
#define OS_VI_MPAL_HPF1 37
#define OS_VI_MPAL_HAN1 38
#define OS_VI_MPAL_HAF1 39
#define OS_VI_MPAL_HPN2 40
#define OS_VI_MPAL_HPF2 41
#define OS_VI_FPAL_LPN1 42 /* FPAL - Full screen PAL */
#define OS_VI_FPAL_LPF1 43
#define OS_VI_FPAL_LAN1 44
#define OS_VI_FPAL_LAF1 45
#define OS_VI_FPAL_LPN2 46
#define OS_VI_FPAL_LPF2 47
#define OS_VI_FPAL_LAN2 48
#define OS_VI_FPAL_LAF2 49
#define OS_VI_FPAL_HPN1 50
#define OS_VI_FPAL_HPF1 51
#define OS_VI_FPAL_HAN1 52
#define OS_VI_FPAL_HAF1 53
#define OS_VI_FPAL_HPN2 54
#define OS_VI_FPAL_HPF2 55
/*
* Video Interface (VI) special features
*/
#define OS_VI_GAMMA_ON 0x0001
#define OS_VI_GAMMA_OFF 0x0002
#define OS_VI_GAMMA_DITHER_ON 0x0004
#define OS_VI_GAMMA_DITHER_OFF 0x0008
#define OS_VI_DIVOT_ON 0x0010
#define OS_VI_DIVOT_OFF 0x0020
#define OS_VI_DITHER_FILTER_ON 0x0040
#define OS_VI_DITHER_FILTER_OFF 0x0080
/*
* Video Interface (VI) mode attribute bit
*/
#define OS_VI_BIT_NONINTERLACE 0x0001 /* lo-res */
#define OS_VI_BIT_INTERLACE 0x0002 /* lo-res */
#define OS_VI_BIT_NORMALINTERLACE 0x0004 /* hi-res */
#define OS_VI_BIT_DEFLICKINTERLACE 0x0008 /* hi-res */
#define OS_VI_BIT_ANTIALIAS 0x0010
#define OS_VI_BIT_POINTSAMPLE 0x0020
#define OS_VI_BIT_16PIXEL 0x0040
#define OS_VI_BIT_32PIXEL 0x0080
#define OS_VI_BIT_LORES 0x0100
#define OS_VI_BIT_HIRES 0x0200
#define OS_VI_BIT_NTSC 0x0400
#define OS_VI_BIT_PAL 0x0800
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
extern OSViMode osViModeTable[]; /* Global VI mode table */
extern OSViMode osViModeNtscLpn1; /* Individual VI NTSC modes */
extern OSViMode osViModeNtscLpf1;
extern OSViMode osViModeNtscLan1;
extern OSViMode osViModeNtscLaf1;
extern OSViMode osViModeNtscLpn2;
extern OSViMode osViModeNtscLpf2;
extern OSViMode osViModeNtscLan2;
extern OSViMode osViModeNtscLaf2;
extern OSViMode osViModeNtscHpn1;
extern OSViMode osViModeNtscHpf1;
extern OSViMode osViModeNtscHan1;
extern OSViMode osViModeNtscHaf1;
extern OSViMode osViModeNtscHpn2;
extern OSViMode osViModeNtscHpf2;
extern OSViMode osViModePalLpn1; /* Individual VI PAL modes */
extern OSViMode osViModePalLpf1;
extern OSViMode osViModePalLan1;
extern OSViMode osViModePalLaf1;
extern OSViMode osViModePalLpn2;
extern OSViMode osViModePalLpf2;
extern OSViMode osViModePalLan2;
extern OSViMode osViModePalLaf2;
extern OSViMode osViModePalHpn1;
extern OSViMode osViModePalHpf1;
extern OSViMode osViModePalHan1;
extern OSViMode osViModePalHaf1;
extern OSViMode osViModePalHpn2;
extern OSViMode osViModePalHpf2;
extern OSViMode osViModeMpalLpn1; /* Individual VI MPAL modes */
extern OSViMode osViModeMpalLpf1;
extern OSViMode osViModeMpalLan1;
extern OSViMode osViModeMpalLaf1;
extern OSViMode osViModeMpalLpn2;
extern OSViMode osViModeMpalLpf2;
extern OSViMode osViModeMpalLan2;
extern OSViMode osViModeMpalLaf2;
extern OSViMode osViModeMpalHpn1;
extern OSViMode osViModeMpalHpf1;
extern OSViMode osViModeMpalHan1;
extern OSViMode osViModeMpalHaf1;
extern OSViMode osViModeMpalHpn2;
extern OSViMode osViModeMpalHpf2;
extern OSViMode osViModeFpalLpn1; /* Individual VI FPAL modes */
extern OSViMode osViModeFpalLpf1;
extern OSViMode osViModeFpalLan1;
extern OSViMode osViModeFpalLaf1;
extern OSViMode osViModeFpalLpn2;
extern OSViMode osViModeFpalLpf2;
extern OSViMode osViModeFpalLan2;
extern OSViMode osViModeFpalLaf2;
extern OSViMode osViModeFpalHpn1;
extern OSViMode osViModeFpalHpf1;
extern OSViMode osViModeFpalHan1;
extern OSViMode osViModeFpalHaf1;
extern OSViMode osViModeFpalHpn2;
extern OSViMode osViModeFpalHpf2;
/**************************************************************************
*
* Function prototypes
*
*/
/* Video interface (Vi) */
extern u32 osViGetStatus(void);
extern u32 osViGetCurrentMode(void);
extern u32 osViGetCurrentLine(void);
extern u32 osViGetCurrentField(void);
extern void *osViGetCurrentFramebuffer(void);
extern void *osViGetNextFramebuffer(void);
extern void osViSetXScale(f32);
extern void osViSetYScale(f32);
extern void osViExtendVStart(u32);
extern void osViSetSpecialFeatures(u32);
extern void osViSetMode(OSViMode *);
extern void osViSetEvent(OSMesgQueue *, OSMesg, u32);
extern void osViSwapBuffer(void *);
extern void osViBlack(u8);
extern void osViFade(u8, u16);
extern void osViRepeatLine(u8);
extern void osCreateViManager(OSPri);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VI_H_ */

View File

@ -0,0 +1,108 @@
/*---------------------------------------------------------------------*
Copyright (C) 1998 Nintendo.
$RCSfile: os_voice.h,v $
$Revision: 1.2 $
$Date: 1999/07/13 08:36:42 $
*---------------------------------------------------------------------*/
#ifndef _OS_VOICE_H_
#define _OS_VOICE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#include <PR/ultratypes.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Type definitions
*
*/
typedef struct { /* Voice Recognition System */
OSMesgQueue *__mq; /* SI Message Queue */
int __channel; /* Controller Port # */
s32 __mode;
u8 cmd_status; /* Command Status */
} OSVoiceHandle;
typedef struct { /* Voice Recognition System */
u16 warning;
u16 answer_num; /* 0...5 */
u16 voice_level;
u16 voice_sn;
u16 voice_time;
u16 answer[5];
u16 distance[5];
} OSVoiceData;
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
/**************************************************************************
*
* Global definitions
*
*/
/* definition for Voice Recognition System */
#define VOICE_WARN_TOO_SMALL 0x0400
#define VOICE_WARN_TOO_LARGE 0x0800
#define VOICE_WARN_NOT_FIT 0x4000
#define VOICE_WARN_TOO_NOISY 0x8000
#define VOICE_STATUS_READY 0
#define VOICE_STATUS_START 1
#define VOICE_STATUS_CANCEL 3
#define VOICE_STATUS_BUSY 5
#define VOICE_STATUS_END 7
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
/**************************************************************************
*
* Macro definitions
*
*/
/**************************************************************************
*
* Extern variables
*
*/
/**************************************************************************
*
* Function prototypes
*
*/
/* Voice Recognition System */
extern s32 osVoiceInit(OSMesgQueue *, OSVoiceHandle *, int);
extern s32 osVoiceCheckWord(u8 *data);
extern s32 osVoiceClearDictionary(OSVoiceHandle *, u8);
extern s32 osVoiceControlGain(OSVoiceHandle *, s32, s32);
extern s32 osVoiceSetWord(OSVoiceHandle *, u8 *);
extern s32 osVoiceStartReadData(OSVoiceHandle *);
extern s32 osVoiceStopReadData(OSVoiceHandle *);
extern s32 osVoiceGetReadData(OSVoiceHandle *, OSVoiceData *);
extern s32 osVoiceMaskDictionary(OSVoiceHandle *, u8 *, int);
extern void osVoiceCountSyllables(u8 *, u32 *);
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VOICE_H_ */

Some files were not shown because too many files have changed in this diff Show More