X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fdata_block.cpp;h=6ebee44d78495648b8ce9bc7c61fbd03058aa357;hb=de6b6757167b76f4c363177d66f3ac4502811b42;hp=25abaa3faf99f81585c0b92712443b260cacc273;hpb=7880ae2dd0ed55ec671be0fc449487420a126626;p=h316.git diff --git a/pc-tools/ldc2/src/data_block.cpp b/pc-tools/ldc2/src/data_block.cpp index 25abaa3..6ebee44 100644 --- a/pc-tools/ldc2/src/data_block.cpp +++ b/pc-tools/ldc2/src/data_block.cpp @@ -8,13 +8,17 @@ using namespace std; +/***************************************************************/ /*! *\brief Specialisation constructor. */ data_block::data_block(tape_block& org) :tape_block(org) -{} +{ + m_has_known_type=false; +} +/***************************************************************/ /*! *\brief Determine block type. *\return the block type extracted from the block's data. @@ -23,6 +27,7 @@ int data_block::get_type(){ return (word_data[0]&0xf000)>>12; } +/***************************************************************/ /*! *\brief Get the block's size in 16 bit words. *\return The block's 16-bit data buffer's size including @@ -32,6 +37,7 @@ int data_block::get_word_size(){ return word_size; } +/***************************************************************/ /*! *\brief Describe the block. *\return A vector of text lines describing this block. @@ -44,15 +50,7 @@ vector data_block::get_description(){ return result; } -/*! - *\brief Determine if the block marks the end of an object - *\retval true The block marks the end of an object. - *\retval false The block does not mark the end of an object. - */ -bool data_block::get_obj_end(){ - return false; -} - +/***************************************************************/ /*! *\brief Extract 6 byte symbol name from word memory. * @@ -76,3 +74,7 @@ string data_block::extract_label(int firstbyte){ return result; } + + + +