-
Notifications
You must be signed in to change notification settings - Fork 3
/
commandsbanks.h
47 lines (35 loc) · 1.74 KB
/
commandsbanks.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __amigaos4__
#include <proto/exec.h>
#endif
#include "amosKittens.h"
void init_banks( char *data , int size);
//------------------------------------------------------------------------------
extern char *bankReserveAsWork(nativeCommand *cmd, char *ptr);
extern char *bankReserveAsChipWork(nativeCommand *cmd, char *ptr);
extern char *bankReserveAsData(nativeCommand *cmd, char *ptr);
extern char *bankReserveAsChipData(nativeCommand *cmd, char *ptr);
extern char *bankListBank(nativeCommand *cmd, char *ptr);
extern char *bankErase(nativeCommand *cmd, char *ptr);
extern char *bankEraseAll(nativeCommand *cmd, char *ptr);
extern char *bankEraseTemp(nativeCommand *cmd, char *ptr);
extern char *bankStart(nativeCommand *cmd, char *ptr);
extern char *bankLength(nativeCommand *cmd, char *ptr);
extern char *bankBload(nativeCommand *cmd, char *ptr);
extern char *bankBsave(nativeCommand *cmd, char *ptr);
extern char *bankLoad(nativeCommand *cmd, char *ptr);
extern char *bankSave(nativeCommand *cmd, char *ptr);
extern char *bankBankSwap(nativeCommand *cmd, char *ptr);
extern char *bankBGrab(nativeCommand *cmd, char *ptr);
extern char *bankResourceBank(nativeCommand *cmd, char *ptr);
extern char *bankResourceStr(nativeCommand *cmd, char *tokenBuffer);
extern char *bankBankShrink(nativeCommand *cmd, char *tokenBuffer);
extern char *bankBlength(nativeCommand *cmd, char *ptr);
extern char *bankBstart(nativeCommand *cmd, char *ptr);
extern char *bankBsend(nativeCommand *cmd, char *ptr);
extern void __load_bank__(struct stringData *name, int bankNr );
extern void __load_bank__(const char *name, int bankNr );
extern struct stringData *getResourceStr(int id);
extern void *getBankObject(int id);