##base _MiscBase ##bias 6 ##public AllocMiscResource(unitNum,name)(d0/a1) FreeMiscResource(unitNum)(d0) ##end