Questions tagged [dosbox]

x86 Emulator for old PC applications

DOSBox is an x86 emulator.

The purpose is to allow newer machines to run older programs that can not be run under modern operating systems such as Windows XP, 7, etc.

Information at: http://www.dosbox.com/wiki/Main_Page

515 questions
3
votes
2 answers

Playing music with the IBM-PC speaker

I'm working on a lab project, and I ran into a little problem. I already have written some code to make musical notes play, that part seems to work. The problem I'm having is that I handle the 'm' key for my music, and when I press it, the music…
user5724527
3
votes
1 answer

How to pass command line parameters to Emu8086?

What I want to do is to debug my assembly code using Emu8086 by starting my program as if it was launched via command line with some parameters. Using DOSBox I launch my program like this: program.exe result.txt source.txt (result.txt and source.txt…
sdafsDGZvb
  • 49
  • 1
  • 2
  • 10
3
votes
1 answer

Cursor won't move upon BIOS interrupt (x86 assembly/NASM)

Basically, I have to "paint" a simple picture of a house in my DOS Box using assembly code. Part of this picture involves a sky in the background and a green patch of grass underneath. I was told I can accomplish this by any method I wanted, but I…
Brandon Copeland
  • 125
  • 1
  • 2
  • 9
3
votes
1 answer

Display system time using int 21h, 2Ch

I'm trying to display the system time using int 21h, 2Ch so I started by displaying the hour in CH but I get no output and I don't know why. Could you please help? Here's the first piece of my code: Data_segment_name segment para H db ? hh db…
Nemo
  • 85
  • 2
  • 11
3
votes
1 answer

Int 21h/ah=39h returns with AX=3 upon directory creation

I'm trying to create a new directory in DOSBOX. I'm on Debian, using MASM via DOSBOX. The code is very simple, but it doesn't work. I have executed it with the debug, and it returns the error 3 (AX=0003h after execution). According to this, the…
pr00thmatic
  • 815
  • 9
  • 14
3
votes
1 answer

Reading characters from command prompt and using them for path-name in 8086 assembly

my program has purpose: read symbols from command line and use them as full path-name going to another directory. This program works if instead of inputting symbols from command line i define buffer as "P:\test\", so the problem is in the reading…
Pijus
  • 53
  • 9
3
votes
4 answers

about turbo c working under windows 7

i am using windows 7 64 bit laptop.i installed turbo c and write programs using dosbox, but i can't run the program.... when run is selected it show some message like not an :exe plz give solution to this problem
shana
  • 31
  • 2
3
votes
1 answer

Assembler can't locate existing files

My TASM is mounted to the folder where my TASM, TLINK, and other files are. Specifically it is at C:/TASM/BIN. I have no problems when running a single .ASM file but when I include another file so that my code would look modular, there comes this…
ellekaie
  • 337
  • 1
  • 7
  • 21
3
votes
1 answer

Trying to understand asm interrupts, specifically 16h func 01H

THIS IS FOR HOMEWORK, I don't expect you to resolve my problem, just need some understanding... I have to work with ASM and C in a dosbox. My first problem is I don't really understand how to use bios interrupts (any good tutorial with code samples…
josecash
  • 339
  • 4
  • 19
3
votes
2 answers

BGI Error:Graphics not initialised(use initgraph)...in DOSBOX...Win 7

I gave the location of bgi folder in my C drive as below: initgraph(&gd,&gm,"C:\\TurboC++\\Disk\\TurboC3\\BGI"); The program compiles without any error but while running nothing appears... When I press Alt+F5 I found this error. How to resolve…
user1943533
  • 63
  • 1
  • 2
  • 5
3
votes
1 answer

Automating old DOS application using Python

Is there a way to automate an old DOS application (16-bit, probably needs an emulator such as DOSBox) from Python (on Windows)? I would like to send keys and strings to the application, detect updates to the DOS "screen" and get the application…
e.tadeu
  • 5,024
  • 2
  • 20
  • 21
3
votes
2 answers

Sending keyboard commands to DOSBOX from C#

I want to send a single keyboard command (down arrow) to DOSBOX, followed by executing some processing code in C#, then looping. My aim is to automate the running of a DOS program. The code I have works successfully on Notepad and Windows Explorer…
Adam
  • 524
  • 8
  • 10
3
votes
1 answer

Can't save in Vim for DOS in DOSBox

I need to work in DOS, so I installed the 16 bit Vim (downloaded from vim.org) in a folder using DosBox. When I first open a file it lets me save the file using :w. I continue editing, and want to save again and it says it can't write the…
blaze
  • 2,588
  • 3
  • 32
  • 47
2
votes
1 answer

Alternate ways to kill processes (Autohotkey or .BAT or alternate solution)

I am going to try to explain my problem by walking you through it. Thanks in advance for bearing with me. TL;DR: Start at 4. 1. C# I am in the process of creating an Arcade machine game launcher application in VS 2008 C#. It reads the…
joon
  • 832
  • 13
  • 31
2
votes
3 answers

Using the IBM 3514 Borland Graphics Interface driver in High resolution mode in Turbo C++ on Windows 7 64 bit OS using DosBox

I'm running a graphical program in Turbo C++ using DosBox on Windows 7 64 bit. Now, I want to use the IBM3514 graphics driver in the High resolution mode (IBM3514HI). So, I wrote the following bare bones program to test it: #include…
Aadit M Shah
  • 72,912
  • 30
  • 168
  • 299