trunk/src/emu/video/315_5124.c
| r31481 | r31482 | |
| 633 | 633 | |
| 634 | 634 | WRITE8_MEMBER( sega315_5124_device::register_write ) |
| 635 | 635 | { |
| 636 | | int reg_num; |
| 637 | | int hpos = m_screen->hpos(); |
| 636 | int reg_num, hpos; |
| 638 | 637 | |
| 639 | | check_pending_flags(); |
| 640 | | |
| 641 | 638 | if (m_pending_reg_write == 0) |
| 642 | 639 | { |
| 643 | 640 | m_addr = (m_addr & 0xff00) | data; |
| r31481 | r31482 | |
| 670 | 667 | if (reg_num == 0 || reg_num == 1) |
| 671 | 668 | set_display_settings(); |
| 672 | 669 | |
| 670 | hpos = m_screen->hpos(); |
| 671 | |
| 673 | 672 | if (reg_num == 1 && hpos <= DISPLAY_DISABLED_HPOS) |
| 674 | 673 | m_display_disabled = !(m_reg[0x01] & 0x40); |
| 675 | 674 | |
| 676 | 675 | if (reg_num == 8 && hpos <= X_SCROLL_HPOS) |
| 677 | 676 | m_reg8copy = m_reg[0x08]; |
| 678 | 677 | |
| 678 | check_pending_flags(); |
| 679 | |
| 679 | 680 | if ( ( reg_num == 0 && (m_status & STATUS_HINT) ) || |
| 680 | 681 | ( reg_num == 1 && (m_status & STATUS_VINT) ) ) |
| 681 | 682 | { |
trunk/src/mess/drivers/sms.c
| r31481 | r31482 | |
| 17 | 17 | - Sega Demo Unit II (kiosk expansion device) |
| 18 | 18 | - SMS Disk System (floppy disk drive expansion device) - unreleased |
| 19 | 19 | - Sega Graphic Board (black version) - unreleased |
| 20 | | - Rapid button of japanese Master System |
| 20 | - Rapid button of Japanese Master System |
| 21 | 21 | - Keyboard support for Sega Mark III (sg1000m3 driver) |
| 22 | 22 | - Link between two Mark III's through keyboard, supported by F-16 Fighting Falcon |
| 23 | 23 | - Mark III expansion slot, used by keyboard and FM module |
| r31481 | r31482 | |
| 985 | 985 | - built-in Alex Kidd in Miracle World - 1994 ? |
| 986 | 986 | - built-in World Cup Italia '90 (Super Futebol II) - 1994 |
| 987 | 987 | - Tec Toy Master System Girl (no driver) |
| 988 | | - built-in Monica no Castelo do Dragao - 199? |
| 988 | - built-in Monica no Castelo do Dragao - 1994 |
| 989 | 989 | - built-in Sonic the Hedgehog (T. Monica em O Resgate pack) - 199? |
| 990 | 990 | Notes about BR: |
| 991 | 991 | - PAL-M has same frequency and line count of NTSC |
trunk/src/mess/machine/sms.c
| r31481 | r31482 | |
| 86 | 86 | m_port_dd_reg &= ~0x08 | (data2 >> 4); // TR (Button 2) |
| 87 | 87 | |
| 88 | 88 | // Sega Mark III does not have TH line connected. |
| 89 | | // Also, the japanese Master System does not set port $dd with TH input. |
| 89 | // Also, the Japanese Master System does not set port $dd with TH input. |
| 90 | 90 | if (!m_is_mark_iii && !m_is_smsj) |
| 91 | 91 | { |
| 92 | 92 | m_port_dd_reg &= ~0x40 | data1; // TH ctrl1 |
| r31481 | r31482 | |
| 278 | 278 | |
| 279 | 279 | if (m_is_smsj) |
| 280 | 280 | { |
| 281 | | // For japanese Master System, set upper 4 bits with TH/TR |
| 281 | // For Japanese Master System, set upper 4 bits with TH/TR |
| 282 | 282 | // direction bits of IO control register, according to Enri's |
| 283 | 283 | // docs (http://www43.tok2.com/home/cmpslv/Sms/EnrSms.htm). |
| 284 | 284 | // This makes the console incapable of using the Light Phaser. |
| r31481 | r31482 | |
| 814 | 814 | |
| 815 | 815 | if (m_is_sdisp) |
| 816 | 816 | { |
| 817 | machine().save().register_postload(save_prepost_delegate(FUNC(sms_state::store_post_load), this)); |
| 818 | |
| 817 | 819 | save_item(NAME(m_store_control)); |
| 818 | 820 | save_item(NAME(m_store_cart_selection_data)); |
| 819 | 821 | |
| r31481 | r31482 | |
| 828 | 830 | sprintf(str,"slot%i",i + 16 + 1); |
| 829 | 831 | m_cards[i] = machine().device<sega8_card_slot_device>(str); |
| 830 | 832 | } |
| 831 | | store_select_cart(m_store_cart_selection_data); |
| 832 | 833 | } |
| 833 | 834 | } |
| 834 | 835 | |
| r31481 | r31482 | |
| 884 | 885 | } |
| 885 | 886 | |
| 886 | 887 | |
| 888 | void sms_state::store_post_load() |
| 889 | { |
| 890 | store_select_cart(m_store_cart_selection_data); |
| 891 | } |
| 892 | |
| 893 | |
| 887 | 894 | // There are two known models of the Store Display Unit: |
| 888 | 895 | // |
| 889 | 896 | // - the one with 16 cart slots and 3 card slots; |