Copy pc86 platform to nes platform, and make change accordingly.

This commit is contained in:
Manoel Trapier
2013-03-04 19:00:38 +01:00
committed by Manoël Trapier
parent dccecc5d45
commit 45121f6d87
26 changed files with 687 additions and 0 deletions

31
plat/nes/libsys/pmfile Normal file
View File

@@ -0,0 +1,31 @@
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."plat/nes/libsys/"
libsys_nes = acklibrary {
ACKBUILDFLAGS = {PARENT, "-ansi"},
ACKINCLUDES = {"%BINDIR%include"},
-- ackfile (d.."errno.s"),
-- ackfile (d.."_hol0.s"),
-- ackfile (d.."_sys_rawread.s"),
-- ackfile (d.."_sys_rawwrite.s"),
-- ackfile (d.."open.c"),
-- ackfile (d.."creat.c"),
-- ackfile (d.."close.c"),
-- ackfile (d.."read.c"),
-- ackfile (d.."write.c"),
-- ackfile (d.."brk.c"),
-- ackfile (d.."getpid.c"),
-- ackfile (d.."kill.c"),
-- ackfile (d.."isatty.c"),
-- ackfile (d.."lseek.c"),
-- ackfile (d.."time.c"),
-- ackfile (d.."signal.c"),
ackfile (d.."hello.c"),
install = pm.install("%BINDIR%lib/%PLATFORM%/libsys.a"),
}