diff options
author | 2024-06-30 17:43:02 +1000 | |
---|---|---|
committer | 2024-06-30 17:43:02 +1000 | |
commit | 9f6c0de566d7bd3fcc956809ae4c80acf128fb3d (patch) | |
tree | 00e8358495adfd84a323409cce46240bd8799781 /src/lib/formats/fs_coco_rsdos.cpp | |
parent | db219fd88826cd8c4d1bafe449c6872bd34efa5d (diff) |
Cleaned up various stuff.
* sony_news.xml: Added proper compatibility flags for different
generations.
* cpu/pic16x8x: This is very much a derivative work.
* cpu/tms32025.cpp: Allow stack push/pop to be inlined.
* tecmo/bombjack.cpp: Avoid needing to remove and replace devices in
machine configuration.
* Various other cleanup.
Diffstat (limited to 'src/lib/formats/fs_coco_rsdos.cpp')
-rw-r--r-- | src/lib/formats/fs_coco_rsdos.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/fs_coco_rsdos.cpp b/src/lib/formats/fs_coco_rsdos.cpp index a4aa15afee2..e040ea9dd75 100644 --- a/src/lib/formats/fs_coco_rsdos.cpp +++ b/src/lib/formats/fs_coco_rsdos.cpp @@ -381,7 +381,7 @@ err_t coco_rsdos_impl::file_create(const std::vector<std::string> &path, const m dir_block.wstr(file_index * DIRECTORY_ENTRY_SIZE + 0, fname); dir_block.w8(file_index * DIRECTORY_ENTRY_SIZE + OFFSET_FIRST_GRANULE, granule); - // The file type, ascii flag, and number of bytes in last sector of file will be set during writing. + // The file type, ASCII flag, and number of bytes in last sector of file will be set during writing. } } } @@ -495,12 +495,12 @@ u8 coco_rsdos_impl::determine_file_type(const std::vector<u8> &data) const { if (is_ascii(data)) { - // TODO: Distinguish between basic code and text editor data + // TODO: Distinguish between BASIC code and text editor data return FILE_TYPE_BASIC; } const size_t data_length = data.size(); - // Binary basic code seems to begin with ff <16bit size> 26 + // Binary BASIC code seems to begin with ff <16bit size> 26 if (data_length > 4 && data[0] == 0xff && data[3] == 0x26 && ((data[1] << 8) | data[2]) == data_length - 3) return FILE_TYPE_BASIC; |