SEPARATE ALPHA FROM GRAPHICSOn a bit-mapped display, simulates 9836 style alpha/graphics hardware.
Description:
SEPARATE ALPHA is the opposite of MERGE ALPHA WITH GRAPHICS. When separate, one or more bit plane is reserved for alpha text and the remaining planes are reserved for graphic output. The alpha and graphic planes can then be turned on or off or DUMPed independently. However, ALPHA text color and graphic pens are limited as shown in the table below.
The following table shows the colors available when SEPARATE ALPHA FROM GRAPHICS is used, depending on the total number of colors available.
Porting Issues
HP BASIC assigns green to the first pen; HTBasic assigns white. If you prefer green or some other color, you must explicitly set a range of pen values to the color desired. The range starts with the white alpha pen value from the table above and continues to one less than the value of the brown alpha pen value. For 16 color systems, the last value should be 15. For example, the following code changes the alpha pen from white to green on a 16 color display:
10 SEPARATE ALPHA FROM GRAPHICS
20 PLOTTER IS CRT,"INTERNAL";COLOR MAP
30 FOR I=8 TO 15
40 SET PEN I INTENSITY 0,1,0
50 NEXT I
60 END
See Also:
|