[Coco] more info

Wayne Campbell asa.rand at yahoo.com
Tue Sep 29 14:28:54 EDT 2009


This is directed to Robert Gault.

I have completed the data structure info for the files created by DCom. I list it here for your convenience.

Wayne

DCom Data File Structures:

DCData.1 is derived from the DSAT

databyts     : INTEGER   - size of DSAT
varcount     : INTEGER   - number of variables
complexcount : INTEGER   - number of complex variables
subcount     : INTEGER   - number of named subroutines
typcount     : INTEGER   - number of record TYPE variables
mirrorcount  : INTEGER   - number of mirror variables
unidcount    : INTEGER   - number of unidentified variables
totalvars    : INTEGER   - total program variables
linenums     : INTEGER   - number of line number references
databuff     : 512 BYTEs - contents of DSAT

DCData.2 and DCData.3 are derived from the VDT

DCData.2

subcount     : INTEGER   - number of named subroutines
sub records  : TYPE SUB=subtyp:BYTE; subid,sdat2loc:INTEGER; subname:STRING[29]

DCData.3

complexcount : INTEGER   - number of complex variables
complex recs : TYPE COM=comtyp:BYTE; comid,memloc,dat1loc,cdat2loc,comsize,arraysize,
               numbyts:INTEGER; comname,arrayname:STRING[14]

DCData.4 is the data map

mapcount     : INTEGER   - number of entries in the map file
map records  : TYPE MAP=mapid:INTEGER; mapbyts:BYTE; isset:BOOLEAN

DCData.5

varcount     : INTEGER   - number of variables
var records  : TYPE VAR=vartyp:BYTE; varid,memloc,varsize,numbyts:INTEGER;
               varname:STRING[14]

DCData.6

typcount     : INTEGER   - number of record TYPE variables
type records : TYPE TYPS=typloc,typid,typvar:INTEGER; numvars:BYTE; typname:STRING[4]

DCData.7

linenums     : INTEGER   - number of line number references
lnum records : INTEGER   - offset references

DCData.8

This file existed in DCom 3.1 and earlier. It was used as a means to determine a hex value, and is unnecessary in 3.5. It was replaced with DHex.


      



More information about the Coco mailing list