In progress

This commit is contained in:
Sauraen
2024-02-25 17:05:26 -08:00
parent 1a17833499
commit aa5acc439f
3 changed files with 361 additions and 187 deletions

View File

@@ -11,7 +11,7 @@ ALL_OPTIONS := \
CFG_GCLK_SAMPLE
ARMIPS ?= armips
PARENT_OUTPUT_DIR ?= ./build
PARENT_OUTPUT_DIR ?= ../test
ifeq ($(PARENT_OUTPUT_DIR),.)
$(error Cannot build directly in repo directory; see Makefile for details.)
# The problem is that we want to be able to have targets like F3DEX2_2.08,
@@ -138,6 +138,7 @@ DESCRIPTION := Will make you want to finally ditch HLE (G_BRANCH_W version)
ID_STR := F3DEX3 by Sauraen & Nintendo, G_BRANCH_W version______________________
# Add options you want here, e.g. CFG_GCLK_SAMPLE
OPTIONS := \
CFG_GCLK_SAMPLE \
CFG_G_BRANCH_W
$(eval $(call ucode_rule))

537
f3dex3.s

File diff suppressed because it is too large Load Diff

View File

@@ -6,10 +6,10 @@
OS_YIELD_DATA_SIZE equ 0xC00
YIELD_DATA_FOOTER_SIZE equ 0x18
yieldDataFooter equ OS_YIELD_DATA_SIZE - YIELD_DATA_FOOTER_SIZE
YDF_OFFSET_RDPWAITCYC equ 0x00
YDF_OFFSET_GCLKSAMPLE equ 0x04
YDF_OFFSET_PERFCOUNTER1 equ 0x08
YDF_OFFSET_PERFCOUNTER2 equ 0x0C
YDF_OFFSET_PERFCOUNTERA equ 0x00
YDF_OFFSET_PERFCOUNTERB equ 0x04
YDF_OFFSET_PERFCOUNTERC equ 0x08
YDF_OFFSET_PERFCOUNTERD equ 0x0C
YDF_OFFSET_TASKDATAPTR equ 0x10
YDF_OFFSET_UCODE equ 0x14