From 3cd25599c53c333a50cb1605cb6d10f7d614cd43 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 5 Dec 2002 23:22:17 +0000 Subject: [PATCH] Added the functions from em.h git-svn-id: svn://svn.cc65.org/cc65/trunk@1720 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/funcref.sgml | 256 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 245 insertions(+), 11 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 3ee8da784..c84eb7dd4 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -122,6 +122,20 @@ function. +

+ + + + + + + + + + + + +

@@ -549,6 +563,226 @@ used in presence of a prototype. +em_commit

+ + + +/ +/, /, +/ or / are called without calling +Calling The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The function produces undefined results if no extended memory driver is +loaded. + +, +, + + + + + +em_copyfrom

+ + + +/ + +Calling / first, or the changes are lost. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The function produces undefined results if no extended memory driver is +loaded. + +, +, + + + + + +em_copyto

+ + + +/ + +Calling / first, or the changes are lost. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The function produces undefined results if no extended memory driver is +loaded. + +, +, + + + + + +em_load_driver

+ + + +/ + +Not all drivers are able to detect if the supported hardware is really +present. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The driver is loaded by name, so currently you must know the type of +extended memory that should be supported. There is no autodetect capability. + + + + + + +em_map

+ + + +/ +/ instead. +Calling / first, or the changes are lost. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The function produces undefined results if no extended memory driver is +loaded. + +, +, + + + + + +em_pagecount

+ + + +/ + +The function returns zero if no extended memory driver is loaded. +The function may return zero if the supported hardware was not detected. + + + + + + +em_unload

+ + + +/ + +The function does nothing if no driver is loaded. + + + + + + +em_use

+ + + +/ +/, but will not transfer data into the +actual memory window in the assumption that the existing data is wrong or +will get overwritten. + +Calling / first, or the changes are lost. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. +The function produces undefined results if no extended memory driver is +loaded. + +, +, + + + + + exit

@@ -644,7 +878,7 @@ screen has the coordinate 0. The function is only available as fastcall function, so it may only be used in presence of a prototype. -Invalid values for the Y position (out of screen coordinates) may lead +Invalid values for the Y position (out of screen coordinates) may lead to undefined behaviour. When compiling with When compiling without When compiling without The function may not be supported by the hardware, in which case the call is ignored. -The function is only available as fastcall function, so it may only +The function is only available as fastcall function, so it may only be used in presence of a prototype. / The function is only available as fastcall function, so it may only be used in presence of a prototype. If there is no null byte in the first If copying takes place between objects that overlap, the behavior is +If copying takes place between objects that overlap, the behavior is undefined.