DOS/65 Refresh

- Refresh WIP files of DOS/65 from Dan Werner
- Another tweak to SURVEY
- Regen PDF docs
This commit is contained in:
Wayne Warthen
2023-03-27 14:44:54 -07:00
parent 9654d487ba
commit 7563863be2
41 changed files with 2518 additions and 338 deletions

View File

@@ -565,11 +565,8 @@ cpm_word fcb_randwr(cpm_byte* fcb, cpm_byte* dma)
/* Update the file length */
len = redir_rd32(fcb + LENGTH_OFFSET);
/* PMO: Bug fix, account for the data just written */
if (len < offs + rv) {
if (len < offs + rv)
redir_wr32(fcb + LENGTH_OFFSET, offs + rv);
/* WBW: Not actually a bug. Causes problems w/ GENCPM */
// fcb[0x20] = (offs + rv) % 256;
}
if (rv < redir_rec_len) FCBRET(1); /* disk full */
FCBRET(0);