355 A third use of VDU23 is to permit the advanced programmer to alter the contents of the 6845 CRTC circuit. If the user wishes to place value X in register R this can be done with the command VDU 23,0,R,X,0,0,0,0,0,0 The user is cautioned not to do this unless he or she understands how to program the 6845. Note however that when writing to register 7 (vertical synchronisation position) or register 8 (interlace) of the 6845, any offset that has been set up with the *TV statement (chapter 43) will be used to adjust the value sent to R7.
24 This code enables the user to define the graphics window – that is, the area of the screen inside which graphics can be drawn with the DRAW and PLOT statements. The graphics screen is addressed with the following coordinates. Thus the coordinates of A would be approximately 1000,200. When defining a graphics window four coordinates must be given; the left, bottom, right and top edges of the graphics area. Suppose that we wish to confine all graphics to the area shown below.