Warren Toomey
f3dad7916b
Clean up comments.
2016-03-11 22:31:40 +10:00
Warren Toomey
fed0d959b7
Replace numeric literal with constant.
2016-03-11 22:18:04 +10:00
Warren Toomey
e5457d15fb
I've added code to mkfs7 to build a free block list, to write it out to
...
the disk image, and to add a pointer in block zero to the beginning of
the list.
2016-03-11 22:00:25 +10:00
Phil Budne
758a8952ea
mkfs7: update directory inode i.size when appending a dnode
2016-03-10 18:39:31 -05:00
Warren Toomey
becb1f4996
So, SimH stores things big-endian. Fixed mkfs7.
2016-03-11 07:04:53 +10:00
Warren Toomey
8d487fee5c
Off by 1 errors in mkfs7, now fixed.
2016-03-11 06:57:46 +10:00
Warren Toomey
86135be03e
More mkfs changes as Phil tries to get the kernel up to reading init.
2016-03-10 16:48:12 +10:00
Warren Toomey
7daa5f7a64
Get mkfs7 to write 8000 empty blocks to fill the bottom half before the
...
real filesystem in the top half.
2016-03-10 16:36:45 +10:00
Warren Toomey
436929b83c
Changed the filesystem proto file and enhanced the mkfs7 tool based on
...
Phi's analysis of the filesystem.
2016-03-10 16:04:35 +10:00
Warren Toomey
f468628159
Fixed a small i-node calculation bug, and added more debug messages.
2016-03-10 14:11:22 +10:00
Warren Toomey
e784132ba4
Added better debugging output, fix a bug converting ASCII to words.
2016-03-10 13:28:02 +10:00
Warren Toomey
4b90522231
Fix list output logic.
2016-03-10 12:56:51 +10:00
Warren Toomey
3ef14fa6f6
Oops, I forgot to actually write the file contents into the filesystem image.
2016-03-10 12:54:46 +10:00
Warren Toomey
d1b995e771
I've written more of mkfs7 but not tested it yet.
2016-03-10 12:46:00 +10:00
Warren Toomey
6ecf5da1a3
Updated README.md
2016-03-10 10:22:40 +10:00
Warren Toomey
2880d1b2e4
I've made a start on a mkfs tool for PDP-7 Unix. So far I have the routines
...
to build the filesystem, but they are not tested. I need to add code to
parse the "proto" file, whose syntax is based on the 6th Edition proto file.
I also need to dump out the filesystem image.
2016-03-10 09:53:05 +10:00