Previous 15994 Revisions Next

r1915 Tuesday 11th March, 2008 at 19:46:55 UTC by Wilbert Pol
[ZX] Removed deprecat.h dependency from machine/zx.c
[src/mess/machine]zx.c

src/mess/machine/zx.c
r1914r1915
77****************************************************************************/
88
99#include "driver.h"
10#include "deprecat.h"
1110#include "cpu/z80/z80.h"
1211#include "includes/zx.h"
1312#include "devices/cassette.h"
r1914r1915
9190      zx_ula_bkgnd(1);
9291      if (ula_frame_vsync == 2)
9392      {
94         cpu_spinuntil_time(video_screen_get_time_until_pos(0, Machine->screen[0].height - 1, 0));
95         ula_scanline_count = Machine->screen[0].height - 1;
93         cpu_spinuntil_time(video_screen_get_time_until_pos(0, machine->screen[0].height - 1, 0));
94         ula_scanline_count = machine->screen[0].height - 1;
9695         logerror ("S: %d B: %d\n", video_screen_get_vpos(0), video_screen_get_hpos(0));
9796      }
9897
r1914r1915
131130         data &= readinputport(7);
132131      if ((offset & 0x8000) == 0)
133132         data &= readinputport(8);
134      if (Machine->screen[0].refresh > 55)
133      if (machine->screen[0].refresh > 55)
135134         data &= ~0x40;
136135
137136      if (ula_irq_active)
r1914r1915
196195         data &= readinputport(7);
197196      if ((offset & 0x8000) == 0)
198197         data &= readinputport(8);
199      if (Machine->screen[0].refresh > 55)
198      if (machine->screen[0].refresh > 55)
200199         data &= ~0x40;
201200
202201      if (ula_irq_active)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team