]> git.sur5r.net Git - cc65/blob - include/geos/gmemory.h
Common include file is now cbm_kernal.inc
[cc65] / include / geos / gmemory.h
1 /*
2   GEOS memory and string functions
3
4   by Maciej 'YTM/Elysium' Witkowiak
5 */
6
7 #ifndef _GMEMORY_H
8 #define _GMEMORY_H
9
10 #include <geos/gstruct.h>
11
12 void __fastcall__ CopyString(char *dest, const char *source);
13 char __fastcall__ CmpString(const char *dest, const char *source);
14 void __fastcall__ CopyFString(char len, char *dest, const char *source);
15 char __fastcall__ CmpFString(char len, char *dest, const char *source); 
16
17 unsigned __fastcall__ CRC(const char *buffer, unsigned len);
18 void* __fastcall__ ClearRam(char *dest, unsigned len);
19 void* __fastcall__ FillRam(char *dest, char what, unsigned len);
20
21 void* __fastcall__ MoveData(char *dest, const char *source, unsigned len);
22
23 void __fastcall__ InitRam(char *myInitTab);
24
25 void __fastcall__ StashRAM(char REUBank, unsigned len, char *reuaddy, const char *cpuaddy);
26 void __fastcall__ FetchRAM(char REUBank, unsigned len, const char *reuaddy, char *cpuaddy);
27 void __fastcall__ SwapRAM(char REUBank, unsigned len, char *reuaddy, char *cpuaddy);
28 char __fastcall__ VerifyRAM(char REUBank, unsigned len, const char *reuaddy, const char *cpuaddy);
29
30 #endif