home *** CD-ROM | disk | FTP | other *** search
/ modiromppu / modiromppu.iso / PROGRAMS / ORGPACKS / CDRAM06.ZIP / CDRAM.DOC < prev    next >
Text File  |  1995-03-28  |  9KB  |  211 lines

  1.                           CDRAM version 0.6
  2.                           Diapason, March 1995
  3.  
  4.  
  5.  
  6. This archive should carry the following files:
  7.  
  8.         CDRAM.COM               TSR:       3228 bytes
  9.         CDRAM.DOC               This file: 8536 bytes
  10.         FILE_ID.DIZ
  11.  
  12.  
  13. REQUIRED:       - 386 or better CPU
  14.                 - MSCDEX version 2.1 or better
  15.  
  16.  
  17. INTRODUCTION
  18.  
  19.         CDRAM is a resident cdplayer with common functions like play/pause, 
  20.         next, previous. Its particularity is that it's not memory hungry:
  21.         CDRAM only uses 1488 bytes of RAM. CDRAM is Freeware.  As a reward, 
  22.         you can send me your comments or eventually a bug report.
  23.  
  24.  
  25. USAGE
  26.  
  27.         CDRAM [/? /i /r]
  28.         
  29. /?      Show intructions        
  30. /i      Show usefull information given by MSCDEX
  31.         And all the CD tracks (if one is present in the drive)
  32. /r      Remove CDRAM from memory        
  33.         
  34.         Commands:
  35.  
  36.                 ALT-1: Previous
  37.                 ALT-2: Rewind
  38.                 ALT-3: Play/pause
  39.                 ALT-4: Fast Forward
  40.                 ALT-5: Next/Jump*
  41.  
  42.       * Short note on Jump:
  43.         
  44.         Suppose that track 1 is actually playing and you want to listen to 
  45.         track 8. All you have to do is to type '8' on the keyboard then
  46.         ALT-5 (Important: a CD MUST be playing). CDRAM calculates the track
  47.         number according to the last key typed on the keyboard.  So, this 
  48.         means that this command is limited to tracks 1-9; but there is a
  49.         simple way to reach tracks beyond 9. For more informations, please
  50.         report to the NOTES section below.
  51.  
  52.  
  53. NOTES
  54.  
  55.         - CDRAM also plays data CDROM with one or more audio tracks; it will 
  56.           automatically jumps the first one.
  57.         
  58.         - If you change the compact disk, you have to press play 2 times
  59.           (sometimes).  
  60.  
  61.         - Hotkeys are actually working only in programs who are waiting 
  62.           for a keypress (like DOS, Telemate or WP).
  63.         
  64.         - You can load CDRAM high easily.
  65.  
  66.         * Fast Forward and Rewind do 10 seconds jumps.
  67.           
  68.         * This version includes a new method for memory installation and 
  69.           uses vector 81h for the install-check. This could cause problems
  70.           if other programs use or kill the vector. If this ever happen, 
  71.           CDRAM may refuse to run, to install or to uninstall itself.
  72.           Please contact me and I will add a parameter so you can change 
  73.           (or ignore) the vector number to your needs.
  74.  
  75.         * If CDRAM tells you that it can't be removed from memory without 
  76.           compromising another TSR, it means that this TSR uses the same
  77.           vector as CDRAM does (16h) and it was loaded after CDRAM. The best
  78.           way to handle this is to put CDRAM at the end of your AUTOEXEC.BAT
  79.           file, otherwise CDRAM will be deactivated and won't respond to 
  80.           ALT-x requests anymore. To reactivate, type CDRAM again.
  81.           
  82.         * Second note on the Jump instruction. When you press ALT-5 
  83.           (Next track), I check the last key pressed instead of executing 
  84.           its normal function. Then I convert it in Hex format by 
  85.           substracting 48 (char 0 in ASCII). If the result corresponds to a
  86.           track of the disk in the drive, CDRAM jumps to this track. So, to
  87.           go directly to track 17, you can type 'A' (65 - 48 = 17). Pretty 
  88.           simple eh? All you have to do is to learn the ASCII table! I will 
  89.           give you the codes for tracks 10 to 20:
  90.  
  91.          Track      ASCII Code    Corresponding ASCII character     
  92.  
  93.           10            58              :       
  94.           11            59              ;
  95.           12            60              <
  96.           13            61              =
  97.           14            62              >
  98.           15            63              ?
  99.           16            64              @
  100.           17            65              A
  101.           18            66              B
  102.           19            67              C
  103.           20            68              D       
  104.           etc...
  105.  
  106.  
  107. NOTES OF THE AUTHOR
  108.  
  109.         This software brings nothing new. I firstly did CDRAM for my own use.
  110. My problem was the following: I needed a TSR player, especially usefull with
  111. those never-ending downloads; you don't really have access to your hard disk
  112. meanwhile. I searched through several BBS and on Internet, but all I found
  113. was dissapointing. All the TSR were taking above 10k of RAM and I didn't  
  114. need very sophisticated functions.
  115.  
  116.         With The PC Bible in one hand and a MSCDEX document I found on 
  117. Internet in the other, I started coding. This was not very simple because
  118. all the code is written in Assembly language, the Microsoft document is pure
  119. crap and you can't tell the CDROM drive to "play tracks 1 to N". In fact,
  120. you have to handle 32 bits Red book and HSG addressing ( this is the way to
  121. count the sectors on a CD ) and this is why I've decided to use the extended
  122. 32 bits registers of the 386 processor ( am I lazy or what! ). Everybody got
  123. one, right?
  124.  
  125.         Oh, before I forget, maybe you realized that english is not my native
  126. language. I tried to translate the french document the best way I could.
  127. I'm sorry if I made mistakes, and if so don't be shy to tell me!
  128.  
  129.  
  130. IN THE FUTURE:  - Better keyboard handling
  131.                 - VGA animation on start-up
  132.                 - RANDOM function (probably memory hungry)
  133.                 - Auto-bug-detection (?!?!?)
  134.  
  135. TO CONTACT ME:
  136.  
  137. Christian Michaud
  138. 853 John-West
  139. Ste-Foy, Québec
  140. CANADA 
  141. G1V 3C9
  142.  
  143. Tel:            1-418-657-2135
  144. Internet:       michaudc@ift.ulaval.ca
  145. BBS:            Nouvelle Frontière (418-658-6769)
  146.  
  147.  
  148. TESTED ON:
  149.  
  150.         486DX-33, Sony CDU31A drive, Mscdex 2.23
  151.         486DX2-66, double speed Panasonic drive, Mscdex 2.22
  152.         Pentium 90, Panasonic drive, Mscdex 2.23
  153.         386DX-33, Mitsumi drive, Mscdex 2.23
  154.         486DX-50 EISA, external Sony SCSI drive, Mscdex 2.20
  155.         386DX-33, Panasonic drive, Mscdex 2.23
  156.  
  157.  
  158. HISTORY
  159.  
  160. Version         Comments
  161. -------         --------
  162.  
  163. - 0.6           * You now have to type CDRAM /r to remove CDRAM from 
  164.   March 95        memory.
  165.                 * You can display tracks with cdram /i.
  166.                 - A big part of the code has been re-written to remove
  167.                   some bugs. For example, one stupid bug that uses
  168.                   to hang your computer (sometimes) when parameters were
  169.                   found on the command line...
  170.                 - You will now have 48 bytes more free memory!
  171.                   Yep, CDRAM drops to 1488 bytes.
  172.  
  173. - 0.5           * At last, parameters on command line: no more useless text
  174.   Feb. 95         on the screen
  175.                 * Hotkeys have slightly changed places to let space for Fast
  176.                   Forward and Rewind
  177.                 * First english version
  178.                 - Better merory management (I think!)
  179.                 - CDRAM should now refuse to run on 8088 and 286 computers
  180.                   instead of stupidly hanging the machine like in previous
  181.                   versions. The problem is that I don't know if it works!
  182.                   Maybe you can try that for me if you can get that old XT 
  183.                   out of the attic? Please send me a message! 
  184.                 - CDRAM now takes 1536 bytes of memory.                
  185.  
  186. - 0.4           - No more infinate loop if your drive supports interlacing 
  187.   Jan. 95       - Minor bug in Jump command corrected
  188.  
  189. - 0.3b          - First "secure" version. In fact, I did not receive a lot
  190.   Dec. 94         of echos from those who tried it, so I suppose nothing went 
  191.                   wrong. Well, I hope so!
  192.                 * Jump instruction added -> CDRAM now takes 1344 bytes
  193.  
  194. - Beta          - Computer don't hang anymore if MSCDEX is not detected.
  195.   Dec. 94       * Stop is replaced by Pause.
  196.                 - Elimination of redundant code, back down to 1312 bytes.
  197.  
  198. - Alpha         First version. Uploaded on some BBS. Only one people seems 
  199.   Nov. 94       interested. Uses 1440 of RAM.
  200.  
  201.  
  202.  
  203. GREETINGS (in random order)
  204.  
  205. Sediment, but, plane, Per-Ivar Knutsen, The Henker, Numide, Pintoman,
  206. Coach, Micheline Lesage, Rico, Martin Bouchard, Proxima, Michel Delisle,
  207. Frank, all GUSsers, all Internet Freaks, all coders around the world.
  208.  
  209.  
  210.  
  211.