3#ifndef __LIBWW_SYS_SYSTEM_H__
4#define __LIBWW_SYS_SYSTEM_H__
10#define SYS_INT_SENDREADY 0
14#define SYS_INT_CASETTE 2
16#define SYS_INT_RECEIVEREADY 3
18#define SYS_INT_DISPLINE 4
20#define SYS_INT_TIMER_COUNTUP 5
22#define SYS_INT_VBLANK 6
24#define SYS_INT_HBLANK_COUNTUP 7
41 :
"c" (ticks),
"Rah" ((uint8_t) 0x02)
54 :
"Rah" ((uint8_t) 0x03)
57 return (uint16_t) result;
65 :
"Rah" ((uint8_t) 0x04)
75 :
"b" (value),
"Rah" ((uint8_t) 0x05)
85 :
"Rah" ((uint8_t) 0x06)
88 return (uint16_t) result;
96 :
"b" (value),
"Rah" ((uint8_t) 0x07)
106 :
"Rah" ((uint8_t) 0x08)
109 return (uint16_t) result;
117 :
"b" (value),
"Rah" ((uint8_t) 0x09)
136 :
"a" ((uint16_t) (((0x0D) << 8) | (value & 0xFF)))
146 :
"Rah" ((uint8_t) 0x0E)
149 return (uint8_t) result;
157 :
"b" (ptr),
"c" (size),
"Rah" ((uint8_t) 0x0F)
160 return (
void __wf_iram*) result;
168 :
"b" (ptr),
"Rah" ((uint8_t) 0x10)
178 :
"Rah" ((uint8_t) 0x11)
181 return (
void __wf_iram*) result;
192 :
"Rah" ((uint8_t) 0x12)
195 return (uint16_t) result;
203 :
"b" (value),
"Rah" ((uint8_t) 0x14)
213 :
"Rah" ((uint8_t) 0x15)
216 return (uint16_t) result;
static uint16_t sys_get_resume(void)
uint16_t sys_get_ownerinfo(uint16_t size, void __far *data)
static uint16_t sys_get_version(void)
static uint16_t sys_get_sleep_time(void)
void sys_interrupt_set_hook(uint8_t id, intvector_t __far *new_vector, intvector_t __far *old_vector)
void sys_interrupt_reset_hook(uint8_t id, intvector_t __far *old_vector)
static void sys_set_sleep_time(uint16_t value)
static uint16_t sys_get_tick_count(void)
static void __wf_iram * sys_alloc_iram(void *ptr, uint16_t size)
static void sys_free_iram(void __wf_iram *ptr)
static void sys_set_remote(uint8_t value)
static void __wf_iram * sys_get_my_iram(void)
static void sys_set_awake_key(uint16_t value)
static void sys_set_resume(uint16_t value)
static uint8_t sys_get_remote(void)
static void sys_wait(uint16_t ticks)
static void sys_sleep(void)
static void sys_set_keepalive_int(uint16_t value)
static uint16_t sys_get_awake_key(void)
struct intvector intvector_t