1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 16:34:15 +00:00
C02/include/vic/template.h02
2020-10-11 14:45:01 -04:00

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();