From 5d4116f05fa311fb4611a932218cb9ef073d147a Mon Sep 17 00:00:00 2001 From: Marco van den Heuvel Date: Tue, 20 Mar 2018 13:11:24 -0700 Subject: [PATCH] Added isfast function which returns a 1 when the C128 is in 2MHz mode. --- doc/c128.sgml | 1 + doc/funcref.sgml | 27 +++++++++++++++++++++++++++ include/c128.h | 3 ++- libsrc/c128/isfast.s | 20 ++++++++++++++++++++ 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 libsrc/c128/isfast.s diff --git a/doc/c128.sgml b/doc/c128.sgml index f133d8d4c..14c874998 100644 --- a/doc/c128.sgml +++ b/doc/c128.sgml @@ -87,6 +87,7 @@ url="funcref.html" name="function reference"> for declaration and usage. c64mode fast slow +isfast diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 235a0d40f..193a10c52 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -131,6 +131,7 @@ function. + @@ -3302,6 +3303,7 @@ will nearly double the speed compared to slow mode. , , , @@ -3954,6 +3956,28 @@ fastcall function, so it may only be used in presence of a prototype. +isfast