mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:13:13 -06:00
DOS/65 Refresh
- Refresh WIP files of DOS/65 from Dan Werner - Another tweak to SURVEY - Regen PDF docs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user