45 __asm__ __volatile__(
"jsr $ffee" : :
"Aq" (a_char));
58 __asm__ __volatile__(
"jsr $ffe0" :
"+Aq" (rega) );
69 __asm__ __volatile__(
"jsr $ffe7" : : :
"a");
84 __asm__ __volatile__(
"jsr $ffe3" : :
"Aq" (a_char));
137 return osrdrm(0, address);
170 xy_command[strlen(xy_command)] = 0x0d;
172 __asm__ __volatile__(
"jsr $fff7" : :
"xq"(regx),
"yq"(regy) );
189 __asm__ __volatile__(
"jsr $fff4" :
"+xq"(regx),
"+yq"(regy) :
"Aq" (a_func));
221 osfile_saveblock = 0,
222 osfile_writeinfo = 1,
223 osfile_writeload = 2,
224 osfile_writeexec = 3,
225 osfile_writeattr = 4,
227 osfile_deletenamedfile = 6,
228 osfile_loadnamedfile = 0xff,
260 __asm__ __volatile__(
"jsr $ffd7" :
"+Aq" (rega) :
"yq"(y_handle) );
274 __asm__ __volatile__(
"jsr $ffd4" : :
"Aq" (a_byte),
"yq"(y_handle) );
293 osgbpb_putbytes_seq = 1,
295 osgbpb_getbytes_seq = 3,
297 osgbpb_gettitleandbootopt = 5,
298 osgbpb_readdirectory = 6,
299 osgbpb_readlibrary = 7,
300 osgbpb_readfilenames = 8
336 filename[strlen((filename))] = 0x0d;
349 filename[strlen((filename))] = 0x0d;
362 filename[strlen((filename))] = 0x0d;
static void osasci(uint8_t a_char)
Definition: os.h:82
static uint8_t osrdsc(uintptr_t address)
Definition: os.h:134
enum osfile_action_e osfile_action
int32_t load_address
Definition: os.h:210
int32_t data_pointer
Definition: os.h:283
static void oswrch(uint8_t a_char)
Definition: os.h:43
void osgbpb(uint8_t a_action, const osgbpb_controlblock *xy_pblock)
static void gsread(uint8_t *a, uint8_t *x, uint8_t y)
Definition: os.h:105
static void osnewl(void)
Definition: os.h:67
enum osgbpb_action_e osgbpb_action
int32_t exec_address
Definition: os.h:211
static void oseven(uint8_t y_eventnum)
Definition: os.h:153
unsigned char uint8_t
Definition: stdint.h:34
void osfile(uint8_t a_action, const osfile_parameterblock *xy_pblock)
uint8_t osrdrm(uint8_t y_romnum, uintptr_t address)
static void oscli(char *xy_command)
Definition: os.h:164
static void osbyte(uint8_t a_func, uint8_t *x, uint8_t *y)
Definition: os.h:184
int32_t file_handle
Definition: os.h:282
static uint8_t osrdch(void)
Definition: os.h:54
struct osfile_parameterblock_s osfile_parameterblock
int32_t start_address
Definition: os.h:212
static void osbput(uint8_t a_byte, uint8_t y_handle)
Definition: os.h:272
osfile_action_e
Definition: os.h:219
uint16_t uintptr_t
Definition: stdint.h:59
int32_t seq_pointer
Definition: os.h:285
int32_t file_name
Definition: os.h:209
struct osgbpb_controlblock_s osgbpb_controlblock
int32_t end_address
Definition: os.h:213
Named types for various sizes.
uint8_t osfind(uint8_t a_operation, uint8_t x, uint8_t y)
long int32_t
Definition: stdint.h:51
static uint8_t osfind_open_w(char *filename)
Definition: os.h:347
static void osfind_close(uint8_t handle)
Definition: os.h:372
static uint8_t osbget(uint8_t y_handle)
Definition: os.h:256
static uint8_t osfind_open_r(char *filename)
Definition: os.h:334
void oswrsc(uint8_t a_byte, uintptr_t address)
osgbpb_action_e
Definition: os.h:291
int32_t num_bytes
Definition: os.h:284
static uint8_t osfind_open_rw(char *filename)
Definition: os.h:360
static void gsinit(uint8_t *a, uint8_t *y)
Definition: os.h:93
void osword(uint8_t a_func, const void *xy_pointer)