diff options
Diffstat (limited to 'src/progs/psp/base/psp.cpp')
-rw-r--r-- | src/progs/psp/base/psp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/progs/psp/base/psp.cpp b/src/progs/psp/base/psp.cpp index 188fbcb..0f86180 100644 --- a/src/progs/psp/base/psp.cpp +++ b/src/progs/psp/base/psp.cpp @@ -46,7 +46,7 @@ TQMemArray<uchar> Psp::createDeviceInfo(const Pic::Data &data) array[0] = v.byte(1); array[1] = v.byte(0); // address word width - v = data.tqmask(Pic::MemoryRangeType::Code); + v = data.mask(Pic::MemoryRangeType::Code); array[2] = v.byte(1); array[3] = v.byte(0); // data word width @@ -59,12 +59,12 @@ TQMemArray<uchar> Psp::createDeviceInfo(const Pic::Data &data) if ( data.nbBytesWord(Pic::MemoryRangeType::UserId)==1 ) v += v << 8; array[6] = v.byte(1); array[7] = v.byte(0); - // user id tqmask + // user id mask array[8] = v.byte(1); array[9] = v.byte(0); } - // memory config tqmask + // memory config mask array[10] = config[0]; array[11] = config[1]; array[12] = config[16]; @@ -72,20 +72,20 @@ TQMemArray<uchar> Psp::createDeviceInfo(const Pic::Data &data) if ( data.isReadable(Pic::MemoryRangeType::Eeprom) ) { // memory eeprom width - v = data.tqmask(Pic::MemoryRangeType::Eeprom); + v = data.mask(Pic::MemoryRangeType::Eeprom); array[14] = v.byte(1); array[15] = v.byte(0); - // memory eeprom tqmask + // memory eeprom mask array[16] = v.byte(1); array[17] = v.byte(0); } if ( data.isReadable(Pic::MemoryRangeType::Cal) ) { // memory calibration width - v = data.tqmask(Pic::MemoryRangeType::Cal); + v = data.mask(Pic::MemoryRangeType::Cal); array[18] = v.byte(1); array[19] = v.byte(0); - // memory calibration tqmask + // memory calibration mask array[20] = v.byte(1); array[21] = v.byte(0); } |