(Horizontal Panning Register - HPR) (13) - 5


;

sub dx,6

;

mov al,8

out dx,al

mov ax,preset_row_reg

inc dx

out dx,al

pop ds

}

}

/**

*.Name SetColumn

*

*.Title .

*

*.Descr .

*

*.Proto void SetColumn(unsigned char col)

*

*.Params unsigned char col - ( ).

*

*.Return .

*

*.Sample scroll.c

**/

void SetColumn(unsigned char col) {

_asm {

xor ax,ax

mov es,ax

;

; (3B4h/3D4h)

mov dx,es:[463h]

;

mov al,13h

out dx,al

; (3B5h/3D5h)

inc dx

; BIOS,

mov al,col

mov es:[44Ah],al

;

;

shr al,1

out dx,al

}

}