Skip to content

Commit 2c7d321

Browse files
committed
Fix issue #99
1 parent 5e2db3d commit 2c7d321

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: loader/secondary.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// Loading address of tonyhax, provided by the secondary.ld linker script
1818
extern uint8_t __RO_START__, __BSS_START__, __BSS_END__;
1919

20-
// CD sector buffer used by the original BIOS
21-
uint8_t * const data_buffer = (uint8_t *) 0xA000B070;
20+
// Buffer right before this executable
21+
uint8_t * const data_buffer = (uint8_t *) 0x801F9800;
2222

2323
void log_bios_version() {
2424
/*

Diff for: variables.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
77

88
# Common variables
99

10-
TONYHAX_VERSION=v1.4.2
10+
TONYHAX_VERSION=v1.4.3
1111

1212
CC=mips-linux-gnu-gcc
1313
CFLAGS=-O1 -Wall -Wextra -Wno-main -EL -march=r3000 -mabi=32 -mfp32 -mno-abicalls -fno-pic -fdata-sections -ffunction-sections -fno-builtin -nostdlib -DTONYHAX_VERSION=$(TONYHAX_VERSION)

0 commit comments

Comments
 (0)