Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

For Rayer - shared resources between DOS and WinXP (Announce)

posted by RayeR Homepage, CZ, 17.07.2008, 14:05

> A 32bit C compiler "should" always extend arguments with a magnitude < 32
> bit (char, short, word, ...) to a dword, so this is no problem at all.

Yes but there's "should" not "is" or "must". Important is how the ntvdm.exe is compiled. I expect they used MSVC which should use 32bit int.

Here's interesting discussion about this theme:
http://www.gamedev.net/community/forums/topic.asp?topic_id=365184

One post says:

C enums are int-sized. C++ enums are of the smallest size that can represent all the values the enum can take.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 403 users online (0 registered, 403 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum