Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: whabang on March 19, 2003, 03:20:55 PM

Title: OT: Batch execution of debug commands in DOS
Post by: whabang on March 19, 2003, 03:20:55 PM
I'm trying to run the following debug command from autoexec.bat in DOS:

F 200 L1000 0
A CS:100
MOV AX, 301
MOV BX, 200
MOV CX, 1
MOV DX, 80
INT 13
INT 20

G


Is this possible or do I have to type it in manually every time? ( :-( )
Title: Re: OT: Batch execution of debug commands in DOS
Post by: olegil on March 19, 2003, 03:32:27 PM
Ehm, why not put it in a file, run it through debug and then run the resulting file in the batch script? Doesn't that work anymore?
Title: Re: OT: Batch execution of debug commands in DOS
Post by: whabang on March 19, 2003, 03:35:38 PM
Problem is that it's not supposed to become a file.
Title: Re: OT: Batch execution of debug commands in DOS
Post by: whabang on March 19, 2003, 03:37:19 PM
Problem solved!
I put everything in a text file, and then sent it to debug using debug < commands.txt.