mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
More changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4899 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
78c2b66e58
commit
a2ec97ac13
@ -79,6 +79,19 @@ struct dirent {
|
||||
char d_name[13]; /* 8.3 + trailing 0 */
|
||||
};
|
||||
|
||||
#elif defined(__LYNX__)
|
||||
|
||||
struct dirent {
|
||||
unsigned char d_blocks;
|
||||
unsigned int d_offset;
|
||||
char d_type;
|
||||
void *d_address;
|
||||
unsigned int d_size;
|
||||
};
|
||||
|
||||
extern struct dirent FileEntry;
|
||||
#pragma zpsym ("FileEntry");
|
||||
|
||||
#else
|
||||
|
||||
struct dirent {
|
||||
|
@ -112,8 +112,8 @@ flagsok:
|
||||
jsr steaxysp
|
||||
lda #$01
|
||||
jsr pusha0
|
||||
lda _FileEntry
|
||||
ldx _FileEntry+1
|
||||
lda #<_FileEntry
|
||||
ldx #>_FileEntry
|
||||
jsr pushax
|
||||
ldx #$00
|
||||
lda #$08
|
||||
|
@ -10,12 +10,12 @@ MEMORY {
|
||||
}
|
||||
SEGMENTS {
|
||||
EXEHDR: load = HEADER, type = ro;
|
||||
STARTUP: load = RAM, type = ro;
|
||||
STARTUP: load = RAM, type = ro, define = yes;
|
||||
LOWCODE: load = RAM, type = ro, optional = yes;
|
||||
INIT: load = RAM, type = ro, define = yes, optional = yes;
|
||||
CODE: load = RAM, type = ro;
|
||||
RODATA: load = RAM, type = ro;
|
||||
DATA: load = RAM, type = rw;
|
||||
CODE: load = RAM, type = ro, define = yes;
|
||||
RODATA: load = RAM, type = ro, define = yes;
|
||||
DATA: load = RAM, type = rw, define = yes;
|
||||
BSS: load = RAM, type = bss, define = yes;
|
||||
ZEROPAGE: load = ZP, type = zp;
|
||||
EXTZP: load = ZP, type = zp, optional = yes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user