mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
(MESS) tandy2k: Cleanup. (nw)
This commit is contained in:
parent
0e50452d8a
commit
30a60a1585
@ -44,7 +44,7 @@ const device_type CRT9007 = &device_creator<crt9007_device>;
|
|||||||
// MACROS / CONSTANTS
|
// MACROS / CONSTANTS
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
#define LOG 1
|
#define LOG 0
|
||||||
|
|
||||||
#define HAS_VALID_PARAMETERS \
|
#define HAS_VALID_PARAMETERS \
|
||||||
(m_reg[0x00] && m_reg[0x01] && m_reg[0x07] && m_reg[0x08] && m_reg[0x09])
|
(m_reg[0x00] && m_reg[0x01] && m_reg[0x07] && m_reg[0x08] && m_reg[0x09])
|
||||||
|
@ -49,7 +49,7 @@ const device_type CRT9021 = &device_creator<crt9021_device>;
|
|||||||
// MACROS / CONSTANTS
|
// MACROS / CONSTANTS
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
#define LOG 1
|
#define LOG 0
|
||||||
|
|
||||||
|
|
||||||
// attributes
|
// attributes
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// MACROS / CONSTANTS
|
// MACROS / CONSTANTS
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
#define LOG 1
|
#define LOG 0
|
||||||
|
|
||||||
|
|
||||||
#define REN \
|
#define REN \
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
- CRT9007
|
- CRT9007
|
||||||
- CRT9212 Double Row Buffer
|
- CRT9212 Double Row Buffer
|
||||||
- CRT9021B Attribute Generator
|
- CRT9021B Attribute Generator
|
||||||
- 80186
|
|
||||||
- keyboard ROM
|
- keyboard ROM
|
||||||
- hires graphics board
|
- hires graphics board
|
||||||
- floppy 720K DSQD
|
- floppy 720K DSQD
|
||||||
@ -25,7 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes/tandy2k.h"
|
#include "includes/tandy2k.h"
|
||||||
#include "formats/mfi_dsk.h"
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -654,11 +652,6 @@ void tandy2k_state::machine_start()
|
|||||||
m_fdc->setup_intrq_cb(i8272a_device::line_cb(FUNC(tandy2k_state::fdc_irq), this));
|
m_fdc->setup_intrq_cb(i8272a_device::line_cb(FUNC(tandy2k_state::fdc_irq), this));
|
||||||
m_fdc->setup_drq_cb(i8272a_device::line_cb(FUNC(tandy2k_state::fdc_drq), this));
|
m_fdc->setup_drq_cb(i8272a_device::line_cb(FUNC(tandy2k_state::fdc_drq), this));
|
||||||
|
|
||||||
// patch out i186 relocation register check
|
|
||||||
UINT8 *rom = memregion(I80186_TAG)->base();
|
|
||||||
rom[0x1f16] = 0x90;
|
|
||||||
rom[0x1f17] = 0x90;
|
|
||||||
|
|
||||||
// register for state saving
|
// register for state saving
|
||||||
save_item(NAME(m_dma_mux));
|
save_item(NAME(m_dma_mux));
|
||||||
save_item(NAME(m_kbdclk));
|
save_item(NAME(m_kbdclk));
|
||||||
|
Loading…
Reference in New Issue
Block a user