adsp2100: Make HALT_LINE halt the cpu and add function for get base address of circular buffer. (nw)

This commit is contained in:
Ted Green 2017-06-04 07:16:24 -06:00
parent d8d323ccd7
commit a39a6f6176
2 changed files with 8 additions and 0 deletions

View File

@ -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();

View File

@ -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