This is a list of pages that have been tagged with “imgtool”.
| Page | Description | Tags |
|---|---|---|
| Imgtool | Imgtool is used to access files stored in native disk images. For example, you can manipulate Apple II disks and extract files, or rename a file on a VZ200 disk. Modules To add support for a new format, you have to write an imgtool module. Those modules implement various functions that are then called by imgtool to perform the specific task. Those functions are: | reference, mess, tools, imgtool |
| read_file() | The read_file() function is called when the user requests a file to be read from the source image. Syntax Declaration Declared in src/mess/tools/imgtool/library.h as Parameters * partition -- Pointer to an imgtool_partition where the file is. * filename -- Pointer to a string with the filename of the file the user wants to read. * fork -- Pointer to a string with a resource fork. Only used for Macintosh filesystems. * destf -- Pointer to an imgtool_stream to write the file data to. | reference, mess, imgtool, imgtoolinfo function |
| stream_write() | The stream_write() function is used to write to data to imgtool_streams. Syntax Declaration Declared in src/mess/tools/imgtool/stream.h as UINT32 stream_write(imgtool_stream *stream, const void *buf, UINT32 sz); Parameters * stream -- Pointer to the imgtool_stream where the data should be written. * buf -- Pointer to a buffer with the data. * sz -- Amount of bytes to write. | reference, mess, imgtool, stream |