# this config file was generated with the help of
# xmode2-0.7.0 on 2004-11-11
#
# contributed by Adrien Beau <adrien.put_my_name_here@free.fr>
#
# brand:                       Marantz
# model no. of remote control: RMC-73
# device being controlled by this remote: Marantz sound & video system
#
# This remote was produced when the Marantz brand was owned by
# Philips. Consequently, it can drive any device that understands
# Philips' RC5 encoding -- provided it is a TV, a VCR, a Laserdisc
# player, a radio tuner, an audio cassette player, a CD player, or
# a phonograph. You can see it as an eight-in-one non-programmable
# remote. Another consequence: if you break your RMC-73, you can
# use other Philips remotes to control your Marantz system.
#
# The timings and protocol information were obtained from
# http://www.ustr.net/infrared/index.shtml
# This helped me ensure that the information below is accurate and
# can be used as a basis for other Philips/RC5 remotes. I tuned
# the "gap" a little bit so I would get better key repeats.

begin remote

  name  Marantz_RMC-73
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           864   864
  zero          864   864
  plead         864
  gap          125000
  toggle_bit      2
  frequency    37037

#	Descriptive Key Name		Code		Real Function
      begin codes
#         These are the "System Select" keys. They change which
#         mode the Marantz system and the remote are in. Most keys
#         on the remote emit a different code for each of the nine
#         possible modes (Amp mode doesn't have a dedicated key).
	'TV'                  0x000000000000103F    # TV
	'VCR1'                0x000000000000117F    # VCR1
	'VCR2'                0x00000000000011BF    # VCR2
	'LV'                  0x000000000000133F    # LV
	'FM/AM'               0x000000000000147F    # FM/AM
	'TAPE'                0x00000000000014BF    # Tape
	'CD'                  0x000000000000153F    # CD
	'PHONO'               0x000000000000157F    # Phono

#         This key always sends the same code, except in TV mode.
          Amp_Sleep                0x0000000000001426	# Sleep Timer

#         These keys always send the same code.
	'AMP_BALANCE_FRONT'   0x0000000000001428    # Amp_Balance_Front
	'AMP_BALANCE_REAR'    0x0000000000001427    # Amp_Balance_Rear

#         These keys always send the same code.
#         They switch the system and the remote to Amp mode.
          Amp_Acou                 0x000000000000142F  # Acoustic Memory Select
          Amp_GEQ                  0x000000000000141C  # Graph Equal Left&Right

#         These keys always send the same code.
#         They switch the system and the remote to Tape mode.
	'TAPE_DECK_A'         0x00000000000014AC    # Tape_Deck_A
	'TAPE_DECK_B'         0x00000000000014AE    # Tape_Deck_B

#         These are the codes sent by the keys in TV mode.
#         The Play, Pause, Stop, Reverse, Fast_Backward,
#         Fast_Forward, Record, and Record_Blank keys send no
#         codes in TV mode.
	'TV_STANDBY'          0x000000000000100C    # TV_Standby
          TV_Sleep                 0x0000000000001026	# Sleep Timer
	'TV_VOLUME_UP'        0x0000000000001010    # TV_Volume_Up
	'TV_VOLUME_DOWN'      0x0000000000001011    # TV_Volume_Down
	'TV_MUTE'             0x000000000000100D    # TV_Mute
	'TV_BALANCE_LEFT'     0x000000000000101B    # TV_Balance_Left
	'TV_BALANCE_RIGHT'    0x000000000000101A    # TV_Balance_Right
          TV_Mode                  0x0000000000001023	# Language Select, I-II
	'TV_-/--'             0x000000000000100A    # TV_-/--
          TV_Ch/Pgm                0x000000000000100B	# Channel/Program
	'TV_ONE'              0x0000000000001001    # TV_One
	'TV_TWO'              0x0000000000001002    # TV_Two
	'TV_THREE'            0x0000000000001003    # TV_Three
	'TV_FOUR'             0x0000000000001004    # TV_Four
	'TV_FIVE'             0x0000000000001005    # TV_Five
	'TV_SIX'              0x0000000000001006    # TV_Six
	'TV_SEVEN'            0x0000000000001007    # TV_Seven
	'TV_EIGHT'            0x0000000000001008    # TV_Eight
	'TV_NINE'             0x0000000000001009    # TV_Nine
	'TV_ZERO'             0x0000000000001000    # TV_Zero
          TV_Minus                 0x0000000000001021	# Program Down
          TV_Plus                  0x0000000000001020	# Program Up

#         These are the codes sent by the keys in VCR1 mode.
#         The Record_Blank key sends no code in VCR1 mode.
	'VCR1_STANDBY'        0x000000000000114C    # VCR1_Standby
	'VCR1_VOLUME_UP'      0x0000000000001150    # VCR1_Volume_Up
	'VCR1_VOLUME_DOWN'    0x0000000000001151    # VCR1_Volume_Down
	'VCR1_MUTE'           0x000000000000114D    # VCR1_Mute
	'VCR1_BALANCE_LEFT'   0x000000000000115B    # VCR1_Balance_Left
	'VCR1_BALANCE_RIGHT'  0x000000000000115A    # VCR1_Balance_Right
          VCR1_Mode                0x0000000000001163	# Audio Output Select
	'VCR1_-/--'           0x000000000000114A    # VCR1_-/--
	'VCR1_CH/PGM'         0x000000000000114B    # VCR1_Ch/Pgm
	'VCR1_ONE'            0x0000000000001141    # VCR1_One
	'VCR1_TWO'            0x0000000000001142    # VCR1_Two
	'VCR1_THREE'          0x0000000000001143    # VCR1_Three
	'VCR1_FOUR'           0x0000000000001144    # VCR1_Four
	'VCR1_FIVE'           0x0000000000001145    # VCR1_Five
	'VCR1_SIX'            0x0000000000001146    # VCR1_Six
	'VCR1_SEVEN'          0x0000000000001147    # VCR1_Seven
	'VCR1_EIGHT'          0x0000000000001148    # VCR1_Eight
	'VCR1_NINE'           0x0000000000001149    # VCR1_Nine
	'VCR1_ZERO'           0x0000000000001140    # VCR1_Zero
          VCR1_Minus               0x0000000000001161	# Step Down
          VCR1_Plus                0x0000000000001160	# Step Up
	'VCR1_PLAY'           0x0000000000001175    # VCR1_Play
	'VCR1_PAUSE'          0x0000000000001170    # VCR1_Pause
	'VCR1_STOP'           0x0000000000001176    # VCR1_Stop
          VCR1_Reverse             0x000000000000116F	# Play Reverse
	'VCR1_REWIND'         0x0000000000001172    # VCR1_Rewind
	'VCR1_FAST_FORWARD'   0x0000000000001174    # VCR1_Fast_Forward
	'VCR1_RECORD'         0x0000000000001177    # VCR1_Record

#         These are the codes sent by the keys in VCR2 mode.
#         The Record_Blank key sends no code in VCR2 mode.
	'VCR2_STANDBY'        0x000000000000118C    # VCR2_Standby
	'VCR2_VOLUME_UP'      0x0000000000001190    # VCR2_Volume_Up
	'VCR2_VOLUME_DOWN'    0x0000000000001191    # VCR2_Volume_Down
	'VCR2_MUTE'           0x000000000000118D    # VCR2_Mute
	'VCR2_BALANCE_LEFT'   0x000000000000119B    # VCR2_Balance_Left
	'VCR2_BALANCE_RIGHT'  0x000000000000119A    # VCR2_Balance_Right
          VCR2_Mode                0x00000000000011A3	# Audio Output Select
	'VCR2_-/--'           0x000000000000118A    # VCR2_-/--
	'VCR2_CH/PGM'         0x000000000000118B    # VCR2_Ch/Pgm
	'VCR2_ONE'            0x0000000000001181    # VCR2_One
	'VCR2_TWO'            0x0000000000001182    # VCR2_Two
	'VCR2_THREE'          0x0000000000001183    # VCR2_Three
	'VCR2_FOUR'           0x0000000000001184    # VCR2_Four
	'VCR2_FIVE'           0x0000000000001185    # VCR2_Five
	'VCR2_SIX'            0x0000000000001186    # VCR2_Six
	'VCR2_SEVEN'          0x0000000000001187    # VCR2_Seven
	'VCR2_EIGHT'          0x0000000000001188    # VCR2_Eight
	'VCR2_NINE'           0x0000000000001189    # VCR2_Nine
	'VCR2_ZERO'           0x0000000000001180    # VCR2_Zero
          VCR2_Minus               0x00000000000011A1	# Step Down
          VCR2_Plus                0x00000000000011A0	# Step Up
	'VCR2_PLAY'           0x00000000000011B5    # VCR2_Play
	'VCR2_PAUSE'          0x00000000000011B0    # VCR2_Pause
	'VCR2_STOP'           0x00000000000011B6    # VCR2_Stop
          VCR2_Reverse             0x00000000000011AF	# Play Reverse
	'VCR2_REWIND'         0x00000000000011B2    # VCR2_Rewind
	'VCR2_FAST_FORWARD'   0x00000000000011B4    # VCR2_Fast_Forward
	'VCR2_RECORD'         0x00000000000011B7    # VCR2_Record

#         These are the codes sent by the keys in LV mode.
#         The -/--, Reverse, Record, and Record_Blank keys send no
#         code in LV mode.
	'LV_STANDBY'          0x000000000000130C    # LV_Standby
	'LV_VOLUME_UP'        0x0000000000001310    # LV_Volume_Up
	'LV_VOLUME_DOWN'      0x0000000000001311    # LV_Volume_Down
	'LV_MUTE'             0x000000000000130D    # LV_Mute
	'LV_BALANCE_LEFT'     0x000000000000131B    # LV_Balance_Left
	'LV_BALANCE_RIGHT'    0x000000000000131A    # LV_Balance_Right
          LV_Mode                  0x0000000000001323	# Stereo Left/Right
          LV_Memo                  0x0000000000001321	# Memory
	'LV_ONE'              0x0000000000001301    # LV_One
	'LV_TWO'              0x0000000000001302    # LV_Two
	'LV_THREE'            0x0000000000001303    # LV_Three
	'LV_FOUR'             0x0000000000001304    # LV_Four
	'LV_FIVE'             0x0000000000001305    # LV_Five
	'LV_SIX'              0x0000000000001306    # LV_Six
	'LV_SEVEN'            0x0000000000001307    # LV_Seven
	'LV_EIGHT'            0x0000000000001308    # LV_Eight
	'LV_NINE'             0x0000000000001309    # LV_Nine
	'LV_ZERO'             0x0000000000001300    # LV_Zero
          LV_Minus                 0x0000000000001324	# Previous
          LV_Plus                  0x000000000000131E	# Next
	'LV_PLAY'             0x0000000000001335    # LV_Play
	'LV_PAUSE'            0x0000000000001330    # LV_Pause
          LV_Stop                  0x000000000000132D	# Open/Close (Eject)
          LV_Fast_Backward         0x000000000000132C	# Scan Reverse
          LV_Fast_Forward          0x000000000000132E	# Scan Forward

#         These are the codes sent by the keys in FM/AM mode.
#         The Play, Pause, Stop, Reverse, Fast_Backward, Fast_Forward,
#         Record, and Record_Blank keys send no codes in FM/AM mode.
	'FM/AM_STANDBY'       0x000000000000144C    # FM/AM_Standby
	'FM/AM_VOLUME_UP'     0x0000000000001450    # FM/AM_Volume_Up
	'FM/AM_VOLUME_DOWN'   0x0000000000001451    # FM/AM_Volume_Down
	'FM/AM_MUTE'          0x000000000000144D    # FM/AM_Mute
	'FM/AM_BALANCE_LEFT'  0x000000000000145B    # FM/AM_Balance_Left
	'FM/AM_BALANCE_RIGHT'  0x000000000000145A    # FM/AM_Balance_Right
          FM/AM_Mode               0x0000000000001465	# Mono/Stereo
	'FM/AM_-/--'          0x000000000000144A    # FM/AM_-/--
          FM/AM_Ch/Pgm             0x000000000000144B	# No Effect
	'FM/AM_ONE'           0x0000000000001441    # FM/AM_One
	'FM/AM_TWO'           0x0000000000001442    # FM/AM_Two
	'FM/AM_THREE'         0x0000000000001443    # FM/AM_Three
	'FM/AM_FOUR'          0x0000000000001444    # FM/AM_Four
	'FM/AM_FIVE'          0x0000000000001445    # FM/AM_Five
	'FM/AM_SIX'           0x0000000000001446    # FM/AM_Six
	'FM/AM_SEVEN'         0x0000000000001447    # FM/AM_Seven
	'FM/AM_EIGHT'         0x0000000000001448    # FM/AM_Eight
	'FM/AM_NINE'          0x0000000000001449    # FM/AM_Nine
	'FM/AM_ZERO'          0x0000000000001440    # FM/AM_Zero
          FM/AM_Minus              0x0000000000001461	# Preset Down
          FM/AM_Plus               0x0000000000001460	# Preset Up

#         These are the codes sent by the keys in Tape mode.
#         The Mode key sends no code in Tape mode.
	'TAPE_STANDBY'        0x000000000000148C    # Tape_Standby
	'TAPE_VOLUME_UP'      0x0000000000001490    # Tape_Volume_Up
	'TAPE_VOLUME_DOWN'    0x0000000000001491    # Tape_Volume_Down
	'TAPE_MUTE'           0x000000000000148D    # Tape_Mute
	'TAPE_BALANCE_LEFT'   0x000000000000149B    # Tape_Balance_Left
	'TAPE_BALANCE_RIGHT'  0x000000000000149A    # Tape_Balance_Right
          Tape_AMS                 0x00000000000014AB	# Auto Music Search
          Tape_Memo                0x00000000000014A9	# Memorize Position
	'TAPE_ONE'            0x0000000000001481    # Tape_One
	'TAPE_TWO'            0x0000000000001482    # Tape_Two
	'TAPE_THREE'          0x0000000000001483    # Tape_Three
	'TAPE_FOUR'           0x0000000000001484    # Tape_Four
	'TAPE_FIVE'           0x0000000000001485    # Tape_Five
	'TAPE_SIX'            0x0000000000001486    # Tape_Six
	'TAPE_SEVEN'          0x0000000000001487    # Tape_Seven
	'TAPE_EIGHT'          0x0000000000001488    # Tape_Eight
	'TAPE_NINE'           0x0000000000001489    # Tape_Nine
	'TAPE_ZERO'           0x0000000000001480    # Tape_Zero
          Tape_Minus               0x00000000000014A1	# Find Previous Track
          Tape_Plus                0x00000000000014A0	# Find Next Track
	'TAPE_PLAY'           0x00000000000014B5    # Tape_Play
	'TAPE_PAUSE'          0x00000000000014B0    # Tape_Pause
	'TAPE_STOP'           0x00000000000014B6    # Tape_Stop
          Tape_Reverse             0x00000000000014AF	# Reverse Play
	'TAPE_FAST_BACKWARD'  0x00000000000014B2    # Tape_Fast_Backward
	'TAPE_FAST_FORWARD'   0x00000000000014B4    # Tape_Fast_Forward
	'TAPE_RECORD'         0x00000000000014B7    # Tape_Record
	'TAPE_RECORD_BLANK'   0x00000000000014AA    # Tape_Record_Blank

#         These are the codes sent by the keys in CD mode.
#         The Mode, Reverse, Record, and Record_Blank keys send no
#         codes in CD mode.
	'CD_STANDBY'          0x000000000000150C    # CD_Standby
	'CD_VOLUME_UP'        0x0000000000001510    # CD_Volume_Up
	'CD_VOLUME_DOWN'      0x0000000000001511    # CD_Volume_Down
	'CD_MUTE'             0x000000000000150D    # CD_Mute
	'CD_BALANCE_LEFT'     0x000000000000151B    # CD_Balance_Left
	'CD_BALANCE_RIGHT'    0x000000000000151A    # CD_Balance_Right
          CD_AMS                   0x000000000000152B	# Scan Tracks
          CD_Memo                  0x0000000000001529	# Program Tracks
	'CD_ONE'              0x0000000000001501    # CD_One
	'CD_TWO'              0x0000000000001502    # CD_Two
	'CD_THREE'            0x0000000000001503    # CD_Three
	'CD_FOUR'             0x0000000000001504    # CD_Four
	'CD_FIVE'             0x0000000000001505    # CD_Five
	'CD_SIX'              0x0000000000001506    # CD_Six
	'CD_SEVEN'            0x0000000000001507    # CD_Seven
	'CD_EIGHT'            0x0000000000001508    # CD_Eight
	'CD_NINE'             0x0000000000001509    # CD_Nine
	'CD_ZERO'             0x0000000000001500    # CD_Zero
          CD_Minus                 0x0000000000001521	# Previous
          CD_Plus                  0x0000000000001520	# Next
	'CD_PLAY'             0x0000000000001535    # CD_Play
	'CD_PAUSE'            0x0000000000001530    # CD_Pause
	'CD_STOP'             0x0000000000001536    # CD_Stop
	'CD_FAST_BACKWARD'    0x0000000000001532    # CD_Fast_Backward
	'CD_FAST_FORWARD'     0x0000000000001534    # CD_Fast_Forward

#         These are the codes sent by the keys in Phono mode.
#         The Mode, -/--, Minus, Plus, Reverse, Record, and
#         Record_Blank keys send no codes in Phono mode.
	'PHONO_STANDBY'       0x000000000000154C    # Phono_Standby
	'PHONO_VOLUME_UP'     0x0000000000001550    # Phono_Volume_Up
	'PHONO_VOLUME_DOWN'   0x0000000000001551    # Phono_Volume_Down
	'PHONO_MUTE'          0x000000000000154D    # Phono_Mute
	'PHONO_BALANCE_LEFT'  0x000000000000155B    # Phono_Balance_Left
	'PHONO_BALANCE_RIGHT'  0x000000000000155A    # Phono_Balance_Right
          Phono_Memo               0x0000000000001569	# Store Execute?
	'PHONO_ONE'           0x0000000000001541    # Phono_One
	'PHONO_TWO'           0x0000000000001542    # Phono_Two
	'PHONO_THREE'         0x0000000000001543    # Phono_Three
	'PHONO_FOUR'          0x0000000000001544    # Phono_Four
	'PHONO_FIVE'          0x0000000000001545    # Phono_Five
	'PHONO_SIX'           0x0000000000001546    # Phono_Six
	'PHONO_SEVEN'         0x0000000000001547    # Phono_Seven
	'PHONO_EIGHT'         0x0000000000001548    # Phono_Eight
	'PHONO_NINE'          0x0000000000001549    # Phono_Nine
	'PHONO_ZERO'          0x0000000000001540    # Phono_Zero
	'PHONO_PLAY'          0x0000000000001575    # Phono_Play
	'PHONO_PAUSE'         0x0000000000001570    # Phono_Pause
	'PHONO_STOP'          0x0000000000001576    # Phono_Stop
	'PHONO_FAST_BACKWARD'  0x0000000000001572    # Phono_Fast_Backward
	'PHONO_FAST_FORWARD'  0x0000000000001574    # Phono_Fast_Forward

#         These are the codes sent by the keys in Amp mode.
#         The -/--, Play, Pause, Stop, Reverse, Fast_Backward,
#         Fast_Forward, Record, and Record_Blank keys send no
#         codes in Amp mode.
	'AMP_STANDBY'         0x000000000000140C    # Amp_Standby
	'AMP_VOLUME_UP'       0x0000000000001410    # Amp_Volume_Up
	'AMP_VOLUME_DOWN'     0x0000000000001411    # Amp_Volume_Down
	'AMP_MUTE'            0x000000000000140D    # Amp_Mute
	'AMP_BALANCE_LEFT'    0x000000000000141B    # Amp_Balance_Left
	'AMP_BALANCE_RIGHT'   0x000000000000141A    # Amp_Balance_Right
          Amp_Mode                 0x0000000000001425	# Surround Mode
          Amp_Memo                 0x000000000000142E	# Acoustic Memory
          Amp_One                  0x0000000000001401	# Select Memory 1, M1
          Amp_Two                  0x0000000000001402	# Select Memory 2, M2
          Amp_Three                0x0000000000001403	# Select Memory 3, M3
          Amp_Four                 0x0000000000001404	# Select Memory 4, M4
          Amp_Five                 0x0000000000001405	# Select Music Preset
          Amp_Six                  0x0000000000001406	# Select Movie Preset
	'AMP_SEVEN'           0x0000000000001407    # Amp_Seven
	'AMP_EIGHT'           0x0000000000001408    # Amp_Eight
	'AMP_NINE'            0x0000000000001409    # Amp_Nine
          Amp_Zero                 0x0000000000001400	# Reset Equalizer
          Amp_Minus                0x0000000000001421	# Step Down
          Amp_Plus                 0x0000000000001420	# Step Up
      end codes

end remote
