home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / cbatools / !CBAdecode / !Run < prev    next >
Encoding:
Text File  |  1992-05-26  |  983 b   |  25 lines

  1. | Run file for CBAdecode (for Desktop operation)
  2. | Jason Williams '92
  3.  
  4. RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.CLib
  5.  
  6. Set CBAdecode$Dir <Obey$Dir>
  7. IconSprites <CBAdecode$Dir>.!Sprites
  8.  
  9. WimpSlot -min 48k -max 48k
  10.  
  11. | In the following command,
  12. | -d means run in desktop mode
  13. | -b sets the buffer size in kilobytes. A value of < 5 means use the default
  14. |    operating-system buffers (4k). A value of 16 gives about the best time/
  15. |    memory performance. This option has less effect with faster drives
  16. |    (on floppy, no buffering took 150% longer than 16k buffers, but on my
  17. |    Quantum 105LPS hard drive, I couldn't time the difference by hand!)
  18. |    However, the 16k buffer is a good default, and even on good hard drives
  19. |    tends to reduce the seeking and thrashing...
  20. |
  21. |    *TWO* buffers of this size are used, so "-b 16" adds 32k to the current
  22. |    WimpSlot size (No, you don't need to change the WimpSlot command above)
  23.  
  24. Run <CBAdecode$Dir>.CBAdecode -d -b 16 %*0
  25.