diff --git a/compiler/res/prog8lib/c64/syslib.p8 b/compiler/res/prog8lib/c64/syslib.p8 index 92d82c661..b2694f06e 100644 --- a/compiler/res/prog8lib/c64/syslib.p8 +++ b/compiler/res/prog8lib/c64/syslib.p8 @@ -15,7 +15,9 @@ c64 { &ubyte COLOR = $0286 ; cursor color &ubyte HIBASE = $0288 ; screen base address / 256 (hi-byte of screen memory address) - &uword CINV = $0314 ; IRQ vector + &uword CINV = $0314 ; IRQ vector (in ram) + &uword CBINV = $0316 ; BRK vector (in ram) + &uword NMINV = $0318 ; NMI vector (in ram) &uword NMI_VEC = $FFFA ; 6502 nmi vector, determined by the kernal if banked in &uword RESET_VEC = $FFFC ; 6502 reset vector, determined by the kernal if banked in &uword IRQ_VEC = $FFFE ; 6502 interrupt vector, determined by the kernal if banked in diff --git a/compiler/res/prog8lib/cx16/syslib.p8 b/compiler/res/prog8lib/cx16/syslib.p8 index 168c8f0f1..00463c11d 100644 --- a/compiler/res/prog8lib/cx16/syslib.p8 +++ b/compiler/res/prog8lib/cx16/syslib.p8 @@ -90,6 +90,8 @@ cx16 { ; irq and hardware vectors: &uword CINV = $0314 ; IRQ vector (in ram) + &uword CBINV = $0316 ; BRK vector (in ram) + &uword NMINV = $0318 ; NMI vector (in ram) &uword NMI_VEC = $FFFA ; 65c02 nmi vector, determined by the kernal if banked in &uword RESET_VEC = $FFFC ; 65c02 reset vector, determined by the kernal if banked in &uword IRQ_VEC = $FFFE ; 65c02 interrupt vector, determined by the kernal if banked in