fix: extended ascii rendering issue

This commit is contained in:
d0p1 🏳️‍⚧️ 2024-07-19 10:38:51 +02:00
parent 23e5bf0045
commit 64aea18c54
3 changed files with 35 additions and 1 deletions

View file

@ -14,6 +14,8 @@ concurrency:
group: "pages" group: "pages"
cancel-in-progress: false cancel-in-progress: false
env:
LANG: "en_US.UTF-8"
jobs: jobs:
docs-deploy: docs-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -26,6 +28,8 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install build-essential naturaldocs sudo apt-get install build-essential naturaldocs
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
- name: generate-docs - name: generate-docs
run: | run: |
make docs make docs

View file

@ -9,7 +9,7 @@ all:
clean: clean:
.PHONY: install .PHONY: install
install: $(INCS) $(INCSYSDIR) install: $(INCS) $(SYSINCS)
@ mkdir -p $(DESTDIR)$(INCDIR) @ mkdir -p $(DESTDIR)$(INCDIR)
install $(INCS) $(DESTDIR)$(INCDIR) install $(INCS) $(DESTDIR)$(INCDIR)
@ mkdir -p $(DESTDIR)$(INCSYSDIR) @ mkdir -p $(DESTDIR)$(INCSYSDIR)

View file

@ -93,6 +93,34 @@ DEFN StpdFS_Sb
;; .zone - TODO ;; .zone - TODO
;; .actime - TODO ;; .actime - TODO
;; .modtime - 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 { struc StpdFS_Inode {
.mode dw ? .mode dw ?
.nlink dw ? .nlink dw ?
@ -117,6 +145,8 @@ struc StpdFS_Dirent {
} }
DEFN StpdFS_Dirent DEFN StpdFS_Dirent
STPDFS_DIRENT_PER_BLOCK = sizeof.StpdFS_Dirent / STPDFS_BSIZE
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
;; Section: Implementation ;; Section: Implementation