trunk/src/mess/drivers/cc40.c
| r31435 | r31436 | |
| 49 | 49 | |
| 50 | 50 | CC-40 is powered by 4 AA batteries. These will also save internal RAM, |
| 51 | 51 | provided that the machine is turned off properly. If a program is running, |
| 52 | | you may have to press [BREAK] before turning the CC-40 off. |
| 52 | you may have to press [BREAK] before turning the CC-40 off. If RAM contents |
| 53 | ends up dodgy somehow, just delete the nvram files. |
| 54 | |
| 55 | Officially, minimum total RAM size is 6KB. The system will still boot with less, |
| 56 | but don't expect all software to work properly. |
| 53 | 57 | |
| 54 | 58 | To run a cartridge, usually the command RUN "DIR" shows which program(s) |
| 55 | 59 | can be loaded. Load a program by pressing the [RUN] key while viewing the list, |
| r31435 | r31436 | |
| 407 | 411 | PORT_CONFSETTING( 0x01, "2KB" ) |
| 408 | 412 | PORT_CONFSETTING( 0x04, "8KB" ) |
| 409 | 413 | PORT_CONFNAME( 0x70, 0x10, "RAM Chip 2") PORT_CHANGED_MEMBER(DEVICE_SELF, cc40_state, sysram_size_changed, (void *)1) |
| 410 | | PORT_CONFSETTING( 0x00, "None" ) |
| 414 | PORT_CONFSETTING( 0x00, "None" ) // note: invalid configuration, unless Chip 1 is also 0x00 |
| 411 | 415 | PORT_CONFSETTING( 0x10, "2KB" ) |
| 412 | 416 | PORT_CONFSETTING( 0x40, "8KB" ) |
| 413 | 417 | |
| r31435 | r31436 | |
| 550 | 554 | |
| 551 | 555 | m_nvram[0] = machine().device<nvram_device>("sysram.1"); |
| 552 | 556 | m_nvram[1] = machine().device<nvram_device>("sysram.2"); |
| 553 | | init_sysram(0, 0x800); |
| 554 | | init_sysram(1, 0x800); |
| 557 | init_sysram(0, 0x800); // default to 6KB |
| 558 | init_sysram(1, 0x800); // " |
| 555 | 559 | |
| 556 | 560 | address_space &space = m_maincpu->space(AS_PROGRAM); |
| 557 | 561 | bus_control_w(space, 0, 0); |