Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heathkit/h89.cpp: Add dip switch settings for Ultimeth ROM #11839

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 31 additions & 0 deletions src/mame/heathkit/h89.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,36 @@ static INPUT_PORTS_START( h89 )
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x80, "Auto" )

// Ultimeth MTRHEX-4k
// (values based on testing and comparison to Kres KMR-100 docs which shared code with this version)
PORT_DIPNAME( 0x0f, 0x00, "Default Boot Device" ) PORT_DIPLOCATION("SW501:1,2,3,4") PORT_CONDITION("CONFIG", 0x3c, EQUALS, 0x18)
PORT_DIPSETTING( 0x00, "H-17 hard-sectored 5\" floppy units" )
PORT_DIPSETTING( 0x01, "H-37 soft-sectored 5\" floppy units" )
PORT_DIPSETTING( 0x02, "? Corvus hard disk/Magnolia interface" )
PORT_DIPSETTING( 0x03, "? CDR 5\"/8\" double density floppy" )
PORT_DIPSETTING( 0x04, "? H-47 8\" floppy at port 0x78/0170" )
PORT_DIPSETTING( 0x05, "? H-47 8\" floppy at port 0x7c/0174" )
PORT_DIPSETTING( 0x06, "?" )
PORT_DIPSETTING( 0x07, "?" )
PORT_DIPSETTING( 0x08, "?" )
PORT_DIPSETTING( 0x09, "? SASI controller or Z-67 at port 0x78/0170" )
PORT_DIPSETTING( 0x0a, "? SASI controller or Z-67 at port 0x7c/0174" )
PORT_DIPSETTING( 0x0b, "? Livingston 8\" single density floppy" )
PORT_DIPSETTING( 0x0c, "? Magnolia 5\"/8\" double density floppy" )
PORT_DIPSETTING( 0x0d, "?" )
PORT_DIPSETTING( 0x0e, "?" )
PORT_DIPSETTING( 0x0f, "? Magnolia 128K pseudo disk" )
PORT_DIPNAME( 0x10, 0x00, "Unknown" ) PORT_DIPLOCATION("SW501:5") PORT_CONDITION("CONFIG", 0x3c, EQUALS, 0x18)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s a DEF_STR for “Unknown”.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, you should still provide Off/On settings for unknown or unused DIP switches so people can twiddle them.

PORT_DIPNAME( 0x20, 0x20, "Perform memory test at start" ) PORT_DIPLOCATION("SW501:6") PORT_CONDITION("CONFIG", 0x3c, EQUALS, 0x18)
PORT_DIPSETTING( 0x20, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
PORT_DIPNAME( 0x40, 0x00, "? LLL controller" ) PORT_DIPLOCATION("SW501:7") PORT_CONDITION("CONFIG", 0x3c, EQUALS, 0x18)
PORT_DIPSETTING( 0x00, "? No LLL controller" )
PORT_DIPSETTING( 0x40, "? LLL controller" )
PORT_DIPNAME( 0x80, 0x00, "Boot mode" ) PORT_DIPLOCATION("SW501:8") PORT_CONDITION("CONFIG", 0x3c, EQUALS, 0x18)
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x80, "Auto" )


PORT_START("CONFIG")
PORT_CONFNAME(0x03, 0x00, "CPU Clock Speed Upgrade")
Expand All @@ -401,6 +431,7 @@ static INPUT_PORTS_START( h89 )
PORT_CONFSETTING(0x0c, "Heath MTR-89")
PORT_CONFSETTING(0x10, "MMS 84B")
PORT_CONFSETTING(0x14, "Kres KMR-100")
PORT_CONFSETTING(0x18, "Ultimeth MTRHEX-4k")

INPUT_PORTS_END

Expand Down