libwwcl libwwcl
WWitch compatibility layer for the Wonderful toolchain
Loading...
Searching...
No Matches
system.h File Reference
#include "types.h"

Go to the source code of this file.

Macros

#define SYS_INT_SENDREADY   0x00
 
#define SYS_INT_KEY   0x01
 
#define SYS_INT_CASETTE   0x02
 
#define SYS_INT_RECEIVEREADY   0x03
 
#define SYS_INT_DISPLINE   0x04
 
#define SYS_INT_TIMER_COUNTUP   0x05
 
#define SYS_INT_VBLANK   0x06
 
#define SYS_INT_HBLANK_COUNTUP   0x07
 

Functions

void sys_interrupt_set_hook (uint8_t id, intvector_t *new_vector, intvector_t *old_vector)
 
void sys_interrupt_reset_hook (uint8_t id, intvector_t *old_vector)
 
void sys_wait (uint16_t v)
 
uint32_t sys_get_tick_count (void)
 Read the current tick count.
 
void sys_sleep (void)
 
void sys_set_sleep_time (uint16_t time)
 
uint16_t sys_get_sleep_time (void)
 
void sys_set_awake_key (uint16_t key)
 
uint16_t sys_get_awake_key (void)
 
void sys_set_keepalive_int (uint16_t value)
 
uint16_t sys_get_version (void)
 

Detailed Description

FreyaBIOS system calls.

Definition in file system.h.