#33 - Exploring interrupts - BB816 Computer

Опубликовано: 15 Июль 2026
на канале: Adrien Kohlbecker
967
54

In this video, we will take a look at 65C816 interrupts. I start by a quick theory overview on what these are and how to use them. Then, I jump to my editor and write complete kernel handlers for all five types of interrupts, including code to distinguish BRK from IRQ in emulation mode, and a jump table for user programs to hook into interrupts transparently. Hope you enjoy!

I'm having some issues with audio quality, so please bear with me while I try to improve my setup and post processing skills for next time.

Link to the interrupt resources I mention:
https://wilsonminesco.com/6502interru...
http://6502.org/tutorials/65c816inter...

Join me in discussing this project in the 6502 forums: http://forum.6502.org/viewtopic.php?f...

View the source code and schematics shown in this video: https://github.com/adrienkohlbecker/B...
The most recent source code and schematics are also available here: https://github.com/adrienkohlbecker/B...

Chapters:
00:00 Intro
00:30 Theory overview
08:36 Implementing interrupt vectors
10:57 BRK support
16:08 COP support
16:58 IRQ support
22:32 M/X size macros
23:14 Other interrupt handlers
24:37 Emulation mode interrupts
30:34 Interrupt jump vectors
34:36 Example with 65C51 Rx interrupt processing
37:27 Outro