aboutsummaryrefslogtreecommitdiff
path: root/sftsr.h
diff options
context:
space:
mode:
authorEduardo Casino <mail@eduardocasino.es>2022-05-24 07:58:48 +0200
committerJavier <dev.git@javispedro.com>2022-06-12 17:13:03 +0200
commit80f0debf2032e16629cb13682b8fb9ceccde423c (patch)
tree401b662542df92e1d4e8527a73e21531850ce109 /sftsr.h
parenta56c45b42d5d1bf3b161d051fbe879454856b2ff (diff)
downloadvbados-80f0debf2032e16629cb13682b8fb9ceccde423c.tar.gz
vbados-80f0debf2032e16629cb13682b8fb9ceccde423c.zip
Add support for hash-generated short file names
Diffstat (limited to 'sftsr.h')
-rw-r--r--sftsr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sftsr.h b/sftsr.h
index c832169..5fc7b0f 100644
--- a/sftsr.h
+++ b/sftsr.h
@@ -56,7 +56,7 @@ typedef struct {
// but we still waste a full uint64_t to store a value that is always < 4K.
// Similarly, at most 64 roots are supported, but we waste a uint32_t.
-typedef struct {
+typedef _Packed struct {
// TSR installation data
/** Previous int2f ISR, storing it for uninstall. */
void (__interrupt __far *prev_int2f_handler)();
@@ -74,12 +74,15 @@ typedef struct {
uint16_t unicode_table[128];
/** LFN support */
bool short_fnames;
+ uint8_t hash_chars;
// Current status
/** Array of all possible DOS drives. */
struct {
/** VirtualBox "root" for this drive, or NIL if unmounted. */
uint32_t root;
+ /** Host file system is case sensitive flag. */
+ bool case_insensitive;
} drives[NUM_DRIVES];
/** All currently open files. */