News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Applying Debug

Started by zak100, June 10, 2010, 10:19:49 AM

Previous topic - Next topic

zak100

Quote
Hi Zulfi,

   Since your code is working for me in DEBUG, I will redo it
as a boot loader to see if anything changes.  But that may
take a while.


Quote from: zak100 on June 09, 2010, 05:32:05 am
Hi,
Sorry, is this exercise going to help me to get around with int 15h problem
during Debugging?


   Well, that was the idea.  But of course it may not work.  Or
you can procede as you are doing now.


Quote
I am using a floppy disk in which I am storing the bootloader &
the kernel. I have got following Questions:
i) Do I have to use another floppy?


   Probably a very good idea to do so, but not required.


Quote
ii) Do I have to change my config.sys and autoexec.bat?


   If you mean reusing the CONFIG.SYS and AUTOEXEC.BAT
from a Windows system, then yes you cannot use that on a
DOS floppy.


Quote
iii)I dont know if I have Dos 6.2. When I type ver, its telling
me the version of OS & not DOS?


   Right, you probably do not have MS-DOS 6.2.  You can get
"FreeDOS" or another real-mode MS-DOS clone if you don't
have access to a DOS or Windows 9x system.  From what
you have said, you probably have some version of NT style
Windows.

www.freedos.org/


Quote
iv)If i change my config.sys & Autoexec.bat with the listing provided by
Steve, is it going to do everything, I mean setup the RAM disk & load the
Debug.


   You will have to format a bootable DOS diskette.  Then copy
the RAM Disk driver, DEBUG, DOSKEY, your code, an _old_
version of MASM, and LINK16 to the disk.  Then you can use
the CONFIG.SYS and AUTOEXEC.BAT I posted assuming you
put everything in the same places I did.  You don't need to
worry about the RAM drive, that is just an extra I use. Oh,
EXE2BIN will be needed for making a COM style executable.
And you may want an editor.

   The basic idea was to avoid rebooting after each modification
of the code.  That drove me nuts.  I had/have computers set
up with DOS so things were fairly simple for me to switch over
from a boot loader to DEBUG.  The computer I mostly used
for this is no longer usable, so things are going a bit slower
now.

HTH,

Steve N.


Hi,
I am continuing it from another thread based upon the above reply.

I tried to download FreeDos, and I downloaded the file dzbin154. When I extracted it, I got several files,dz & dzmain, are the executables. When I execute them, I am getting a window & a prompt option. But when I am typing commands, its not working. I have tried to download DOS 6. But when I am trying to execute Format command, I am getting incoreect DOS problem.

I also have a Question. Can we store command.com, masm, linker, RAM disk driver in a 1.44 floppy?

I am waiting for reply on this.

Zulfi.

Magnum

Quote from: zak100 on June 10, 2010, 10:19:49 AM
Quote
Hi Zulfi,

   

I tried to download FreeDos, and I downloaded the file dzbin154. When I extracted it, I got several files,dz & dzmain, are the executables. When I execute them, I am getting a window & a prompt option. But when I am typing commands, its not working. I have tried to download DOS 6. But when I am trying to execute Format command, I am getting incoreect DOS problem.

I also have a Question. Can we store command.com, masm, linker, RAM disk driver in a 1.44 floppy?

I am waiting for reply on this.

Zulfi.

You can put whatever can fit onto the floppy.

Get the Super MS-DOS 7.10 Boot Disk  (Build: 2004.2.14) from here.
http://ms-dos7.hit.bg/

It makes it's own ram disk after it starts.

Have a great day,
                         Andy

zak100

Hi,
Thanks. I have down loaded the Boot disk software. I tried MakeBoot but I got following message:

Restoring A:, Head 0, Track 0, Sector #1-18

I think there is some problem with my floppy. Earlier I tried to make it a system disk from Windows but it was not working.

I want to use a USB now. Kindly tell me how to make the USB bootable.
Zulfi.