mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
small tweaks
This commit is contained in:
parent
fa870c111e
commit
d4be32ff6e
9
TODO.md
9
TODO.md
@ -4,14 +4,19 @@
|
|||||||
- change more methods to be direct but with buffered indirects
|
- change more methods to be direct but with buffered indirects
|
||||||
- complete the GPU implementation (screen buffers and missing methods)
|
- complete the GPU implementation (screen buffers and missing methods)
|
||||||
- complete the screen implementation (bunch of missing methods)
|
- complete the screen implementation (bunch of missing methods)
|
||||||
|
- in-memory version of `filesystem` and `drive`
|
||||||
|
- `hologram` component
|
||||||
- `computer` component
|
- `computer` component
|
||||||
- `modem` component
|
- `modem` component
|
||||||
- `tunnel` component
|
- `tunnel` component
|
||||||
- `data` component (with error correction codes)
|
- `data` component (with error correction codes)
|
||||||
- `redstone` component
|
- `redstone` component
|
||||||
- `hologram` component
|
|
||||||
- `internet` component
|
- `internet` component
|
||||||
- use dynamic arrays for signals
|
- `computer.getDeviceInfo()`, and subsequently, component device information
|
||||||
|
- `computer.beep(frequency?: number, duration?: number, volume?: number)`, frequency between 20 and 2000 Hz, duration up to 5 seconds, volume from 0 to 1.
|
||||||
|
Should use the *busy* machine state to let the sandbox suspend it until it is done playing
|
||||||
|
- ensure the recursive locks are used correctly to prevent race conditions
|
||||||
|
- use dynamic arrays for signals (and maybe components)
|
||||||
|
|
||||||
# Bugfixes
|
# Bugfixes
|
||||||
|
|
||||||
|
@ -452,6 +452,7 @@ local co = coroutine.create(f)
|
|||||||
while true do
|
while true do
|
||||||
timeout = nextDeadline()
|
timeout = nextDeadline()
|
||||||
bubbleYield = false
|
bubbleYield = false
|
||||||
|
collectgarbage()
|
||||||
|
|
||||||
local ok, err = coroutine.resume(co)
|
local ok, err = coroutine.resume(co)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user