LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-30-2008, 05:36 PM   #1
DarkPlexus
LQ Newbie
 
Registered: Oct 2007
Location: California
Distribution: Fedora 7
Posts: 27

Rep: Reputation: 15
looking for x86 debug for dos, on linux


i need to be able to use the old debug.exe in dos, but i don't have dos/windows/etc installed on my system.

i don't want to put windows or old dos on my system since it'll allow other people to have weird access to my files that i can't allow.

i know of dosbox, have it installed. but the debug.exe from my old start up disks, when launched on dosbox, will tell me incorrect version of ms-dos.

assuming this is true. i can change the reported version using the ver command (ver set 6) and it'll then say ms-dos 6.0

the problem is that i've tried to set a lot of versions and so on, and still no luck. and i have no idea how to check what version the program needs.


since all this needs to be run on linux somehow. it would be nice if i had a program like dosbox (maybe that *is* what i need, somebody will have to tell me).. uhh the idea is that i wont be able to use the linux kernel for interrupts, i'd have to use windows or dos or whatever. so i'd need to emulate that somehow, since the interrupt requests are mostly all diff, an no good to put assembly from dos to linux etc...

anyway, i'm at a loss and i've been searching around for a few days trying to find something. this is for school, and they'll be using windows xp or vista or something horrible. we'll be using ms-dos (version?? i dono) and the old debug.exe

i'm looking for debug.exe type of program that will work on linux/unix/etc, that actually does all the things (or close to it ofcourse) to the dos debug one.

need it for x86 intel type cpu's
and.. would be good if it wasn't the at&t %syntax %thingy

then we'll be moving to nasm or masm or whatever.. ..yasm..
i have them all installed for the linux versions of them, none for dos/windows

i've started to learn how to do assembly on linux on my own, and i'm trying to re-do what i didn't quite learn the first time for dos assembly...
 
Old 12-30-2008, 06:20 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I'm no expert, but have you had a look at gdb?

gnu debug...

http://www.gnu.org/software/gdb/

This is what they use at my university. It may be installed by default on some distributions.

In a shell (like konsole or term) type

man gdb or info gdb

Cheers, Glenn

Last edited by GlennsPref; 12-30-2008 at 06:27 PM. Reason: dyslexic today, fix spelling errors
 
Old 12-30-2008, 06:21 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
This sounds like a job for VMWare. Or VirtualBox (aka "VBox").

Just build a DOS VM (with matching OS and debug.exe), fire it up in VMWare or VBox ... and you should be in Fat City.

Good luck .. PSM
 
  


Reply

Tags
assembler, assembly, debug, dos, x86


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sabayon Linux x86/x86-64 3.5 Stable release LXer Syndicated Linux News 0 07-03-2008 12:00 AM
equivalent tool for DOS Debug in Linux kushalkoolwal Linux - Software 1 05-28-2008 09:01 PM
LXer: Sabayon Linux x86/x86-64 3.5 Loop 2: Beta Release LXer Syndicated Linux News 0 03-17-2008 06:41 PM
LXer: Sabayon Linux x86/x86-64 3.4 [Stable Release] LXer Syndicated Linux News 0 07-25-2007 02:46 AM
LXer: Sabayon Linux x86/x86-64 3.3 released LXer Syndicated Linux News 0 03-16-2007 12:46 PM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration