own versions of some common routines, fillram and movedata equal to memset

and memcpy


git-svn-id: svn://svn.cc65.org/cc65/trunk@789 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2001-07-15 16:09:50 +00:00
parent 66bcf9ac4e
commit 8e97e1f4b7
14 changed files with 160 additions and 26 deletions

View File

@@ -53,6 +53,7 @@ char __fastcall__ ChangeDiskDevice(char newdev);
#define OFF_GS_ID 173
/* disk errors */
#define ANY_FAULT 0xf0
#define G_EOF 0
#define NO_BLOCKS 1
#define INV_TRACK 2
#define INSUFF_SPACE 3

View File

@@ -83,7 +83,6 @@ void __fastcall__ GraphicsString(char *myGfxString);
#define SCREENBYTEWIDTH 80
#define SCREENPIXELWIDTH 640
/* control characters for use as numbers, not chars */
#define EOF 0
#define BACKSPACE 8
#define FORWARDSPACE 9
#define TAB 9

View File

@@ -19,9 +19,9 @@ char __fastcall__ CmpFString(char len, char *dest, char *source);
int __fastcall__ CRC(char *buffer, int len);
void __fastcall__ ClearRam(char *dest, int len);
void __fastcall__ FillRam(char what, char *dest, int len);
void __fastcall__ FillRam(char *dest, char what, int len);
void __fastcall__ MoveData(char *source, char *dest, int len);
void __fastcall__ MoveData(char *dest, char *source, int len);
void __fastcall__ InitRam(char *myInitTab);