-
Notifications
You must be signed in to change notification settings - Fork 7
/
client.cfg
49 lines (49 loc) · 1.82 KB
/
client.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
-- This lua table configuration generally should not be modified
-- This configuration is a template, copied to each new instance you create with ocvm
{
components =
{
-- all componets first have
-- "type": component type name
-- "address": optional guid address. If nil a random address is generated
{"screen", "67c66973-51ff-4aec-29cd-baabf2fbe346"},
-- palette, monochrome color
{"gpu", nil, 0x00af00},
-- bios size, data size, label
{"eeprom", nil, 4096, 256, "EEPROM"},
-- total memory (in bytes)
-- T1 : 196608
-- T1.5: 262144
-- T2 : 393216
-- T2.5: 524288
-- T3 : 786432
-- T3.5: 1048576
{"computer", nil, 1048576},
-- filesystem
-- 1. source: uri for readonly loot, nil/false for hdd, and true for tmpfs
-- 2. label
{"filesystem", nil, "system/loot/openos", "OpenOS"},
{"filesystem", nil, true, "tmpfs"},
{"filesystem"},
-- attached screen address
{"keyboard", nil, "67c66973-51ff-4aec-29cd-baabf2fbe346"},
-- system port: all modems on the same system port will act as if on the same network (port 56k in honor of 56k modems)
-- max packet size, if nil defaults to 8192
-- max arguments, if nil defaults to 8
{"modem", nil, 56000, 8192, 8},
-- tcp enabled: default true
-- http enabled: default true
{"internet",nil,true,true},
-- tier 1, 2, or 3 for more advanced data card features
{"data", nil, tier=1},
{"drive", 3},
{"sandbox"},
},
system =
{
timeout = math.huge, -- defaults to 5
allowGC = false, -- defaults to false
allowBytecode = false, -- defaults to false
maxTcpConnections = 4, --defaults to 4
}
}