How playershiqiancn/tsuki_os works
Tsuki OS is a small graphical operating system. Its main user flow is launching a TSK application from the desktop or terminal, running it as a process with a window, and handling its UI, input, and system-service requests. The graph also preserves file, network, and TLX compatibility services. Relationships are limited to README statements and source-index references or excerpts; several implementation details, including desktop dispatch and some drivers, were not sampled.
Main entry points: syscall.c System call dispatcher · lib.c Userspace library · tlx.c TLX compatibility · process.c Process manager
Components 23
Desktop applications
- Desktop shell
apps/start_tsk.c - Window manager app
apps/wm_tsk.c - Terminal
apps/terminal_tsk.c - Settings
apps/settings_tsk.c - Image viewer
apps/image_tsk.c - Basic app
apps/app.c
Kernel services
- System call dispatcher
kernel/syscall.c - Process manager
kernel/process.c - Address-space manager
kernel/paging.c - Window system
drivers/window.c - Font services
kernel/font.c - TLX compatibility
kernel/tlx.c - Console services
kernel/console.c
Devices and storage
- Framebuffer renderer
drivers/video.c - Ext2 file system
fs/fs.c - Disk driver
drivers/disk.c - Network driver
drivers/net.c - PCI driver
drivers/pci.c - PS/2 input
drivers/ps2.c
Application runtime
- Userspace library
userspace/lib.c - UI widgets
userspace/ui.c - JPEG decoder
userspace/jpeg.c
Other components
- User
Connections 32
- User → Desktop shell: uses
README.md - User → Terminal: uses
README.md - Desktop shell → Userspace library: uses API
- Terminal → Userspace library: uses API
apps/terminal_tsk.c - Settings → Userspace library: uses API
apps/settings_tsk.c - Image viewer → Userspace library: uses API
apps/image_tsk.c - Basic app → Userspace library: uses API
apps/app.c - Desktop shell → UI widgets: uses widgets
- Terminal → UI widgets: uses widgets
apps/terminal_tsk.c - Settings → UI widgets: uses widgets
apps/settings_tsk.c - Image viewer → JPEG decoder: decodes images
apps/image_tsk.c - Userspace library → System call dispatcher: issues calls
userspace/lib.c - System call dispatcher → Ext2 file system: dispatches file calls
kernel/syscall.c - System call dispatcher → Process manager: dispatches process calls
kernel/syscall.c - System call dispatcher → Window system: dispatches window calls
kernel/syscall.c - System call dispatcher → Framebuffer renderer: dispatches drawing
kernel/syscall.c - System call dispatcher → PS/2 input: checks input
kernel/syscall.c - System call dispatcher → Network driver: dispatches network calls
kernel/syscall.c - System call dispatcher → TLX compatibility: handles TLX calls
kernel/syscall.c - Process manager → Address-space manager: uses address spaces
kernel/process.c - Process manager → Window system: binds windows
- Window system → Framebuffer renderer: renders through
drivers/window.c - Window system → Process manager: tracks processes
drivers/window.c - Ext2 file system → Disk driver: uses disk interface
- Network driver → PCI driver: uses PCI interface
drivers/net.c - Network driver → Address-space manager: uses paging
drivers/net.c - TLX compatibility → Ext2 file system: uses file services
kernel/tlx.c - TLX compatibility → Process manager: uses process services
kernel/tlx.c - TLX compatibility → PS/2 input: uses input services
kernel/tlx.c - TLX compatibility → Console services: uses console services
kernel/tlx.c - Font services → Ext2 file system: loads fonts
kernel/font.c - Framebuffer renderer → Font services: uses glyphs
drivers/video.c