trunk/src/mess/drivers/xavix.c
| r26429 | r26430 | |
| 1 | | // license: ? |
| 2 | | // copyright-holders: Angelo Salese |
| 1 | // license: MAME |
| 2 | // copyright-holders: ? |
| 3 | 3 | /*************************************************************************** |
| 4 | 4 | |
| 5 | | Template for skeleton drivers |
| 5 | Skeleton driver for XaviX TV PNP console and childs (Let's! Play TV Classic) |
| 6 | 6 | |
| 7 | CPU is M6502 derivative, almost likely to be a G65816 |
| 8 | |
| 9 | TODO: |
| 10 | - understand how to map ROM at 0x800000-0x9fffff / 0xc00000 / 0xdfffff |
| 11 | banks (granted that we have the ROM for that, of course) |
| 12 | |
| 7 | 13 | ***************************************************************************/ |
| 8 | 14 | |
| 9 | 15 | |
| r26429 | r26430 | |
| 47 | 53 | } |
| 48 | 54 | |
| 49 | 55 | static ADDRESS_MAP_START( xavix_map, AS_PROGRAM, 8, xavix_state ) |
| 50 | | AM_RANGE(0x00f000, 0x00ffff) AM_ROM AM_REGION("bios", 0xf000) |
| 51 | | AM_RANGE(0x800000, 0x9fffff) AM_ROM AM_REGION("bios", 0) |
| 52 | | |
| 56 | AM_RANGE(0x000000, 0x0001ff) AM_RAM |
| 57 | AM_RANGE(0x00f000, 0x00ffff) AM_ROM AM_REGION("bios", 0x00f000) |
| 58 | AM_RANGE(0x800000, 0x9fffff) AM_ROM AM_REGION("bios", 0x000000) // wrong |
| 53 | 59 | ADDRESS_MAP_END |
| 54 | 60 | |
| 55 | 61 | static INPUT_PORTS_START( xavix ) |
| r26429 | r26430 | |
| 108 | 114 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 109 | 115 | INPUT_PORTS_END |
| 110 | 116 | |
| 117 | /* correct, 4bpp gfxs */ |
| 111 | 118 | static const gfx_layout charlayout = |
| 112 | 119 | { |
| 113 | 120 | 8,8, |