ridisplaylib
This library is the beginning of a display library by Reflective
Images that was meant to build its own copper list. It was never
finished: InitView allocates a copper list in chip memory and fills
its first words, and ViewBitmap does nothing. The list is never
installed, so the library does not change the display. It is of no
use in a program; it is part of the BB2 C port only to keep the set of
libraries complete.
The library opens graphics.library version 39 (OS 3.0) at program
start and closes it at the end. At the end it also frees every list
InitView allocated, whether graphics.library could be opened or not.
Library number 29.
Commands
InitView
Allocates a copper list in chip memory, writes its first four moves and returns its address, or 0 if there is not enough chip memory. The list is never shown.
Statement or function, result .l. Help text: height,depth,numsprites,numcolours
Arguments: .w, .w, .w, .w
The list has 16 bytes per sprite and per bitplane, 8 bytes per
colour and 38 more; the height is not part of its size. The four
moves set the display window and the data fetch: DIWSTRT to $2C81, DIWSTOP to $2CC1, DDFSTRT to $0038
and DDFSTOP to $00D0. Every call allocates a new list; all of them
stay in memory until the end of the program, which frees them.
ViewBitmap
Does nothing; the command was never written.
Statement or function, result .l. Help text: bitmap
Arguments: .l