Go to the source code of this file.
|
enum | FRESULT {
FR_OK = 32,
FR_DISK_ERR,
FR_INT_ERR,
FR_NOT_READY,
FR_NO_FILE,
FR_NO_PATH,
FR_INVALID_NAME,
FR_DENIED,
FR_EXIST,
FR_INVALID_OBJECT,
FR_WRITE_PROTECTED,
FR_INVALID_DRIVE,
FR_NOT_ENABLED,
FR_NO_FILESYSTEM,
FR_MKFS_ABORTED,
FR_TIMEOUT,
FR_LOCKED,
FR_NOT_ENOUGH_CORE,
FR_TOO_MANY_OPEN_FILES,
FR_INVALID_PARAMETER
} |
|
|
int | xregn (char device, char channel, unsigned char address, unsigned count,...) |
|
int | phi2 (void) |
|
int | codepage (void) |
|
long | lrand (void) |
|
int | stdin_opt (unsigned long ctrl_bits, unsigned char str_length) |
|
int | read_xstack (void *buf, unsigned count, int fildes) |
|
int | read_xram (unsigned buf, unsigned count, int fildes) |
|
int | write_xstack (const void *buf, unsigned count, int fildes) |
|
int | write_xram (unsigned buf, unsigned count, int fildes) |
|
int | open (const char *name, int flags,...) |
|
int | read (int fildes, void *buf, unsigned count) |
|
int | write (int fildes, const void *buf, unsigned count) |
|
int | close (int fd) |
|
long | lseek (int fd, long offset, int whence) |
|
unsigned char | _sysremove (const char *name) |
|
unsigned char | _sysrename (const char *oldpath, const char *newpath) |
|
◆ O_APPEND
◆ O_CREAT
◆ O_EXCL
◆ O_RDONLY
◆ O_RDWR
◆ O_TRUNC
◆ O_WRONLY
◆ RIA
#define RIA (*(volatile struct __RP6502 *)0xFFE0) |
◆ RIA_BUSY_BIT
#define RIA_BUSY_BIT 0x80 |
◆ RIA_OP_CLOCK
#define RIA_OP_CLOCK 0x0F |
◆ RIA_OP_CLOCK_GETRES
#define RIA_OP_CLOCK_GETRES 0x10 |
◆ RIA_OP_CLOCK_GETTIME
#define RIA_OP_CLOCK_GETTIME 0x11 |
◆ RIA_OP_CLOCK_GETTIMEZONE
#define RIA_OP_CLOCK_GETTIMEZONE 0x13 |
◆ RIA_OP_CLOCK_SETTIME
#define RIA_OP_CLOCK_SETTIME 0x12 |
◆ RIA_OP_CLOSE
#define RIA_OP_CLOSE 0x15 |
◆ RIA_OP_CODEPAGE
#define RIA_OP_CODEPAGE 0x03 |
◆ RIA_OP_EXIT
◆ RIA_OP_LRAND
#define RIA_OP_LRAND 0x04 |
◆ RIA_OP_LSEEK
#define RIA_OP_LSEEK 0x1A |
◆ RIA_OP_OPEN
◆ RIA_OP_PHI2
◆ RIA_OP_READ_XRAM
#define RIA_OP_READ_XRAM 0x17 |
◆ RIA_OP_READ_XSTACK
#define RIA_OP_READ_XSTACK 0x16 |
◆ RIA_OP_RENAME
#define RIA_OP_RENAME 0x1C |
◆ RIA_OP_STDIN_OPT
#define RIA_OP_STDIN_OPT 0x05 |
◆ RIA_OP_UNLINK
#define RIA_OP_UNLINK 0x1B |
◆ RIA_OP_WRITE_XRAM
#define RIA_OP_WRITE_XRAM 0x19 |
◆ RIA_OP_WRITE_XSTACK
#define RIA_OP_WRITE_XSTACK 0x18 |
◆ RIA_OP_XREG
◆ RIA_OP_ZXSTACK
#define RIA_OP_ZXSTACK 0x00 |
◆ RIA_READY_RX_BIT
#define RIA_READY_RX_BIT 0x40 |
◆ RIA_READY_TX_BIT
#define RIA_READY_TX_BIT 0x80 |
◆ SEEK_CUR
◆ SEEK_END
◆ SEEK_SET
◆ STDERR_FILENO
◆ STDIN_FILENO
◆ STDOUT_FILENO
◆ xram0_struct_set
#define xram0_struct_set |
( |
|
addr, |
|
|
|
type, |
|
|
|
member, |
|
|
|
val |
|
) |
| |
Value: RIA.addr0 = (unsigned)(&((type *)0)->member) + (
unsigned)addr; \
switch (sizeof(((type *)0)->member)) { \
case 1: \
RIA.rw0 = val; \
break; \
case 2: \
RIA.step0 = 1; \
RIA.rw0 = val & 0xff; \
RIA.rw0 = (val >> 8) & 0xff; \
break; \
case 4: \
RIA.step0 = 1; \
RIA.rw0 = (unsigned long)val & 0xff; \
RIA.rw0 = ((unsigned long)val >> 8) & 0xff; \
RIA.rw0 = ((unsigned long)val >> 16) & 0xff; \
RIA.rw0 = ((unsigned long)val >> 24) & 0xff; \
break; \
}
◆ xram1_struct_set
#define xram1_struct_set |
( |
|
addr, |
|
|
|
type, |
|
|
|
member, |
|
|
|
val |
|
) |
| |
Value: RIA.addr1 = (unsigned)(&((type *)0)->member) + (
unsigned)addr; \
switch (sizeof(((type *)0)->member)) { \
case 1: \
RIA.rw1 = val; \
break; \
case 2: \
RIA.step1 = 1; \
RIA.rw1 = val & 0xff; \
RIA.rw1 = (val >> 8) & 0xff; \
break; \
case 4: \
RIA.step1 = 1; \
RIA.rw1 = (unsigned long)val & 0xff; \
RIA.rw1 = ((unsigned long)val >> 8) & 0xff; \
RIA.rw1 = ((unsigned long)val >> 16) & 0xff; \
RIA.rw1 = ((unsigned long)val >> 24) & 0xff; \
break; \
}
◆ FRESULT
Enumerator |
---|
FR_OK | |
FR_DISK_ERR | |
FR_INT_ERR | |
FR_NOT_READY | |
FR_NO_FILE | |
FR_NO_PATH | |
FR_INVALID_NAME | |
FR_DENIED | |
FR_EXIST | |
FR_INVALID_OBJECT | |
FR_WRITE_PROTECTED | |
FR_INVALID_DRIVE | |
FR_NOT_ENABLED | |
FR_NO_FILESYSTEM | |
FR_MKFS_ABORTED | |
FR_TIMEOUT | |
FR_LOCKED | |
FR_NOT_ENOUGH_CORE | |
FR_TOO_MANY_OPEN_FILES | |
FR_INVALID_PARAMETER | |
◆ _sysremove()
unsigned char _sysremove |
( |
const char * |
name | ) |
|
◆ _sysrename()
unsigned char _sysrename |
( |
const char * |
oldpath, |
|
|
const char * |
newpath |
|
) |
| |
◆ close()
◆ codepage()
◆ lrand()
◆ lseek()
long lseek |
( |
int |
fd, |
|
|
long |
offset, |
|
|
int |
whence |
|
) |
| |
◆ open()
int open |
( |
const char * |
name, |
|
|
int |
flags, |
|
|
|
... |
|
) |
| |
◆ phi2()
◆ read()
int read |
( |
int |
fildes, |
|
|
void * |
buf, |
|
|
unsigned |
count |
|
) |
| |
◆ read_xram()
int read_xram |
( |
unsigned |
buf, |
|
|
unsigned |
count, |
|
|
int |
fildes |
|
) |
| |
◆ read_xstack()
int read_xstack |
( |
void * |
buf, |
|
|
unsigned |
count, |
|
|
int |
fildes |
|
) |
| |
◆ stdin_opt()
int stdin_opt |
( |
unsigned long |
ctrl_bits, |
|
|
unsigned char |
str_length |
|
) |
| |
◆ write()
int write |
( |
int |
fildes, |
|
|
const void * |
buf, |
|
|
unsigned |
count |
|
) |
| |
◆ write_xram()
int write_xram |
( |
unsigned |
buf, |
|
|
unsigned |
count, |
|
|
int |
fildes |
|
) |
| |
◆ write_xstack()
int write_xstack |
( |
const void * |
buf, |
|
|
unsigned |
count, |
|
|
int |
fildes |
|
) |
| |
◆ xregn()
int xregn |
( |
char |
device, |
|
|
char |
channel, |
|
|
unsigned char |
address, |
|
|
unsigned |
count, |
|
|
|
... |
|
) |
| |