TIP: Click on subject to list as thread! ANSI
echo: cis.os9.6809.coco
to: Lee Veal 74726,1752 (X)
from: Pete Lyall 76703,4230
date: 1991-01-29 18:05:24
subject: #9320-#HELP

#: 9321 S10/OS9/6809 (CoCo)
    29-Jan-91  18:05:24
Sb: #9320-#HELP
Fm: Pete Lyall 76703,4230
To: Lee Veal 74726,1752 (X)

Lee -

The simplest way to strip X/Ymodem padding is:

  1. Set execute permissions on (attr filename e pe)
  2. Load the module (with padding attached)
  3. Ignore any error messages
  4. Delete the disk image of the module
  5. SAVE the module from memory to disk.

After step 5, the padding will be gone, as the module header size field
determines how much is written to disk (actually, how much is loaded as well.
When loading, os9 will see the anticipated end of the module, note that it's
not at EOF, and look for a subsequent module in the file (SYNC BYTES). If not
there, it should bark about an illegal module header, or the like).

Pete

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.