FDOS / kernel

FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
http://kernel.fdos.org/
GNU General Public License v2.0
811 stars 144 forks source link

fix issue #144 by correcting getbpb return code #146

Closed boeckmann closed 8 months ago

boeckmann commented 8 months ago

Also mask high AL bit for INT25,26. Maybe set by some programs according to RBIL

boeckmann commented 8 months ago

Had to change it to make getbpb return 0 on success again (mediachk depends on it). While I initially had the impression it worked, all drives had the same serial number :/

Now getbpb now also returns 0 when returning the default bpb. I can format the drive and all drives have correct serial numbers. I hope it is ok now.

andrewbird commented 8 months ago

Perhaps squash the three commits into one?

boeckmann commented 8 months ago

Yes, I will try to clean this up and make another merge request. Have to learn how this squashing works first.

andrewbird commented 8 months ago

You don't need to make another merge request, you can squash and then force push into the same branch. Github will update the PR's content.

boeckmann commented 8 months ago

You don't need to make another merge request, you can squash and then force push into the same branch. Github will update the PR's content.

Good to know! This sadly got auto-closed when I deleted my issue144_fix branch.