+++ /dev/null
- Graphic & text\r
- --------------\r
-\r
-. ( n -- ) print number on screen\r
-\r
-d. ( n -- ) print number on screen in decimal\r
-\r
-? ( addr -- ) print 32 bit value located at addr.\r
-\r
-." <string>" ( -- ) print string into screen. Immideately\r
- compiles.\r
- ex: : greeting ." Hello, World" ;\r
-\r
-tab. ( -- ) print tabulator\r
-\r
-calccol ( b g r -- c ) calculate color what best matches given\r
- Blue Green & Red values. Values must be in range 0 - 255.\r
-\r
-imgalloc ( xsize ysize -- imgbuf ) allocate image buffer for\r
- specified size.\r
-\r
-imgsize ( imgbuf -- ) print on the screen X & Y size of image\r
- buffer.\r
-\r
-point ( x y imgbuf -- addr ) returns memory address for specified\r
- pixel.\r
-\r
-pset ( color x y imgbuf -- ) set graphic point\r
-\r
-boxf ( x1 x2 y1 y2 imgbuf color -- ) draw filled box\r
-\r
-cls ( imgbuf -- ) clear image buffer\r
-\r
-setpal ( b g r color -- ) set palette value for specified color.\r
- values bust be in size 0 - 63.\r
-\r
-putchar ( char color x y imgbuf -- ) put graphic character in\r
- imagebuffer to specified (x & y) location.\r
-\r
-scroll ( x y imgbuf -- ) scroll in imgbuf.\r
-\r
-scrollf ( color x y screen -- ) scroll and fill empty space with\r
- given color.\r
-\r
-at! ( x y -- ) set cursor location\r
-curc! ( color -- ) set text color\r
-curb! ( solor -- ) set backround color\r
-\r
-colnorm ( -- ) set text color to normal\r
-colneg ( -- ) set text color to negative (selected)\r
-\r
-dyntype ( dynhandle -- ) display contenc of dynamic memory on screen\r
-fsdisp ( file -- ) clear screen, display file, and wait for key\r
-\r
-type ( addr length -- )\r
- Types on the screen string, from memory at addr and\r
- specified length.\r
-\r
-write ( addr -- )\r
- Types on the screen string, from memory at "addr"+1\r
- length is taken from "addr" .\r
-\r
-screen const 32 bit\r
- Holds handle of screen buffer.\r
-\r
-copyscreen ( SrcImgHandle DestImgHandle -- ) copy contenc of source\r
- image to destination image. Source and destination images\r
- must have same size.\r