Add the pc86emu skeleton.

This commit is contained in:
David Given 2018-06-03 08:24:21 -07:00
parent eb96ea5d28
commit 9132641100
3 changed files with 32 additions and 1 deletions

View file

@ -1 +1,4 @@
The x86emu directory contains a copy of the xorg 8086 emulation library from the X server. It's distributable under the MIT/X11 license, and so is compatible with the ACK. The x86emu directory contains a copy of the xorg 8086 emulation library from
the X server. It's distributable under the MIT/X11 license, and so is
compatible with the ACK.

19
plat/pc86/emu/build.lua Normal file
View file

@ -0,0 +1,19 @@
clibrary {
name = "x86emu",
vars = {
["+cflags"] = {"-Iplat/pc86/emu/x86emu"}
},
srcs = {"./x86emu/*.c"}
}
cprogram {
name = "pc86emu",
srcs = {"./main.c"},
vars = {
["+cflags"] = {"-Iplat/pc86/emu/x86emu"}
},
deps = {
"+x86emu"
}
}

9
plat/pc86/emu/main.c Normal file
View file

@ -0,0 +1,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
int main(int argc, const char* argv[])
{
return 1;
}