home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 19 / AACD19.BIN / CDTools / Players / DeliTracker / Bonus / sega.lha / sega.doc
Text File  |  2000-08-06  |  8KB  |  172 lines

  1.  
  2. Software and documentation Copyright (C) 2000 by Gaelan Griffin, FREEWARE
  3.  
  4. Z80 emulation code Copyright (C) Hans Guijt 1994-2000
  5.  
  6. 76489 emulation code Copyright (C) Juan Antonio Gómez Gálvez 1997-2000
  7.  
  8. Sega, SEGA, Master System, and Game Gear are registered trademarks of
  9. Sega Enterprises, Ltd.
  10.  
  11. This piece of software has no name.  No file name that is associated
  12. with this software or any words used to describe or identify this
  13. software shall constitute any sort of challenge to any rights owned
  14. by any entity, legal or otherwise.  In particular, the use of the
  15. word "SEGA®" within the program is meant only to describe the function
  16. of the software and is not meant as any sort of intellectual property.
  17.  
  18.  This software is provided 'as-is', without any express or implied
  19.  warranty. In no event shall the authors be held liable for any damages
  20.  arising from the use of this software.
  21.  
  22.  
  23.  
  24. Introduction:
  25.  
  26. This is a DeliPlayer that will attempt to play music from many games
  27. written for the Master System, Game Gear, and SG-1000 through emulation.
  28.  
  29. Big thanks go to Hans and Juan for their sources which are an integral
  30. part of this program.  They wrote the CPU emulation code and the
  31. sound code respectively.
  32.  
  33.  
  34.  
  35. Requirements:
  36.  
  37. - A 68020 Amiga or better
  38. - A DeliTracker version that implements the noteplayer interface
  39. - Suitable ROM files to play (see below for more information)
  40.  
  41.  
  42. Installation:
  43.  
  44. None, just load it into DeliTracker.  Copy it into your DeliPlayers
  45. directory to make it even simpler.  Deinstallation is just as
  46. easy: delete the file.  I think we need to have fewer programs
  47. that need to be "installed."  Software should just RUN without
  48. copying extra files to your disks or changing your Startup-Sequence.
  49.  
  50.  
  51.  
  52. How it works:
  53.  
  54. In order to prevent the proliferation of inferior file formats
  55. I have made the decision NOT to use any sort of file format for
  56. the music that this emulator plays.  In order to get around the
  57. need for a file format I have taken an unusual approach: this
  58. emulator plays music directly out of a ROM file.  When a ROM
  59. file is detected the player scans the code in two passes looking
  60. for replay types that it knows.  If it finds one, it will emulate
  61. it.  If not, it will try to play the music anyway by using the
  62. interrupt vector, which works in some rare cases.  It attempts to
  63. change songs with fake input.  It will probably be necessary to create
  64. a new file format, however, I do not wish to create a file format
  65. that has an inferior design or is similar enough to other file
  66. formats that it would seem redundant.  I hope to create a file
  67. format that can be shared by music emulators for many 8-bit systems,
  68. perhaps even a universal file format.  Realistically though, this
  69. may never happen because it would be a tremendous amount of work for
  70. one person.  In any event, please do not attempt to create yet another
  71. file format for these or similar systems without contacting me first.
  72.  
  73. The ROM files that this player loads are raw binary dumps of a game
  74. cartridge.  It can handle various ROM "formats" which are nothing
  75. more than a useless header or ignored data appended after the ROM file.
  76. It is impossible to detect ROM files with complete accuracy, but
  77. nearly all ROM files for the supported systems will be detected.
  78. Those files that cannot be detected usually cannot be played either.
  79. Although the detection code is highly accurate it is still possible
  80. that some files could be misidentified.  It is extremely unlikely
  81. that any normal music files will be misidentified, however ROM files
  82. for similar systems that use a Z80 as a primary CPU could be falsely
  83. identified, in theory.  This player knows how to identify certain ROM
  84. files from other systems, and will ignore them, but there may be other
  85. systems with ROM files that are currently unknown to this player.
  86. If this player ever misidentifies a file, and you care, contact me.
  87.  
  88. After a ROM file has been identified the ripping occurs in two passes.
  89. The first pass checks for replays at the beginning of each bank, which
  90. is the usual place for replays. If this is unsuccessful it will go
  91. through the entire file, checking part of each bank as it goes along.
  92. This may take several seconds depending on the file size and your
  93. machine but is the only way to find certain replays.
  94.  
  95. The player currently knows six major replay types and can handle
  96. numerous, but not all, variations of these replays.  I am also aware
  97. of some other replay types which may be added in the future but
  98. have not been implemented yet to speed up the detection process.
  99. Subsongs range checking is partially supported, however it is still
  100. possible for sound effects and non-music data to be played.  I am not
  101. aware of any way to detect this, at this time.  In some cases the first
  102. couple of subsongs may be silent so it is a good idea to try playing
  103. the first two or three subsongs before giving up.
  104.  
  105.  
  106.  
  107. Known Problems and Caveats:
  108.  
  109. It may take several seconds for the music to start playing,
  110. especially on slower systems and depending on the file.  The
  111. reason for this is stated elsewhere in the documentation which
  112. few people will bother to read.
  113.  
  114. If you force a noteplayer that mixes the audio data then you
  115. should set the mixing frequency as high as possible.  For the best
  116. audio quality you should use the Paula noteplayer.
  117.  
  118. This player uses a large amount of CPU interrupt time which can
  119. cause problems with other programs.  There are some programs which
  120. have a tendency to lock up the machine if a large volume of high
  121. priority CPU time is being used.  Perhaps it is just a coincidence
  122. that these tend to be MUI programs, but nevertheless, you should
  123. exercise caution when using other programs concurrently with this
  124. player, especially in those situations when a system crash could
  125. cause the loss of important data or damage your disk media.
  126.  
  127. Emulated replays that crash should not lock up the system because
  128. the emulator will keep track of the number of emulated cycles over
  129. a period of time and shutdown the emulation if it reaches a certain
  130. point.  It is still possible that your machine could lock up if the
  131. player does not get enough CPU time in the interrupt because this
  132. could prevent all tasks from running, thus preventing you from giving
  133. the necessary commands to halt the player.  Although this is unlikely
  134. to happen under normal circumstances, individuals with slower machines
  135. should be aware of this possibility.
  136.  
  137. In some instances a bad subsong will cause a replay to crash.  If this
  138. occurs it should still be possible to listen to the other subsongs by
  139. stopping the player and changing the subsong number before resuming
  140. play.  This will reinitialize the player and allow you to continue
  141. listening to the other subsongs.  Note, however, that your player
  142. program may attempt to change modules when the player shuts down the
  143. emulation depending on your configuration and other circumstances.
  144.  
  145. Although the Z80 emulation code has not been fully adapted for this
  146. player it has been thouroughly tested with many files and none of them
  147. caused the machine to crash outright.  However, it may still be possible
  148. for this player to crash under some circumstances.  There have been a
  149. few system crashes during the development of this program that have
  150. not been accounted for.  Please be cautious when using this player and
  151. report any failures you experience.
  152.  
  153.  
  154.  
  155. The Future:
  156.  
  157. We have no future.
  158.  
  159.  
  160. Contact:
  161.  
  162. Gaelan Griffin / chinoclast@softhome.net
  163.  
  164.  
  165. History:
  166.  
  167. 3.8.2000 - Included in the DeliTracker distribution
  168.  
  169.  
  170.  
  171. But when will I be happy?
  172.