Skip to content

Commit

Permalink
Update 2 prom locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilbertpol committed Feb 2, 2025
1 parent 6f20909 commit de84002
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
6 changes: 2 additions & 4 deletions src/mame/mit/cadr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ void cadr_state::mem_map(address_map &map)
// 3dfff0-3dfff7 - TV control
map(0x3dfff0, 0x3dfff7).rw(m_tv_control, FUNC(cadr_tv_control_device::tv_control_r), FUNC(cadr_tv_control_device::tv_control_w));

// Don't know why but using map is not working
// map(0x3dfff8, 0x3dffff).m(m_disk_controller, FUNC(cadr_disk_device::map));
map(0x3dfff8, 0x3dffff).rw(m_disk_controller, FUNC(cadr_disk_device::read), FUNC(cadr_disk_device::write));


Expand Down Expand Up @@ -234,8 +232,8 @@ ROM_START(cadr)
ROM_REGION64_BE(0x2000, "maincpu", ROMREGION_ERASE00)

ROM_REGION64_BE(0x2000, "proms", ROMREGION_ERASE00)
ROM_LOAD64_BYTE("cadr_1.bin", 0x002, 0x200, CRC(6a5a4183) SHA1(8957dc8ea542ef5bfac182889827a7da7365ef2e)) // 1B19 ?
ROM_LOAD64_BYTE("cadr_2.bin", 0x003, 0x200, CRC(63b63556) SHA1(bd30189c45c8bc17df9a8b210d6f60e056226019)) // 1B17 ?
ROM_LOAD64_BYTE("cadr_1.bin.1b19", 0x002, 0x200, CRC(6a5a4183) SHA1(8957dc8ea542ef5bfac182889827a7da7365ef2e))
ROM_LOAD64_BYTE("cadr_2.bin.1b17", 0x003, 0x200, CRC(63b63556) SHA1(bd30189c45c8bc17df9a8b210d6f60e056226019))
ROM_LOAD64_BYTE("cadr_3.bin", 0x004, 0x200, CRC(b3a92fe1) SHA1(e1563331a3c23cb5b06b7a244c32dce2f3950a9a)) // 1C20 ?
ROM_LOAD64_BYTE("cadr_4.bin", 0x005, 0x200, CRC(d8e9c9d1) SHA1(e2a4ae957f146b44b9efef150d7f984443df45f0)) // 1D16 ?
ROM_LOAD64_BYTE("cadr_5.bin", 0x006, 0x200, CRC(ad31e93a) SHA1(0a0b9eca440fa2f7eee9307c17185489714ea571)) // 1E19 ?
Expand Down
14 changes: 0 additions & 14 deletions src/mame/mit/cadr_disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,6 @@ TIMER_CALLBACK_MEMBER(cadr_disk_device::disk_done_callback)
}


void cadr_disk_device::map(address_map &map)
{
printf("cadr_disk_device: adding map\n");
map(0x01, 0x01).r(FUNC(cadr_disk_device::memory_address_r));
// 3dfffc / 17377774
map(0x04, 0x04).rw(FUNC(cadr_disk_device::status_r), FUNC(cadr_disk_device::command_w));
// 3dfffd / 17377775
map(0x05, 0x05).rw(FUNC(cadr_disk_device::command_list_r), FUNC(cadr_disk_device::command_list_w));
// 3dfffe / 17377776
map(0x06, 0x06).rw(FUNC(cadr_disk_device::disk_address_r), FUNC(cadr_disk_device::disk_address_w));
// 3dffff / 17377777
map(0x07, 0x07).rw(FUNC(cadr_disk_device::error_correction_r), FUNC(cadr_disk_device::start_w));
}

// xxxxxxxx -------- -------- -------- Block counter of unit
// x------- -------- -------- Internal parity error
// x------ -------- -------- Read compare difference
Expand Down
1 change: 0 additions & 1 deletion src/mame/mit/cadr_disk.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class cadr_disk_device : public device_t

u32 read(offs_t offset);
void write(offs_t offset, u32 data);
void map(address_map &map) ATTR_COLD;

protected:
// device-level overrides
Expand Down

0 comments on commit de84002

Please # to comment.