Skip to contentSkip to conversation

bug in debug

DISCUSSION Jan Willem Stumpel 1 participant 1 message Jan 4, 2003

lore
Share & tools
lore
#0 lore raw

Freedos:
C:\>debug
=a100
0900:0100 repe scasb
0900:0102 repne scasb
0900:0104
=u100

0900:0100 F3AE          REPE    SCASB
0900:0102 F2AE          REPE    SCASB

MS-DOS 6.00:
C:\>debug
-a100
0A91:0100 repe scasb
0A91:0102 repne scasb
0A91:0104
-u100

0A91:0100 F3            REPZ
0A91:0101 AE            SCASB
0A91:0102 F2            REPNZ
0A91:0103 AE            SCASB

The opcodes F3 and F2 are disassembled by Freedos's DEBUG as if they are the same. Found this by accident while trying to find out why Sidekick does not load under Freedos. The reason for that, apparently, is that Sidekick expects an INT 28 instruction somewhere in the segment that holds the INDOS flag, and Freedos doesn't have that. In the location where MS-DOS has INT 28, Freedos has INT E6. Don't know what that means of course.

Regards, Jan