| 5 | static std::fstream inputFile; |
| 6 | |
| 7 | void syntax() |
| 8 | { |
| 9 | std::cout << "Syntax: brother240tool <image>\n" |
| 10 | "The disk image will be flipped from Brother to DOS format " |
| 11 | "and back\n" |
| 12 | "again.\n"; |
| 13 | exit(0); |
| 14 | } |
| 15 | |
| 16 | uint8_t getbyte(uint32_t offset) |
| 17 | { |