1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Removed dysfunctional kbrepeatdelay() and kbrepeatrate().

As discussed in https://github.com/cc65/cc65/pull/452 after my premature merge the two functions in question don't work as expected.

Additionally I adjusted several style deviations in the pull request in question.
This commit is contained in:
Oliver Schmidt
2017-08-30 16:37:31 +02:00
parent 7a1f5358df
commit 4aa19494f5
7 changed files with 37 additions and 127 deletions
+6 -7
View File
@@ -158,17 +158,16 @@ 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
#define KBREPEAT_CURSOR 0x00
#define KBREPEAT_NONE 0x40
#define KBREPEAT_ALL 0x80
unsigned char __fastcall__ kbrepeat(unsigned char);
unsigned char __fastcall__ kbrepeatdelay(unsigned char);
unsigned char __fastcall__ kbrepeatrate(unsigned char);
unsigned char __fastcall__ kbrepeat (unsigned char mode);
/* Changes which keys have automatic repeat. */
#if !defined(__CBM610__) && !defined(__PET__)
void waitvsync (void);
/* wait for the start of the next frame */
/* Wait for the start of the next frame */
#endif
/*****************************************************************************/