/dports/games/libretro-hatari/hatari-561c07e/tools/hmsa/ |
H A D | hmsa.c | 166 unsigned char *diskbuf; in main() local 237 diskbuf = MSA_ReadDisk(drive, srcfile, &disksize, &ImageType); in main() 238 if (!diskbuf || disksize < 512*8) { in main() 243 retval = File_Save(dstfile, diskbuf, disksize, FALSE); in main() 248 diskbuf = HFile_Read(srcfile, &disksize, NULL); in main() 249 if (!diskbuf || disksize < 512*8) { in main() 254 retval = MSA_WriteDisk(drive, dstfile, diskbuf, disksize); in main() 258 if (diskbuf) { in main() 259 free(diskbuf); in main()
|
/dports/emulators/hatari/hatari-2.2.1/tools/hmsa/ |
H A D | hmsa.c | 166 unsigned char *diskbuf; in main() local 237 diskbuf = MSA_ReadDisk(drive, srcfile, &disksize, &ImageType); in main() 238 if (!diskbuf || disksize < 512*8) { in main() 243 retval = File_Save(dstfile, diskbuf, disksize, FALSE); in main() 248 diskbuf = File_Read(srcfile, &disksize, NULL); in main() 249 if (!diskbuf || disksize < 512*8) { in main() 254 retval = MSA_WriteDisk(drive, dstfile, diskbuf, disksize); in main() 258 if (diskbuf) { in main() 259 free(diskbuf); in main()
|
/dports/games/dMagnetic/dMagnetic_0.32/src/loader/ |
H A D | loader_atarixl.c | 117 int loader_atarixl_detectgame(unsigned char* diskbuf,int* disk1offs,int* disk2offs) in loader_atarixl_detectgame() argument 137 …loader_common_descramble(&diskbuf[d1+(DISK_OFFSETMASK&loader_atarixl_cGameInfo[i].offs_code1)],tmp… in loader_atarixl_detectgame() 150 …loader_common_descramble(&diskbuf[d2+(DISK_OFFSETMASK&loader_atarixl_cGameInfo[i].offs_code1)],tmp… in loader_atarixl_detectgame() 157 int loader_atarixl_mkmag(unsigned char* diskbuf,int disksize,int disk1offs,int disk2offs,unsigned c… in loader_atarixl_mkmag() argument 192 n=loader_common_descramble(&diskbuf[idx],&magbuf[magidx],pivot,&lc,rle); in loader_atarixl_mkmag() 203 n=loader_common_descramble(&diskbuf[idx],&magbuf[magidx],pivot,&lc,rle); in loader_atarixl_mkmag() 220 n=loader_common_descramble(&diskbuf[idx],&magbuf[magidx],pivot,&lc,0); in loader_atarixl_mkmag() 248 magbuf[magidx++]=diskbuf[idx1++]; in loader_atarixl_mkmag() 257 magbuf[magidx++]=diskbuf[idx2++]; in loader_atarixl_mkmag() 298 n=loader_common_descramble(&diskbuf[idx],&magbuf[magidx],pivot,&lc,0); in loader_atarixl_mkmag()
|
/dports/graphics/xfractint/xfractint-20.04p16/common/ |
H A D | memory.c | 735 BYTE diskbuf[DISKWRITELEN]; in MoveToMemory() local 828 far_memcpy(diskbuf,buffer,(U16)DISKWRITELEN); in MoveToMemory() 837 far_memcpy(diskbuf,buffer,(U16)tomove); in MoveToMemory() 838 numwritten = (U16)write1(diskbuf,(U16)tomove,1,handletable[handle].Disk.file); in MoveToMemory() 862 BYTE diskbuf[DISKWRITELEN]; in MoveFromMemory() local 960 far_memcpy(buffer,diskbuf,(U16)DISKWRITELEN); in MoveFromMemory() 964 numread = (U16)fread(diskbuf,(U16)tomove,1,handletable[handle].Disk.file); in MoveFromMemory() 969 far_memcpy(buffer,diskbuf,(U16)tomove); in MoveFromMemory() 989 BYTE diskbuf[DISKWRITELEN]; in SetMemory() local 1073 far_memset(diskbuf, value, (U16)DISKWRITELEN); in SetMemory() [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/utils/ |
H A D | memdiskfind.c | 69 mbft->mdi.diskbuf, mbft->mdi.disksize << sector_shift); in output_params()
|
/dports/sysutils/syslinux/syslinux-6.03/memdisk/ |
H A D | mstructs.h | 87 uint32_t diskbuf; member
|
H A D | setup.c | 862 pptr->mdi.diskbuf = ramdisk_image + geometry->offset; in setup() 968 pptr->edd_dpt.devpath[0] = pptr->mdi.diskbuf; in setup() 1221 (char *)pptr->mdi.diskbuf + geometry->boot_lba * 512, in setup()
|
/dports/sysutils/extipl/extipl-5.04/src/ |
H A D | extipl.c | 697 char diskbuf[SECTOR_SIZE]; local 701 if (rdipl(device, diskbuf, &mbr, SECTOR_SIZE) != SECTOR_SIZE) 704 p = (struct partition_s *)(diskbuf + TABLE_OFFSET); 708 return(wripl(device, diskbuf, &mbr, SECTOR_SIZE) == SECTOR_SIZE ? OK: ERR);
|
/dports/sysutils/syslinux/syslinux-6.03/com32/modules/ |
H A D | ifmemdsk.c | 327 mdi->diskbuf, in memdisk_info()
|
/dports/sysutils/syslinux/syslinux-6.03/dosutil/ |
H A D | mdiskchk.c | 134 m->mdi.diskbuf, m->mdi.disksize, m->cylinders, m->heads, m->sectors, in OUTPUT_FUNC_DECL()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/ |
H A D | draw.cc | 64 diskbuf(NULL) in DrawPar()
|
H A D | draw.hh | 109 ProcessorBase* diskbuf; member in PF::DrawPar
|
/dports/science/afni/afni-AFNI_21.3.16/src/nifti/fsliolib/ |
H A D | fslio.c | 2120 void *diskbuf; in FslGetVolumeAsScaledDouble() local 2159 diskbuf = NULL; in FslGetVolumeAsScaledDouble() 2160 ret = nifti_read_collapsed_image(fslio->niftiptr, dims_to_get, &diskbuf ); in FslGetVolumeAsScaledDouble() 2168 …ret = convertBufferToScaledDouble(newbuf[0][0], diskbuf, (long)(xx*yy*zz), slope, inter, fslio->ni… in FslGetVolumeAsScaledDouble() 2170 free(diskbuf); in FslGetVolumeAsScaledDouble()
|
/dports/science/nifticlib/nifticlib-2.0.0/fsliolib/ |
H A D | fslio.c | 2121 void *diskbuf; in FslGetVolumeAsScaledDouble() local 2160 diskbuf = NULL; in FslGetVolumeAsScaledDouble() 2161 ret = nifti_read_collapsed_image(fslio->niftiptr, dims_to_get, &diskbuf ); in FslGetVolumeAsScaledDouble() 2169 …ret = convertBufferToScaledDouble(newbuf[0][0], diskbuf, (long)(xx*yy*zz), slope, inter, fslio->ni… in FslGetVolumeAsScaledDouble() 2171 free(diskbuf); in FslGetVolumeAsScaledDouble()
|