From 35db804c63dd44c3c9f39a09a9943671fcd85043 Mon Sep 17 00:00:00 2001 From: angelosa Date: Tue, 24 Sep 2024 12:02:02 +0200 Subject: [PATCH] hitachi/mbs1.cpp: QA stub --- src/mame/hitachi/mbs1.cpp | 4 +++- src/mame/hitachi/mbs1_mmu.cpp | 3 +-- src/mame/hitachi/mbs1_mmu.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mame/hitachi/mbs1.cpp b/src/mame/hitachi/mbs1.cpp index 581b0466cf3..a2278d96037 100644 --- a/src/mame/hitachi/mbs1.cpp +++ b/src/mame/hitachi/mbs1.cpp @@ -4,7 +4,9 @@ MB-S1 (c) 1984 Hitachi - +TODO: +- Cassette won't load, not even in Level 3 mode; +- Many features missing; **************************************************************************************************/ diff --git a/src/mame/hitachi/mbs1_mmu.cpp b/src/mame/hitachi/mbs1_mmu.cpp index ae5f09b1026..9bd46756c0c 100644 --- a/src/mame/hitachi/mbs1_mmu.cpp +++ b/src/mame/hitachi/mbs1_mmu.cpp @@ -45,8 +45,6 @@ void mbs1_mmu_device::device_start() void mbs1_mmu_device::device_reset() { - // Mark 5 mode - } // TODO: should not reset everything when in user mode @@ -62,6 +60,7 @@ void mbs1_mmu_device::init_banks(bool system_type, bool user_mode) } else { + // Level 3 mode for (i = 0; i < 16; i++) m_bank_latch[i] = 0xf0 | i; } diff --git a/src/mame/hitachi/mbs1_mmu.h b/src/mame/hitachi/mbs1_mmu.h index e4c6dee0a9f..99e885f54ca 100644 --- a/src/mame/hitachi/mbs1_mmu.h +++ b/src/mame/hitachi/mbs1_mmu.h @@ -29,7 +29,7 @@ protected: virtual void device_reset() override; private: const address_space_config m_space_config; - address_space * m_space; + address_space *m_space; u8 m_bank_latch[16]{}; };