Closed cvandongen684 closed 2 years ago
Line 75 of libcpm3-z80-main/src/file/write.c: bdosret(F_WRITE, (uint16_t)&(fdblk->dma),&result); should be: bdosret(F_WRITE, (uint16_t)&(fdblk->fcb),&result); as BDOS function 21 expects the address of the FCB.
Thank you. It will be fixed tonight. The write functions are latest addition (written from scratch) so I guess there are more bugs hidden in there..
Fixed.
Line 75 of libcpm3-z80-main/src/file/write.c: bdosret(F_WRITE, (uint16_t)&(fdblk->dma),&result); should be: bdosret(F_WRITE, (uint16_t)&(fdblk->fcb),&result); as BDOS function 21 expects the address of the FCB.