Creating COM files from Debug scripts in DOSBox


To get around the issue of Debug.exe hanging while attempting to redirect input from a text file into DOS debug (explained on StackOverflow DOSBox: debug.exe reads file – processes commands incorrectly) use the FreeDOS DEBUG.COM replacement.

A cool 16 Bit COM file example to show how this works is fireasm.scp

To assemble fire.com from fireasm.scp, place debug.com and fireasm.scp in the same folder and run DOSBox. Mount the folder in DOSBox and type:

debug < fire.scp
fire.com

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s