AMSTRAD CPC464 User Manual page 161

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

ORIGIN
O R I G I N < x > , <y > [ < l e f t > , < r i g h t > , < t o p > , < b o t t o m > ]
1 0 C L S : B O R D E R 1 3
2 0 O R I G I N 0 , 0 , 5 0 , 5 9 0 , 3 5 0 , 5 0
3 0 D R A W 5 4 0 , 3 5 0
4 0 G O T O 2 0
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
O U T < p o r t n u m b e r > ,< i n t e g e r e x p r e s s i o n >
O U T & F 8 F 4 , 1 0
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents