Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: OT: Batch execution of debug commands in DOS  (Read 807 times)

0 Members and 1 Guest are viewing this topic.

Offline whabang

OT: Batch execution of debug commands in DOS
« 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? ( :-( )
Beating the dead horse since 2002.
 

Offline olegil

Re: OT: Batch execution of debug commands in DOS
« Reply #1 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?
 

Offline whabang

Re: OT: Batch execution of debug commands in DOS
« Reply #2 on: March 19, 2003, 03:35:38 PM »
Problem is that it's not supposed to become a file.
Beating the dead horse since 2002.
 

Offline whabang

Re: OT: Batch execution of debug commands in DOS
« Reply #3 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.
Beating the dead horse since 2002.