test disable irq

This commit is contained in:
David Voswinkel 2009-07-05 10:49:01 +02:00
parent 8d571d0c55
commit fef90c7f6e
3 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,8 @@ linkfile:
optixx.inc: optixx.pcx optixx.inc: optixx.pcx
wine tools/pcx2snes.exe optixx.pcx -b2 -nOptixx -ooptixx.inc wine tools/pcx2snes.exe optixx.pcx -b2 -nOptixx -ooptixx.inc
check:
ucon64 -chk $(APP)
%.o: %.asm %.o: %.asm
echo "$@" >> linkerfile.prj echo "$@" >> linkerfile.prj

View File

@ -28,11 +28,12 @@
CARTRIDGETYPE $00 ; $00 = ROM only, see WLA documentation for others CARTRIDGETYPE $00 ; $00 = ROM only, see WLA documentation for others
ROMSIZE $08 ; $08 = 2 Mbits, see WLA doc for more.. ROMSIZE $08 ; $08 = 2 Mbits, see WLA doc for more..
SRAMSIZE $00 ; No SRAM 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 LICENSEECODE $00 ; Just use $00
VERSION $00 ; $00 = 1.00, $01 = 1.01, etc. VERSION $00 ; $00 = 1.00, $01 = 1.01, etc.
.ENDSNES .ENDSNES
.SNESNATIVEVECTOR ; Define Native Mode interrupt vector table .SNESNATIVEVECTOR ; Define Native Mode interrupt vector table
COP COPHandler COP COPHandler
BRK BRKHandler BRK BRKHandler
@ -41,6 +42,7 @@
IRQ IRQHandler IRQ IRQHandler
.ENDNATIVEVECTOR .ENDNATIVEVECTOR
.SNESEMUVECTOR ; Define Emulation Mode interrupt vector table .SNESEMUVECTOR ; Define Emulation Mode interrupt vector table
COP EmptyHandler COP EmptyHandler
ABORT EmptyHandler ABORT EmptyHandler

View File

@ -111,7 +111,7 @@ ABRTHandler:
prints "ABRTHandler" prints "ABRTHandler"
rti rti
NMIHandler: NMIHandler:
;prints "NMIHandler" prints "NMIHandler"
rti rti
IRQHandler: IRQHandler: