IRQ: Difference between revisions
From F256 Foenix
Jump to navigationJump to search
(→F256K or F256Jr: added 6809 specific info, renames on some interrupts) |
|||
Line 201: | Line 201: | ||
!6809 | !6809 | ||
|- | |- | ||
| 0x01 || INT_WIFI|| Empty Interrupt (Triggers | | 0x01 || INT_WIFI|| Empty Interrupt (Triggers after Data in FIFO is emptied) | ||
| | | | ||
| | | | ||
|- | |- | ||
| 0x02 || INT_MIDI || Empty Interrupt (Triggers | | 0x02 || INT_MIDI || Empty Interrupt (Triggers after Data in FIFO is emptied) | ||
| | | | ||
| | | | ||
|- | |- | ||
| 0x04 || INT_OPT_KBD|| Empty Interrupt (Triggers | | 0x04 || INT_OPT_KBD|| Empty Interrupt (Triggers after Data in FIFO is emptied) (K2 Only) | ||
| | | | ||
| | | |
Latest revision as of 08:45, 24 August 2025
Interrupts
Warning: some uncertain cells have to be verified in the gen2 down below.
F256K or F256Jr
Bit | Name | Purpose |
---|---|---|
0x01 | INT_VKY_SOF | TinyVicky Start Of Frame interrupt |
0x02 | INT_VKY_SOL | TinyVicky Start Of Line interrupt |
0x04 | INT_PS2_KBD | PS/2 keyboard event |
0x08 | INT_PS2_MOUSE | PS/2 mouse event |
0x10 | INT_TIMER_0 | TIMER0 has reached its target value |
0x20 | INT_TIMER_1 | TIMER1 has reached its target value |
0x40 | RESERVED | |
0x80 | Cartridge | Interrupt asserted by the cartidge |
Bit | Name | Purpose |
---|---|---|
0x01 | INT_UART | The UART is ready to receive or send data |
0x02 | RESERVED | |
0x04 | RESERVED | |
0x08 | RESERVED | |
0x10 | INT_RTC | Event from the real time clock chip |
0x20 | INT_VIA0 | Event from the 65C22 VIA chip |
0x40 | INT_VIA1 | F256k Only: Local keyboard |
0x80 | INT_SDC_INS | User has inserted an SD card |
Bit | Name | Purpose |
---|---|---|
0x01 | IEC_DATA_i | IEC Data In |
0x02 | IEC_CLK_i | IEC Clock In |
0x04 | IEC_ATN_i | IEC ATN In |
0x08 | IEC_SREQ_i | IEC SREQ In |
0x10 | RESERVED | |
0x20 | RESERVED | |
0x40 | RESERVED | |
0x80 | RESERVED |
F256K2 or F256Jr2
Bit | Name | Purpose | 6502 / 65816 | 6809 |
---|---|---|---|---|
0x01 | INT_VKY_SOF | TinyVicky Start Of Frame interrupt | ||
0x02 | INT_VKY_SOL | TinyVicky Start Of Line interrupt | ||
0x04 | INT_PS2_KBD | PS/2 keyboard event | ||
0x08 | INT_PS2_MOUSE | PS/2 mouse event | ||
0x10 | INT_TIMER_0 | TIMER0 has reached its target value | ||
0x20 | INT_TIMER_1 | TIMER1 has reached its target value | ||
0x40 | INT_DMA0 | DMA interrupt | ||
0x80 | INT_CART | Interrupt asserted by the cartidge |
Bit | Name | Purpose | 6502 / 65816 | 6809 |
---|---|---|---|---|
0x01 | INT_UART | The UART is ready to receive or send data | ||
0x02 | COLLISION INT2 | VICKY collision | no | |
0x04 | COLLISION INT3 | VICKY collision | no | |
0x08 | COLLISION INT4 | VICKY collision | no | |
0x10 | INT_RTC | Event from the real time clock chip | ||
0x20 | INT_VIA0 | Event from the 65C22 VIA chip | ||
0x40 | INT_VIA1 | F256k Only: Local keyboard | ||
0x80 | INT_SDC_INS | User has inserted an SD card |
Bit | Name | Purpose | 6502 / 65816 | 6809 |
---|---|---|---|---|
0x01 | IEC_DATA_i | IEC Data In (K2 Only) | ||
0x02 | IEC_CLK_i | IEC Clock In (K2 Only) | ||
0x04 | IEC_ATN_i | IEC ATN In (K2 Only) | ||
0x08 | IEC_SREQ_i | IEC SREQ In (K2 Only) | ||
0x10 | INT_COP | Copper Network Interrupt | ? | yes |
0x20 | INT_WIFI_EXT | (Module Generated) | ||
0x40 | INT_HDMI | (From Sii9022) (K2 Only) | ||
0x80 | RESERVED |
Bit | Name | Purpose | 6502 / 65816 | 6809 |
---|---|---|---|---|
0x01 | INT_WIFI | Empty Interrupt (Triggers after Data in FIFO is emptied) | ||
0x02 | INT_MIDI | Empty Interrupt (Triggers after Data in FIFO is emptied) | ||
0x04 | INT_OPT_KBD | Empty Interrupt (Triggers after Data in FIFO is emptied) (K2 Only) | ||
0x08 | INT_WS6100 | ? | ||
0x10 | INT_VS1053B | ? | ||
0x20 | RESERVED | |||
0x40 | RESERVED | |||
0x80 | RESERVED |