mirror of
https://github.com/HackerN64/F3DEX3.git
synced 2026-01-21 10:37:45 -08:00
Added xbus ucodes to makefile list
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,8 +6,10 @@ NoN ?= 0
|
||||
|
||||
# Selects which version of a given microcode to build:
|
||||
# F3DEX2:
|
||||
# 2.08 (Banjo-Tooie, the best game on the N64)
|
||||
# 2.08 (Banjo-Tooie)
|
||||
# 2.08_XBUS (Power Rangers)
|
||||
# 2.07 (Rocket: Robot on Wheels)
|
||||
# 2.07_XBUS (Lode Runner 3-D)
|
||||
# 2.04H (Kirby 64, Smash 64)
|
||||
# 2.08PL (Paper Mario, F3DEX2.08 with point lighting added)
|
||||
#
|
||||
|
||||
4
f3dex2.s
4
f3dex2.s
@@ -596,7 +596,7 @@ wait_dpc_start_valid:
|
||||
beqz $12, f3dzex_xbus_0000111C
|
||||
sw $zero, OSTask + OSTask_flags
|
||||
j load_overlay1_init
|
||||
lw taskDataPtr, OS_YIELD_DATA_SIZE_FIFO - 8
|
||||
lw taskDataPtr, OS_YIELD_DATA_SIZE_TOTAL - 8
|
||||
.fill 16 * 4 // Bunch of nops here to make it the same size as the fifo code.
|
||||
f3dzex_xbus_0000111C:
|
||||
.endif
|
||||
@@ -1718,7 +1718,7 @@ task_yield:
|
||||
jal dma_read_write
|
||||
li $19, OS_YIELD_DATA_SIZE - 1
|
||||
li status, SP_SET_SIG1 | SP_SET_SIG2 // yielded and task done signals
|
||||
addiu $24, $24, OS_YIELD_DATA_SIZE_FIFO - 8
|
||||
addiu $24, $24, OS_YIELD_DATA_SIZE_TOTAL - 8
|
||||
li $20, -0x76E0 // ???
|
||||
li $19, 7
|
||||
.endif
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
// GBI: Graphics Binary Interface
|
||||
|
||||
// XBUS doesn't use the full yield data buffer, but does reference the full size,
|
||||
// so a definition for both sizes needs to exist.
|
||||
OS_YIELD_DATA_SIZE_TOTAL equ 0xC00
|
||||
.if UCODE_METHOD == METHOD_FIFO
|
||||
OS_YIELD_DATA_SIZE equ 0xC00
|
||||
.else // UCODE_METHOD == METHOD_XBUS
|
||||
OS_YIELD_DATA_SIZE_FIFO equ 0xC00
|
||||
OS_YIELD_DATA_SIZE equ 0x920
|
||||
.endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user