| Previous | 199869 Revisions | Next |
| r23942 Tuesday 25th June, 2013 at 16:20:03 UTC by David Haywood |
|---|
| fix debug crashes / asserts. |
| [src/mame/machine] | megavdp.c megavdp.h |
| [src/mess/includes] | lisa.h |
| r23941 | r23942 | |
|---|---|---|
| 196 | 196 | irq4_on_timer = machine().scheduler().timer_alloc(FUNC(irq4_on_timer_callback), (void*)this); |
| 197 | 197 | megadriv_render_timer = machine().scheduler().timer_alloc(FUNC(megadriv_render_timer_callback), (void*)this); |
| 198 | 198 | |
| 199 | m_space68k = &machine().device<legacy_cpu_device>(":maincpu")->space(); | |
| 200 | m_cpu68k = machine().device<legacy_cpu_device>(":maincpu"); | |
| 199 | m_space68k = &machine().device<m68000_base_device>(":maincpu")->space(); | |
| 200 | m_cpu68k = machine().device<m68000_base_device>(":maincpu"); | |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | void sega_genesis_vdp_device::device_reset() |
| r23941 | r23942 | |
|---|---|---|
| 3 | 3 | #pragma once |
| 4 | 4 | |
| 5 | 5 | #include "video/315_5124.h" |
| 6 | #include "cpu/m68000/m68000.h" | |
| 6 | 7 | |
| 7 | 8 | |
| 8 | 9 | /* The VDP occupies addresses C00000h to C0001Fh. |
| r23941 | r23942 | |
| 299 | 300 | UINT16* megadrive_vdp_palette_lookup_highlight; |
| 300 | 301 | |
| 301 | 302 | address_space *m_space68k; |
| 302 | | |
| 303 | m68000_base_device* m_cpu68k; | |
| 303 | 304 | |
| 304 | 305 | }; |
| 305 | 306 |
| r23941 | r23942 | |
|---|---|---|
| 120 | 120 | m_io_mouse_y(*this, "MOUSE_Y") |
| 121 | 121 | { } |
| 122 | 122 | |
| 123 | required_device< | |
| 123 | required_device<m68000_base_device> m_maincpu; | |
| 124 | 124 | required_device<via6522_device> m_via0; |
| 125 | 125 | required_device<via6522_device> m_via1; |
| 126 | 126 | optional_device<applefdc_base_device> m_fdc; |
| Previous | 199869 Revisions | Next |