fix: extended ascii rendering issue

This commit is contained in:
d0p1 🏳️‍⚧️ 2024-07-19 10:38:51 +02:00
parent 23e5bf0045
commit 6cf70c945c
2 changed files with 32 additions and 1 deletions

View file

@ -28,7 +28,8 @@ jobs:
sudo apt-get install build-essential naturaldocs
- name: generate-docs
run: |
make docs
locale-gen en_US.UTF-8
LANG=en_US.UTF-8 make docs
- name: setup-pages
uses: actions/configure-pages@v4
- name: upload-artifact

View file

@ -93,6 +93,34 @@ DEFN StpdFS_Sb
;; .zone - TODO
;; .actime - TODO
;; .modtime - TODO
;;
;;
;; Zone 0-6 are direct, zone 7 indirect, zone 8 double indirect, zone 9 triple indirect
;; > ┌────────┐
;; >
;; > ┌───────►│Data
;; >
;; > ┌──────┐ Direct│ └────────┘
;; > │zone 0├───────┘
;; > ├──────┤
;; > ...
;; > ├──────┤ ┌────────┐ ┌────────┐
;; > │zone 6 ├─────►│
;; > ├──────┤ Indirect Data
;; > │zone 7├─────────►│
;; > ├──────┤ └────────┘ └────────┘
;; > │zone 8├───────┐
;; > ├──────┤ │Double indirect┌─────────┐ ┌────────┐ ┌─────────┐
;; > │zone 9 └──────────────►│ ├───►│ ├───►│
;; > └──┬───┘ Data
;; >
;; > └─────────┘ └────────┘ └─────────┘
;; > Triple indirect ┌────────┐
;; > └────────────────►│ ┌──────────┐ ┌─────────┐ ┌──────────┐
;; > ├───►│
;; > ├─────►│ ├─────►│ Data
;; > └────────┘
;; > └──────────┘ └─────────┘ └──────────┘
struc StpdFS_Inode {
.mode dw ?
.nlink dw ?
@ -117,6 +145,8 @@ struc StpdFS_Dirent {
}
DEFN StpdFS_Dirent
STPDFS_DIRENT_PER_BLOCK = sizeof.StpdFS_Dirent / STPDFS_BSIZE
; ------------------------------------------------------------------------
;; Section: Implementation