amiga_boottest
diff src/intr.s @ 1:48093e4bd99a
stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 21 Feb 2018 18:00:45 +0200 |
parents | |
children | 58ebd84822e7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/intr.s Wed Feb 21 18:00:45 2018 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 + .text 1.5 + 1.6 + .global intr_debug 1.7 +intr_debug: 1.8 + movem.l %d0-%a6, -(%sp) 1.9 + move.w dbgval, %d0 1.10 + move.w %d0, 0xdff180 1.11 + not.w %d0 1.12 + move.w %d0, dbgval 1.13 + movem.l (%sp)+, %d0-%a6 1.14 + rte 1.15 + 1.16 +dbgval: .word 0x00f