mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +00:00
add outb for when optimisations are turned off
This commit is contained in:
parent
738cd437b5
commit
ab1ac381ea
1 changed files with 4 additions and 0 deletions
|
@ -1020,3 +1020,7 @@ char *VID_ModeInfo (int modenum)
|
|||
}
|
||||
}
|
||||
|
||||
void outb(unsigned char value, unsigned short port)
|
||||
{
|
||||
__asm__ __volatile__ ("outb %b0,%w1" : : "a" (value) , "Nd" (port));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue