Page 1 of 1
6845 vid controller registers
Posted: Sat Mar 15, 2003 7:19 pm
by slacker
is ther a website that details the individual registers of the keyboard controller?
/* void update_cursor(int row, int col)
* by Dark Fiber
*/
void update_cursor(int row, int col)
{
USHORT position=(row*80) + col;
// cursor LOW port to vga INDEX register
outb(0x3D4, 0x0F);
outb(0x3D5, (UCHAR)(position&0xFF));
// cursor HIGH port to vga INDEX register
outb(0x3D4, 0x0E);
outb(0x3D5, (UCHAR)((position>>8)&0xFF));
}
Re:6845 vid controller registers
Posted: Sun Mar 16, 2003 11:42 am
by Pype.Clicker
err .. 3D4 and 3D5 are VGA registers, and aren't related to the keyboard at all ...
Re:6845 vid controller registers
Posted: Sun Mar 16, 2003 5:13 pm
by slacker
yea thats what i meant...look at subject
i need a site that has infor about the 6845 video controller and its registers..
Re:6845 vid controller registers
Posted: Sun Mar 16, 2003 7:26 pm
by Peter_Vigren
But why did you include code for moving the cursor in your post? *confused*
Re:6845 vid controller registers
Posted: Sun Mar 16, 2003 9:32 pm
by slacker
so that people saw the registers i was talking about in the code...
Re:6845 vid controller registers
Posted: Sun Mar 16, 2003 10:16 pm
by Peter_Vigren
To quot Pype:
Pype.Clicker wrote:
err .. 3D4 and 3D5 are VGA registers, and aren't related to the keyboard at all ...
The registers you are talking about is NOT in the code. You are talking about the keyboard registers. Not the VGA registers shown in the code.
Re:6845 vid controller registers
Posted: Mon Mar 17, 2003 2:24 am
by Pype.Clicker
http://web.inter.nl.net/hcc/S.Weijgers/ ... vgareg.htm
there are plenty other sites like that ... try a g00gle search