2000-05-28 13:40:48 +00:00
|
|
|
/*
|
|
|
|
GEOS memory and string functions
|
|
|
|
|
2003-04-04 21:16:15 +00:00
|
|
|
by Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
*/
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
#ifndef _GMEMORY_H
|
2000-05-28 13:40:48 +00:00
|
|
|
#define _GMEMORY_H
|
|
|
|
|
|
|
|
#include <geos/gstruct.h>
|
|
|
|
|
2001-08-15 16:09:35 +00:00
|
|
|
void __fastcall__ CopyString(char *dest, const char *source);
|
|
|
|
char __fastcall__ CmpString(const char *dest, const char *source);
|
|
|
|
void __fastcall__ CopyFString(char len, char *dest, const char *source);
|
2022-04-17 14:05:19 +00:00
|
|
|
char __fastcall__ CmpFString(char len, char *dest, const char *source);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2003-04-04 21:16:15 +00:00
|
|
|
unsigned __fastcall__ CRC(const char *buffer, unsigned len);
|
2003-08-19 22:56:55 +00:00
|
|
|
void* __fastcall__ ClearRam(char *dest, unsigned len);
|
|
|
|
void* __fastcall__ FillRam(char *dest, char what, unsigned len);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2003-08-19 22:56:55 +00:00
|
|
|
void* __fastcall__ MoveData(char *dest, const char *source, unsigned len);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
void __fastcall__ InitRam(char *myInitTab);
|
|
|
|
|
2003-04-04 21:16:15 +00:00
|
|
|
void __fastcall__ StashRAM(char REUBank, unsigned len, char *reuaddy, const char *cpuaddy);
|
|
|
|
void __fastcall__ FetchRAM(char REUBank, unsigned len, const char *reuaddy, char *cpuaddy);
|
|
|
|
void __fastcall__ SwapRAM(char REUBank, unsigned len, char *reuaddy, char *cpuaddy);
|
|
|
|
char __fastcall__ VerifyRAM(char REUBank, unsigned len, const char *reuaddy, const char *cpuaddy);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
#endif
|