get asm symbolic source debugging working with gnu assembler and gdb psyq builds

This commit is contained in:
2025-08-06 14:18:11 -04:00
parent b9494d219f
commit 8b252c4e68
6 changed files with 21 additions and 15 deletions
+20
View File
@@ -0,0 +1,20 @@
// .include "./toolchain/pcsx-redux/src/mips/common/crt0/crt0.s"
.include "./asmdd/dsl.s"
.include "./asmdd/io.s"
.include "./asmdd/gp.s"
.global gp_screen_init
.type gp_screen_init, @function
gp_screen_init:
.equiv rio_offset, rtmp_0
load_imm rtmp_0, IO_BASE_ADDR
#define gp0 gpio_port0(rio_offset)
#define gp1 gpio_port1(rio_offset)
gcmd_push gp1, rtmp_1, gp_Reset
gcmd_push gp1, rtmp_1, gp_DisplayEnabled
jump_reg rret_addr; nop
.Lgp_screen_init_end:
.size gp_screen_init, . - gp_screen_init