[Coco] data modules
Stephen H. Fischer
SFischer1 at Mindspring.com
Thu Jun 8 23:33:29 EDT 2017
Here is one example I used a lot.
Problem, Shellplus will not pass parameters like you can with a normal text script.
------------------------------------------------------
DataMod v1.1 (c)1988 by Ron Lammardo
Shellscript/Data Module Conversion Utility
Syntax:
datamod {modname} <{pathin} >{pathout}
Takes a shellscript from the standard input path and converts
it to a Data Module written to the standard output path.
The {modname} will be used as the module name.
datamod -<{pathin} >{pathout}
Takes a Data Module from the standard input path and writes
it to the standard output path as a shellscript.
datamod -m {modname} >{pathout}
Takes a Data Module in memory and writes it to the standard
output path as a shellscript.
------------------------------------------------------
I have the Delphi posted version likely from 1988-1989.
I can tell someone where to look but my binder of disk printouts is AWOL like so many other things so I cannot say which disk it is on.
SHF
----- Original Message -----
From: "Robert Gault" <robert.gault at att.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Thursday, June 08, 2017 7:56 PM
Subject: Re: [Coco] data modules
> Wayne Campbell wrote:
>> Somewhere in one of the manuals is a description of a OS-9 data module. I
>> can't find it, and I've looked through all of the level 1 and 2 manuals I
>> have. Can someone point me to where that information is? My future plans
>> for decode include the use of a data module, and I need the information to
>> help me design the internal layout of the module.
>>
>> Thanks,
>>
>
> Wayne,
>
> Data modules are not in the index of OS-9 Level Two but if you look in the Technical Reference
> section on pg 3-4 you will see a list of the type/language byte.
> Code Type Name
> $4x Data Module Data
>
> The 6th byte of a memory module is TYPE/LANGUAGE and the language is
> $x0 for a data module.
> So combining both of these the 6th byte should be $40.
>
> Page 3-6 give the structure of an "executable" module but apparently if you have byte-6 = $40 you
> can use the same structure for a data module.
>
> I can't find any examples of data modules.
>
> Robert
More information about the Coco
mailing list