home *** CD-ROM | disk | FTP | other *** search
-
-
-
- P - F I X L I B. V1.2
-
-
- P-FixLib is a programme that patches various library functions to allow
- WorkBench to treat files compressed with P-Compress as normal files. It
- works with executables, libraries, icons, handlers, texts, fonts - anything.
-
- Installation
-
- No special libraries or handlers are needed. (but Arp Library is useful).
- In Workbench double-click the icon.
- From a CLI call "P-Fixlib".
- P-FixLib and its icon should not be compressed.
- IconX (and probably XIcon) script files should not be compressed.
-
- Start-up
-
- System 2.0 - Drag the icon into the WBStartup drawer.
-
- System 1.3 - call P-FixLib in the start-up sequence and delete any call
- to close the cli. No need to RUN or RUNBACK. The MountList (in :Devs)
- and any commands or executables called during startup must not be
- compressed. (not all calls are detailed in the startup-sequence and some
- experiments may be needed before everything opens properly).
-
- Removal:
- In Workbench double-click the icon again.
- From a CLI call "P-FixLib" again.
-
- Operation:
-
- System2.0: Compressed programmes/files etc can be called either from
- Workbench or CLI, and will work as though they had not been compressed.
- Uncompressed programes will of course also work normally.
-
- System 1.3: Compressed executables may be called from WorkBench only.
- The 1.3 Shell does not use DOS library when loading executables and as
- with all programmes of this type CLI-only executables should be left
- uncrunched (including the WorkBench 'C' directory). Libraries, fonts,
- icons can be compressed, and will operate normally.
-
- While P-Fixlib is in operation any calls through the DOS library to
- Examine a file for fib_size will return the decompressed length, not the
- original compressed length . Since any attempt to Open or use the
- file will access its decompressed image it is the uncompressed length that
- will be needed. Saving a previously compressed file (eg from a Text
- Editor after changes have been made) will save in uncompressed form - make
- sure that there is room for it.
-
- P-Compress should not be used to compress files while P-FixLib is running
- since there is no way in which it can tell whether a file is already
- compressed or not.
-
- Files should have been compressed using P-Compress. No special settings
- are needed and all types of file including icons, libraries, fonts, can be
- handled. P-Compress Packs are excluded unless first unpacked. A complete
- disk can be compressed for use with P-FixLib with just a single application
- of P-Compress. (first make sure that there is free space on the disk for
- the first files to use as working space).
-
- Technical
-
- The programme uses the now familiar technique of altering vectors in DOS
- library so that calls to Open or LoadSeg are diverted to a de-compression
- routine before being returned to DOS control. The patched functions are
- Open, Close, LoadSeg, UnLoadSeg, Write, and Examine. P-Fixlib is unlikely
- to be compatible with any other function that similarly patches DOS
- library. P-Fixlib should be terminated before any such programme is used,
- and the other programme should be removed before P-FixLib is re-installed.
-
- One bug (or is it just an undesirable feature?) is that occasionally,
- after making changes to a compressed drawer or disk, icons will refuse to
- appear. Should this occur install FixLib and then look for and delete the
- :.info or /.info file that will be found in the disk or drawer. The
- mechanism of the problem is as obscure as the exact function of this file,
- but it is assumed that the detail within it gets out of kilter with the
- actual content of the drawer. A new .info file is subsequently produced
- by DOS which is OK.
-
- P-FixLib is Freeware. It may be copied and distributed freely and used
- without charge for non_commercial purposes. Authority for commercial use
- should be obtained from the author below.
-
- No responsibility can be accepted for any loss occasioned by use of these
- programmes.
-
- Comments, suggestions, bug-reports all welcome.
-
- Chas A. Wyndham,
- 1265 Canning Mills Road, Roleystone,
- WA 6111.
- Australia
-
-
-
-
-
-