diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2018-08-11 18:04:50 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2018-08-11 18:04:50 +1000 |
commit | 3f038e95d2b7c398f60f3cecbe8112a30b512095 (patch) | |
tree | 84a8b63152dc599072c0c0552e3553906420b451 | |
parent | 25bec6910ed645614609db22a0fb135a1d001ece (diff) |
(nw) minor
-rw-r--r-- | src/mame/drivers/candela.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/czk80.cpp | 20 | ||||
-rw-r--r-- | src/mame/drivers/dms86.cpp | 11 | ||||
-rw-r--r-- | src/mame/drivers/e100.cpp | 2 |
4 files changed, 15 insertions, 20 deletions
diff --git a/src/mame/drivers/candela.cpp b/src/mame/drivers/candela.cpp index 41f09860e7f..0a24d2c66f6 100644 --- a/src/mame/drivers/candela.cpp +++ b/src/mame/drivers/candela.cpp @@ -6,7 +6,7 @@ *--------------------------- * The Candela computer was designed to be the big breakthough and developed by Candela Data AB, "a Didact Company". * The Candela system was based around a main unit that could run OS-9 or Flex and a terminal unit that had a - * proprietory software including CDBASIC. The Candela system lost the battle of the Swedish schools to + * proprietary software including CDBASIC. The Candela system lost the battle of the Swedish schools to * the Compis computer by TeleNova which was based on CP/M initially. Later both lost to IBM PC as we know. * Candela Data continued to sell their system to the swedish industry without major successes despite great * innovation and spririt. diff --git a/src/mame/drivers/czk80.cpp b/src/mame/drivers/czk80.cpp index cc6e327c275..725299bd79a 100644 --- a/src/mame/drivers/czk80.cpp +++ b/src/mame/drivers/czk80.cpp @@ -17,9 +17,7 @@ FDC board contains Z80A DMA and NEC 765A (XTAL on it is 8MHZ) Mega board contains 74LS612 and memory chips (32x 41256) Status: - It prints 2 lines of text, then: - - If fdc is enabled in address map, it hangs waiting for a fdc response. - - Otherwise, it displays an error, and you can press a key to try again. + It prints 2 lines of text, then waits for a floppy. ToDo: - Everything... no diagram or manuals, so EVERYTHING below is guesswork. @@ -60,21 +58,21 @@ public: , m_fdc(*this, "fdc") { } + void czk80(machine_config &config); void init_czk80(); + +private: DECLARE_MACHINE_RESET(czk80); TIMER_CALLBACK_MEMBER(czk80_reset); DECLARE_READ8_MEMBER(port80_r); DECLARE_READ8_MEMBER(port81_r); - DECLARE_READ8_MEMBER(portc0_r); DECLARE_WRITE8_MEMBER(port40_w); void kbd_put(u8 data); DECLARE_WRITE_LINE_MEMBER(ctc_z0_w); DECLARE_WRITE_LINE_MEMBER(ctc_z1_w); DECLARE_WRITE_LINE_MEMBER(ctc_z2_w); - void czk80(machine_config &config); void czk80_io(address_map &map); void czk80_mem(address_map &map); -private: uint8_t m_term_data; required_device<cpu_device> m_maincpu; required_device<generic_terminal_device> m_terminal; @@ -94,11 +92,6 @@ READ8_MEMBER( czk80_state::port80_r ) return ret; } -READ8_MEMBER( czk80_state::portc0_r ) -{ - return 0x80; -} - READ8_MEMBER( czk80_state::port81_r ) { return (m_term_data) ? 3 : 1; @@ -118,10 +111,9 @@ void czk80_state::czk80_io(address_map &map) map(0x4c, 0x4f).rw("pio", FUNC(z80pio_device::read), FUNC(z80pio_device::write)); map(0x50, 0x53).rw("dart", FUNC(z80dart_device::cd_ba_r), FUNC(z80dart_device::cd_ba_w)); map(0x54, 0x57).rw("ctc", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); + // 80, 81 - no setup bytes map(0x80, 0x80).r(FUNC(czk80_state::port80_r)).w(m_terminal, FUNC(generic_terminal_device::write)); map(0x81, 0x81).r(FUNC(czk80_state::port81_r)); - /* Select one of the below */ - //AM_RANGE(0xc0, 0xc0) AM_READ(portc0_r) map(0xc0, 0xc1).m(m_fdc, FUNC(upd765a_device::map)); } @@ -202,7 +194,7 @@ MACHINE_CONFIG_START(czk80_state::czk80) MCFG_DEVICE_ADD(m_terminal, GENERIC_TERMINAL, 0) MCFG_GENERIC_TERMINAL_KEYBOARD_CB(PUT(czk80_state, kbd_put)) - MCFG_UPD765A_ADD("fdc", false, true) + MCFG_UPD765A_ADD("fdc", true, true) MCFG_FLOPPY_DRIVE_ADD("fdc:0", czk80_floppies, "525dd", floppy_image_device::default_floppy_formats) MCFG_DEVICE_ADD("ctc", Z80CTC, XTAL(16'000'000) / 4) diff --git a/src/mame/drivers/dms86.cpp b/src/mame/drivers/dms86.cpp index 521dd2a01b4..43817b2c380 100644 --- a/src/mame/drivers/dms86.cpp +++ b/src/mame/drivers/dms86.cpp @@ -111,12 +111,15 @@ void dms86_state::io_map(address_map &map) { map.unmap_value_high(); map.global_mask(0xff); - map(0x80, 0x87).rw("sio1", FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)).umask16(0x00ff); - map(0x88, 0x8f).rw("ctc", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)).umask16(0x00ff); - map(0x90, 0x97).rw("sio2", FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)).umask16(0x00ff); - map(0x9A, 0x9B).r(FUNC(dms86_state::port9a_r)); // parallel SASI port + map(0x80, 0x87).rw(m_sio[0], FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)).umask16(0x00ff); + map(0x88, 0x8f).rw(m_ctc, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)).umask16(0x00ff); + map(0x90, 0x97).rw(m_sio[1], FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)).umask16(0x00ff); + //map(0x98, 0x99) // r SASI data read ; w SASI SEL probe + map(0x9A, 0x9B).r(FUNC(dms86_state::port9a_r)); // r parallel ports, status byte ; w SASI ACK strobe, SASI data write + // 9C,9D - no setup bytes; meant for printer // r Port P data read ; Port P data write map(0x9c, 0x9d).r(FUNC(dms86_state::port9c_r)); map(0x9c, 0x9c).w(m_terminal, FUNC(generic_terminal_device::write)); + //map(0x9e, 0x9f) // r SASI software reset ; w Port P AUX strobe } /* Input ports */ diff --git a/src/mame/drivers/e100.cpp b/src/mame/drivers/e100.cpp index 9b6fe1887c7..29c32ad8df3 100644 --- a/src/mame/drivers/e100.cpp +++ b/src/mame/drivers/e100.cpp @@ -344,7 +344,7 @@ READ8_MEMBER( e100_state::pia1_kbA_r ) PB4-PB5 together with CA1, CA2, CB1 and CB2 are used for the printer interface PB6-PB7 forms the cassette interface - The serial bitbanging perform unreliable atm, can be poor original code or inexact CPU timing. + The serial bitbanging performs unreliably atm, can be poor original code or inexact CPU timing. Best results is achieved with 8 bit at 9600 baud as follows: mame e100 -window -rs232 null_modem -bitbngr socket.127.0.0.1:4321 |