summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/isbc_215g.h
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2014-03-14 14:02:15 +0000
committer cracyc <cracyc@users.noreply.github.com>2014-03-14 14:02:15 +0000
commit69f9862d3fea8ebd85e6658b3af1d2ea9c725938 (patch)
tree5ca04402ba1c462a774e929d643bcdc4109207aa /src/mess/machine/isbc_215g.h
parent691024fceca247bee028017b7978dfe6685b1bac (diff)
(mess) isbc_215g: formatting and writing
Diffstat (limited to 'src/mess/machine/isbc_215g.h')
-rw-r--r--src/mess/machine/isbc_215g.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mess/machine/isbc_215g.h b/src/mess/machine/isbc_215g.h
index 9d1b537b601..61554e68fb3 100644
--- a/src/mess/machine/isbc_215g.h
+++ b/src/mess/machine/isbc_215g.h
@@ -38,6 +38,7 @@ protected:
private:
void find_sector();
UINT16 read_sector();
+ bool write_sector(UINT16 data);
required_device<i8089_device> m_dmac;
required_device<harddisk_image_device> m_hdd0;
@@ -51,11 +52,13 @@ private:
UINT16 m_wakeup, m_secoffset, m_sector[512];
const char *m_maincpu_tag;
address_space *m_maincpu_mem;
+ UINT32 m_lba[2];
UINT16 m_cyl[2];
UINT8 m_idcompare[4], m_drive, m_head, m_index;
+ INT8 m_format_bytes;
bool m_idfound, m_stepdir, m_wrgate, m_rdgate, m_amsrch;
- bool m_isbx_irq[4], m_fdctc, m_step;
+ bool m_isbx_irq[4], m_fdctc, m_step, m_format;
const struct hard_disk_info* m_geom[2];
};