From c3347fa18890ebaf2fb4aa88690fe3a1f20777d3 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Wed, 6 Nov 2019 14:08:42 +1100 Subject: [PATCH] made build.sh generate documentation, updated vt-task docs --- build.sh | 1 + module/vt-task.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 0a8101e..0560e70 100755 --- a/build.sh +++ b/build.sh @@ -6,3 +6,4 @@ echo _OSVERSION=\"PsychOS 2.0a1-$(git rev-parse --short HEAD)\" > target/version cat target/version.lua target/init.lua > target/tinit.lua mv target/tinit.lua target/init.lua cp -r exec/ service/ lib/ target/ +lua finddesc.lua $(find module/ -type f) $(find lib/ -type f) > apidoc.md diff --git a/module/vt-task.lua b/module/vt-task.lua index 83d0a58..5b10020 100644 --- a/module/vt-task.lua +++ b/module/vt-task.lua @@ -1,6 +1,6 @@ do --#include "module/vt100.lua" -function vtemu(gpua,scra) +function vtemu(gpua,scra) -- creates a process to handle the GPU and screen address combination *gpua*/*scra*. Returns read, write and "close" functions. local gpu = component.proxy(gpua) gpu.bind(scra) local write = vt100emu(gpu)