From: Oliver Schmidt
Date: Fri, 27 Apr 2018 18:47:03 +0000 (+0200)
Subject: Merge pull request #631 from blackystardust/master
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47e4b36180143f23c4a22b7ef924e54ef7367d40;p=cc65
Merge pull request #631 from blackystardust/master
Added C64 Chameleon accelerator code and documentation.
---
47e4b36180143f23c4a22b7ef924e54ef7367d40
diff --cc libsrc/c128/acc_c128_speed.s
index a104aad1a,3f2017de9..7994a52ae
mode 100644,100755..100644
--- a/libsrc/c128/acc_c128_speed.s
+++ b/libsrc/c128/acc_c128_speed.s
@@@ -1,25 -1,24 +1,25 @@@
;
-; Marco van den Heuvel, 2018-04-23
+; 2018-04-23, Marco van den Heuvel
+; 2018-04-26, Greg King
;
- ; extern unsigned char __fastcall__ set_c128_speed (unsigned char speed);
+ ; unsigned char __fastcall__ set_c128_speed (unsigned char speed);
;
-;/* Set the speed of the C128 8502 CPU, using SPEED_SLOW will switch to
+;/* Set the speed of the C128 8502 CPU; using SPEED_SLOW will switch to
; * 1 Mhz (slow) mode, SPEED_2X or SPEED_FAST will switch to 2Mhz (fast) mode.
; *
; * Note that any value higher or equal to SPEED_2X will switch to fast mode.
; *
-; * This function will return the actual speed the CPU is at after trying
-; * to set the requested speed, to my knowledge the switching should not fail.
+; * This function will return the actual speed the CPU is at, after trying
+; * to set the requested speed; to my knowledge, the switching should not fail.
; *
-; * For C64 programs a check for a C128 in C64 mode is needed, make sure you
+; * For C64 programs, a check for a C128 in C64 mode is needed; make sure you
; * use 'detect_c128();' before using.
; *
-; * For C128 programs no detect function call is needed.
+; * For C128 programs, no detect function call is needed.
; */
- ; extern unsigned char get_c128_speed (void);
+ ; unsigned char get_c128_speed (void);
;
;/* Get the speed of the C128 8502 CPU.
; *
diff --cc libsrc/c128/acc_scpu_speed.s
index 4bd142bbb,9f932aecd..9f932aecd
mode 100644,100755..100644
--- a/libsrc/c128/acc_scpu_speed.s
+++ b/libsrc/c128/acc_scpu_speed.s
diff --cc libsrc/c64/acc_c64dtv_speed.s
index 6a8371a9c,d6cf8b994..d6cf8b994
mode 100644,100755..100644
--- a/libsrc/c64/acc_c64dtv_speed.s
+++ b/libsrc/c64/acc_c64dtv_speed.s