Jump to content

ManagedMassStorage

From Advanced Computers Wiki
Revision as of 01:04, 2 August 2026 by GHXX (talk | contribs) (Created page with "The ManagedMassStorageUD component is what backs Hard Disk Drives and Floppy Disks. This virtual component offers the following properties: {| class="wikitable" |+ PunchcardReaderUD component properties |- ! Name !! Type !! Read/Write !! Description |- | <code>totalCapacityBytes</code> || <code>integer</code> || READ || Total capacity of this drive (capacity is currently not limited, so this is not meaningful currently) |} {| class="w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The ManagedMassStorageUD component is what backs Hard Disk Drives and Floppy Disks. This virtual component offers the following properties:

PunchcardReaderUD component properties
Name Type Read/Write Description
totalCapacityBytes integer READ Total capacity of this drive (capacity is currently not limited, so this is not meaningful currently)
PunchcardReaderUD component methods
Name Type Description
:open(string:filePath[, string:mode=r]) filehandle
mode Attempted action
r Open an existing file in read-only mode.
r+ Open an existing file in read-write mode.
w Open a potentially existent file, erase the contents and open it in write-only mode.
w+ Same as w but also allows reading.
a Open or create a new file, do not erase the contents, allow only appending.