Stage 2

Pasted image 20251208031637.png

XSM Machine's disk contains 512 blocks, each capable of storing 512 words.

1 word = 16 characters

eXpFS format specifies that each data/executable file can span across at most four data blocks, and that the index to these blocks along with the name and size of the file must be stored in the Inode Table. There are other pre-defined areas of the disk that stores meta data about the disk (root file and disk free list).

The first 69 blocks are reserved for storing various OS data structures and routines as well as the idle code, INIT program. Experimental File System ABI

XSM Instruction Set Virtual Machine Model XFS Interface Usage

Inode Table Root File User Table Data Free List

XFS Interface Usage

Each word consists of 16 characters

The Root File is stored in the 5th block. The Inode Table is stored in 3 and 4 block.

load --data $HOME/myexpos/sample.dat
copy <start> <end> <file-path>
dump --inodeusertable
dump --rootuserfile