TIP: Click on subject to list as thread! ANSI
echo: cis.general_interest
to: Erich Schulman 75140,3175 (X)
from: Pete Lyall 76703,4230
date: 1991-04-25 09:48:58
subject: #10445-#OS-9 and the Cass Port

#: 10453 S1/General Interest
    25-Apr-91  09:48:58
Sb: #10445-#OS-9 and the Cass Port
Fm: Pete Lyall 76703,4230
To: Erich Schulman 75140,3175 (X)

IF you are getting MODULE HEADER INCORRECT, it could very well be that the file
has Xmodem padding (xmodem rounds all files it transfers out so that they are a
multiple of 128 bytes in length). When you do IDENT on a file, IDENT reads the
module header, grabs the length and crc information, and then reads that far
into the file to see if the CRC is correct up to that point. If it is, and if
it is not at end of file, ident assumes that you have merged multiple modules
into a single file (which is perfectly fine). It then goes on to read the next
module header, but instead of seeing $87CD (header start bytes for os9/6809),
it sees Xmodem padding and complains that MODULE HEADER IS INCORRECT. This may
well be your problem.

The fix for this is easy:

 1. Move the file to your CMDS directory
 2. Set its attributes to E and PE
 3. Load the module (it's in memory now)
 4. Delete the 'padded' copy in your CMDS directory
 5. Use the SAVE command to save a copy back out to disk

Note: this is not REQUIRED. The LOAD command will only load in as many bytes as
look legitimate (i.e. length) anyway, so you could run programs even though
they have padding on them in the interim. Merging with padded files wouldn't
work though.

If you need a copy of the SAVE command (LII didn't have one), there's a PD copy
in DL9 or DL10.

If you're using LII and have Virq's active (you do unless you changed
something) and have the M1 descriptor and its driver in place, you should
probably be able to use the Modempak under os9 as well.

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™.