mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
r65c19: Add bank registers to debug state (nw)
This commit is contained in:
parent
8598b492f6
commit
f7e381b5cd
@ -117,6 +117,9 @@ void c39_device::device_start()
|
||||
mintf = std::move(intf);
|
||||
|
||||
c19_init();
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
state_add(C39_BSR0 + i, string_format("BSR%d", i).c_str(), downcast<mi_banked &>(*mintf).bsr[i]);
|
||||
}
|
||||
|
||||
void r65c19_device::c19_init()
|
||||
|
@ -103,6 +103,12 @@ private:
|
||||
|
||||
class c39_device : public r65c19_device
|
||||
{
|
||||
public:
|
||||
enum {
|
||||
C39_BSR0 = R65C19_I + 1,
|
||||
C39_BSR1, C39_BSR2, C39_BSR3, C39_BSR4, C39_BSR5, C39_BSR6, C39_BSR7
|
||||
};
|
||||
|
||||
protected:
|
||||
c39_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor internal_map);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user