-
Notifications
You must be signed in to change notification settings - Fork 17
Backup RAM Functions
char bm_check(void); [ 1.5+ ] |
|---|
|
|
int bm_free(void); [ 1.5+ ] |
|---|
|
|
int bm_size(void); [ 3.03+ ] |
|---|
|
|
char bm_rawread(int ptr); [ 3.03+ ] |
|---|
|
|
void bm_rawwrite(int offset, char val); [ 3.03+ ] |
|---|
|
|
char bm_format(void); [ 1.5+ ] |
|---|
|
|
char bm_exist(char* name); [ 1.5+ / 3.03+ ] |
|---|
|
|
int bm_sizeof(char* name); [ 3.03+ ] |
|---|
|
|
int bm_getptr(int ptr, char* name); [ 3.03+ ] |
|---|
|
|
| void bm_delete(char* name); [ 3.03+ ] |
|---|
Delete BRAM entry with a given name. |
char bm_write(char *buf, char *name, int offset, int nb); [ 1.5+ ] |
|---|
|
|
char bm_read(char *buf, char *name, int offset, int nb); [ 1.5+ ] |
|---|
|
|
char bm_create(char *name, int size); [ 1.5+ ] |
|---|
|
|
char bm_errno(void); [ 1.5+ ] |
|---|
|
| void bm_open(char *name); [ 1.5+ ] |
|---|
Obtain access to a named file. |
| void bm_enable(void); [ 1.5+ ] |
|---|
Enable the BRAM area and do a quick check. |
| void bm_disable(void); [ 1.5+ ] |
|---|
Handles the fixup of BRAM segment/locking. |
| void bm_unlock(void); [ 1.5+ ] |
|---|
Handles only the map/unlock of the BRAM area. |
| void bm_checksum(char *fcb); [ 1.5+ ] |
|---|
internal function, not for direct use. |
| void bm_setup_ptr(char *fcb, char *buf, int offset, int nb); [ 1.5+ ] |
|---|
internal function, not for direct use. |