Dietrich-L / CPM-65-for-Apple-II

CPM-65 operating system for Apple II
Other
4 stars 1 forks source link

BIOS write function buggy #4

Closed Dietrich-L closed 1 year ago

Dietrich-L commented 1 year ago

When trying to write a sector to the disc with DUTIL wrong data are written.

Dietrich-L commented 1 year ago

Analysis shows, that the write_track routine writes all sectors with 256 $00 Bytes. Reason is unclear at this time. All tables ( DISK_SIXES_BUFFER, DISK_TWOS_BUFFER) seem ok. Will investigate further

Dietrich-L commented 1 year ago

Some progress. The BIOS can now write single sectors and full tracks. However as soon a BDOS function which changes a directory sector is acessed, the whole disk is corrupted, the system overwritten and the directory too. I assume a bug in the blocking/deblocking algorithm in the BIOS.

The bug hunt continues….

Dietrich-L commented 1 year ago

Rewriting buffered tracks if marked dirty corrected. BIOS WRITE now works - hopefully

Dietrich-L commented 1 year ago

Solved