VirtualC64 v5.0 beta
Commodore 64 Emulator
|
Drive Public API. More...
#include <VirtualC64.h>
Public Member Functions | |
const DriveConfig & | getConfig () const |
Returns the component's current configuration. | |
const DriveInfo & | getInfo () const |
Returns the component's current state. | |
void | insertBlankDisk (DOSType fstype, string name) |
Inserts a new disk. | |
void | insertMedia (MediaFile &file, bool wp) |
Inserts a disk created from a media file. | |
void | insertFileSystem (const class FileSystem &fs, bool wp) |
Inserts a disk created from a file system. | |
void | ejectDisk () |
Ejects the current disk. | |
Drive Public API.
void insertBlankDisk | ( | DOSType | fstype, |
string | name ) |
Inserts a new disk.
fstype | The file system the disk should be formatted with. |
name | A PET string with the name of the new disk. |
void insertFileSystem | ( | const class FileSystem & | fs, |
bool | wp ) |
Inserts a disk created from a file system.
fs | A file system wrapper object. |
wp | Write-protection status of the disk. |
void insertMedia | ( | MediaFile & | file, |
bool | wp ) |
Inserts a disk created from a media file.
file | A media file wrapper object. |
wp | Write-protection status of the disk. |