mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
20d59afb3f
* Fix first run crashing on Xbox One. * Added savestate support. * Rewind works. Fixes issue #83 and possibly #49. * Added Disc Control menu. Supports Disks, Tapes and M3U files (issue #66). * Added in support for 5200 Super Carts. * Better support for 5200 controller. * Added Paddle support. * Converted Core Options menu to v2. * Moved some core options into submenus. * Added controller mappings for Ports 2-4. * Added options for Dual Stick and Swap Ports. Fixes issue #76. * Joystick/Console now controlled more easily with device type Atari Keyboard. * Added 4 Hi-Res Artifacting modes. Restart does something now. * When core option changed only reboot if necessary. Removed several hardcoded controller binds. Fixed issue #29. Joypad input ignored when virtual keyboard active. * SIO Acceleration now defaults to enabled. Fix for Bounty Bob (5200 & lift fix A800). * Added Atari 800 carts to autodetect DB. * Added more Carts to DB. * Fixed Drive Index not being reset on 'restart'. * Changed Atari Joystick default mappings to something more reasonable.
35 lines
769 B
C
35 lines
769 B
C
#ifndef PIA_H_
|
|
#define PIA_H_
|
|
|
|
#include "atari.h"
|
|
|
|
#define PIA_OFFSET_PORTA 0x00
|
|
#define PIA_OFFSET_PORTB 0x01
|
|
#define PIA_OFFSET_PACTL 0x02
|
|
#define PIA_OFFSET_PBCTL 0x03
|
|
|
|
extern UBYTE PIA_PACTL;
|
|
extern UBYTE PIA_PBCTL;
|
|
extern UBYTE PIA_PORTA;
|
|
extern UBYTE PIA_PORTB;
|
|
extern UBYTE PIA_PORTA_mask;
|
|
extern UBYTE PIA_PORTB_mask;
|
|
extern UBYTE PIA_PORT_input[2];
|
|
extern int PIA_CA2;
|
|
extern int PIA_CB2;
|
|
extern int PIA_IRQ;
|
|
|
|
int PIA_Initialise(int *argc, char *argv[]);
|
|
void PIA_Reset(void);
|
|
UBYTE PIA_GetByte(UWORD addr, int no_side_effects);
|
|
void PIA_PutByte(UWORD addr, UBYTE byte);
|
|
void PIA_StateSave(void);
|
|
void PIA_StateRead(UBYTE version);
|
|
|
|
#if defined(__LIBRETRO__)
|
|
void Retro_PIA_StateSave(void);
|
|
void Retro_PIA_StateRead(UBYTE version);
|
|
#endif
|
|
|
|
#endif /* PIA_H_ */
|