toolsandutils/e32tools/ddesign/e32rom.mdl
changeset 0 83f4b4db085c
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 
       
     2 (object Petal
       
     3     version    	35)
       
     4 
       
     5 (object Design "<Top Level>"
       
     6     is_unit    	TRUE
       
     7     file_name  	"c:\e32tools\ddesign\e32rom.mdl"
       
     8     is_loaded  	TRUE
       
     9     defaults   	(object defaults
       
    10 	rightMargin 	0.25
       
    11 	leftMargin 	0.25
       
    12 	topMargin  	0.25
       
    13 	bottomMargin 	0.5
       
    14 	pageOverlap 	0.25
       
    15 	clipIconLabels 	TRUE
       
    16 	autoResize 	FALSE
       
    17 	snapToGrid 	TRUE
       
    18 	gridX      	9
       
    19 	gridY      	9
       
    20 	defaultFont 	(object Font
       
    21 	    size       	10
       
    22 	    face       	"Arial"
       
    23 	    bold       	FALSE
       
    24 	    italics    	FALSE
       
    25 	    underline  	FALSE
       
    26 	    strike     	FALSE
       
    27 	    color      	0
       
    28 	    default_color 	TRUE)
       
    29 	showMessageNum 	3)
       
    30     root_category 	(object Class_Category "<Top Level>"
       
    31 	exportControl 	"Public"
       
    32 	global     	TRUE
       
    33 	subsystem  	"<Top Level>"
       
    34 	logical_models 	(list unit_reference_list
       
    35 	    (object Class "TRomEntry
       
    36 "
       
    37 		documentation 	
       
    38 |if (iAtt&KAttDir) then
       
    39 |    iAddressLin -> TRomDir
       
    40 |else
       
    41 |   iAddressLin -> The start of the actual file
       
    42 |
       
    43 		
       
    44 		fields     	(list has_relationship_list
       
    45 		    (object Has_Relationship
       
    46 			label      	"TInt iSize")
       
    47 		    (object Has_Relationship
       
    48 			label      	"TLinAddr iAddressLin")
       
    49 		    (object Has_Relationship
       
    50 			label      	"TUint8 iAtt")
       
    51 		    (object Has_Relationship
       
    52 			label      	"TUint8 iNameLength"))
       
    53 		collaborators 	(list association_list
       
    54 		    (object Association
       
    55 			supplier   	"PEFile"
       
    56 			supplier_cardinality 	(value cardinality "1")
       
    57 			client_cardinality 	(value cardinality "1"))
       
    58 		    (object Association
       
    59 			label      	"iAtt=KDir"
       
    60 			supplier   	
       
    61 |TRomDir
       
    62 |
       
    63 			
       
    64 			supplier_cardinality 	(value cardinality "1")
       
    65 			client_cardinality 	(value cardinality "1"))))
       
    66 	    (object Class "PEFile")
       
    67 	    (object Class "TRomDir
       
    68 ")
       
    69 	    (object Class "CObeyFile
       
    70 "
       
    71 		fields     	(list has_relationship_list
       
    72 		    (object Has_Relationship
       
    73 			supplier   	
       
    74 |Rom Info
       
    75 |
       
    76 			)
       
    77 		    (object Has_Relationship
       
    78 			supplier   	"Directories")
       
    79 		    (object Has_Relationship
       
    80 			supplier   	
       
    81 |Files
       
    82 |
       
    83 			)
       
    84 		    (object Has_Relationship
       
    85 			supplier   	"TObeyLine")))
       
    86 	    (object Class "Files
       
    87 ")
       
    88 	    (object Class "Directories")
       
    89 	    (object Class "Rom Info
       
    90 ")
       
    91 	    (object Class "TObeyLine")
       
    92 	    (object Class "PEFile
       
    93 ")
       
    94 	    (object Class "TRomBuilderEntry
       
    95 "
       
    96 		collaborators 	(list association_list
       
    97 		    (object Association
       
    98 			supplier   	
       
    99 |TRomEntry
       
   100 |
       
   101 			)))
       
   102 	    (object Class "TRomLoaderHeader
       
   103 ")
       
   104 	    (object Class "TRomHeader
       
   105 ")
       
   106 	    (object Class "TBootBinary
       
   107 ")
       
   108 	    (object Class "TRomDir"
       
   109 		documentation 	"iCount = number of file & directory entries"
       
   110 		fields     	(list has_relationship_list
       
   111 		    (object Has_Relationship
       
   112 			label      	"TInt iCount")
       
   113 		    (object Has_Relationship
       
   114 			label      	"TRomEntry n[iCount]")
       
   115 		    (object Has_Relationship
       
   116 			supplier   	
       
   117 |TRomEntry
       
   118 |
       
   119 			)))
       
   120 	    (object Class "E32ROM (the ROM)"
       
   121 		fields     	(list has_relationship_list
       
   122 		    (object Has_Relationship
       
   123 			supplier   	
       
   124 |CObeyFile
       
   125 |
       
   126 			)
       
   127 		    (object Has_Relationship
       
   128 			supplier   	
       
   129 |TRomLoaderHeader
       
   130 |
       
   131 			)
       
   132 		    (object Has_Relationship
       
   133 			supplier   	
       
   134 |TRomHeader
       
   135 |
       
   136 			)
       
   137 		    (object Has_Relationship
       
   138 			supplier   	
       
   139 |TRomBuilderEntry
       
   140 |
       
   141 			)
       
   142 		    (object Has_Relationship
       
   143 			supplier   	"PEFile"))))
       
   144 	logical_presentations 	(list unit_reference_list
       
   145 	    (object ClassDiagram "Main"
       
   146 		title      	"Main"
       
   147 		zoom       	100
       
   148 		max_height 	28350
       
   149 		max_width  	21600
       
   150 		origin_x   	0
       
   151 		origin_y   	100
       
   152 		items      	(list diagram_item_list
       
   153 		    (object ClassView "Class" "TRomEntry
       
   154 " @1
       
   155 			location   	(2205, 1368)
       
   156 			label      	(object ItemLabel
       
   157 			    location   	(2016, 1209)
       
   158 			    nlines     	2
       
   159 			    max_width  	448
       
   160 			    justify    	0
       
   161 			    label      	
       
   162 |TRomEntry
       
   163 |
       
   164 			    )
       
   165 			compartment 	(object Compartment
       
   166 			    location   	(1573, 1275)
       
   167 			    anchor     	2
       
   168 			    nlines     	5
       
   169 			    max_width  	1345
       
   170 			    justify    	0
       
   171 			    compartmentItems 	(list Compartment
       
   172 				"TInt iSize"
       
   173 				"TLinAddr iAddressLin"
       
   174 				"TUint8 iAtt"
       
   175 				"TUint8 iNameLength"))
       
   176 			width      	650
       
   177 			height     	469
       
   178 			annotation 	8)
       
   179 		    (object ClassView "Class" "PEFile" @2
       
   180 			location   	(972, 1962)
       
   181 			label      	(object ItemLabel
       
   182 			    location   	(868, 1878)
       
   183 			    nlines     	2
       
   184 			    max_width  	240
       
   185 			    justify    	0
       
   186 			    label      	"PEFile")
       
   187 			annotation 	8)
       
   188 		    (object ClassView "Class" "TRomDir
       
   189 " @3
       
   190 			location   	(2637, 801)
       
   191 			label      	(object ItemLabel
       
   192 			    location   	(2533, 717)
       
   193 			    nlines     	2
       
   194 			    max_width  	240
       
   195 			    justify    	0
       
   196 			    label      	
       
   197 |TRomDir
       
   198 |
       
   199 			    )
       
   200 			annotation 	8)
       
   201 		    (object ClassView "Class" "CObeyFile
       
   202 " @4
       
   203 			location   	(1197, 972)
       
   204 			label      	(object ItemLabel
       
   205 			    location   	(1093, 888)
       
   206 			    nlines     	2
       
   207 			    max_width  	240
       
   208 			    justify    	0
       
   209 			    label      	
       
   210 |CObeyFile
       
   211 |
       
   212 			    )
       
   213 			annotation 	8)
       
   214 		    (object ClassView "Class" "TRomBuilderEntry
       
   215 " @5
       
   216 			location   	(1350, 1503)
       
   217 			label      	(object ItemLabel
       
   218 			    location   	(1213, 1392)
       
   219 			    nlines     	2
       
   220 			    max_width  	319
       
   221 			    justify    	0
       
   222 			    label      	
       
   223 |TRomBuilderEntry
       
   224 |
       
   225 			    )
       
   226 			width      	463
       
   227 			height     	331
       
   228 			annotation 	8)
       
   229 		    (object ClassView "Class" "TRomLoaderHeader
       
   230 " @6
       
   231 			location   	(387, 396)
       
   232 			label      	(object ItemLabel
       
   233 			    location   	(241, 276)
       
   234 			    nlines     	2
       
   235 			    max_width  	344
       
   236 			    justify    	0
       
   237 			    label      	
       
   238 |TRomLoaderHeader
       
   239 |
       
   240 			    )
       
   241 			width      	500
       
   242 			height     	356
       
   243 			annotation 	8)
       
   244 		    (object ClassView "Class" "TRomHeader
       
   245 " @7
       
   246 			location   	(1026, 315)
       
   247 			label      	(object ItemLabel
       
   248 			    location   	(922, 231)
       
   249 			    nlines     	2
       
   250 			    max_width  	240
       
   251 			    justify    	0
       
   252 			    label      	
       
   253 |TRomHeader
       
   254 |
       
   255 			    )
       
   256 			annotation 	8)
       
   257 		    (object ClassView "Class" "TRomDir" @8
       
   258 			location   	(1917, 585)
       
   259 			label      	(object ItemLabel
       
   260 			    location   	(1757, 449)
       
   261 			    nlines     	2
       
   262 			    max_width  	378
       
   263 			    justify    	0
       
   264 			    label      	"TRomDir")
       
   265 			compartment 	(object Compartment
       
   266 			    location   	(1383, 515)
       
   267 			    anchor     	2
       
   268 			    nlines     	3
       
   269 			    max_width  	1136
       
   270 			    justify    	0
       
   271 			    compartmentItems 	(list Compartment
       
   272 				"TInt iCount"
       
   273 				"TRomEntry n[iCount]"))
       
   274 			width      	549
       
   275 			height     	400
       
   276 			annotation 	8)
       
   277 		    (object HasView ""
       
   278 			client     	@8
       
   279 			supplier   	@1)
       
   280 		    (object ClassView "Class" "E32ROM (the ROM)" @9
       
   281 			location   	(675, 1134)
       
   282 			label      	(object ItemLabel
       
   283 			    location   	(544, 1027)
       
   284 			    nlines     	2
       
   285 			    max_width  	306
       
   286 			    justify    	0
       
   287 			    label      	"E32ROM (the ROM)")
       
   288 			width      	444
       
   289 			height     	319
       
   290 			annotation 	8)
       
   291 		    (object AssociationView ""
       
   292 			client     	@5
       
   293 			supplier   	@1)
       
   294 		    (object HasView ""
       
   295 			client     	@9
       
   296 			supplier   	@4)
       
   297 		    (object HasView ""
       
   298 			client     	@9
       
   299 			supplier   	@6)
       
   300 		    (object HasView ""
       
   301 			client     	@9
       
   302 			supplier   	@7)
       
   303 		    (object HasView ""
       
   304 			client     	@9
       
   305 			supplier   	@5)
       
   306 		    (object AssociationView ""
       
   307 			client     	@1
       
   308 			supplier   	@2
       
   309 			vertices   	(list Points
       
   310 			    (2057, 1565)
       
   311 			    (1836, 1863)
       
   312 			    (1124, 1946)))
       
   313 		    (object AssociationView "iAtt=KDir"
       
   314 			label      	(object ItemLabel
       
   315 			    location   	(2459, 1035)
       
   316 			    anchor_loc 	1
       
   317 			    nlines     	1
       
   318 			    max_width  	450
       
   319 			    justify    	0
       
   320 			    label      	"iAtt=KDir")
       
   321 			client     	@1
       
   322 			supplier   	@3)
       
   323 		    (object HasView ""
       
   324 			client     	@9
       
   325 			supplier   	@2)
       
   326 		    (object Label
       
   327 			location   	(1233, 1260)
       
   328 			nlines     	1
       
   329 			max_width  	382
       
   330 			label      	"TheRootDirectory")
       
   331 		    (object Label
       
   332 			location   	(963, 1764)
       
   333 			nlines     	1
       
   334 			max_width  	419
       
   335 			label      	
       
   336 |TheRomPeFiles
       
   337 |
       
   338 			)
       
   339 		    (object Label
       
   340 			location   	(63, 594)
       
   341 			nlines     	1
       
   342 			max_width  	563
       
   343 			label      	
       
   344 |TheRomLoaderHeader
       
   345 |
       
   346 			)
       
   347 		    (object Label
       
   348 			location   	(1053, 423)
       
   349 			nlines     	1
       
   350 			max_width  	394
       
   351 			label      	
       
   352 |TheRomHeader
       
   353 |
       
   354 			)
       
   355 		    (object Label
       
   356 			location   	(1053, 783)
       
   357 			nlines     	1
       
   358 			max_width  	538
       
   359 			label      	
       
   360 |TheObeyFile
       
   361 |
       
   362 			)))))
       
   363     root_subsystem 	(object SubSystem "<Top Level>"
       
   364 	physical_models 	(list unit_reference_list)
       
   365 	physical_presentations 	(list unit_reference_list
       
   366 	    (object Module_Diagram "Main"
       
   367 		title      	"Main"
       
   368 		zoom       	100
       
   369 		max_height 	28350
       
   370 		max_width  	21600
       
   371 		origin_x   	0
       
   372 		origin_y   	0
       
   373 		items      	(list diagram_item_list))))
       
   374     process_structure 	(object Processes
       
   375 	ProcsNDevs 	(list
       
   376 	    (object Process_Diagram ""
       
   377 		title      	""
       
   378 		zoom       	100
       
   379 		max_height 	28350
       
   380 		max_width  	21600
       
   381 		origin_x   	0
       
   382 		origin_y   	0
       
   383 		items      	(list diagram_item_list))))
       
   384     properties 	(object Properties))