Advertisement

VC++ + Black Art + Video Lock == Success?

Started by February 22, 2001 06:48 PM
1 comment, last by arsenius 23 years, 11 months ago
In this thread, someone mentioned that you can put a lock on video memory in Visual C++ so that you can use mode 13h. Is this true? And, does anyone know how to do it? Apparently it''s not supposed to be hard, but... -arsenius ''after three days without programming, life becomes meaningless'' -The Tao of Programming
Read that post again. He mentioned nothing about mode 13h. What he said is you have to lock before you can "write to video memory". He is, apparently, refering to an eariler post in the thread regarding DirectX. In DirectDraw, if you want to access surface memory directly, you first must lock the surface an obtain a pointer to the memory. So, you could lock the primary surface in order to get to the video memory.

You cannot trigger mode 13h from VC++ 5 and up. It was possible in version 4 and below (from what I''ve heard). If you want to use mode 13h in DOS I suggest you go to Borland''s site and download their old Turbo C compiler.

GamesToGO: The Console Gamer''s Paradise
Advertisement
But it is possible to set Mode 13 under DirectX. In any case, who''d want Mode 13 when you can have 1024x768x32 ??
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.

This topic is closed to new replies.

Advertisement