DoStuff Wiki
Attachments
History
Blame
View Source
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Changelog
Menu
Related Github Repo
Page Index
Hardware
ACRTC-3
Backplane
Board Features
Memory Map
News
20260512 - Increased Cpu Speed
20260724 - Alternative Monitor
Programming
Examples
Duart
PIT
Man Pages
Chdir(3)
Dirfd(3)
Getcwd(3)
Midstr(3)
Opendir(3)
Filesystem Layer
Handling Interrupts
Machine Library
MMU
Reference Material
Runtime
Toolchains
Project Ideas
Operating System
Gloworm Port
Linux Port
Atari Vector Generator
Ethernet Card
Keyboard Controller
Monitor
BIOS
Books
Datasheets
Getting Connected
Home
Specs and Tech Notes
Programming
Filesystem Layer
323337
Commit
323337
2026-09-02 15:00:02
Bob Green
: -/-
programming/filesystem layer.md
..
@@ 16,7 16,17 @@
union fs_data;
}
class block_device_t {
-
zob
+
bool_t active;
+
char name[16];
+
uint8_t num_sub_devices;
+
+
int (*init)(block_device_t *dev);
+
int (*finish)(void);
+
+
int (*read_block)(uint32_t block_num, uint8_t *buff, uint8_t subdev);
+
int (*write_block)(uint32_t block_num, uint8_t *buff, uint8_t subdev);
+
+
void *driver_data;
}
class vfs_fs_t {
uint8_t type;
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9