|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
Functions | |
| static ULONG | codeinit (void) |
| init: open mathffp.library. | |
| static void | codefinit (struct Library *lib) |
| finit: close mathffp.library again. | |
Variables | |
| static const char | ffpname [] = "mathffp.library" |
|
static |
finit: close mathffp.library again.
MOVE.l 4,a6:JMP _CloseLibrary(a6).
| lib | a1: the init value, the library base (!libs 64935,la1) |
|
static |
init: open mathffp.library.
LEA ffpname(pc),a1:MOVE.l 4,a6:JMP _OldOpenLibrary(a6), no version check. The original changes d0/d1/a0/a1 (exec) and a6; this keeps a6. BUG(orig) (#137): the result is not checked; with 0 the first float operation jumps to a negative offset from 0.
|
static |