+ section "fuq",HOME[$100]
+irqhand:
+ PUSH AF
+ PUSH BC
+ PUSH DE
+ PUSH HL
+ xor a
+ ld c, $0F ; ack the irq
+ ld [c], a
+ ld a, $41 ; print A
+ call putc
+ POP HL
+ POP DE
+ POP BC
+ POP AF
+ RETI
+
+signon:
+ db $0D,$0A,$1B,"[1mFPGABoy Diagnostic ROM",$1B,"[0m",$0D,$0A,0
+
+; Memory tester: writes h ^ l to all addresses from C000 to DF80.