Previous 15994 Revisions Next

r6833 Thursday 31st December, 2009 at 06:27:11 UTC by Phill Harvey-Smith
Further graphics improvements, beginnings of work on peripheral controler
[src/mess/drivers]rmnimbus.c
[src/mess/includes]rmnimbus.h
[src/mess/video]rmnimbus.c

src/mess/video/rmnimbus.c
r6832r6833
371371 
372372static void write_reg_010(void)
373373{
374    write_pixel_data(0,vidregs[reg00C],vidregs[reg010]);     
374    write_pixel_data(vidregs[reg002],vidregs[reg00C],vidregs[reg010]);     
375375}
376376 
377377static void write_reg_012(void)
r6832r6833
420420    {
421421        debug_console_printf(machine,"Error usage : nimbus_vid_debug <debuglevel>\n");
422422        debug_console_printf(machine,"Current debuglevel=%02X\n",debug_on);
423        debug_console_printf(machine,"VRAM size=%02X\n",VRAM_SIZE);
424423    }
425424}
426425 
src/mess/includes/rmnimbus.h
r6832r6833
1414#define DEBUG_PIXEL 0x04
1515 
1616#define MAINCPU_TAG "maincpu"
17#define IOCPU_TAG   "iocpu"
1718 
1819DRIVER_INIT(nimbus);
1920MACHINE_RESET(nimbus);
src/mess/drivers/rmnimbus.c
r6832r6833
1010#include "driver.h"
1111#include "image.h"
1212#include "cpu/i86/i86.h"
13#include "cpu/mcs51/mcs51.h"
1314#include "devices/flopdrv.h"
1415#include "devices/messram.h"
1516#include "formats/flopimg.h"
r6832r6833
185186    //PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("KP1")    PORT_CODE(KEYCODE_1_PAD)        PORT_CHAR('1')
186187INPUT_PORTS_END
187188 
189static ADDRESS_MAP_START(nimbus_iocpu_mem, ADDRESS_SPACE_PROGRAM, 8)
190   ADDRESS_MAP_UNMAP_HIGH
191   AM_RANGE(0x0000, 0x1fff) AM_ROM
192   AM_RANGE(0x2000, 0x7fff) AM_RAM
193   //AM_RANGE(0x8000, 0x9fff) AM_ROM // EPROM
194   //AM_RANGE(0xc000, 0xdfff) // Expansion block
195   //AM_RANGE(0xe000, 0xffff) // Expansion block
196ADDRESS_MAP_END
188197 
198static ADDRESS_MAP_START( nimbus_iocpu_io , ADDRESS_SPACE_IO, 8)
199   ADDRESS_MAP_UNMAP_HIGH
200   AM_RANGE(0x0000, 0x7fff) AM_RAM
201   //AM_RANGE(0x8000, 0x9fff) AM_ROM // EPROM
202   //AM_RANGE(0xa000, 0xa003) AM_DEVREADWRITE("ppi8255", i8255a_r, i8255a_w)  // PPI-8255
203   //AM_RANGE(0xc000, 0xdfff) // Expansion block
204   //AM_RANGE(0xe000, 0xffff) // Expansion block
205ADDRESS_MAP_END
189206 
190207 
191208static PALETTE_INIT( nimbus )
r6832r6833
204221    MDRV_CPU_PROGRAM_MAP(nimbus_mem)
205222    MDRV_CPU_IO_MAP(nimbus_io)
206223 
224    MDRV_CPU_ADD(IOCPU_TAG, I8031, 8000000)
225    MDRV_CPU_PROGRAM_MAP(nimbus_iocpu_mem)
226    MDRV_CPU_IO_MAP(nimbus_iocpu_io)
227 
207228    MDRV_MACHINE_START( nimbus )
208229 
209230    MDRV_MACHINE_RESET(nimbus)
r6832r6833
251272   ROM_RELOAD(0xf0001,0x8000)
252273    ROM_LOAD16_BYTE("sys-2-1.32f-22779-1989-10-20.rom", 0x0000, 0x8000, CRC(0be3db64) SHA1(af806405ec6fbc20385705f90d5059a47de17b08))
253274   ROM_RELOAD(0xf0000,0x8000)
254     
275 
276    ROM_REGION( 0x4000, IOCPU_TAG, 0 )
277    ROM_LOAD("hexec-v1.02u-13488-1985-10-29.rom", 0x0000, 0x1000, CRC(75c6adfd) SHA1(0f11e0b7386c6368d20e1fc7a6196d670f924825))
255278ROM_END
256279 
280 
257281/*    YEAR  NAME        PARENT  COMPAT  MACHINE INPUT   INIT  COMPANY  FULLNAME   FLAGS */
258282COMP( 1986, nimbus,     0,      0,      nimbus, nimbus, 0,   "Research Machines", "nimbus", GAME_NO_SOUND | GAME_NOT_WORKING)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team