vga programming question

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

 



I am trying to do a simple vga(320x200x256) driver but am having troubles
switching the video mode. I am using:
	      asm volatile("movb $0x00, %ah;");
	      asm volatile("movb $0x13, %al;");
	      asm volatile("int $0x10;");
which several websites and books are saying is all that is needed to
switch modes. However this locks up my machine. What am I doing wrong?


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux