drives, rebalancing, and a broken tmpfs impl

that tmpfs impl needs to be reworked to heck and back!
This commit is contained in:
2026-04-03 23:58:23 +02:00
parent e6cf5990bb
commit 32f94cf02b
9 changed files with 1291 additions and 236 deletions

11
TODO.md
View File

@@ -1,10 +1,8 @@
# For MVP functionality
- `gpu`, `screen` class implementations
- write a tester OS, basically a menu with tests to run
- move veeprom into NCL as tmpeeprom
- tmpdrive
- tmpfs
- tmpfs (reork the whole thing)
- device info
- userdata support
@@ -53,6 +51,7 @@ Not everything OC has (as a few of them are really MC-centered) but most of it.
- `serial` component, for serial communications with other devices (USB?)
- `iron_noteblock` component
- `colorful_lamp` component
- OpenSolidState flash storage
# To make it good
@@ -67,3 +66,9 @@ NOTE: we're mostly bottlenecked by the architecture (typically a Lua VM) and the
- make signals use a circular buffer instead of a simple array
- use more arenas if possible
# Drive costs
The drive has platters just like in OC, as well as a cache line.
The read cost is only factored in if `cachelineOf(lastSector) != cachelineOf(newSector)`.
Seek cost is also in whole cache lines.