Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
msr_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
msr_test [2017/09/12 21:32]
1.241.172.144
msr_test [2017/09/12 21:35] (current)
1.241.172.144
Line 1576: Line 1576:
    Track 3 : (Length = 129)    Track 3 : (Length = 129)
     ;​00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?​4     ;​00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?​4
 +
 +필요 라이브러리 소스
 +
 +  int memory_pick_up_bit( void *pMemory,
 +  uint32_t TotalBitInMemory,​
 +  uint32_t BitPositionInMemory,​
 +  int StartFromLast)
 +  {
 +  uint8_t * pByte;
 +  ​
 +  if ( pMemory == (void *)0 )
 +  {
 +  return -1;​
 +  }
 +  ​
 +  pByte = (uint8_t *)pMemory;
 +  if (StartFromLast == 0)
 +  {
 +  if ( ( pByte[BitPositionInMemory >> 3] & (0x01 << ( BitPositionInMemory & 0x07 ) ) ) != 0 )
 +  {
 +  return 1;​
 +  }
 +  else
 +  {
 +  return 0;​
 +  }
 +  }
 +  else
 +  {
 +  BitPositionInMemory = TotalBitInMemory - BitPositionInMemory;​
 +  if ( ( pByte[BitPositionInMemory >> 3] & (0x01 << ( BitPositionInMemory & 0x07 ) ) ) != 0 )
 +  {
 +  return 1;​
 +  }
 +  else
 +  {
 +  return 0;​
 +  }
 +  }
 +  }
 +
 +  uint8_t lrc_xor(uint8_t *pData, uint32_t ByteLength)
 +  {
 +  uint8_t LRC = 0;
 +  ​
 +  while(ByteLength--)
 +  LRC ^= *pData++;
 +  ​
 +  return LRC;​
 +  }
 +
  
  
msr_test.1505219543.txt.gz · Last modified: 2017/09/12 21:32 by 1.241.172.144