src/mess/drivers/spectrum.c
| r7576 | r7577 | |
| 624 | 624 | DRIVER_INIT( spectrum ) |
| 625 | 625 | { |
| 626 | 626 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 627 | | UINT8 *ram = messram_get_ptr(devtag_get_device(machine, "messram")); |
| 628 | 627 | |
| 629 | 628 | switch (messram_get_size(devtag_get_device(machine, "messram"))) |
| 630 | 629 | { |
| 631 | 630 | case 48*1024: |
| 632 | | memory_install_ram(space, 0x8000, 0xffff, 0, 0, ram); // Fall through |
| 631 | memory_install_ram(space, 0x8000, 0xffff, 0, 0, NULL); // Fall through |
| 633 | 632 | case 16*1024: |
| 634 | | memory_install_ram(space, 0x5b00, 0x7fff, 0, 0, ram); |
| 633 | memory_install_ram(space, 0x5b00, 0x7fff, 0, 0, NULL); |
| 635 | 634 | } |
| 636 | 635 | } |
| 637 | 636 | |