Questions tagged [dos-com]
COM files are headerless 16-bit executable files which were used in CP/M, PC-DOS, and MS-DOS. The files also run under 32-bit versions of Windows via NTVDM or in emulation software such as DosBox or DOSEMU.. For Component Object Model, use the tag "com" instead.
9
questions
2
votes
1
answer
1k
views
How to import x86asm into Ghidra?
I have some assembly code as a .txt file (i.e. a list of the instructions, stuff like this):
00000003 E8D001 call 0x1d6
00000006 A08000 mov al,[0x80]
00000009 0C00 ...
1
vote
0
answers
294
views
I have a dos file/database that i need to extract into MS Excel or My Sql
I have a dos file/database(decades old) that I need to extract into MS Excel or My SQL.
I am using a MacBook.
The file appears to have no extension.
The file type I can see when I do "get info&...
0
votes
1
answer
54
views
How to determine commands sent over DC-37 port by software from 1992
Background
Since some time we've been in the possession of a greenhouse. It was build around 1990 and had an automated system for climate control. However most of the installation has been removed ...
2
votes
1
answer
219
views
How to create executable COM file from hexdump code of msdos 8086
I've got an hexdump of COM MSDOS 8086 file, and I'm trying to transform it to COM executable.
After looking around, I found a site1 that gives reasonable disassembly of the hexdump. Although, when I ...
10
votes
2
answers
6k
views
Why does IDA add "db" statements between disassembled code
I'm trying to analyze a MS-DOS COM file that I wrote a few years ago with IDA Free 5.0, I've since renamed the segment to code_and_data and named constants and set data types correctly. However, when ...
0
votes
1
answer
260
views
COM file starting point
I'm having issue reversing a small old COM file from the early 90s. My understanding was that code begins at 0x100, however the one I have seems to begin at 0x90 (0s before). However some of the ...
16
votes
6
answers
15k
views
Decompilation techniques for DOS .COM files
I've found a binary copy of a DOS freeware game I was fond of back in the day (Firefighter, downloadable as FIRE.COM) but the source code is not available. I'd like to re-implement it in C or Python ...
5
votes
1
answer
617
views
Cannot trace an MS-DOS COM file
When debugging the following com file in MS-DOS, I can successfully run the program with -g and it terminates normally, but when I trace it -t 1000, the program throws an illegal operation exception ...
8
votes
3
answers
1k
views
Working with DOS .COM files
What can I do to reverse engineer a DOS .COM file? As far as debugging goes, I've looked DEBUG and DEBUGX from the creators of FreeDOS, as well as the default DEBUG command that comes with Windows. ...