1.4 KiB
NeetComputers (nc) backend
HyperionOS runs on NeetComputers (and the NeetEmulator) via the
Hyperion-firmware-nc package. NeetComputers screens are raw 24-bit
framebuffers, so unlike the text-mode backends this one ships its own
PSF font renderer and terminal.
Layout
Build with python build.py build --arch nc, then assemble a disk with
tools/nc-mkdisk.sh <out> (needs ./Build from the arch build):
<out>/
hyperion/ boot partition: kernel.lua, initfs, fstab,
boot.cfg, nc/boot.lua, nc/initdisks, nc/font.psf
root/ system partition: bin, lib, sbin, usr, ...
build.json {"entrypoint": "hyperion:nc/boot.lua", ...}
Boot with neetemu --disk <out>, or copy the two partitions into a
computer folder and set the same entrypoint. The bootloader locates its
partition via files.getBootPath (falling back to a full scan), so the
partition may be renamed as long as build.json matches.
fstab mounts U 0:root;/ (home disk, partition root). Disk
addresses are <slot>:<partition> (e.g. 0:root); the boot partition
is additionally aliased as $.
Key mapping
Printable keys arrive as their ASCII letter; special codes: Enter 13,
Tab 9, Backspace 8, arrows Left 128 / Right 129 / Up 130 / Down 131,
Home 158, End 159, PageUp 160, PageDown 161, Delete 127, Ctrl/Alt/Shift
modifiers as bitmap bit 2/4/1. The daemon maps these to the usual
\n \t \b and \27[... escape sequences.