mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
935f68f686
We surely don't care about some file I/O on host machines in 2018 ;-)
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/*
|
|
GEOS memory and string functions
|
|
|
|
by Maciej 'YTM/Elysium' Witkowiak
|
|
*/
|
|
|
|
#ifndef _GMEMORY_H
|
|
#define _GMEMORY_H
|
|
|
|
#include <geos/gstruct.h>
|
|
|
|
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);
|
|
char __fastcall__ CmpFString(char len, char *dest, const char *source);
|
|
|
|
unsigned __fastcall__ CRC(const char *buffer, unsigned len);
|
|
void* __fastcall__ ClearRam(char *dest, unsigned len);
|
|
void* __fastcall__ FillRam(char *dest, char what, unsigned len);
|
|
|
|
void* __fastcall__ MoveData(char *dest, const char *source, unsigned len);
|
|
|
|
void __fastcall__ InitRam(char *myInitTab);
|
|
|
|
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);
|
|
|
|
#endif
|