BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
datalib.c File Reference
#include "blitzlib.h"

Functions

void getstart (void)
void datalib_codeinit (void)
static ULONG codeinit_c (ULONG start)
 The init routine: remember the start of the program's DATA area.
static ULONG getstart_c (void)
 getdstart ($CD00): the start of the program's DATA area.

Variables

static ULONG datastart

Function Documentation

◆ codeinit_c()

ULONG codeinit_c ( ULONG start)
static

The init routine: remember the start of the program's DATA area.

The program start code calls it with the address of the data area.

Parameters
startd0: the start of the DATA area
Returns
d0: start, unchanged (the init value)

◆ datalib_codeinit()

void datalib_codeinit ( void )

◆ getstart()

void getstart ( void )

◆ getstart_c()

ULONG getstart_c ( void )
static

getdstart ($CD00): the start of the program's DATA area.

For Restore/Read; keeps d1/a0-a1 (the thunk).

Returns
d0: the address the init routine got

Variable Documentation

◆ datastart

ULONG datastart
static