From 786016ae25d7918bd4c3ccaa6340f2f84397d288 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 2 Aug 2022 08:02:20 -0400 Subject: mbc55x, saturn: Remove some residual debugging stuff --- src/mame/sanyo/mbc55x.h | 5 ----- src/mame/sanyo/mbc55x_v.cpp | 36 ------------------------------------ src/mame/sega/saturn.h | 9 --------- 3 files changed, 50 deletions(-) diff --git a/src/mame/sanyo/mbc55x.h b/src/mame/sanyo/mbc55x.h index fdd5869d4bc..ca999176d7c 100644 --- a/src/mame/sanyo/mbc55x.h +++ b/src/mame/sanyo/mbc55x.h @@ -26,8 +26,6 @@ #include "sound/spkrdev.h" #include "video/mc6845.h" -#include "debug/debugcon.h" -#include "debugger.h" #include "emupal.h" #include "formats/pc_dsk.h" @@ -140,7 +138,6 @@ private: required_device m_ram; required_device m_palette; - uint32_t m_debug_video = 0; uint8_t m_video_mem[VIDEO_MEM_SIZE]; uint8_t m_vram_page = 0; uint8_t m_printer_status = 0; @@ -148,8 +145,6 @@ private: double m_x_calibration = 0, m_y_calibration = 0; bool m_ls123_strobe = false; double m_ls123_clear_time[4]; - - void video_debug(const std::vector ¶ms); }; /*----------- defined in machine/mbc55x.c -----------*/ diff --git a/src/mame/sanyo/mbc55x_v.cpp b/src/mame/sanyo/mbc55x_v.cpp index a01d6ac0ef4..7cf4edd6ae2 100644 --- a/src/mame/sanyo/mbc55x_v.cpp +++ b/src/mame/sanyo/mbc55x_v.cpp @@ -69,30 +69,9 @@ give the leftmost column of the rectangle, the next four give the next column, a *************************************************************************************************************/ #include "emu.h" -#include #include "mbc55x.h" -#define DEBUG_LINES 1 -#define DEBUG_VSYNC 2 - -#define DEBUG_SET(flags) ((m_debug_video & (flags))==(flags)) - -void mbc55x_state::video_debug(const std::vector ¶ms) -{ - if (params.size() > 0) - { - int temp; - sscanf(params[0].c_str(), "%d", &temp); - m_debug_video = temp; - } - else - { - machine().debugger().console().printf("Error usage : mbc55x_vid_debug \n"); - machine().debugger().console().printf("Current debuglevel=%02X\n", m_debug_video); - } -} - MC6845_UPDATE_ROW( mbc55x_state::crtc_update_row ) { rgb_t const *const palette = m_palette->palette()->entry_list_raw(); @@ -112,14 +91,8 @@ MC6845_UPDATE_ROW( mbc55x_state::crtc_update_row ) green=&ram[0x0C000]; } - if(DEBUG_SET(DEBUG_LINES)) - logerror("MC6845_UPDATE_ROW: ma=%d, ra=%d, y=%d, x_count=%d\n",ma,ra,y,x_count); - int offset=((ma*4) + ra) % COLOUR_PLANE_SIZE; - if(DEBUG_SET(DEBUG_LINES)) - logerror("offset=%05X\n",offset); - for(int x_pos=0; x_pos ¶ms); -// void debug_scuirq_command(int ref, const std::vector ¶ms); -// void debug_help_command(int ref, const std::vector ¶ms); -// void debug_commands(int ref, const std::vector ¶ms); }; -- cgit v1.2.3