llvm-mos-sdk
Functions
system.h File Reference
#include <stdint.h>
#include <neo6502.h>
Include dependency graph for system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t neo_api_error (void)
 Return the error code, if any. More...
 
long neo_system_timer (void)
 Query the value of the 100Hz system timer. More...
 
uint8_t neo_system_key_status (char key)
 Query the state of the specific keyboard key. More...
 
void neo_system_credits (void)
 Print the Neo6502 project contributors. More...
 
void neo_system_serial_update (void)
 Update the serial command handler. More...
 
void neo_system_locale (const char *locale)
 Set the locale code. More...
 

Function Documentation

◆ neo_api_error()

uint8_t neo_api_error ( void  )

Return the error code, if any.

Returns
Non-zero if an error has occured.

◆ neo_system_credits()

void neo_system_credits ( void  )

Print the Neo6502 project contributors.

◆ neo_system_key_status()

uint8_t neo_system_key_status ( char  key)

Query the state of the specific keyboard key.

Parameters
keyKey to query.
Returns
Key status.

◆ neo_system_locale()

void neo_system_locale ( const char *  locale)

Set the locale code.

Parameters
localeLocale code, for example "EN" or "FR".

◆ neo_system_serial_update()

void neo_system_serial_update ( void  )

Update the serial command handler.

◆ neo_system_timer()

long neo_system_timer ( void  )

Query the value of the 100Hz system timer.

Returns
Current system timer value.