On (02 Aug 97) Kurt Wismer wrote to All...
KW> int 13h, function 8h returns the number of tracks and the number of
KW> sectors per track in cx... it also seems to return something in ax
KW> which my info doesn't make mention of but what seems to be just the
KW> number of sectors per track all by itself...
KW> i was wondering if that is what is actually happening or if it was
KW> just a coincidence... i certainly wouldn't mind dropping the three
KW> bytes needed for and cx, 3f if i could just get the number i want
KW> from ax...
My guess would be that in your particuarly BIOS, it's real - I.e. it
probably gets the number in AX, then or's it into CX for the return.
However, a different BIOS canNOT be depended upon to work the same way;
I ran a test on my main machine, and unless there was an error, AX was
set to 0.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|