mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
adsp2100: Make HALT_LINE halt the cpu and add function for get base address of circular buffer. (nw)
This commit is contained in:
parent
d8d323ccd7
commit
a39a6f6176
@ -1175,6 +1175,12 @@ void adsp21xx_device::execute_set_input(int inputnum, int state)
|
||||
|
||||
void adsp21xx_device::execute_run()
|
||||
{
|
||||
// Return if CPU is halted
|
||||
if (m_input[INPUT_LINE_HALT].m_curstate) {
|
||||
m_icount = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
bool check_debugger = ((device_t::machine().debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
||||
|
||||
check_irqs();
|
||||
|
@ -211,6 +211,8 @@ public:
|
||||
|
||||
// public interfaces
|
||||
void load_boot_data(uint8_t *srcdata, uint32_t *dstdata);
|
||||
// Returns base address for circular dag
|
||||
uint32_t get_ibase(int index) { return m_base[index]; };
|
||||
|
||||
protected:
|
||||
enum
|
||||
|
Loading…
Reference in New Issue
Block a user