From: cuz Date: Wed, 1 Oct 2003 20:57:35 +0000 (+0000) Subject: More functions X-Git-Tag: V2.12.0~1308 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6e81c467f579a16da2a56fcdccc26aa681a9e08;p=cc65 More functions git-svn-id: svn://svn.cc65.org/cc65/trunk@2463 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 7a27e4196..6db3cf55f 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -57,8 +57,8 @@ function. - - + + @@ -155,6 +155,16 @@ function. +

+ + + + + + + + +

@@ -442,6 +452,104 @@ disabled. +PEEK

+ + + +/ + +The function is actually a macro. +This function depends highly on the platform and environment. + +, + + + + + +PEEKW

+ + + +/ + +The function is actually a macro. +This function depends highly on the platform and environment. +The order in which the two bytes are read is unspecified and may +depend of the address expression used. + +, + + + + + +POKE

+ + + +/ + +The function is actually a macro. +This function depends highly on the platform and environment. +Careless use will cause the program to act strange or may crash the +machine. + +, + + + + + +POKEW

+ + + +/ + +The function is actually a macro. +This function depends highly on the platform and environment. +Careless use will cause the program to act strange or may crash the +machine. +The order in which the two bytes are written is unspecified and may +depend of the address expression used. + +, + + + + + SEI

@@ -2240,6 +2348,29 @@ be used in presence of a prototype. +reset_brk

+ + + +/ + +Since / installs an exit handler, +it is not strictly necessary to call this function as part of the cleanup when +the program ends. + + + + + + revers

@@ -2288,6 +2419,41 @@ be used in presence of a prototype. +set_brk

+ + + +/ + +The function is only available as fastcall function, so it may only +be used in presence of a prototype. +The stub saves the zero page registers used by the C runtime and switches +to a small break handler stack. This means that it is safe to execute C code, +even if C code was interrupted. Be careful however not to use too many local +variables, and do not enable stack checks for the handler function or any other +function called from it. +The Since / as part of the cleanup when +the program terminates. + + + + + + signal