-1

I am newbie to SDL and developed a small SDL 2.0 project, trying to run setup under dosbox but it crash.

Sanjay Kumar
  • 369
  • 6
  • 23
  • Back in the DOS days, there were no OS standards for device drivers - they gave you access to the underlying hardware and that was it (not putting M$ code between your code and an 8MHz 8086 was seen as a good thing). That meant, for example, writing handlers in your code for every printer you supported! SDL uses OS standard drivers to abstract out hardware acceleration etc for video cards which DOS does not have. Since it's open source, you could (in theory) write a DOS version of SDL but without hardware acceleration in an emulator, it might be really slow! – Mike Apr 15 '16 at 21:02

1 Answers1

4

No, you cannot do that. If you want to run your app with SDL forget about DOS: DOS is not on the list of supported platforms.

jarnosz
  • 243
  • 1
  • 18
Jesper Juhl
  • 30,449
  • 3
  • 47
  • 70