allow sector sizes < 256 to be handled properly.
allow sector sizes < 256 to be handled properly.

joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib