From e6d966cebc15e21cb64012d314f74f54dc35eead Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 14 Apr 2023 00:04:10 +0300 Subject: Get interrupts working --- asm/bootstrap.atk16 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'asm') diff --git a/asm/bootstrap.atk16 b/asm/bootstrap.atk16 index c7ab63e..73165b9 100644 --- a/asm/bootstrap.atk16 +++ b/asm/bootstrap.atk16 @@ -7,10 +7,11 @@ hlt_isr ; 0x12 ISR2 hlt_isr ; 0x13 ISR3 stack_segment ; 0x14 Stack address + 0x0 ; 0x15 Interrupt PC address (IPCA) @label hlt_isr - ldi 0x55 RA - hlt + ldi 0x55 RE + rti @label program_segment @address 0x0 -- cgit v1.3