mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-29 01:49:19 +00:00
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
|
/*********************************************************
|
||
|
* vector - 6502 Interrupt Vector Manipulation Functions *
|
||
|
*********************************************************/
|
||
|
|
||
|
/* Get Maskable Interrupt Address *
|
||
|
* Returns: $00 If Address can be *
|
||
|
* modified, otherwise $FF *
|
||
|
* Address MSB *
|
||
|
* Address LSB */
|
||
|
char getirq();
|
||
|
|
||
|
/* Get Non-Maskable Interrupt Address *
|
||
|
* Returns: $00 If Address can be *
|
||
|
* modified, otherwise $FF *
|
||
|
* Address MSB *
|
||
|
* Address LSB */
|
||
|
char getnmi();
|
||
|
|
||
|
/* Get "Reset" Interrupt Address *
|
||
|
* Returns: $00 If Address can be *
|
||
|
* modified, otherwise $FF *
|
||
|
* Address MSB *
|
||
|
* Address LSB */
|
||
|
char getrst();
|
||
|
|
||
|
/* Set Maskable Interrupt Address */
|
||
|
* Args: &d - New Interrupt Address *
|
||
|
* Returns: $00 If Successful, *
|
||
|
* otherwise $FF */
|
||
|
char setirq();
|
||
|
|
||
|
/* Set Non-Maskable Interrupt Address */
|
||
|
* Args: &d - New Interrupt Address *
|
||
|
* Returns: $00 If Successful, *
|
||
|
* otherwise $FF */
|
||
|
char setnmi();
|
||
|
|
||
|
/* Set "Reset" Interrupt Address */
|
||
|
* Args: &d - New Interrupt Address *
|
||
|
* Returns: $00 If Successful, *
|
||
|
* otherwise $FF */
|
||
|
char setrst();
|