www.digitalmars.com         C & C++   DMDScript  

c++.dos.16-bits - Getting Error Compiling 16-Bit Dos Source Code

This very minimalist example: http://pastebin.com/T2u7tWve is 
producing the error:

C:\DosProject>c:\dm\bin\dmc c:\DosProject\main.c 
       int 10h                          // Use Bios to set video 
c:\DosProject\video.c(6) : Warning 13: Illegal type/size of 
operands for the mov instruction
link main+video,,,user32+kernel32/noi;

Press any key to continue . . .

whats weird is this code is coming from straight from an 
example(chapter 2, page 26) from the book Tricks of The Game 
Programming Guru which is a book for programming dos games and is 
very highly revered. Judging from the user32 & kernal32 i'm 
guessing it's trying to make a win32. I already installed the Dos 
16 add on, how do i force dm to compile a dos 16 true mode app? 
Any assistance in this matter would be greatly appreciated.

Dos Idle
Nov 29 2016