Previous 15994 Revisions Next

r4743 Tuesday 19th May, 2009 at 10:16:47 UTC by Robbbert
[XOR100] Added info, loaded rom at the correct address.
[src/mess/drivers]xor100.c

src/mess/drivers/xor100.c
r4742r4743
1/***************************************************************************
1/****************************************************************************************************
22
33        XOR-100-12
44
55        12/05/2009 Skeleton driver.
66
7****************************************************************************/
7   Execution of this monitor rom starts at F800.
88
9   I/O sequence:   read 0A, discard result
10         read 0B, output result to 0B
11         send the sequence AA 40 4E 37 to 01, then to 03 (programming a device?)
12         L1:read 03 to see if display device is ready
13         write ascii character to 02 goto L1 until signon message is displayed
14         in same fashion display top of memory (F800)
15         display prompt character (*) wait for input
16         read 03 to see if a key is being input, if so read 02 and display it
17         if illegal input, display ? then display prompt on a new line
18
19   To summarise:   out 01 and out 03 - program a device
20         out 02 - display a character
21         in 02 - read character from keyboard
22         in 03 - get busy status of display (bit 0) and keyboard (bit 1) High=ready
23
24*****************************************************************************************************/
25
926#include "driver.h"
1027#include "cpu/z80/z80.h"
1128
1229static ADDRESS_MAP_START(xor100_mem, ADDRESS_SPACE_PROGRAM, 8)
1330   ADDRESS_MAP_UNMAP_HIGH
31   AM_RANGE( 0x0000, 0xf7ff ) AM_RAM
32   AM_RANGE( 0xf800, 0xffff ) AM_ROM
1433ADDRESS_MAP_END
1534
16static ADDRESS_MAP_START( xor100_io , ADDRESS_SPACE_IO, 8)
35static ADDRESS_MAP_START(xor100_io, ADDRESS_SPACE_IO, 8)
1736   ADDRESS_MAP_UNMAP_HIGH
37   ADDRESS_MAP_GLOBAL_MASK(0xff)
38//   AM_RANGE( 0x01, 0x01 ) AM_WRITE(program device)
39//   AM_RANGE( 0x02, 0x02 ) AM_READWRITE(read keyboard, display character)
40//   AM_RANGE( 0x03, 0x03 ) AM_READWRITE(read status, program device)
1841ADDRESS_MAP_END
1942
2043/* Input ports */
r4742r4743
6285
6386/* ROM definition */
6487ROM_START( xor100 )
65    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
66  ROM_LOAD( "mon185.bin", 0x0000, 0x0800, CRC(0d0bda8d) SHA1(11c83f7cd7e6a570641b44a2f2cc5737a7dd8ae3))
88   ROM_REGION( 0x10000, "maincpu", 0 )
89   ROM_LOAD( "mon185.bin", 0xf800, 0x0800, CRC(0d0bda8d) SHA1(11c83f7cd7e6a570641b44a2f2cc5737a7dd8ae3))
6790
6891ROM_END
6992
7093/* Driver */
7194
72/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT    INIT    CONFIG COMPANY   FULLNAME       FLAGS */
73COMP( ????, xor100,  0,       0,    xor100,    xor100,     0,       xor100,      "Unknown",   "XOR-100-12",      GAME_NOT_WORKING)
95/*    YEAR  NAME    PARENT  COMPAT      MACHINE         INPUT            INIT     CONFIG          COMPANY            FULLNAME       FLAGS */
96COMP( ????, xor100,  0,       0,    xor100,    xor100,     0,       xor100,      "Xor Data Science", "XOR-100-12", GAME_NOT_WORKING)
7497

Previous 15994 Revisions Next


© 1998-2018 The MESS Team