1 TITLE Corona graphics module
14 public _GrInit,_GrReset,_GrOnly,_TxOnly,_GrandTx,_Cor_line,_Cor_mask
17 ror word ptr linemask,1
27 mov bx,word ptr LookUp[bx] ; bx has y mem address
35 shl al,cl ; al contains bit mask
36 or byte ptr es:[bx],al
43 lineproc _Cor_line, corpixel
49 mov ax, [bp+X] ; screen number (0 - 7)
51 shl ax,cl ; multiply by 2048 to get segment
52 mov ScSeg,ax ; save segment for later
75 mov dx,3b4h ; address of 6845
76 mov al,0ch ; register 12
79 mov al,ch ; Graphics Segment High
82 mov al,0dh ; register 13
84 mov al,cl ; Graphics Segment Low
135 dw x,2*K+x,4*K+x,6*K+x,8*K+x,10*K+x,12*K+x,14*K+x,16*K+x
136 dw 18*K+x,20*K+x,22*K+x,24*K+x