1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-29 11:55:01 +00:00

Add locked field to apple2dd struct

This commit is contained in:
Peter Evans 2018-01-28 18:06:41 -06:00
parent 418688cd15
commit 58e2373a4d

View File

@ -144,6 +144,15 @@ struct apple2dd {
* that you can enable or disable on the drive.
*/
bool write_protect;
/*
* This is not a technical part of the Disk II drive. When this
* field is true, we will not shift the head after a read or a
* write; when false, we will. This is mainly useful for code like
* the disassembler which just wants to look at data and not apply
* other side-effects.
*/
bool locked;
};
extern SEGMENT_READER(apple2_dd_switch_read);