Add long sector writing support and related error handling in write.c and context.h

This commit is contained in:
2025-10-03 17:46:40 +01:00
parent ec1811eb78
commit 879a41d5a1
4 changed files with 647 additions and 5 deletions

View File

@@ -94,6 +94,8 @@ AARU_EXPORT int32_t AARU_CALL aaruf_read_sector_long(void *context, uint64_t sec
AARU_EXPORT int32_t AARU_CALL aaruf_write_sector(void *context, uint64_t sector_address, bool negative,
const uint8_t *data, uint8_t sector_status, uint32_t length);
AARU_EXPORT int32_t AARU_CALL aaruf_write_sector_long(void *context, uint64_t sector_address, bool negative,
const uint8_t *data, uint8_t sector_status, uint32_t length);
AARU_EXPORT int32_t AARU_CALL aaruf_verify_image(void *context);