load_disc
Mount a disc image into a BBC Micro drive at runtime without resetting the emulator. Optionally make it writable and flush changes back to the host file.
Instructions
Mount a disc image into the named drive at runtime.
Drives are 0 or 1 (the BBC has two physical drives in its
matrix; beebjit exposes both). writeable cuts the write-protect
notch so the BBC can write to the in-memory image; mutable
flushes those writes back to the host file. mutable requires
writeable. Both default false: the disc is read-only and the
host file is never modified.
The mount does not trigger a reset or autoboot: the BBC keeps
its current state and the new disc is available for the next OS
read. Use boot_disc for the mount + SHIFT+BREAK autoboot
one-shot, or compose load_disc with reset(autoboot=True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disc | Yes | ||
| drive | No | ||
| mutable | No | ||
| writeable | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||