device info
This commit is contained in:
4
TODO.md
4
TODO.md
@@ -4,6 +4,8 @@
|
||||
`nn_<class>_<method>` for functions related to "classes",
|
||||
`nn_<function>` for static functions,
|
||||
`nn_<type>_t` for types.
|
||||
- Get rid of `nn_address`
|
||||
- Make a lot more stuff const
|
||||
- Rework to API to be much more future-proof to reduce potential breaking changes.
|
||||
|
||||
# Parity with Vanilla OC (only the stuff that makes sense for an emulator)
|
||||
@@ -13,7 +15,6 @@
|
||||
- `data` component (with error correction codes and maybe synthesizing audio)
|
||||
- `redstone` component
|
||||
- `internet` component
|
||||
- `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.
|
||||
|
||||
# Bugfixes
|
||||
@@ -39,6 +40,7 @@
|
||||
|
||||
# Internal changes
|
||||
|
||||
- use more arenas!!!!!!!
|
||||
- make sure OOMs are recoverable
|
||||
- rework some interfaces to use pre-allocated or stack-allocated memory more
|
||||
- use dynamic arrays for signals (and maybe components), but still keep the maximums to prevent memory hogging
|
||||
|
||||
Reference in New Issue
Block a user