mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-12-01 14:51:52 +00:00
76 lines
2.1 KiB
Plaintext
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:
|
||
|
|