Merge cdrom 13xx handlers with main disk 13xx handlers.
authorKevin O'Connor <kevin@koconnor.net>
Wed, 19 Aug 2009 02:38:49 +0000 (22:38 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 19 Aug 2009 02:38:49 +0000 (22:38 -0400)
commit51cfbe76701c382a33070c490eedd00d3db8c0ee
tree75bb699ef335df5345a9a374a30d755fb510d2c1
parente6f527a719377134f41bd2eab6906e03205a789b
Merge cdrom 13xx handlers with main disk 13xx handlers.

Most of the cdrom_13 code did the same thing as disk_13 - so merge
    them together.
Add definitions for 0xe0 (EXTSTART_CD) and 0x80 (EXTSTART_HD).
This changes the behavior for cdroms on 1315 and 1316 calls -
    previously 1315 returned an error and set ah=2, now it sets ah=1
    and doesn't return an error; previously 1316 returned ok, not it
    returns EPARAM.
src/cdrom.c
src/disk.c
src/disk.h