1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-12-01 14:51:52 +00:00
C02/include/apple2/paddle.h02

16 lines
408 B
Plaintext
Raw Normal View History

/* 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: p = Paddle Number *
* Returns: $FF if Button Pressed *
* $00 if Not Pressed */
void button();
/* Get Paddle Status *
* Args: p = Paddle Number *
* Returns: Paddle Value (0-255) */
void paddle();