Merge pull request #452 from mrdudz/kbrepeat

kbrepeatdelay and kbrepeatrate for cbm targets
This commit is contained in:
Oliver Schmidt
2017-08-20 14:15:37 +02:00
committed by GitHub
12 changed files with 214 additions and 0 deletions

View File

@@ -158,6 +158,14 @@ struct cbm_dirent {
unsigned char get_tv (void);
/* Return the video mode the machine is using. */
#define KBDREPEAT_CURSOR 0x00
#define KBDREPEAT_NONE 0x40
#define KBDREPEAT_ALL 0x80
unsigned char __fastcall__ kbrepeat(unsigned char);
unsigned char __fastcall__ kbrepeatdelay(unsigned char);
unsigned char __fastcall__ kbrepeatrate(unsigned char);
#if !defined(__CBM610__) && !defined(__PET__)
void waitvsync (void);
/* wait for the start of the next frame */