1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-25 21:33:44 +00:00
C02/include/vic/vectors.h02
2020-10-11 14:45:01 -04:00

76 lines
2.1 KiB
Plaintext

/*********************************************************
* vector - 6502 Interrupt Vector Manipulation Functions *
*********************************************************/
/* Get BRK Handler Address *
* Returns: Status *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
* Address MSB *
* Address LSB */
char getbrk();
/* Get IRQ Handler Address *
* Returns: Status *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
* Address MSB *
* Address LSB */
char getirq();
/* Get NMI Handler Address *
* Returns: Status *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
* Address MSB *
* Address LSB */
char getnmi();
/* Get RESET Handler Address *
* Returns: Status *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
* Address MSB *
* Address LSB */
char getrst();
/* Set BRK Handler Address */
* Args: &d - New Address *
* Returns: Result *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
char setbrk();
/* Set IRQ Handler Address */
* Args: &d - New Address *
* Returns: Result *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
char setirq();
/* Set NMI Handler Address */
* Args: &d - New Address *
* Returns: Result *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
char setnmi();
/* Set RESET Handler Address */
* Args: &d - New Address *
* Returns: Result *
* $00 = modifiable *
* $7F = hard coded *
* $FF = unavailable *
char setrst();
/* Exit from IRQ Interrupt */
xitirq: