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

moving the hardware cursor



Hi!
I have this code:

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);
}

and when I load my kernel with GRUB, when it first calls it I get a
trap_error from GRUB. What's wrong with it? Could you _please_ help me?

Bye!


*> Panic? My kernel doesn't panic! We are doomed! DustDustDust!!!!
*> Get PGP KEY: use pgpk -a hkp://horowitz.surfnet.nl/buanzox@usa.net
*> System Fork BBS, en Argentina! LocoList! - Dedaparamaxxaginos rules!



Follow-Ups: