mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 06:31:25 +00:00
17 lines
449 B
Plaintext
17 lines
449 B
Plaintext
/* Psddle Controllers Header File for Apple II */
|
|
|
|
#define PADDLS $04 //Number of Paddles
|
|
#define BUTTNS $02 //Number of Paddle Buttons
|
|
|
|
/* Get Paddle Button Status *
|
|
* Args: n = Button Number *
|
|
* Returns: char p = Button Status *
|
|
* $FF if Pressed *
|
|
* $00 if Not */
|
|
void button();
|
|
|
|
/* Get Paddle Status *
|
|
* Args: p = Paddle Number *
|
|
* Returns: Paddle Value (0-255) */
|
|
void paddle();
|