- db ', Write',0\r
-\r
-\r
- ; table of pointers to error message strings\r
-\r
-fr$msg0: db ' Unknown FatFs Error,',0\r
-fr$msg1: db ' DISK_ERR,',0\r
-fr$msg2: db ' INT_ERR,',0\r
-fr$msg3: db ' NOT_READY,',0\r
-fr$msg4: db ' NO_FILE,',0\r
-fr$msg5: db ' NO_PATH,',0\r
-fr$msg6: db ' INVALID_NAME,',0\r
-fr$msg7: db ' DENIED,',0\r
-fr$msg8: db ' EXIST,',0\r
-fr$msg9: db ' INVALID_OBJECT,',0\r
-fr$msg10: db ' WRITE_PROTECTED,',0\r
-fr$msg11: db ' INVALID_DRIVE,',0\r
-fr$msg12: db ' NOT_ENABLED,',0\r
-fr$msg13: db ' NO_FILE_SYSTEM,',0\r
-fr$msg14: db ' MKFS_ABORTED,',0\r
-fr$msg15: db ' TIMEOUT,',0\r
-fr$msg16: db ' LOCKED,',0\r
-fr$msg17: db ' NOT_ENOUGH_CORE,',0\r
-fr$msg18: db ' TOO_MANY_OPEN_FILES,',0\r
-fr$msg19: db ' FR_INVALID_PARAMETER,',0\r
+ db ', Write, ',0\r
+\r
+ ; general driver errors\r
+\r
+drvmsg0: db 'Unknown Error, ',0\r
+drvmsg1: db 'Invalid Parameter(s), ',0\r
+drvmsg2: db 'Invalid Drive, ',0\r
+drvmsg3: db 'Bus Timeout, ',0\r
+drvmsg4: db 'Access beyond disk size, ',0\r
+drvmsg5: db 'Write protected, ',0\r
+drvmsg6: db 'No media, ',0\r
+drvmsg_size equ $ - drvmsg0\r
+drvmsg_count equ 7\r
+\r
+ ; fat file system errors\r
+\r
+fr$msg0: db 'Unknown Error,',0\r
+fr$msg1: db 'DISK_ERR,',0\r
+fr$msg2: db 'INT_ERR,',0\r
+fr$msg3: db 'NOT_READY,',0\r
+fr$msg4: db 'NO_FILE,',0\r
+fr$msg5: db 'NO_PATH,',0\r
+fr$msg6: db 'INVALID_NAME,',0\r
+fr$msg7: db 'DENIED,',0\r
+fr$msg8: db 'EXIST,',0\r
+fr$msg9: db 'INVALID_OBJECT,',0\r
+fr$msg10: db 'WRITE_PROTECTED,',0\r
+fr$msg11: db 'INVALID_DRIVE,',0\r
+fr$msg12: db 'NOT_ENABLED,',0\r
+fr$msg13: db 'NO_FILE_SYSTEM,',0\r
+fr$msg14: db 'MKFS_ABORTED,',0\r
+fr$msg15: db 'TIMEOUT,',0\r
+fr$msg16: db 'LOCKED,',0\r
+fr$msg17: db 'NOT_ENOUGH_CORE,',0\r
+fr$msg18: db 'TOO_MANY_OPEN_FILES,',0\r
+fr$msg19: db 'FR_INVALID_PARAMETER,',0\r
+fr$msg20: db 'short read/write,',0\r