| 273 | } |
| 274 | |
| 275 | Bytes Filesystem::getSector(unsigned track, unsigned side, unsigned sector) |
| 276 | { |
| 277 | auto s = _sectors->get(track, side, sector); |
| 278 | if (!s) |
| 279 | throw BadFilesystemException(); |
| 280 | return s->data; |
| 281 | } |
| 282 | |
| 283 | Bytes Filesystem::getLogicalSector(uint32_t number, uint32_t count) |
| 284 | { |
no test coverage detected