mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
nascom1.cpp: Remove some unused code built on obsolete assumptions
* intv.cpp: Replace the preprocessor guard for some bitrotted cruft with #if 0
This commit is contained in:
parent
97de6a1cf2
commit
b5f78b5b9e
@ -97,16 +97,11 @@ protected:
|
||||
required_memory_region m_gfx1_region;
|
||||
required_ioport_array<8> m_keyboard;
|
||||
|
||||
int m_tape_size;
|
||||
uint8_t *m_tape_image;
|
||||
int m_tape_index;
|
||||
uint8_t m_kb_select;
|
||||
uint8_t m_kb_control;
|
||||
bool m_cassinbit, m_cassoutbit, m_cassold;
|
||||
u8 m_port00;
|
||||
|
||||
DECLARE_DEVICE_IMAGE_LOAD_MEMBER( load_nascom1_cassette );
|
||||
DECLARE_DEVICE_IMAGE_UNLOAD_MEMBER( unload_nascom1_cassette );
|
||||
template<int Dest> DECLARE_SNAPSHOT_LOAD_MEMBER( snapshot_cb );
|
||||
};
|
||||
|
||||
@ -316,25 +311,6 @@ TIMER_DEVICE_CALLBACK_MEMBER( nascom2_state::nascom2_kansas_r )
|
||||
}
|
||||
}
|
||||
|
||||
// This stuff has never been connected up - what's it for?
|
||||
[[maybe_unused]] DEVICE_IMAGE_LOAD_MEMBER( nascom_state::load_nascom1_cassette )
|
||||
{
|
||||
m_tape_size = image.length();
|
||||
m_tape_image = (uint8_t*)image.ptr();
|
||||
|
||||
if (!m_tape_image)
|
||||
return image_init_result::FAIL;
|
||||
|
||||
m_tape_index = 0;
|
||||
return image_init_result::PASS;
|
||||
}
|
||||
|
||||
[[maybe_unused]] DEVICE_IMAGE_UNLOAD_MEMBER( nascom_state::unload_nascom1_cassette )
|
||||
{
|
||||
m_tape_image = nullptr;
|
||||
m_tape_size = m_tape_index = 0;
|
||||
}
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// SNAPSHOTS
|
||||
|
@ -317,7 +317,7 @@ void set_tape_bit(int position, int data)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(LATER)
|
||||
#if 0
|
||||
int intvkbd_tape_init(int id)
|
||||
{
|
||||
FILE *tapefile;
|
||||
@ -682,7 +682,7 @@ INTERRUPT_GEN_MEMBER(intv_state::intv_interrupt)
|
||||
m_stic->screenrefresh();
|
||||
}
|
||||
|
||||
#if defined(LATER)
|
||||
#if 0
|
||||
|
||||
INTERRUPT_GEN( intvkbd_interrupt2 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user