
CommunityNews
Fuzix: A Unix-ish operating system for small machines by Alan Cox
FUZIX
FUZIX is a fusion of various elements from the assorted UZI forks and
branches beaten together into some kind of semi-coherent platform and then
extended from V7 to somewhere in the SYS3 to SYS5.x world with bits of POSIX
thrown in for good measure. Various learnings and tricks from ELKS and from
OMU also got blended inPre-built images
Some pre-built filesystems are now available on www.fuzix.org, and other
images should follow in time.What does FUZIX have over UZI
- Support for multiple processes in banked memory (as per UZI180) but
with Minix style chmem and efficient use of bank allocations.- Support for multiple processes via hard disk or non mappable RAM
drive switching (as per UZI, UZIX).- Support for “real” swapping combined with banked memory.
- Proper sane off_t and lseek
- Normal dev_t
- 30 character filenames
- Proper sane time_t
- System 5 signals
- Posix termios (does all the original UZI tty did but much can be added)
- Blocking on carrier for terminals
- Optimisations to avoid bogus uarea copying compared to UZI180
- More modern system call API: 3 argument open, mkdir, rmdir, rename,
chroot (with correct … semantics), fchdir, fchmod, fchown, fstat,
fcntl, setpgrp, sighold and friends, waitpid, setpgrp, nice
O_NDELAY, O_CLOEXEC, F_SETFL, F_DUPFD etc- Address validation checks on all syscall copies
- Builds with a modern ANSI C compiler (SDCC)
- Kernel boots to userspace on 6303, 6502, 65C816, 68000, 6803, 6809, 8080, 8085, MSP430 (bitrotted) and Z80/Z180
- Core code can be built for 6303, 6502, 65C816, 68000, 6803, 6809, 8080, 8085, 8086, MSP430, pdp11, rabbit r2k/r3k and Z80/Z180 so should be far more portable
- Core architecture designed to support building and maintaining
multiple target machines without forking each one- Helpers to make many bits of implementation wrappers to core code
- Lots more bugs right now
What does UZI have over FUZIX
- Can run in 64K of RAM (32K kernel/32K user). FUZIX would need
banked ROM or similar to pull this off. If you have banked
ROM then our kernel footprint in RAM is about 8K plus userspace
plus any framebuffers and similar overhead. On a 6809 it’s just
about possible to run in a straight 64KWhat do the UZI branches have that FUZIX has not yet integrated
- Symbolic links (UZIX)
- Various clever fusions of syscalls that may save a few bytes
(UZIX)- setprio (UZIX)
- Rather crude loadable drivers (UZIX)
- Use of __naked and __asm for Z80 specific bits to avoid more
.S files than are needed (UMZIX)Plus OMU has a really clever function passing trick for open/creat and
friends, while UMZIX has a neat unified “make anything” function.What Key Features Are Missing Still
- ptrace, most of ulimit
- root reserved disk blocks
- banked executables
- TCP/IP (in progress)
- select/poll() (in progress)
- Support for > 32MB filesystems (but first figure out how to fsck
a giant fs on a slow 8bit micro!)- Smarter scheduler
- Optimisations for disk block/inode allocator (2.11BSD)
Tool Issues
- 6809 gcc and cc65 don’t have long long 64bit (for sane time_t)
- SDCC can generate ROMmable binaries but not banked ones (hack fixes done)
- None of the above have an O88 style common sequence compressor
- CC65 can’t handle larger objects on stack, and lacks float support
- We need a ‘proper’ 65C816 C compiler
- ACK 8080 lacks floating point support
This thread was posted by one of our members via one of our automated news source trackers.
Popular General Dev topics

FUZIX
FUZIX is a fusion of various elements from the assorted UZI forks and
branches beaten together into some kind of semi-coherent pla...
New

Neovim nightly, v0.5.0 and v0.4.4 has been released.
Link: Release Nvim development (prerelease) build · neovim/neovim · GitHub
Link:...
New

F# Is The Best Coding Language Today.
If you want to personally pick up a programming language in order to become a better coder in what...
New

Last night I re-read this Steve Yegge article about learning to type as a programmer. I can touch type, but I don’t usually manage to bre...
New

The pool of talented C++ developers is running dry.
Highly sought after, rarely provided.
New

Hector Martin (@marcan@treehouse.systems).
Attached: 1 image
For those wondering why the hell we need all this safety system stuff for...
New

Why Python is terrible…
Nice language, but unsuitable for most professional purposes
New

A Brief Review of the Minisforum V3 AMD Tablet.
Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New

Why Ruby on Rails still matters.
An old tool endures in a Next.js world
New

New
Other popular topics

I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me.
I think the Planck and the Preonic (o...
New

Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New

Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New

Biggest jackpot ever apparently! :upside_down_face:
I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New

Author Spotlight
Rebecca Skinner
@RebeccaSkinner
Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New

There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New

Author Spotlight:
Tammy Coron
@Paradox927
Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New

Hair Salon Games for Girls Fun
Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New

Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New
Categories:
Sub Categories:
- All
- In The News
- Dev Chat (202)
- Questions (33)
- Resources (119)
- Blogs/Talks (26)
- Jobs (3)
- Events (15)
- Code Editors (58)
- Hardware (57)
- Reviews (5)
- Sales (16)
- Design & UX (5)
- Marketing & SEO (2)
- Industry & Culture (14)
- Ethics & Privacy (19)
- Business (4)
- Learning Methods (4)
- Content Creators (7)
- DevOps & Hosting (9)
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /typescript
- /svelte
- /crystal
- /kotlin
- /c-plus-plus
- /tailwind
- /gleam
- /react
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /deepseek
- /zig
- /scala
- /sublime-text
- /textmate
- /lisp
- /nixos
- /debian
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /django
- /ubuntu
- /revery
- /manjaro
- /spring
- /nodejs
- /diversity
- /lua
- /julia
- /c
- /slackware
- /markdown