1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-11-23 10:58:06 +11:00

Get OCVM to kinda work for development

This commit is contained in:
20kdc 2021-04-12 17:18:38 +01:00
parent f083efd9a3
commit 6fc56b4d64
3 changed files with 30 additions and 0 deletions

3
.gitignore vendored
View File

@ -20,6 +20,9 @@ repobuild/*/*/
repobuild/*/*/* repobuild/*/*/*
laboratory/ocemu.cfg laboratory/ocemu.cfg
laboratory/bios.lua
laboratory/data
laboratory/log
laboratory/*/ laboratory/*/
laboratory/*/* laboratory/*/*
laboratory/*/*/ laboratory/*/*/

17
laboratory/client.cfg Normal file
View File

@ -0,0 +1,17 @@
{
["components"]={
{"screen","67c66973-51ff-4aec-29cd-baabf2fbe346",},
{"gpu","9b7fe47d-77d0-1623-0dc5-126752e3f2c7",44800,},
{"eeprom","94a9cc26-347e-cc46-7faf-0c131bb7d8b7",4096,256,"EEPROM",},
{"computer","36bc34ad-8c4a-d19a-10e3-0162c6f3295a",1.04858e+06,},
{"filesystem","tmpfs",true,"tmpfs",},
{"filesystem","c1-sda",},
{"filesystem","c1-sdb",},
{"keyboard","dd142450-613c-435d-6049-743b27434cc1","67c66973-51ff-4aec-29cd-baabf2fbe346",},
{"modem","460ae893-9aa9-f10d-6bb0-462199da7376",56000,8192,8,},
{"internet","ef97c750-d30a-ad33-5321-6e7a64ba3baa",true,true,},
{"data","c5243e5f-cd2f-6c39-dfb2-5a788dcdef7c",["tier"]=1,},
{"sandbox","ece7b9ba-1625-f3f6-d74d-6e641a5de07f",},
},
["system"]={["allowBytecode"]=false,["allowGC"]=false,["maxTcpConnections"]=4,["timeout"]=math.huge,},
}

10
laboratory/locvm.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# Copyright (C) 2018-2021 by KittenOS NEO contributors
#
# Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
# THIS SOFTWARE.
ocvm .