melp429.cdb
资源名称:melp.rar [点击查看]
上传用户:csczyc
上传日期:2021-02-19
资源大小:1051k
文件大小:354k
源码类别:
语音压缩
开发平台:
C/C++
- //! //# c64xx.cdb 5.23.14 object CACHE_L2 :: MEM { param iComment :: "Do not delete, in use by cache" param iIsUsed :: 0 param iId :: 0 param iDelUser :: "USER" param iDelMsg :: "ok" param base :: 524288 param len :: 0 param iAllocHeap :: 0 param iHeapSize :: 32768 param iUserHeapId :: 0 param iHeapId :: @segment_name param iReqHeapCount :: 0 param space :: "Cache" param dynamicLoading :: 0 param iIsModifiable :: 1 } class Module { prop Visible :: 1 prop Writable :: 1 prop IsConfMod :: (if self.gNumOf > 0 {1} else {0}) prop NoGen :: 0 prop IsDirty :: ($a = self.gDirty, self.gDirty = 0, $a) prop dataSize :: 0 prop error :: # ("Error: ", self.name, $1) prop warning :: ("Warning ...", self.name, $1) prop minBit :: ($a = 0, while (($1 & (1 << $a)) && $a < 32) {++$a}, $a) prop name :: ("<unnamed module>") prop numBit :: ($a = $b = 0, while ($a < 32) {if ($1 & (1 << $a)) {++$b} }, $b) } class ObjectMgr { isa Module prop CanCreate :: (if (self.gNumOf < self.maxObjs()) {self.localCanCreate()} else {self.warning("Maximum number of objects already created")}) prop CanDelete :: (if (self.iDelMsg == "ok" || (self.iDelUser == self.gUser)) {if (self.iId >= 0 && self.iIsUsed) {self.localCanDelete()} else {self.warning("Object already deleted")}} else {self.warning(self.iDelMsg)}) prop Create :: ((self.gUser = (if $0 > 0 {$1} else {"USER"})), if (($a = self.CanCreate()) == "ok") {if (($a = self.localCreate()) == "ok") {if (self.iIsUsed == 0) {self.mkId(if $0 > 1 {$2} else {-1}), self.iIsUsed = 1, GlobalStatus.gDirty = 1, self.gDirty = 1} } } , (self.gUser = "USER"), $a) prop Delete :: ((self.gUser = (if $0 > 0 {$1} else {"USER"})), if (($a = self.CanDelete()) == "ok") {if (($a = self.localDelete()) == "ok") {self.rmId(self.iId), self.iIsUsed = 0, GlobalStatus.gDirty = 1, self.gDirty = 1} } , (self.gUser = "USER"), $a) prop GetSetOf :: (self.gSetOf) prop GetNumOf :: (self.gNumOf) prop GetObjId :: (self.iId) prop GetPriority :: (self.iId) prop SetPriority :: (self.iId = $1) prop IsConfObj :: (self.iIsUsed) prop localCanCreate :: ("ok") prop localCanDelete :: ("ok") prop localCreate :: ("ok") prop localDelete :: ("ok") prop localInit :: (0) prop isFinite :: (if self.maxObjs() <= GBL.DSPWORDSIZE {1} else {0}) prop mkId :: (if (self.isFinite()) {if ($1 < 0) {self.iId = self.minBit(self.gSetOf)} else {self.iId = $1}, (self.gSetOf |= (1 << self.iId))} else {self.iId = 0}, ++self.gNumOf, self.iId) prop rmId :: (if (self.isFinite()) {self.gSetOf &= ~(1 << self.iId)} , --self.gNumOf) prop maxObjs :: (GBL.DSPWORDSIZE) prop isDriver :: (0) prop SortChildHierView :: (1) } type GlobalStatus { prop NoGen :: 1 prop Visible :: 0 prop Writable :: 0 prop Label :: "Current Configuration Status" prop GlobalIcon :: 101 prop InstanceIcon :: 101 prop GlobalHelpTopic :: (100) prop GlobalPropertyPage :: ("{9D3AD931-847B-11d0-A621-0000C070F3E9}") prop Status :: (# self.SeedVersion, # self.MinStackSize, # self.SysDataSize) global GENLIB :: "bioscfg.dll" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Generation Library" prop NoGen :: 1 prop Visible :: 0 prop Writable :: 1 } global DATE :: "Thu Dec 10 08:33:58 2009" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global GCONFVERS :: "@(#)*** xdc-m66" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global SysDataSize :: = ($a = 0, scan ($i; nil) {if ($i.dataSize() != nil) {$a = $a + $i.dataSize()} }, $a) { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Format :: "Estimated Data Size: %d" prop StatusField :: 1 prop NoGen :: 1 } global MinStackSize :: = ($a = ((2 * (2)) * 4), $a = $a + ((2 * (5)) * 4), $a = $a + ((0) * 4), $b = 0, scan ($i; CLK) {if ($i.IsConfObj()) {$b |= 1} }, $a = $a + (((2 * (2)) * 4) * $b), $b = 0, scan ($i; HWI) {if ($i.IsConfObj()) {if ($i != HWI_NMI && $i != HWI_RESET) {if (($i.function != @HWI_unused) && ($i.function != @RESERVED)) {$b++} } } }, $a = $a + (((12 + 14 + 2) * 4) * $b), $b = 0, scan ($i; SWI) {if ($i.IsConfObj()) {if ($i.priority > $b) {$b = $i.priority} } }, $a = $a + ((((2 * 2) + 18 + (2 * 4)) * 4) * $b), $b = 0, scan ($i; PRD) {if ($i.IsConfObj()) {$b |= 1} }, $a = $a + (((2 * (3)) * 4) * $b), $a) { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Format :: "Est. Min. Stack Size (MAUs): %d" prop StatusField :: 1 prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global ConfigWarnings :: = (if (self.MinStackSize > MEM.STACKSIZE) {"Application stack size is too small; decrease the number of SWI priorities or increase the stack in MEM."} else {"None"}) { prop Label :: "Warnings" prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global SeedVersion :: = "@(#)*** cuda-r14x" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } class EModule { isa Module prop IsXMod :: (1) prop Vendor :: ("") prop Version :: ("") } class EObjectMgr { isa ObjectMgr prop IsXMod :: (1) prop Vendor :: ("") prop Version :: ("") } class ModuleFolder { isa Module prop NoGen :: 1 } type SYSTEM { isa ModuleFolder prop Label :: "System" prop GlobalIcon :: 151 prop GlobalHelpTopic :: (500) prop GlobalPropertyPage :: ("{B936FB91-52A5-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type INS { isa ModuleFolder prop Label :: "Instrumentation" prop GlobalIcon :: 152 prop GlobalHelpTopic :: (501) prop GlobalPropertyPage :: ("{053C8F90-52A6-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type SCH { isa ModuleFolder prop Label :: "Scheduling" prop GlobalIcon :: 153 prop GlobalHelpTopic :: (502) prop GlobalPropertyPage :: ("{053C8F91-52A6-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type SYN { isa ModuleFolder prop Label :: "Synchronization" prop GlobalIcon :: 154 prop GlobalHelpTopic :: (503) prop GlobalPropertyPage :: ("{053C8F92-52A6-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type IOF { isa ModuleFolder prop Label :: "Input/Output" prop GlobalIcon :: 155 prop GlobalHelpTopic :: (504) prop GlobalPropertyPage :: ("{053C8F93-52A6-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type SIODRIVER { isa ModuleFolder prop Label :: "Device Drivers" prop IsContainedIn :: IOF prop GlobalIcon :: 127 prop GlobalHelpTopic :: (505) prop GlobalPropertyPage :: ("{A2BCEC70-5365-11d4-947C-0050048381B7}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type PROJ { isa ObjectMgr prop name :: "PROJ" prop maxObjs :: 0 prop Label :: "Project Manager" prop GlobalIcon :: 121 prop InstanceIcon :: 122 prop InstanceHelpTopic :: (201) prop GlobalHelpTopic :: (101) prop InstancePropertyPage :: ("{AC3C77D1-890B-11d0-A621-0000C070F3E9}") prop GlobalPropertyPage :: ("{AC3C77D2-890B-11d0-A621-0000C070F3E9}") prop NoGen :: 1 prop Visible :: 0 global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global ALIASALL :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Generate C Names for All Objects" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global IGNOREWARNING :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Ignore Warnings" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global LIBPATH :: ".;../../lib;$(BIOSROOT)/lib" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Library Search Path" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global INCPATH :: ".;../../include;$(BIOSROOT)/include" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Include File Search Path" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global OBJDIR :: "." { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Object file directory" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global EXTEXE :: "out" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Executable File Extension" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global EXTLIB :: "lib" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Library File Extension" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global EXTASM :: "asm" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Assembly Language Source File Extension" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global EXTOBJ :: "obj" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Object File Extension" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst projType :: "Executable" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "Executable,Library" prop Label :: "Target Type" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst projName :: "$(PROG)" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Target File Name" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst useRpt :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Use RPT Instruction" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst minimizeSpace :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Optimize for Space over Time" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst tmx :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Avoid TMX Silicon Bugs" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } } type PROJ_FILE { isa ObjectMgr prop Visible :: 0 prop Label :: "Project File Manager" prop InstanceHelpTopic :: (BIOSHELP_PROJ_FILE_INSTANCE) prop GlobalHelpTopic :: (BIOSHELP_PROJ_FILE_GLOBAL) prop InstancePropertyPage :: ("{AC3C77D3-890B-11d0-A621-0000C070F3E9}") prop GlobalPropertyPage :: ("{AC3C77D4-890B-11d0-A621-0000C070F3E9}") prop NoGen :: 1 global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst elemType :: "C Source" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "C Source,ASM Source,Library,Linker Command File" prop Label :: "Input File Type" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst elemName :: "$(PROG)" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Input File Name" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst optLevel :: "register+local+global" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "register,register+local,register+local+global,register+local+global+file" prop Label :: "Optimization Level" prop Visible :: 0 prop Writable :: if self.elemType == "C Source" {1} else {0} prop NoGen :: 1 } inst inline :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Inline Expansion" prop Visible :: 0 prop Writable :: if self.elemType == "C Source" {1} else {0} prop NoGen :: 1 } inst definitions :: "" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Additional Definitions" prop Visible :: 0 prop Writable :: if self.elemType == "C Source" {1} else {0} prop NoGen :: 1 } inst iParent :: 0 { prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } } type GBL { isa Module prop name :: "GBL" prop Label :: "Global Settings" prop IsContainedIn :: SYSTEM prop cGen :: 0 prop GenLinkPrologue :: ("%10SnSECTIONS {%4tn.vers (COPY): {} /* version information */%0tn}nn-priorityn--trampolinesn%25S%1S%22S-l%2S%23S%3Sn%24S%15S%4S%16S%18S%5S%6S%12S%7S%17S , _autoInitStr, _board, _librarySuffix, _devLibStr, _biosLibStr, _rtdxLibStr, _rtsLibStr, _librarySuffix, _compilerModel, _lnkCmdStr, _lnkCmdFile, _cslLibStr, _chipType, _librarySuffix, _chipStr, _sioLibStr, _mpcLibStr, _bios6xLibStr, _bios6xClkType, _instStr, _rtsNameStr, _romStr, _biosRomStr, _logLibStr, _SKLibStr") prop poolStr :: (if (self.LINKWITHROM == 0) {""} else {if POOL.USEPOOL {""} else {"_POOL_config=0;n"}}) prop msgqStr :: (if (self.LINKWITHROM == 0) {""} else {if MSGQ.USEMSGQ {""} else {"_MSGQ_config=0;n"}}) prop GenLinkEpilogue :: ("%0t_GBL_CACHE = GBL_CACHE;n%1S%2S , poolStr, msgqStr") prop ConfigurationClass :: "{2779A121-92CC-11d1-A63D-0000C070F3E9}" prop GlobalIcon :: 105 prop InstanceIcon :: 106 prop GlobalHelpTopic :: (103) prop InstanceHelpTopic :: (103) prop InstancePropertyPage :: ("{B7240DE4-AA51-11cf-9BFE-0000C0AC14C7}") prop GlobalPropertyPage :: ("{B7240DE5-AA51-11cf-9BFE-0000C0AC14C7}") prop localInit :: (RTA_toHost.Create("HST"), RTA_fromHost.Create("HST"), RTA_dispatcher.Create("HST"), IDL_busyObj.Create("IDL"), IDL.USEIDLBUSYOBJ = 1, IDL_cpuLoad.Create("IDL")) prop chipcall :: ("ok") prop IsConfMod :: 1 prop ucompare :: ($e = "ok", $a = ($1 >> 31) & 0x00000001, $b = ($2 >> 31) & 0x00000001, $c = $1 & 0x7fffffff, $d = $2 & 0x7fffffff, if ($a > $b) {$e = "gt"} else {if ($a == $b) {if ($c > $d) {$e = "gt"} else {if ($c == $d) {$e = "eq"} else {$e = "lt"}}} else {$e = "lt"}}, $e) prop L2Check :: (if (self.DSPSUBTYPE == 6211 || self.DSPSUBTYPE == 6711) {self.PCC = "mapped", if (self.C641XL2CONFIGURE == 1) {self.C641XL2CONFIGURE = 0, self.L2CONFIGALLOC = 0} , self.L2CacheSizeCheck()} else {if (self.DSPSUBTYPE == 6400) {self.PCC = "mapped", if (self.C621XL2CONFIGURE == 1) {self.C621XL2CONFIGURE = 0} , self.L2CacheSizeCheck()} else {if (self.C621XL2CONFIGURE == 1) {self.C621XL2CONFIGURE = 0, self.L2CacheSizeCheck()} else {if (self.C641XL2CONFIGURE == 1) {self.C641XL2CONFIGURE = 0, self.L2CONFIGALLOC = 0, self.L2CacheSizeCheck()} }}}) prop C621xL2CacheSizeCheck :: ($e = "ok", $a = CACHE_L2.base, $b = CACHE_L2.len, if (self.C621XL2CONFIGURE == 0) {CACHE_L2.Delete("MEM")} else {if (self.L2MODEOPTS == "SRAM") {CACHE_L2.base = CACHE_L2.base + CACHE_L2.len, CACHE_L2.len = 0x0, CACHE_L2.Delete("MEM")} else {if (self.L2MODEOPTS == "1-way cache") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x4000, CACHE_L2.len = 0x4000} else {if (self.L2MODEOPTS == "2-way cache") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x8000, CACHE_L2.len = 0x8000} else {if (self.L2MODEOPTS == "3-way cache") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0xc000, CACHE_L2.len = 0xc000} else {if (self.L2MODEOPTS == "4-way cache") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x10000, CACHE_L2.len = 0x10000} }}}}}, $e) prop C641xL2CacheSizeCheck :: ($e = "ok", $a = CACHE_L2.base, $b = CACHE_L2.len, if (self.C641XL2CONFIGURE == 0) {CACHE_L2.Delete("MEM")} else {if (self.C641XL2MODEOPTS == "4-way cache (0k)") {CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x0, CACHE_L2.len = 0x0, CACHE_L2.Delete("MEM")} else {if (self.C641XL2MODEOPTS == "4-way cache (32k)") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x8000, CACHE_L2.len = 0x8000} else {if (self.C641XL2MODEOPTS == "4-way cache (64k)") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x10000, CACHE_L2.len = 0x10000} else {if (self.C641XL2MODEOPTS == "4-way cache (128k)") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x20000, CACHE_L2.len = 0x20000} else {if (self.C641XL2MODEOPTS == "4-way cache (256k)") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x40000, CACHE_L2.len = 0x40000} }}}}}, $e) prop C64PL1PCacheSizeCheck :: ($e = "ok", if (self.C64PL2CONFIGURE == 0) {self.C64PL1PCFG = "32k", CACHE_L1P.Create("MEM"), CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x8000, CACHE_L1P.len = 0x8000} else {if (self.C64PL1PCFG == "0k") {CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x0, CACHE_L1P.len = 0x0, CACHE_L1P.Delete("MEM")} else {if (self.C64PL1PCFG == "4k") {CACHE_L1P.Create("MEM"), CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x1000, CACHE_L1P.len = 0x1000} else {if (self.C64PL1PCFG == "8k") {CACHE_L1P.Create("MEM"), CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x2000, CACHE_L1P.len = 0x2000} else {if (self.C64PL1PCFG == "16k") {CACHE_L1P.Create("MEM"), CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x4000, CACHE_L1P.len = 0x4000} else {if (self.C64PL1PCFG == "32k") {CACHE_L1P.Create("MEM"), CACHE_L1P.base = CACHE_L1P.base + CACHE_L1P.len - 0x8000, CACHE_L1P.len = 0x8000} else {$e = self.error("Unknown cache size")}}}}}}, $e) prop C64PL1DCacheSizeCheck :: ($e = "ok", if (self.C64PL2CONFIGURE == 0) {self.C64PL1DCFG = "32k", CACHE_L1D.Create("MEM"), CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x8000, CACHE_L1D.len = 0x8000} else {if (self.C64PL1DCFG == "0k") {CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x0, CACHE_L1D.len = 0x0, CACHE_L1D.Delete("MEM")} else {if (self.C64PL1DCFG == "4k") {CACHE_L1D.Create("MEM"), CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x1000, CACHE_L1D.len = 0x1000} else {if (self.C64PL1DCFG == "8k") {CACHE_L1D.Create("MEM"), CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x2000, CACHE_L1D.len = 0x2000} else {if (self.C64PL1DCFG == "16k") {CACHE_L1D.Create("MEM"), CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x4000, CACHE_L1D.len = 0x4000} else {if (self.C64PL1DCFG == "32k") {CACHE_L1D.Create("MEM"), CACHE_L1D.base = CACHE_L1D.base + CACHE_L1D.len - 0x8000, CACHE_L1D.len = 0x8000} else {$e = self.error("Unknown cache size")}}}}}}, $e) prop C64PL2CacheSizeCheck :: ($e = "ok", if (self.C64PL2CONFIGURE == 0) {CACHE_L2.Delete("MEM")} else {if (self.C64PL2MODEOPTS == "0k") {CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x0, CACHE_L2.len = 0x0, CACHE_L2.Delete("MEM")} else {if (self.C64PL2MODEOPTS == "32k") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x8000, CACHE_L2.len = 0x8000} else {if (self.C64PL2MODEOPTS == "64k") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x10000, CACHE_L2.len = 0x10000} else {if (self.C64PL2MODEOPTS == "128k") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x20000, CACHE_L2.len = 0x20000} else {if (self.C64PL2MODEOPTS == "256k") {CACHE_L2.Create("MEM"), CACHE_L2.base = CACHE_L2.base + CACHE_L2.len - 0x40000, CACHE_L2.len = 0x40000} else {$e = self.error("Unknown cache size")}}}}}}, $e) prop L2CacheSizeCheck :: ($e = "ok", scan ($i; MEM) {if ($i == CACHE_L2) {if self.C621XL2CONFIGURE {$e = self.C621xL2CacheSizeCheck()} else {if self.C641XL2CONFIGURE {$e = self.C641xL2CacheSizeCheck()} else {if self.DSPSUBTYPE == 6211 || self.DSPSUBTYPE == 6711 {$e = self.C621xL2CacheSizeCheck()} else {if self.DSPSUBTYPE == 6400 {$e = self.C641xL2CacheSizeCheck()} else {{CACHE_L2.base = 0x0, CACHE_L2.len = 0x0, CACHE_L2.Delete("MEM")}}}}}} }, $e) prop setCPUClock :: ($e = "ok", if ($1 != self.CPUCLOCK) {$a = self.CPUCLOCK, self.CPUCLOCK = $1, if (GBL.CALLBACKOBJ != nil) {$e = GBL.CALLBACKOBJ.call()} , if ($e != "ok") {self.CPUCLOCK = $a, GBL.CALLBACKOBJ.call()} } , if ($e == "ok") {"ok"} else {self.error($e)}) prop setL2MODE :: (if (self.L2MODEOPTS == "SRAM") {0x0} else {if (self.L2MODEOPTS == "1-way cache") {0x1} else {if (self.L2MODEOPTS == "2-way cache") {0x2} else {if (self.L2MODEOPTS == "3-way cache") {0x3} else {0x7}}}}) prop setC641XL2MODE :: (if (self.C641XL2MODEOPTS == "4-way cache (0k)") {0x0} else {if (self.C641XL2MODEOPTS == "4-way cache (32k)") {0x1} else {if (self.C641XL2MODEOPTS == "4-way cache (64k)") {0x2} else {if (self.C641XL2MODEOPTS == "4-way cache (128k)") {0x3} else {0x7}}}}) prop _cint00Str :: "-u_c_int00 %24t/* link with alternate boot.obj */%0tn" prop _autoInitStr :: "" prop _board :: (if (HST.RTDX == 1) {"lnkrtdx"} else {if (HST.DSM == 1) {"lnkdsm"} else {if (HST.EVM54 == 1) {"lnkevm54"} else {if (HST.BIOSLINK == 1) {"lnkbioslink"} else {"lnknone"}}}}) prop _dsptype :: GBL.DSPTYPE prop _instStr :: if self.INSTRUMENTED {""} else {"_NONINST"} prop _rtsNameStr :: (self.RTSLIB) prop _biosLibStr :: "-lbios%20S%23S%8S %24t/* DSP/BIOS support */%0tn" prop _compilerModel :: if self.ENDIAN == "big" {"e"} else {""} prop _librarySuffix :: (if (self.DSPSUBTYPE == 6700 || self.DSPSUBTYPE == 6711 || self.DSPSUBTYPE == 6712 || self.DSPSUBTYPE == 6713) {if (self.ENDIAN == "big") {".a67e"} else {".a67"}} else {if (self.DSPSUBTYPE == 6400) {if (self.ENDIAN == "big") {".a64e"} else {".a64"}} else {if (self.DSPSUBTYPE == 6499) {if (self.ENDIAN == "big") {".a64Pe"} else {".a64P"}} else {if (self.DSPSUBTYPE == 6799) {if (self.ENDIAN == "big") {".a67Pe"} else {".a67P"}} else {if (self.ENDIAN == "big") {".a62e"} else {".a62"}}}}}) prop _rtdxLibStr :: if RTDX.USERTDX == 0 {""} else {if RTDX.RTDXTYPE == "JTAG" {"-lrtdx64xx%9S.lib %24t/* RTDX support */%0tn"} else {if RTDX.RTDXTYPE == "Simulator" {"-lrtdxsim%9S.lib %24t/* RTDX support */%0tn"} else {"-lrtdxhs%9S.lib %24t/* RTDX support */%0tn"}}} prop _rtsLibStr :: (if self.SPECIFYRTSLIB {"-l%21S%24t/* C and C++ run-time library support */%0tn"} else {if self.DSPSUBTYPE == 6700 || self.DSPSUBTYPE == 6711 || self.DSPSUBTYPE == 6712 || self.DSPSUBTYPE == 6713 {"-lrts6700%9S.lib%24t/* C and C++ run-time library support */%0tn"} else {if self.DSPSUBTYPE == 6400 {"-lrts6400%9S.lib%24t/* C and C++ run-time library support */%0tn"} else {if self.DSPSUBTYPE == 6799 {"-lrts67plus%9S.lib%24t/* C and C++ run-time library support */%0tn"} else {if self.DSPSUBTYPE == 6499 {"-lrts64plus%9S.lib%24t/* C and C++ run-time library support */%0tn"} else {"-lrts6200%9S.lib%24t/* C and C++ run-time library support */%0tn"}}}}}) prop _bios6xClkType :: (if self.CLKTYPE == 6000 {"C6000"} else {if self.CLKTYPE == 700 {"DA700"} else {if (self.CLKTYPE == 420 || self.CLKTYPE == 6424) {if self.USEIDMA0DISPATCHER {"DM420IDMA0"} else {"DM420"}} else {if self.CLKTYPE == 2430 {"2430"} else {if self.CLKTYPE == 6482 {"TCI6482"} else {if self.CLKTYPE == 6486 {"TCI6486"} else {if self.CLKTYPE == 6488 {"TCI6488"} else {if self.CLKTYPE == 442 {"DRA442"} else {if self.CLKTYPE == 3430 {"3430"} else {""}}}}}}}}}) prop _bios6xLibStr :: ("-lbios%19S%23S%8S%24t/* BIOS clock specific library */%0tn") prop _chipStr :: "" prop _mpcLibStr :: "" prop _lnkCmdFile :: MEM.LNKCMDFILE prop _lnkCmdStr :: (if (MEM.LNKCMDFILE == "") {""} else {"-l%11S %24t/* User Specified Linker cmd file */%0tn"}) prop _sioLibStr :: if SIO.USEISSUERECLAIM == 1 {"-lsioir%23S%8S %24t/* supports SIO Issue/Reclaim model only */%0tn"} else {"-lsioboth%23S%8S %24t/* supports both SIO models */%0tn"} prop _devLibStr :: "-ldrivers%23S%14S %24t/* device drivers support */%0tn" prop _cslLibStr :: "" prop _chipType :: "" prop _logLibStr :: if LOG.TS {"-llog8%3Sn"} else {""} prop _romStr :: if self.LINKWITHROM {"-lromC672x.outn-lromC672x.cmdn"} else {""} prop _biosRomStr :: if self.LINKWITHROM {"_BIOSROM"} else {""} prop _SKLibStr :: "" global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global PRODUCT :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 prop Visible :: 0 prop Writable :: 1 prop EnvField :: 1 } global CALLBACKOBJ :: CLK { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global CHIPCHAIN :: nil { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global TRACE :: "CD-01234567" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Trace Mask" prop NoGen :: 1 prop Visible :: 0 prop Writable :: 0 } global BOARD :: "c64xx" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Target Board Name" prop JSName :: "BOARDNAME" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global ROM :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Link to ROM Library" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global CPUCLOCK :: 600.000000 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global PROCID :: = 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Label :: "Processor ID (PROCID)" prop JSName :: "PROCID" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } global CLKIN :: = 20000 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x20 prop Label :: "Board Clock in KHz (Informational Only)" prop JSName :: "CLKIN" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } global FREQ :: 600000 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x20 prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global MIPS :: 600.000000 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: 0x04 prop Format :: "%.4f" prop Label :: "DSP Speed In MHz (CLKOUT)" prop JSName :: "CLKOUT" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: ($a = self.MIPS, $b = if (GBL.DSPTYPE == 62) {$1} else {$1 * 2}, $e = "ok", self.MIPS = $1, self.FREQ = int(self.MIPS * 1000), if (($e = self.setCPUClock($b)) != "ok") {self.MIPS = $a} , $e) } global OSTYPE :: "BIOS" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "BIOS" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DSPTYPE :: 62 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "DSP Major Type" prop JSName :: "DSPTYPE" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global SPECIFYRTSLIB :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Specify RTS library" prop JSName :: "SPECIFYRTSLIB" prop NoGen :: 1 prop Visible :: 1 prop Writable :: 1 } global RTSLIB :: "" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Run-Time Support Library" prop JSName :: "RTSLIB" prop NoGen :: 1 prop Visible :: 1 prop Writable :: self.SPECIFYRTSLIB } global DSPSUBTYPE :: 6400 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "6400" prop Label :: "DSP Type" prop Visible :: 0 prop Writable :: 1 prop Set :: (self.DSPSUBTYPE = $1, self.L2Check(), "ok") prop NoGen :: 0 } global CLKTYPE :: 6000 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "CLK Type" prop JSName :: "CLKTYPE" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 0 } global CHIPTYPE :: "6416" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "DM642,6410,6412,6413,6414,6415,6416,custom,other" prop Label :: "Chip Support Library (CSL)" prop JSName :: "CHIPTYPE" prop NoGen :: 1 prop Visible :: 0 prop Writable :: 1 prop Set :: (if ($1 == "6201" || $1 == "6202" || $1 == "6203" || $1 == "6204" || $1 == "6205") {self.DSPSUBTYPE = 6200} else {if ($1 == "6701") {self.DSPSUBTYPE = 6700} else {if ($1 == "6211") {self.DSPSUBTYPE = 6211} else {if ($1 == "6711" || $1 == "6712" || $1 == "6713" || $1 == "DA610") {if ($1 == "6711") {self.DSPSUBTYPE = 6711} , if ($1 == "6712") {self.DSPSUBTYPE = 6712} , if ($1 == "6713") {self.DSPSUBTYPE = 6713} } else {if ($1 == "DM642" || $1 == "6412" || $1 == "6414" || $1 == "6415" || $1 == "6416" || $1 == "6410" || $1 == "6413") {self.DSPSUBTYPE = 6400} }}}}, self.CHIPTYPE = $1, self.L2Check(), $e = "ok", if (GBL.CHIPCHAIN != nil) {$e = GBL.CHIPCHAIN.chipcall()} , $e) } global DISPCALLCSLCFGINIT :: = (self.CHIPTYPE != "other" && self.CHIPTYPE != "custom") { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Call CSL_cfgInit Initialization routine" prop Visible :: 0 prop Writable :: self.SUPPORTCSL prop NoGen :: 1 } global DSPNAME :: "TMS320C62XX" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DSPARITHMETIC :: = (if (GBL.DSPTYPE == 62 && (GBL.DSPSUBTYPE / 100) == 67) {"FLOAT"} else {"FIXED"}) { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "FIXED,FLOAT" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DSPWORDSIZE :: = (if (GBL.DSPTYPE == 30 || GBL.DSPTYPE == 40 || GBL.DSPTYPE == 62) {32} else {16}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "DSP Word Size" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DSPCHARSIZE :: = (if GBL.DSPTYPE == 62 {8} else {if GBL.DSPSUBTYPE == 5599 {8} else {GBL.DSPWORDSIZE}}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "DSP Byte Size" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DATAPTRSIZE :: = (if (GBL.DSPTYPE == 62) {32} else {if (GBL.DSPTYPE == 54) {16} else {if (GBL.DSPTYPE == 55) {if (GBL.MEMORYMODEL == "SMALL") {16} else {23}} else {if (GBL.DSPTYPE == 28) {22} else {0}}}}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop iComment :: "Size of the Data Pointer" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global CODEPTRSIZE :: = (if (GBL.DSPTYPE == 62) {32} else {if (GBL.DSPTYPE == 54) {if (GBL.CALLMODEL == "near") {16} else {24}} else {if (GBL.DSPTYPE == 55) {24} else {if (GBL.DSPTYPE == 28) {22} else {0}}}}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop iComment :: "Size of Code Pointer" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global ENDIAN :: "little" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "little,big" prop Label :: "DSP Endian Mode" prop JSName :: "ENDIANMODE" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: (self.ENDIAN = $1, "ok") } global BIGENDIAN :: = if self.ENDIAN == "little" {0} else {1} { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global AUTOINIT :: "ROM" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "ROM,RAM" prop Label :: "C Autoinitialization Model" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global USERINIT :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Call User Init Function" prop JSName :: "CALLUSERINITFXN" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 prop Set :: (if ($1 == 0) {self.USERINITFXN = @_FXN_F_nop, self.USERINIT = $1} else {self.USERINIT = $1}, "ok") } global USERINITFXN :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "User Init Function" prop JSName :: "USERINITFXN" prop Visible :: 1 prop Writable :: self.USERINIT prop NoGen :: 0 } global OLDAUTOCALCULATE :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "previous value for autocalculate" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global ENABLEINST :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Enable Real Time Analysis" prop JSName :: "ENABLEINST" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 prop Set :: (if ($1 != self.ENABLEINST) {if ($1) {RTA_toHost.Create("HST"), RTA_fromHost.Create("HST"), RTA_dispatcher.Create("HST"), IDL_busyObj.Create("IDL"), IDL.USEIDLBUSYOBJ = 1, IDL_cpuLoad.Create("IDL"), IDL.AUTOCALCULATE = self.OLDAUTOCALCULATE} else {if (self.LINKWITHROM) {self.LINKWITHROM = 0} , RTA_toHost.Delete("HST"), RTA_fromHost.Delete("HST"), RTA_dispatcher.Delete("HST"), IDL_busyObj.Delete("IDL"), IDL.USEIDLBUSYOBJ = 0, IDL_cpuLoad.Delete("IDL"), self.OLDAUTOCALCULATE = IDL.AUTOCALCULATE, IDL.AUTOCALCULATE = 0}, self.ENABLEINST = $1} , "ok") } global INSTRUMENTED :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Use Instrumented BIOS library" prop JSName :: "INSTRUMENTED" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global CGENERATE :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Do C Generation" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global ENABLEDLL :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Enable Dynamic Loading" prop JSName :: "ENABLEDLL" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global PCC :: "mapped" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "mapped,cache enable,cache freeze,cache bypass" prop Label :: "Program Cache Control - CSR(PCC) " prop JSName :: "CSRPCC" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6211 || GBL.DSPSUBTYPE == 6711 || GBL.DSPSUBTYPE == 6400) {0} else {1} prop NoGen :: 1 prop TabName :: "620x/670x" } global DCC :: "mapped" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "mapped,cache enable,cache freeze,cache bypass" prop Label :: "Data Cache Control" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 prop TabName :: "620x/670x" } global PCACHE :: = (if (self.PCC == "mapped") {0x0000} else {if (self.PCC == "cache enable") {0x0040} else {if (self.PCC == "cache freeze") {0x0060} else {0x0080}}}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global DCACHE :: = (if (self.DCC == "mapped") {0x0000} else {if (self.DCC == "cache enable") {0x0008} else {if (self.DCC == "cache freeze") {0x000c} else {0x0010}}}) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global CACHE :: = (self.PCACHE | self.DCACHE) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global C621XL2CONFIGURE :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "621x/671x - Configure L2 Memory Settings" prop JSName :: "C621XCONFIGUREL2" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6211 || GBL.DSPSUBTYPE == 6711 || GBL.DSPSUBTYPE == 6712 || GBL.DSPSUBTYPE == 6713) {1} else {0} prop TabName :: "621x/671x" prop Set :: ($e = "ok", self.C621XL2CONFIGURE = $1, self.PCC = "mapped", $e = self.L2CacheSizeCheck(), $e) prop NoGen :: 1 } global C641XL2CONFIGURE :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "641x - Configure L2 Memory Settings" prop JSName :: "C641XCONFIGUREL2" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6400) {1} else {0} prop TabName :: "641x" prop Set :: ($e = "ok", self.C641XL2CONFIGURE = $1, self.PCC = "mapped", $e = self.L2CacheSizeCheck(), $e) prop NoGen :: 1 } global L2CONFIGURE :: = (if GBL.DSPSUBTYPE == 6400 {self.C641XL2CONFIGURE} else {self.C621XL2CONFIGURE}) { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Configure L2 Cache Control (c6x1x support)" prop Visible :: 0 prop NoGen :: 0 } global C621XPCC :: "Cache Enabled - Direct Mapped" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "Cache Enabled - Direct Mapped" prop Label :: "Program Cache Control - CSR(PCC) " prop Visible :: 1 prop Writable :: 0 prop NoGen :: 1 prop TabName :: "621x/671x" } global C641XPCC :: "Cache Enabled - Direct Mapped" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "Cache Enabled - Direct Mapped" prop Label :: "641x - Program Cache Control - CSR(PCC)" prop Visible :: 1 prop Writable :: 0 prop NoGen :: 1 prop TabName :: "641x" } global L2MODEOPTS :: = "SRAM" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "L2 Mode - CCFG(L2MODE)" prop JSName :: "C621XCCFGL2MODE" prop Enum :: "SRAM,1-way cache,2-way cache,3-way cache,4-way cache" prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6211 || GBL.DSPSUBTYPE == 6711 || GBL.DSPSUBTYPE == 6712 || GBL.DSPSUBTYPE == 6713) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "621x/671x" prop Set :: ($i = self.L2MODEOPTS, self.L2MODEOPTS = $1, $e = self.L2CacheSizeCheck(), if ($e != "ok") {self.L2MODEOPTS = $i} , $e) } global C641XL2MODEOPTS :: "4-way cache (0k)" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "641x L2 Mode - CCFG(L2MODE)" prop Enum :: "4-way cache (0k),4-way cache (32k),4-way cache (64k),4-way cache (128k),4-way cache (256k)" prop JSName :: "C641XCCFGL2MODE" prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "641x" prop Set :: ($i = self.C641XL2MODEOPTS, self.C641XL2MODEOPTS = $1, $e = self.L2CacheSizeCheck(), if ($e != "ok") {self.C641XL2MODEOPTS = $i} , $e) } global L2MODE :: = (if GBL.DSPSUBTYPE == 6400 {self.setC641XL2MODE()} else {self.setL2MODE()}) { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "L2 Mode - CCFG(L2MODE) Values" prop Enum :: "0,1,2,3,7" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 0 } global L2PRIORITY :: 0 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "L2 Requestor Priority - CCFG(P)" prop Enum :: "0,1" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 0 } global L2MARMASK :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "L2 MAR0-15 - bitmask used to initialize MARs" prop JSName :: "C621XMAR" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6211 || GBL.DSPSUBTYPE == 6711 || GBL.DSPSUBTYPE == 6712 || GBL.DSPSUBTYPE == 6713) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "621x/671x" } global SUPPORTCSL :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 0 } global ENABLEALLTRC :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Enable All TRC Trace Event Classes" prop JSName :: "ENABLEALLTRC" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: (if ($1) {self.TRCMASKVALUE = 0xDBEF} else {self.TRCMASKVALUE = 0x4000}, self.ENABLEALLTRC = $1, "ok") } global TRCMASKVALUE :: 56303 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 0 } global CALLCSLCFGINIT :: = self.DISPCALLCSLCFGINIT { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 0 } global CDBPATH :: "" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "CDB search path in COFF file" prop JSName :: "CDBRELATIVEPATH" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } global LINKWITHROM :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Link with ROM" prop JSName :: "LINKWITHROM" prop Visible :: 0 prop Writable :: if (self.DSPSUBTYPE == 6799 && self.ENABLEINST) {1} else {0} prop NoGen :: 1 prop Set :: ($e = "ok", if ($1) {$e = self.error("This BIOS version does not support linking with ROM.")} , $e) } global C641XL2PRIORITY :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2MARMASK1 :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "MAR96-111 - bitmask controls EMIFB CE space" prop JSName :: "C641XMAREMIFB" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2MARMASK2 :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "MAR128-143 - bitmask controls EMIFA CE0 space" prop JSName :: "C641XMARCE0" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2MARMASK3 :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "MAR144-159 - bitmask controls EMIFA CE1 space" prop JSName :: "C641XMARCE1" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2MARMASK4 :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "MAR160-175 - bitmask controls EMIFA CE2 space" prop JSName :: "C641XMARCE2" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2MARMASK5 :: 0 { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Label :: "MAR176-191 - bitmask controls EMIFA CE3 space" prop JSName :: "C641XMARCE3" prop Format :: "0x%04x" prop Style :: 0x01 | 0x02 prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 0 prop TabName :: "641x" } global L2REQPRIORITY :: "urgent" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "641x L2 Requestor Priority Queue - CCFG(P)" prop JSName :: "C641XCCFGP" prop Enum :: "urgent,high,medium,low" prop Visible :: 1 prop Writable :: if ((GBL.DSPSUBTYPE == 6400) && GBL.L2CONFIGURE == 1) {1} else {0} prop NoGen :: 1 prop Set :: (self.L2REQPRIORITY = $1, if (self.L2REQPRIORITY == "urgent") {self.C641XL2PRIORITY = 0} else {if (self.L2REQPRIORITY == "high") {self.C641XL2PRIORITY = 1} else {if (self.L2REQPRIORITY == "medium") {self.C641XL2PRIORITY = 2} else {self.C641XL2PRIORITY = 3}}}, "ok") prop TabName :: "641x" } global L2CONFIGALLOC :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Configure Priority Queues" prop JSName :: "C641XSETL2ALLOC" prop Visible :: 1 prop Writable :: (GBL.DSPSUBTYPE == 6400 && GBL.L2CONFIGURE == 1) prop NoGen :: 0 prop TabName :: "641x" } global L2ALLOC0 :: 6 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Max L2 Transfer Requests on URGENT Queue (L2ALLOC0)" prop JSName :: "C641XL2ALLOC0" prop Enum :: "0,1,2,3,4,5,6,7" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6400 && GBL.L2CONFIGURE == 1 && GBL.L2CONFIGALLOC == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "641x" } global L2ALLOC1 :: 2 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Max L2 Transfer Requests on HIGH Queue (L2ALLOC1)" prop JSName :: "C641XL2ALLOC1" prop Enum :: "0,1,2,3,4,5,6,7" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6400 && GBL.L2CONFIGURE == 1 && GBL.L2CONFIGALLOC == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "641x" } global L2ALLOC2 :: 2 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Max L2 Transfer Requests on MEDIUM Queue (L2ALLOC2)" prop JSName :: "C641XL2ALLOC2" prop Enum :: "0,1,2,3,4,5,6,7" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6400 && GBL.L2CONFIGURE == 1 && GBL.L2CONFIGALLOC == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "641x" } global L2ALLOC3 :: 2 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Max L2 Transfer Requests on LOW Queue (L2ALLOC3)" prop JSName :: "C641XL2ALLOC3" prop Enum :: "0,1,2,3,4,5,6,7" prop Visible :: 1 prop Writable :: if (GBL.DSPSUBTYPE == 6400 && GBL.L2CONFIGURE == 1 && GBL.L2CONFIGALLOC == 1) {1} else {0} prop NoGen :: 1 prop TabName :: "641x" } global L2ALLOC :: = ((self.L2ALLOC0) | (self.L2ALLOC1 << 4) | (self.L2ALLOC2 << 8) | (self.L2ALLOC3 << 12)) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop NoGen :: 0 } } type MEM { isa ObjectMgr prop Label :: "MEM - Memory Section Manager" prop name :: "MEM" prop DependsOn :: "SEM" prop IsContainedIn :: SYSTEM prop GlobalIcon :: 115 prop InstanceIcon :: 116 prop GlobalHelpTopic :: (108) prop InstanceHelpTopic :: (208) prop InstancePropertyPage :: ("{3D658E70-05E7-11d0-BD44-0020AFEE33C8}") prop GlobalPropertyPage :: ("{3D658E71-05E7-11d0-BD44-0020AFEE33C8}") prop heapLabelStr :: (self.iHeapId) prop GenLinkPrologue :: (if (GBL.DSPTYPE == 55) {"-stack 0x%1xn-sysstack 0x%2xnnMEMORY {%4t , _cmd55stksz, _cmd55systksz"} else {"-stack 0x%1xnMEMORY {%4t , _stackSize"}) prop _stackSize :: MEM.STACKSIZE prop AllocType :: (if (self.REUSE == 0 && self.USERCMD == 0) {"19 , _argsString, _argsSeg, _midPlace, _sysdataString, _sysdataSeg, _thirdPlace, _trcinitString, _trcinitSeg, _midPlace, _gblinitString, _gblinitSeg, _midPlace, _memObjString, _memObjSeg, _midPlace, _sysinitString, _initSeg, _sysinitPlace, _sysregsString, _regsSeg, _midPlace, _bssString, _bssSeg, _firstPlace, _farString, _farSeg, _secondPlace, _cinitString, _cinitSeg, _midPlace, _pinitString, _pinitSeg, _midPlace, _dataString, _dataSeg, _midPlace, _constString, _constSeg, _midPlace, _switchString, _switchSeg, _midPlace, _cioString, _cioSeg, _midPlace, _textString, _textSeg, _midPlace, _frtString, _frtSeg, _midPlace, _biosString, _biosSeg, _midPlace, _stackString, _stackSeg, _midPlace"} else {if (self.REUSE == 0 && self.USERCMD == 1) {"9 , _argsString, _argsSeg, _midPlace, _sysdataString, _sysdataSeg, _thirdPlace, _trcinitString, _trcinitSeg, _midPlace, _gblinitString, _gblinitSeg, _midPlace, _memObjString, _memObjSeg, _midPlace, _sysinitString, _initSeg, _sysinitPlace, _sysregsString, _regsSeg, _midPlace, _biosString, _biosSeg, _midPlace, _stackString, _stackSeg, _midPlace"} else {if (self.REUSE == 1 && self.USERCMD == 0) {"18 , _argsString, _argsSeg, _midPlace, _sysdataString, _sysdataSeg, _thirdPlace, _trcinitString, _trcinitSeg, _midPlace, _gblinitString, _gblinitSeg, _midPlace, _memObjString, _memObjSeg, _midPlace, _sysregsString, _regsSeg, _midPlace, _bssString, _bssSeg, _firstPlace, _farString, _farSeg, _secondPlace, _cinitString, _cinitSeg, _midPlace, _pinitString, _pinitSeg, _midPlace, _dataString, _dataSeg, _midPlace, _constString, _constSeg, _midPlace, _switchString, _switchSeg, _midPlace, _cioString, _cioSeg, _midPlace, _textString, _textSeg, _midPlace, _frtString, _frtSeg, _midPlace, _biosString, _biosSeg, _midPlace, _stackString, _stackSeg, _midPlace"} else {"8 , _argsString, _argsSeg, _midPlace, _sysdataString, _sysdataSeg, _thirdPlace, _trcinitString, _trcinitSeg, _midPlace, _gblinitString, _gblinitSeg, _midPlace, _memObjString, _memObjSeg, _midPlace, _sysregsString, _regsSeg, _midPlace, _biosString, _biosSeg, _midPlace, _stackString, _stackSeg, _midPlace"}}}) prop _firstPlace :: 0 prop _secondPlace :: 0 + 1 prop _thirdPlace :: 0 + 2 prop _midPlace :: (0x7fffffff / 2) prop _sysinitPlace :: (0x7fffffff / 2) prop _argsString :: ("%8t .args: align=4 fill=0 {%12tn *(.args)n . += 0x%1x;%8tn } , _argsSize") prop _bssString :: ("%8t .bss: {}") prop _farString :: ("%8t .far: {}") prop _cinitString :: (if (self.ENABLELOADSEG == 1) {if (MEM.CINITSEG == MEM.LOADCINITSEG) {"%8t .cinit: {}"} else {"%8t .cinit: {} load > %1s, run , _loadcinitSeg"}} else {"%8t .cinit: {}"}) prop _pinitString :: (if (self.ENABLELOADSEG == 1) {if (MEM.PINITSEG == MEM.LOADPINITSEG) {"%8t .pinit: {}"} else {"%8t .pinit: {} load > %1s, run , _loadpinitSeg"}} else {"%8t .pinit: {}"}) prop _trcinitString :: (if (self.ENABLELOADSEG == 1) {if (MEM.TRCINITSEG == MEM.LOADTRCINITSEG) {"%8t .trcdata: {}"} else {"%8t .trcdata: {} load > %1s, run , _loadtrcinitSeg"}} else {"%8t .trcdata: {}"}) prop _gblinitString :: (if (self.ENABLELOADSEG == 1) {if (MEM.BIOSINITSEG == MEM.LOADBIOSINITSEG) {"%8t .gblinit: {}"} else {"%8t .gblinit: {} load > %1s, run , _loadgblinitSeg"}} else {"%8t .gblinit: {}"}) prop _dataString :: ("%8t .data: {}") prop _constString :: (if (self.ENABLELOADSEG == 1) {if (MEM.CONSTSEG == MEM.LOADCONSTSEG) {"%8t GROUP {n %8t .const: align = 0x8 {} n %8t .printf (COPY): {} n%8t }"} else {"%8t .const: align = 0x8 {} load > %1s run , _loadconstSeg"}} else {"%8t GROUP {n %8t .const: align = 0x8 {} n %8t .printf (COPY): {} n%8t }"}) prop _switchString :: (if (self.ENABLELOADSEG == 1) {if (MEM.SWITCHSEG == MEM.LOADSWITCHSEG) {"%8t .switch: {}"} else {"%8t .switch: {} load > %1s, run , _loadswitchSeg"}} else {"%8t .switch: {}"}) prop _sysmemString :: ("%8t .sysmem: {}") prop _cioString :: ("%8t .cio: {}") prop _memObjString :: ("%8t .mem: {}") prop _sysdataString :: (if ((GBL.ROM == 0) && (GBL.DSPTYPE == 54)) {"%8t .sysdata: align = 128 {%12tn GBL_A_SYSPAGE = .;n GBL_A_SYSDP = GBL_A_SYSPAGE >> 7;n %8t }"} else {"%8t .sysdata: {}"}) prop _sysinitString :: (if (self.ENABLELOADSEG == 1) {if (MEM.INITSEG == MEM.LOADINITSEG) {"%8t .sysinit: {}"} else {"%8t .sysinit: {} load > %1s, run , _loadinitSeg"}} else {"%8t .sysinit: {}"}) prop _sysregsString :: ("%8t .sysregs: {}") prop _textString :: (if (self.ENABLELOADSEG == 1) {if (MEM.TEXTSEG == MEM.LOADTEXTSEG) {"%8t .text: {}"} else {"%8t .text: {} load > %1s, run , _loadtextSeg"}} else {"%8t .text: {}"}) prop _frtString :: ("%8t frt: {}") prop _biosString :: (if (self.ENABLELOADSEG == 1) {if (MEM.BIOSSEG == MEM.LOADBIOSSEG) {"%8t .bios: {}"} else {"%8t .bios: {} load > %1s, run , _loadbiosSeg"}} else {"%8t .bios: {}"}) prop _stackString :: (if (GBL.DSPTYPE == 62) {"%8t .stack: {%12tn GBL_stackbeg = .;n *(.stack)n GBL_stackend = GBL_stackbeg + 0x%1x - 1;%12tn _HWI_STKBOTTOM = GBL_stackbeg + 0x%1x - 4 & ~7;%12tn _HWI_STKTOP = GBL_stackbeg;%8tn } , _stackSize, _stackSize"} else {if (GBL.DSPTYPE == 54) {"%8t .stack: {%12tn GBL_stackbeg = .;n *(.stack)n GBL_stackend = ((GBL_stackbeg + 0x%1x - 1) & 0xfffe) ;%8tn _HWI_STKBOTTOM = GBL_stackend;%12tn _HWI_STKTOP = GBL_stackbeg;%8tn } , _stackSize"} else {if (GBL.DSPTYPE == 55) {"%8t GROUP { n%16t .sysstack : align = 0x4 {%12tn %16t GBL_sysstackbeg = .;n %16t *(.sysstack)n %16t GBL_sysstackend = GBL_sysstackbeg + 0x%2x -1 ;%12tn %16t _HWI_SYSSTKTOP = GBL_sysstackbeg; %12tn %16t_HWI_SYSSTKBOTTOM = (GBL_sysstackend+1);n%16t} n%16t .stack: align = 0x4 {%12tn %16t GBL_stackbeg = .;n %16t *(.stack)n GBL_stackend = (GBL_stackbeg + 0x%1x - 1) ;%12tn %16t _HWI_STKBOTTOM = (GBL_stackend+1);%12tn %16t _HWI_STKTOP = (GBL_stackbeg);%16tn }%8tn } BLOCK(0x20000), run