• Home
  • Raw
  • Download

Lines Matching refs:read_data

55 	unsigned char read_data [SDS_BLOCK_SIZE] ;  member
434 if ((k = psf_fread (psds->read_data, 1, SDS_BLOCK_SIZE, psf)) != SDS_BLOCK_SIZE) in sds_2byte_read()
437 if (psds->read_data [0] != 0xF0) in sds_2byte_read()
438 { printf ("Error A : %02X\n", psds->read_data [0] & 0xFF) ; in sds_2byte_read()
441 checksum = psds->read_data [1] ; in sds_2byte_read()
447 checksum ^= psds->read_data [k] ; in sds_2byte_read()
451 if (checksum != psds->read_data [SDS_BLOCK_SIZE - 2]) in sds_2byte_read()
452 …, "Block %d : checksum is %02X should be %02X\n", psds->read_data [4], checksum, psds->read_data [… in sds_2byte_read()
455 ucptr = psds->read_data + 5 ; in sds_2byte_read()
478 if ((k = psf_fread (psds->read_data, 1, SDS_BLOCK_SIZE, psf)) != SDS_BLOCK_SIZE) in sds_3byte_read()
481 if (psds->read_data [0] != 0xF0) in sds_3byte_read()
482 { printf ("Error A : %02X\n", psds->read_data [0] & 0xFF) ; in sds_3byte_read()
485 checksum = psds->read_data [1] ; in sds_3byte_read()
491 checksum ^= psds->read_data [k] ; in sds_3byte_read()
495 if (checksum != psds->read_data [SDS_BLOCK_SIZE - 2]) in sds_3byte_read()
496 …, "Block %d : checksum is %02X should be %02X\n", psds->read_data [4], checksum, psds->read_data [… in sds_3byte_read()
499 ucptr = psds->read_data + 5 ; in sds_3byte_read()
522 if ((k = psf_fread (psds->read_data, 1, SDS_BLOCK_SIZE, psf)) != SDS_BLOCK_SIZE) in sds_4byte_read()
525 if (psds->read_data [0] != 0xF0) in sds_4byte_read()
526 { printf ("Error A : %02X\n", psds->read_data [0] & 0xFF) ; in sds_4byte_read()
529 checksum = psds->read_data [1] ; in sds_4byte_read()
535 checksum ^= psds->read_data [k] ; in sds_4byte_read()
539 if (checksum != psds->read_data [SDS_BLOCK_SIZE - 2]) in sds_4byte_read()
540 …, "Block %d : checksum is %02X should be %02X\n", psds->read_data [4], checksum, psds->read_data [… in sds_4byte_read()
543 ucptr = psds->read_data + 5 ; in sds_4byte_read()