1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-21 00:08:06 +11:00
collapseos/tools/emul/shell
James Stanley 1b8b113536 Fix filesystem in shell emulator
We now treat the block device as fixed-size rather than trying to grow it in response
to kernel activity.

Previously, if you tried to create 2 files in a row, only the first 1 would actually appear,
because the device only ever got larger when a byte was written immediately past the end of
the device.

Now we just let the kernel write bytes to the disk anywhere, so new files can be created even
when the previous file is not completely full.

Also, fix buffer overrun in reading filesystem image, and use a more idiomatic fgetc loop.
2019-12-12 16:58:17 -05:00
..
glue.asm tools: use BASIC's new while loop 2019-12-12 12:04:56 -05:00
shell.c Fix filesystem in shell emulator 2019-12-12 16:58:17 -05:00
user.h Replace old shell with BASIC shell 2019-12-11 14:05:34 -05:00