ORIGIN
ORIGIN <x>,<y>[<left>,<right>,<top>,<bottom>]
10 CLS:BORDER 13
20 ORIGIN 0,0,50,590,350,50
30 DRAW 540,350
40 GOTO 20
COMMAND: Determines the start point for the graphics cursor. The [optional part] of the command
contains the instructions to set a new graphics window, which will be operational in all screen modes
due the pixel addressing technique employed.
The ORIGIN is the point with co-ordinates 0,0 (co-ordinates grow up and right). If any of the
window edges are specified to a position that is off the screen, they are assumed to represent the
furthest ‘visible’ position in the given direction.
Associated keywords: WINDOW
OUT
OUT <port number> ,<integer expression>
OUT &F8F4,10
COMMAND: Sends the value in the <integer expression> (which must lie in the range 0....255) to the
port specified in the <port number> by its address.
Associated keywords: INP, WAIT