Previous 15994 Revisions Next

r14784 Wednesday 21st March, 2012 at 10:46:30 UTC by Robbbert
misc notes etc.
[src/mess/drivers]pasopia.c pcm.c rm380z.c
[src/mess/includes]rm380z.h
[src/mess/machine]rm380z.c
[src/mess/video]rm380z.c

src/mess/machine/rm380z.c
r14783r14784
55
66*/
77
8#include "emu.h"
9#include "cpu/z80/z80.h"
10#include "machine/ram.h"
11#include "imagedev/flopdrv.h"
12#include "machine/wd17xx.h"
8
139#include "includes/rm380z.h"
1410
1511
src/mess/includes/rm380z.h
r14783r14784
88#ifndef RM380Z_H_
99#define RM380Z_H_
1010
11#include "emu.h"
12#include "cpu/z80/z80.h"
13#include "machine/ram.h"
14#include "imagedev/flopdrv.h"
15#include "machine/wd17xx.h"
16#include "machine/keyboard.h"
17
1118//
1219//
1320//
src/mess/video/rm380z.c
r14783r14784
55
66*/
77
8#include "emu.h"
9#include "cpu/z80/z80.h"
10#include "machine/ram.h"
11#include "imagedev/flopdrv.h"
12#include "machine/terminal.h"
13#include "machine/wd17xx.h"
8
149#include "includes/rm380z.h"
1510
1611
r14783r14784
387382
388383void rm380z_state::update_screen(bitmap_ind16 &bitmap)
389384{
390   unsigned char* pChar=machine().region("gfx")->base();
385   unsigned char* pChar=machine().region("chargen")->base();
391386
392387   int lineWidth=0x80;
393388   int ncols=80;
src/mess/drivers/rm380z.c
r14783r14784
6262- Understand why ctrl-U (blinking cursor) in COS 4.0 stops keyboard input from working
6363- Get a reliable ROM dump and charset ROM dump
6464
65
66Attempt to register save state entry after state registration is closed!
67Module timer tag static_vblank_timer name m_param
68Attempt to register save state entry after state registration is closed!
69Module timer tag static_vblank_timer name m_enabled
70Attempt to register save state entry after state registration is closed!
71Module timer tag static_vblank_timer name m_period.attoseconds
72Attempt to register save state entry after state registration is closed!
73Module timer tag static_vblank_timer name m_period.seconds
74Attempt to register save state entry after state registration is closed!
75Module timer tag static_vblank_timer name m_start.attoseconds
76Attempt to register save state entry after state registration is closed!
77Module timer tag static_vblank_timer name m_start.seconds
78Attempt to register save state entry after state registration is closed!
79Module timer tag static_vblank_timer name m_expire.attoseconds
80Attempt to register save state entry after state registration is closed!
81Module timer tag static_vblank_timer name m_expire.seconds
82':maincpu' (E48B): unmapped program memory write to E000 = C1 & FF
83':maincpu' (E48E): unmapped program memory write to E000 = 3E & FF
84
6585*/
6686
6787#define ADDRESS_MAP_MODERN
6888
69#include "emu.h"
70#include "cpu/z80/z80.h"
71#include "machine/ram.h"
72#include "imagedev/flopdrv.h"
73#include "machine/keyboard.h"
74#include "machine/wd17xx.h"
7589#include "includes/rm380z.h"
7690
7791
r14783r14784
169183   ROM_LOAD( "cos40b-m_f600-f9ff.bin", 0x1000, 0x400, BAD_DUMP CRC(e3397d9d) SHA1(490a0c834b0da392daf782edc7d51ca8f0668b1a))
170184   ROM_LOAD( "cos40b-m_1c00-1dff.bin", 0x1400, 0x200, BAD_DUMP CRC(0f759f44) SHA1(9689c1c1faa62c56def999cbedbbb0c8d928dcff))
171185   // chargen ROM is undumped, afaik
172   ROM_REGION( 0x1680, "gfx", 0 )
186   ROM_REGION( 0x1680, "chargen", 0 )
173187   ROM_LOAD( "ch3.raw", 0x0000, 0x1680, BAD_DUMP CRC(c223622b) SHA1(185ef24896419d7ff46f71a760ac217de3811684))
174188ROM_END
175189
src/mess/drivers/pasopia.c
r14783r14784
269269static Z80PIO_INTERFACE( z80pio_intf )
270270{
271271   DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0), //doesn't work?
272   DEVCB_DRIVER_MEMBER(pasopia_state, testa_r),
273   DEVCB_NULL,
274   DEVCB_DRIVER_LINE_MEMBER(pasopia_state, testa_w),
275   DEVCB_DRIVER_MEMBER(pasopia_state, testb_r),
276   DEVCB_NULL,
277   DEVCB_DRIVER_LINE_MEMBER(pasopia_state, testb_w)
272   DEVCB_DRIVER_MEMBER(pasopia_state, testa_r), // port A read
273   DEVCB_NULL, // port A write
274   DEVCB_DRIVER_LINE_MEMBER(pasopia_state, testa_w), // ready A
275   DEVCB_DRIVER_MEMBER(pasopia_state, testb_r), // port B read
276   DEVCB_NULL, // port B write
277   DEVCB_DRIVER_LINE_MEMBER(pasopia_state, testb_w) // ready B
278278};
279279
280280static const mc6845_interface mc6845_intf =
src/mess/drivers/pcm.c
r14783r14784
7474   pcm_state(const machine_config &mconfig, device_type type, const char *tag)
7575      : driver_device(mconfig, type, tag),
7676   m_maincpu(*this, "maincpu"),
77   m_keyboard(*this, KEYBOARD_TAG),
7877   m_pio_s(*this, "z80pio_s"),
7978   m_pio_u(*this, "z80pio_u"),
8079   m_sio(*this, "z80sio"),
r14783r14784
8584   { }
8685
8786   required_device<cpu_device> m_maincpu;
88   required_device<device_t> m_keyboard;
8987   required_device<device_t> m_pio_s;
9088   required_device<device_t> m_pio_u;
9189   required_device<device_t> m_sio;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team