[Coco] Technical OS9 Q.
Robert Gault
robert.gault at worldnet.att.net
Sun Jan 22 21:50:57 EST 2006
That's one way to do it if you want the .h file as transparent as
possible. You could also reference that range by defining a new
structure dd_opt as a final entry in ddsect.
Anything that correctly generates the offset values in LSN0 and is easy
to read works for me. Are you suggesting this change for the Nitros-9 C3
project or just for OS-9 C in general?
Bob Devries wrote:
> I would suggest then that the file direct.h be modified to replace the
> ddsect structure with this one:
>
> struct ddsect {
> char dd_tot[3];
> char dd_tsk;
> unsigned dd_map;
> unsigned dd_bit;
> char dd_dir[3];
> unsigned dd_own;
> char dd_att;
> unsigned dd_dsk;
> char dd_fmt;
> unsigned dd_spt;
> unsigned dd_res;
> char dd_bt[3];
> unsigned dd_bsz;
> char dd_date[5];
> char dd_name[32];
> /* pd.opt section follows */
> char dd_dtp;
> char dd_drv;
> char dd_stp;
> char dd_typ;
> char dd_dns;
> unsigned dd_cyl;
> char dd_sid;
> char dd_vfy;
> unsigned dd_sct;
> unsigned dd_t0s;
> char dd_ilv;
> char dd_sas;
> char dd_tfm;
> unsigned dd_exten;
> char dd_stoff;
> char dd_att;
> char dd_fd[3];
> char dd_dfd[3];
> long dd_dcp;
> unsigned dd_dvt;
> };
>
> --
> Regards, Bob Devries, Dalby, Queensland, Australia
>
> Isaiah 50:4 The sovereign Lord has given me
> the capacity to be his spokesman,
> so that I know how to help the weary.
>
> website: http://www.home.gil.com.au/~bdevasl
> my blog: http://bdevries.invigorated.org/
>
>
More information about the Coco
mailing list