From fef90c7f6e120a6330f6ba80ee02deb676740d62 Mon Sep 17 00:00:00 2001 From: David Voswinkel Date: Sun, 5 Jul 2009 10:49:01 +0200 Subject: [PATCH] test disable irq --- snes/irqtest/Makefile | 2 ++ snes/irqtest/header.inc | 4 +++- snes/irqtest/irqtest.asm | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/snes/irqtest/Makefile b/snes/irqtest/Makefile index 5337b5c..5a8b43d 100644 --- a/snes/irqtest/Makefile +++ b/snes/irqtest/Makefile @@ -21,6 +21,8 @@ linkfile: optixx.inc: optixx.pcx wine tools/pcx2snes.exe optixx.pcx -b2 -nOptixx -ooptixx.inc +check: + ucon64 -chk $(APP) %.o: %.asm echo "$@" >> linkerfile.prj diff --git a/snes/irqtest/header.inc b/snes/irqtest/header.inc index 172047f..87e5874 100644 --- a/snes/irqtest/header.inc +++ b/snes/irqtest/header.inc @@ -28,11 +28,12 @@ CARTRIDGETYPE $00 ; $00 = ROM only, see WLA documentation for others ROMSIZE $08 ; $08 = 2 Mbits, see WLA doc for more.. SRAMSIZE $00 ; No SRAM see WLA doc for more.. - COUNTRY $01 ; $01 = U.S. $00 = Japan, that's all I know + COUNTRY $02 ; $01 = U.S. $00 = Japan, that's all I know LICENSEECODE $00 ; Just use $00 VERSION $00 ; $00 = 1.00, $01 = 1.01, etc. .ENDSNES + .SNESNATIVEVECTOR ; Define Native Mode interrupt vector table COP COPHandler BRK BRKHandler @@ -41,6 +42,7 @@ IRQ IRQHandler .ENDNATIVEVECTOR + .SNESEMUVECTOR ; Define Emulation Mode interrupt vector table COP EmptyHandler ABORT EmptyHandler diff --git a/snes/irqtest/irqtest.asm b/snes/irqtest/irqtest.asm index 235d3ec..dd23e82 100644 --- a/snes/irqtest/irqtest.asm +++ b/snes/irqtest/irqtest.asm @@ -111,7 +111,7 @@ ABRTHandler: prints "ABRTHandler" rti NMIHandler: - ;prints "NMIHandler" + prints "NMIHandler" rti IRQHandler: