home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!oucsboss!oucsace!tratclif
- From: tratclif@oucsace.cs.ohiou.edu (Tracy Ratcliff)
- Newsgroups: comp.sys.cbm
- Subject: Re: CS-DOS etc...
- Message-ID: <1992Dec23.220949.8534@oucsace.cs.ohiou.edu>
- Date: 23 Dec 92 22:09:49 GMT
- References: <1992Dec23.133431.1@kosmos.wcc.govt.nz>
- Organization: Ohio University CS Dept,. Athens
- Lines: 42
-
- In article <1992Dec23.133431.1@kosmos.wcc.govt.nz> mcmillan_a@kosmos.wcc.govt.nz writes:
- >Many thanks to those who offered help with creating .sfx files. (Not .sda)
- >I'm a little further ahead, but still not having much luck... C Smeets must
- >get first prize for writing the most contrived, user-hostile program I've ever
- >seen!
- >
- You've never tried UNIX or MS-DOS? or more to this group, Power C (ick, don't
- get me started)?
- >After running the 'shell' program, I enter the command;
- >lha -s a:test.sfx a:title a:<any_program_name>
- >
- >The program resonds:
- >LHARChive creator for CS-DOS v1.10 - (C)opyright 1990 C. Smeets
- >REU in use
- >
- >And that's all! No .sfx file created, and I can repeat this over and over...
-
- From the file lha.txt, line 84 (i.e. if you do 'get lha.txt' it would be at
- line 1840 and following):
-
- ...you have to tell LHA what part of the 1750 is free to be used for its
- purposes. Do this by putting a line something like this in your autoexec
- file
-
- poke dec("1bcf"), x*16+y
-
- where x is the lowest 1750 bank that can be used, and y is the highest
- 1750 bank plus one. For example,
-
- poke dec("1bcf"), 4*16+7
-
- tells LHA it's OK to use 1750 banks 4,5, and 6. All other banks are
- left alone.
-
- I tried poking 0 to $1bcf and it caused the 'REU in use' error message. Since
- you're trying to make .sfx files you only need to reserve one bank. In my
- setup I use 1750 (well, actually 1700) bank 0 as the csdos ramdisk and bank 1
- for LHA space, like this:
-
- poke 7119, 1*16+2
-
- That help?
-