summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flex_dsk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* flex_dsk: include an identify() method. 68bit2020-02-091-0/+9
| | | | | | It is necessary to return a higher score on success, higher than returned by the default method, in order for a general 'identify' to succeed over competitive matches.
* wd177x_dsk: generalize to allow custom track format variations 68bit2020-02-081-213/+1126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a get_track_format() method that can be overridden to supply format variations for any track and head. The code is generalised to account for such variations. The default method returns the passed format, so this change is neutral for existing formats. Simplify the FLEX DSK format code. There are now simply format variation descriptions for the second track that have the sector ID continuing in sequence from the first track, rather than specialized code. Extend the FLEX format to support variations in the sectors ID of the first two sectors. The FLEX 6800 boot sectors have IDs based at zero rather than one. Extend the FLEX format to support variations for which the first track, on both sides, is single density on an otherwise double density disk which was historically a common format. Extend the OS9 disk format to support variations for which the first track, on only the first side, is single density on an otherwise double density disk. OS9 for the SWTPC and Gimix typically used such formats. Extend the OS9 disk format to support variations with a base sector ID of zero in contrast to the existing COCO OS9 format which uses a based sector ID of one. The OS9 format identification code is extended to rely on the optional information stored in the OS9 LSN0 header to identify COCO format disks, and all COCO format disks appear to have this optional information in a regular enough format.
* flex_dsk: fix the logging of the disk name extension 68bit2019-08-261-2/+2
| | | | It had been printing the disk name again.
* srcclean (nw) Vas Crabb2019-08-251-6/+6
| | | | I'm assuming atronic.cpp was supposed to be Windows-1252 with Euro currency symbol encoding. Everyone please use UTF-8 for source files.
* flex floppy dsk: rewrite to be based on the wd177x dsk format 68bit2019-08-131-61/+300
| | | | | | This now works with both single density and double density floppy disks, and dynamically identifies boot sector IDs required for 6800 booting, and supports writing back to the 'dsk' image files.
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-3/+3
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+107