|
| void | _ipbitmap (void) |
| void | _iplocate (void) |
| void | _ipcolour (void) |
| void | _ipcolour2 (void) |
| void | _ipoutput (void) |
| void | riintuilib_libinit (void) |
| void | riintuilib_libfinit (void) |
| void | ipprint (void) |
| void | ipprint0 (void) |
| void | ipprint1 (void) |
| static void | libinit_c (void) |
| | init: opens graphics.library and intuition.library.
|
| static void | libfinit_c (void) |
| | finit: closes intuition.library and graphics.library.
|
| static void | ipbitmap_c (struct RastPort *rp, struct BitMap *bm) |
| | IPBitMap rast,bitmap: initialises a Rast object and gives it a bitmap.
|
| static void | iplocate_c (ULONG x, ULONG y, struct RastPort *rp) |
| | IPLocate x,y: moves the pen of the used Rast.
|
| static void | ipcolour2_c (ULONG fg, ULONG bg, struct RastPort *rp) |
| | IPColour fgpen,bgpen: sets the pens of the used Rast and of IPOutput.
|
| static void | ipcolour_c (ULONG fg, struct RastPort *rp) |
| | IPColour fgpen: sets the foreground pen only.
|
| static void | setpens (void) |
| static void | doipprint (void) |
| static void | ipprint_c (ULONG ch) |
| | The output handler, entry 0: one character.
|
| static void | ipprint0_c (UBYTE *s) |
| | The output handler, entry -8: a null terminated string.
|
| static void | ipprint1_c (UWORD n, const UBYTE *s) |
| | The output handler, entry -4: d0 characters at a0.
|
| static void | ipoutput_c (struct RastPort *rp) |
| | IPOutput rast: makes the Rast the output channel (Print draws on it).
|
| void ipcolour2_c |
( |
ULONG | fg, |
|
|
ULONG | bg, |
|
|
struct RastPort * | rp ) |
|
static |
IPColour fgpen,bgpen: sets the pens of the used Rast and of IPOutput.
SetAPen/SetBPen; a negative word leaves that pen unchanged. The pens are also kept for the IntuiText of IPOutput (their low bytes). Fixed (#696): the original's SetBPen took a2 as the RastPort, which it set to the Rast only with SetAPen (else the caller's a2, the argument stack).
- Parameters
-
| fg | d0: the foreground pen (a word) |
| bg | d1: the background pen (a word) |
| rp | a0: the used Rast (ua0) |
| void ipprint1_c |
( |
UWORD | n, |
|
|
const UBYTE * | s ) |
|
static |
The output handler, entry -4: d0 characters at a0.
Copied to cbuf with a 0, then printed, in pieces of at most 1023 characters (each piece after the previous one). As PrintIText, the text ends at a 0 among the characters. Fixed (#698): the original copied all d0 characters into the 1024 byte buffer without a limit - from 1024 characters on they ran into the pens behind it (the pens of the next text) and on into the library.
- Parameters
-
| n | d0: the number of characters (a word) |
| s | a0: the characters |
| void ipprint_c |
( |
ULONG | ch | ) |
|
|
static |
The output handler, entry 0: one character.
A line feed (10, the only single character printlib sends: NPrint's) moves the position to the start of the next line (x 0, y + the Rast's text height); any other character is copied to the buffer with a 0, then printed. Fixed (#699): the original read the character from the address d0 (MOVE.l d0,a0:MOVE.b (a0)+,...), i.e. from low memory, and printed that byte.
- Parameters
-
| ch | d0: the character (its low byte) |