4 . ( n -- ) print number on screen
\r
6 d. ( n -- ) print number on screen in decimal
\r
8 ? ( addr -- ) print 32 bit value located at addr.
\r
10 ." <string>" ( -- ) print string into screen. Immideately
\r
12 ex: : greeting ." Hello, World" ;
\r
14 tab. ( -- ) print tabulator
\r
16 calccol ( b g r -- c ) calculate color what best matches given
\r
17 Blue Green & Red values. Values must be in range 0 - 255.
\r
19 imgalloc ( xsize ysize -- imgbuf ) allocate image buffer for
\r
22 imgsize ( imgbuf -- ) print on the screen X & Y size of image
\r
25 point ( x y imgbuf -- addr ) returns memory address for specified
\r
28 pset ( color x y imgbuf -- ) set graphic point
\r
30 boxf ( x1 x2 y1 y2 imgbuf color -- ) draw filled box
\r
32 cls ( imgbuf -- ) clear image buffer
\r
34 setpal ( b g r color -- ) set palette value for specified color.
\r
35 values bust be in size 0 - 63.
\r
37 putchar ( char color x y imgbuf -- ) put graphic character in
\r
38 imagebuffer to specified (x & y) location.
\r
40 scroll ( x y imgbuf -- ) scroll in imgbuf.
\r
42 scrollf ( color x y screen -- ) scroll and fill empty space with
\r
45 at! ( x y -- ) set cursor location
\r
46 curc! ( color -- ) set text color
\r
47 curb! ( solor -- ) set backround color
\r
49 colnorm ( -- ) set text color to normal
\r
50 colneg ( -- ) set text color to negative (selected)
\r
52 dyntype ( dynhandle -- ) display contenc of dynamic memory on screen
\r
53 fsdisp ( file -- ) clear screen, display file, and wait for key
\r
55 type ( addr length -- )
\r
56 Types on the screen string, from memory at addr and
\r
60 Types on the screen string, from memory at "addr"+1
\r
61 length is taken from "addr" .
\r
64 Holds handle of screen buffer.
\r
66 copyscreen ( SrcImgHandle DestImgHandle -- ) copy contenc of source
\r
67 image to destination image. Source and destination images
\r
68 must have same size.
\r