-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove compiler warnings * remove compiler warnings * - add a 'spare' debug field of 12 bits to report signals under current debugging. The released version is as follow bit 11 : a sector-not-found error has occured bit 10 : a track error has occured bit 9 : the controller went double-density (which is not implemented whatsoever) bit 8 : track in fd1771 is not equal to track in floppy (seek not done) bits 7-0 : counter of 'data_lost' authorized slippage (maximum data_lost recovered we had to wait in a sector read)) - modified the way the motor timing is generated to avoid truncature of results like 20/12 = 1, leading to unwanted timeouts removing multiply and divide operation is a free bonus - other minor corrections * This release tend to make LDOS work. NEWDOS and TRSDOS work fine, but LDOS seems more fragile or more demanding. Anyway, with this release, it boots, and the MISOSYS C compiler get though compiing UNARC/CCC, sort of. - generate a sector_not_found error if - track in controller differ from track in device - track out of bounds (of disk image) - fix controller track stepping bounds so tracks don't get negative. - generate a seek error if the track in the drive is different of the desired track in the controller at the end of the seek op. - add grace steps if data_lost occurs. This is not in the specs of course, but LDOS makes a lot of these errors, so befor we find why, this fixes it. - change HLD head status so that it stays loaded between tracks - lower sector_not_found delay because if the floppy motor goes off before operation is finished, everything gets locked up. - add some debug for error tracking - fix SECTOR_BASE to 0 - Remove all code for sector len = 128 or 1024, just kept 256 aand 512 if double density is implemented one day - In the same spirit, keep controller_type at 0, and keep only one way to compute sd_lba JV1 compatble - remove some useless code - removed "cmd_rx_i" delay because I can't figure out what it does. * - I fixed a boo-boo in my last data-lost tolerent algo. - Fixed the 'BOOT' command in a DO JCL job This should be now a stable release, at least a Release Candidate. LDOS boots and a complete C compiling job works flawlessly (Misosys C compiler, command DO MC (N=UNARC) ) * disk I/O fixes. LDOS stabilized. * Fixes in the "PC" section of the keyboard driver. This should fix issue #14
- Loading branch information
1 parent
a9877f4
commit bda8ee9
Showing
3 changed files
with
79 additions
and
42 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters