Previous 199869 Revisions Next

r26415 Monday 25th November, 2013 at 11:44:09 UTC by Robbbert
(MESS) mod8 : added usage info
[src/mess/drivers]mod8.c

trunk/src/mess/drivers/mod8.c
r26414r26415
11/***************************************************************************
22
3        Microsystems International Limited MOD-8
3Microsystems International Limited MOD-8
44
5        M.I.L. was formed in 1968 from a joint venture between the Canadian
6        Government and Northern Telecom. It produced a variety of computer
7        chips, eproms, etc, plus parts for the telephone company. It folded
8        in 1975.
9        (Info from http://www.cse.yorku.ca/museum/v_tour/artifacts/artifacts.htm)
5M.I.L. was formed in 1968 from a joint venture between the Canadian
6Government and Northern Telecom. It produced a variety of computer
7chips, eproms, etc, plus parts for the telephone company. It folded
8in 1975.
9(Info from http://www.cse.yorku.ca/museum/v_tour/artifacts/artifacts.htm)
1010
1111
12        14/06/2011 Modernised & above notes added.
13        02/12/2009 Working driver [Miodrag Milanovic]
14        18/11/2009 Skeleton driver.
12    2009-11-18 Skeleton driver.
13    2009-12-02 Working driver [Miodrag Milanovic]
14    2011-06-14 Modernised & above notes added.
1515
16Commands:
17All commands consist of 3 uppercase letters. If further info is required
18then a * prompt is printed on a new line, where you will enter the data.
19All numbers are OCTAL (3/6 digits with leading zeros). Since a teletypewriter
20is being used, there is no cursor. Do NOT press Enter except after these
21commands, otherwise things get confusing.
22
23LOC - set current location pointer (the CLP)
24DLP - display CLP
25DPS - dump symbolic
26LDO - load octal
27DPO - dump octal
28LBF - load BNPF format
29DBF - dump BNPF format
30EDT - enter Edit Mode
31XQT - initiate program execution
32CPY - copy routine
33TRN - translate routine
34SBP - set breakpoint
35CBP - clear breakpoint
36PRG - program PROM
37
38Pressing Ctrl-A will escape back to the monitor. You will see 8 dashes.
39
40Commands in the Edit Mode:
41When you enter the Edit Mode it displays the CLP followed by a slash.
42
43nnn - enter a new value into this memory location and increment the CLP
44` (tic) - decrement CLP
45@ - same as XQT
46R - return to monitor
47*nnnnnn - change CLP to this value
48space - display current contents of memory
49
50While in 'space' mode, press a letter to increment CLP, or shift-delete
51(underscore character) followed by a new byte for this location.
52
1653****************************************************************************/
1754
1855#include "emu.h"
r26414r26415
2360{
2461public:
2562   mod8_state(const machine_config &mconfig, device_type type, const char *tag)
26      : driver_device(mconfig, type, tag),
27   m_teleprinter(*this, TELEPRINTER_TAG)
28   ,
29      m_maincpu(*this, "maincpu") { }
63      : driver_device(mconfig, type, tag)
64      , m_teleprinter(*this, TELEPRINTER_TAG)
65      , m_maincpu(*this, "maincpu")
66   { }
3067
31   required_device<teleprinter_device> m_teleprinter;
3268   DECLARE_WRITE8_MEMBER(out_w);
3369   DECLARE_WRITE8_MEMBER(tty_w);
3470   DECLARE_WRITE8_MEMBER(kbd_put);
3571   DECLARE_READ8_MEMBER(tty_r);
72   IRQ_CALLBACK_MEMBER(mod8_irq_callback);
73private:
3674   UINT16 m_tty_data;
3775   UINT8 m_tty_key_data;
3876   int m_tty_cnt;
3977   virtual void machine_reset();
40   IRQ_CALLBACK_MEMBER(mod8_irq_callback);
78   required_device<teleprinter_device> m_teleprinter;
4179   required_device<cpu_device> m_maincpu;
4280};
4381
r26414r26415
112150   MCFG_CPU_PROGRAM_MAP(mod8_mem)
113151   MCFG_CPU_IO_MAP(mod8_io)
114152
115
116153   /* video hardware */
117154   MCFG_GENERIC_TELEPRINTER_ADD(TELEPRINTER_TAG, teleprinter_intf)
118155MACHINE_CONFIG_END
r26414r26415
132169
133170/* Driver */
134171
135/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT    INIT   COMPANY                      FULLNAME       FLAGS */
136COMP( 1974, mod8,   0,       0,      mod8,      mod8, driver_device,    0, "Microsystems International Ltd", "MOD-8", GAME_NO_SOUND_HW)
172/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT   CLASS           INIT   COMPANY                       FULLNAME       FLAGS */
173COMP( 1974, mod8,   0,       0,      mod8,      mod8,   driver_device,   0, "Microsystems International Ltd", "MOD-8", GAME_NO_SOUND_HW)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team