From 098a30725f67e12ff030252ad4b983b39e2a55e3 Mon Sep 17 00:00:00 2001 From: Greg King Date: Sun, 1 Apr 2018 15:47:48 -0400 Subject: [PATCH] Moved declarations that are common to the C16 and the Plus4 libraries over to their common header. --- include/c16.h | 3 +-- include/cbm264.h | 13 +++++++++---- include/plus4.h | 11 +---------- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/include/c16.h b/include/c16.h index c039218f9..beb2caa56 100644 --- a/include/c16.h +++ b/include/c16.h @@ -45,8 +45,7 @@ -/* Include the base header file for the 264 series. include file. - */ +/* Include the base header file for the 264 series. */ #include diff --git a/include/cbm264.h b/include/cbm264.h index 46fa64050..5e8a242a7 100644 --- a/include/cbm264.h +++ b/include/cbm264.h @@ -136,11 +136,16 @@ /* Code */ /*****************************************************************************/ +void fast (void); +/* Switch the CPU into double-clock mode. */ + +void slow (void); +/* Switch the CPU into single-clock mode. */ + +unsigned char isfast (void); +/* Returns 1 if the CPU is in double-clock mode. */ + /* End of cbm264.h */ #endif - - - - diff --git a/include/plus4.h b/include/plus4.h index 6edb947e5..c8aaf2eaf 100644 --- a/include/plus4.h +++ b/include/plus4.h @@ -45,8 +45,7 @@ -/* Include the base header file for the 264 series. include file. - */ +/* Include the base header file for the 264 series. */ #include /* Define hardware */ @@ -59,14 +58,6 @@ extern void plus4_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */ extern void plus4_stdser_ser[]; -void fast (void); -/* Switch the CPU into double clock mode. */ - -void slow (void); -/* Switch the CPU into single clock mode. */ - -unsigned char isfast (void); -/* Returns 1 if the CPU is in double clock mode. */ /* End of plus4.h */