[Prev][Next][Index][Thread]

Re: moving the hardware cursor



Arturo Busleiman wrote:
> 
> Hi!
> void
> actualizar_cursor ()
> {
> short pos=console.y*80+console.x;
> outb(0x0F,0x03d4);
> outb((char)pos,0x03d5);
> outb(0x0E,0x03d4);
> outb((char)(pos>>8),0x03d5);
> }

Try again with the correct parameter order... outb(port, val).

Klaus

References: