ms0515: unbreak memory maps; update floppy format definition to match one used by OS (nw)

This commit is contained in:
Sergey Svishchev 2018-03-15 16:37:59 +03:00
parent a685356c5e
commit 8b8931fb49
2 changed files with 9 additions and 7 deletions

View File

@ -39,7 +39,7 @@ const ms0515_format::format ms0515_format::formats[] = {
10, 80, 1,
512, {},
1, {},
80, 30, 22
50, 22, 30
},
{
floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
@ -47,7 +47,7 @@ const ms0515_format::format ms0515_format::formats[] = {
10, 80, 2,
512, {},
1, {},
80, 30, 22
50, 22, 30
},
{}
};

View File

@ -7,7 +7,9 @@
To do:
- softlist
. sound
- 512K memory expansion
- overscan color
- serial printer
- ?? 512K memory expansion
- ?? refresh rate change
- ?? parallel printer
- ?? cassette (only with Version A firmware)
@ -143,8 +145,8 @@ void ms0515_state::ms0515_mem(address_map &map)
map(0177400, 0177437).w(this, FUNC(ms0515_state::ms0515_bank_w)); // Register for RAM expansion
map(0176720, 0176720).r(m_i8251kbd, FUNC(i8251_device::data_r));
map(0176722, 0176722).rw(m_i8251kbd, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
map(0177440, 0177440).r(m_i8251kbd, FUNC(i8251_device::data_r));
map(0177442, 0177442).rw(m_i8251kbd, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
map(0177460, 0177460).w(m_i8251kbd, FUNC(i8251_device::data_w));
map(0177462, 0177462).w(m_i8251kbd, FUNC(i8251_device::control_w));
@ -166,8 +168,8 @@ void ms0515_state::ms0515_mem(address_map &map)
map(0177700, 0177700).r(m_i8251line, FUNC(i8251_device::data_r));
map(0177702, 0177702).rw(m_i8251line, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
map(0177704, 0177704).w(m_i8251line, FUNC(i8251_device::data_w));
map(0177706, 0177706).w(m_i8251line, FUNC(i8251_device::control_w));
map(0177720, 0177720).w(m_i8251line, FUNC(i8251_device::data_w));
map(0177722, 0177722).w(m_i8251line, FUNC(i8251_device::control_w));
map(0177770, 0177771).rw(this, FUNC(ms0515_state::ms0515_halt_r), FUNC(ms0515_state::ms0515_halt_w)); // read/write -- halt and system timer
}