From 74bfd6ee31e5f6038492a1eda467c0a2786ee77c Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 7 Sep 2009 13:21:04 +0000 Subject: [PATCH] New function videomode() for the C128. Marked toggle_videomode as deprecated. git-svn-id: svn://svn.cc65.org/cc65/trunk@4126 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/funcref.sgml | 43 ++++++++++++++++++++++++++++++---- include/c128.h | 25 +++++++++++++------- libsrc/c128/Makefile | 3 ++- libsrc/c128/toggle_videomode.s | 5 ++++ libsrc/c128/videomode.s | 33 ++++++++++++++++++++++++++ 5 files changed, 95 insertions(+), 14 deletions(-) create mode 100644 libsrc/c128/videomode.s diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 1c307b0d0..73d14432a 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -106,8 +106,9 @@ function. - + + @@ -2008,7 +2009,8 @@ will nearly double the speed compared to slow mode. , - +, + @@ -4172,7 +4174,8 @@ will halve the speed compared to fast mode. , - +, + @@ -4837,11 +4840,14 @@ old mode (cursor position, color and so on) are saved and restored together with the mode. The function is specific to the C128. +This function is deprecated. Please use instead! , - +, + @@ -4957,7 +4963,7 @@ if (unlink (FILENAME) == 0) { printf ("We deleted %s successfully\n", FILENAME); } else { printf ("There was a problem deleting %s\n", FILENAME); -} +} @@ -5020,6 +5026,33 @@ used in presence of a prototype. +videomode