home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC001.C
< prev
next >
Wrap
Text File
|
1988-04-10
|
655b
|
14 lines
/************************************************************************/
/* Write 1 into register 0A hex, CURSOR START, in the CRT controller */
/************************************************************************/
write_curs_start()
{
/* Change cursor start to 0 at both mono and color CRT addresses*/
write_register(0x03D4, 0x0A); /* Select register 07 in CRTC */
write_register(0x03D5, 0x01); /* Load selected reg with 1 */
write_register(0x03B4, 0x0A); /* Select register 07 in CRTC */
write_register(0x03B5, 0x01); /* Load selected reg with 1 */
}