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

Functions

void chipbaselib_codeinit (void)
 The init routine: the base address of the custom chips.

Function Documentation

◆ chipbaselib_codeinit()

void chipbaselib_codeinit ( void )

The init routine: the base address of the custom chips.

An inline routine (Dc $a000,len): the compiler copies its code (move.l #$dff000,d0) into the program start instead of calling it; the init value is the global the compiler uses for hardware access in Blitz mode.

Result
d0: $DFF000