trunk/src/mess/machine/rmnimbus.c
| r18408 | r18409 | |
| 41 | 41 | STAMP.EXE and then formatted in the normal way for a dos system drive with |
| 42 | 42 | Format /s. |
| 43 | 43 | |
| 44 | | The tracks, heads and sectors/track can be used with chdman -createblank |
| 44 | The tracks, heads and sectors/track can be used with chdman createhd |
| 45 | 45 | to create a blank hard disk which can then be formatted with the RM tools. |
| 46 | 46 | The important thing when doing this is to make sure that if using the Native |
| 47 | 47 | SCSI tools, that the disk has the same number of blocks as specified above, |
| 48 | 48 | even if you have to use unusual geometry to do so ! |
| 49 | |
| 50 | for example: |
| 51 | |
| 52 | chdman createhd -o ST125N.chd -chs 407,4,26 -ss 512 |
| 53 | |
| 49 | 54 | */ |
| 50 | 55 | |
| 51 | 56 | |
| r18408 | r18409 | |
| 2498 | 2503 | else |
| 2499 | 2504 | set_disk_int(machine(),0); |
| 2500 | 2505 | |
| 2501 | | if( mask == HDC_REQ_MASK ) |
| 2506 | switch( mask ) |
| 2502 | 2507 | { |
| 2508 | case HDC_REQ_MASK: |
| 2503 | 2509 | if (state==0) |
| 2504 | 2510 | { |
| 2505 | 2511 | if(((m_nimbus_drives.reg410_in & HDC_CD_MASK)==HDC_CD_MASK) && (last!=0)) |
| r18408 | r18409 | |
| 2512 | 2518 | { |
| 2513 | 2519 | m_scsibus->scsi_ack_w(1); |
| 2514 | 2520 | } |
| 2521 | break; |
| 2522 | |
| 2523 | case HDC_IO_MASK: |
| 2524 | if (state==0) |
| 2525 | { |
| 2526 | printf( "switch to input mode\n" ); |
| 2527 | m_scsibus->scsi_data_w(0xff); |
| 2528 | } |
| 2529 | break; |
| 2515 | 2530 | } |
| 2516 | 2531 | } |
| 2517 | 2532 | |
trunk/src/mess/drivers/rmnimbus.c
| r18408 | r18409 | |
| 28 | 28 | const unsigned char nimbus_palette[SCREEN_NO_COLOURS][3] = |
| 29 | 29 | { |
| 30 | 30 | /*normal brightness */ |
| 31 | | { 0x00,0x00,0x00 }, /* black */ |
| 31 | { 0x00,0x00,0x00 }, /* black */ |
| 32 | 32 | { 0x00,0x00,0x80 }, /* blue */ |
| 33 | 33 | { 0x80,0x00,0x00 }, /* red */ |
| 34 | 34 | { 0x80,0x00,0x80 }, /* magenta */ |
| r18408 | r18409 | |
| 55 | 55 | DEVCB_NULL, |
| 56 | 56 | DEVCB_NULL, |
| 57 | 57 | DEVCB_NULL, |
| 58 | | FLOPPY_STANDARD_5_25_DSSD_35, |
| 58 | FLOPPY_STANDARD_3_5_DSDD, |
| 59 | 59 | LEGACY_FLOPPY_OPTIONS_NAME(pc), |
| 60 | 60 | NULL, |
| 61 | 61 | NULL |
| r18408 | r18409 | |
| 308 | 308 | MCFG_CPU_PROGRAM_MAP(nimbus_iocpu_mem) |
| 309 | 309 | MCFG_CPU_IO_MAP(nimbus_iocpu_io) |
| 310 | 310 | |
| 311 | | |
| 312 | | |
| 313 | 311 | /* video hardware */ |
| 314 | 312 | MCFG_SCREEN_ADD("screen", RASTER) |
| 315 | 313 | MCFG_SCREEN_REFRESH_RATE(50) |
| r18408 | r18409 | |
| 324 | 322 | MCFG_SCREEN_SIZE(650, 260) |
| 325 | 323 | MCFG_SCREEN_VISIBLE_AREA(0, 639, 0, 249) |
| 326 | 324 | |
| 327 | | |
| 328 | | |
| 329 | 325 | /* Backing storage */ |
| 330 | 326 | MCFG_WD2793_ADD(FDC_TAG, nimbus_wd17xx_interface ) |
| 331 | 327 | MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(nimbus_floppy_interface) |
| 332 | 328 | |
| 333 | 329 | MCFG_SCSIBUS_ADD(SCSIBUS_TAG) |
| 334 | | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk0", ACB4070, SCSI_ID_0) |
| 335 | | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk1", S1410, SCSI_ID_1) |
| 336 | | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk2", SCSIHD, SCSI_ID_2) |
| 337 | | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk3", SCSIHD, SCSI_ID_3) |
| 330 | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk0", SCSIHD, SCSI_ID_0) |
| 331 | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk1", SCSIHD, SCSI_ID_1) |
| 332 | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk2", ACB4070, SCSI_ID_2) |
| 333 | MCFG_SCSIDEV_ADD(SCSIBUS_TAG ":harddisk3", S1410, SCSI_ID_3) |
| 338 | 334 | MCFG_SCSICB_ADD(SCSIBUS_TAG ":host", scsibus_config) |
| 339 | 335 | |
| 340 | 336 | MCFG_RAM_ADD(RAM_TAG) |
| r18408 | r18409 | |
| 358 | 354 | MCFG_SOUND_ADD(MSM5205_TAG, MSM5205, 384000) |
| 359 | 355 | MCFG_SOUND_CONFIG(msm5205_config) |
| 360 | 356 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, MONO_TAG, 0.75) |
| 361 | | |
| 362 | | |
| 363 | 357 | MACHINE_CONFIG_END |
| 364 | 358 | |
| 365 | 359 | |
| r18408 | r18409 | |
| 382 | 376 | ROM_LOAD("hexec-v1.02u-13488-1985-10-29.rom", 0x0000, 0x1000, CRC(75c6adfd) SHA1(0f11e0b7386c6368d20e1fc7a6196d670f924825)) |
| 383 | 377 | ROM_END |
| 384 | 378 | |
| 385 | | |
| 386 | 379 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 387 | 380 | COMP( 1986, nimbus, 0, 0, nimbus, nimbus, driver_device, 0, "Research Machines", "Nimbus", 0) |