Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

Debugging in MS-DOS is one of the roadblocks that i have with MS-DOS programming, i'm using DJGPP and i have no complaints with it's gdb debugger, but the issues lies with the fact that once i turn on ...
Gene Adam Oker's user avatar
0 votes
2 answers
735 views

My exact issue is that am trying to get the linked final exe from 3 files namely: The main c loader The main asm file The accessory asm file that holds the functions. I manage to convert them all ...
B.Doe's user avatar
  • 25
0 votes
0 answers
255 views

I use a program for MS-DOS that reads and writes data to the parallel port and uses the hardware timer for timing. It doesn't work unless I disable USB support in the BIOS. With USB enabled, it looks ...
Carmine's user avatar
  • 13
3 votes
1 answer
525 views

I'm trying to set up a hardware interrupt handler in protected mode, using djgpp-2 for compiling in dosbox-0.74. Here's the smallest code possible (timer interrupt), I guess: #include <dpmi.h> #...
tobywoby's user avatar
0 votes
1 answer
350 views

Recently I decided, it would be funny, to code some simple MSDOS game. Needles to say, I need code for handling keyboard events. This is what I came up with for testing: int i, c = 0; for ( i = 0; i ...
Jacajack's user avatar
  • 789
9 votes
1 answer
3k views

I had this funny idea last night, to trap hardware exceptions and throw a C++ exception instead. Thought that might be useful for things like FPU exceptions, which normally either crash, or silently ...
user5434231's user avatar
9 votes
1 answer
4k views

I´m learning to do some low level VGA programming in DOS with C and inline assembly. Right now I´m trying to create a function that prints out a character on screen. This is my code: //This is the ...
Pablo Estrada's user avatar
2 votes
1 answer
711 views

I recently wrote a little curses game and as all it needs to work is some timer mechanism and a curses implementation, the idea to try building it for DOS comes kind of naturally. Curses is provided ...
user avatar
6 votes
3 answers
2k views

I'm trying to find a solution to allow me to compile C code to a DOS executable from Windows 7 64-bit. I recently updated from XP 32-bit to Win7 64-bit, and now my Borland C++ 5.0 compiler won't work....
robisrob's user avatar
  • 970
1 vote
3 answers
2k views

I want to ask something that I write in C. I use the fopen() command to open and read a text file that contains only two lines. in first line is an integer N number, and in the second line is the ...
user avatar
0 votes
2 answers
509 views

I have compiled one clipper program using haarbour compiler and the c file produced was compiled using djgpp to produce final exe. This exe runs fine in console window of Windows 98. However, when I ...
user1445268's user avatar
0 votes
1 answer
392 views

I am developing a test OS right now in C... and I've been looking on http://www.osdever.net/tutorials/view/brans-kernel-development-tutorial to get started. I got MinGW for Windows 7 (64-bit). I set ...
user1761803's user avatar
1 vote
0 answers
1k views

I have an old C program (which I didn't write) which worked for me before on a machine I had using DJGPP with RHIDE under DOS. The problem is, that since I've moved to a new machine, when I try and ...
Galwegian's user avatar
  • 42.4k
2 votes
2 answers
2k views

I'm running a virtual machine (using Oracle VM VirtualBox) with FreeDOS installed. After I enter the DJGPP IDE (called "RHIDE") and run an application once, I can no longer run anything, and when I ...
Kyre's user avatar
  • 143
3 votes
3 answers
3k views

I'm trying to compile an ASM program I wrote with NASM and the "ld" command from DJGPP. This is the code for the batch file I'm using to compiling it: @echo off set path=C:\NASM;%PATH% nasm -f aout -...
Greg Treleaven's user avatar
2 votes
2 answers
1k views

I've been using DJGPP for the first time recently and can't seem to enable mouse support. What's the best way? Thanks for any help.
Galwegian's user avatar
  • 42.4k
0 votes
2 answers
463 views

While reading a binary file using DJGPP on DOS this code hangs. This happens when the fread call is made. If the call is removed then the program runs successfully. The same code runs fine through ...
vivekian2's user avatar
  • 3,954