fixes for no optimisation

This commit is contained in:
Bill Currie 2000-08-29 04:33:15 +00:00
parent 8ccc616134
commit 23b70fee0f
2 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,8 @@
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "cvar.h"
#include "console.h"
#include "qargs.h"

View file

@ -704,3 +704,8 @@ void VID_InitCvars ()
void VID_SetCaption (char *text)
{
}
void outb(unsigned char value, unsigned short port)
{
__asm__ __volatile__ ("outb %b0,%w1" : : "a" (value) , "Nd" (port));
}