DOS Games Message Board
DOS Games Discussion
A message board to talk about DOS games, get help, and find old games.
Do NOT post warez or abandonware requests please
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VESA/BC++ 3.1 help!

 
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> Game Creation
Author Message
eDaniel
Guest






PostPosted: Fri Aug 29, 2003 9:18 am     Post subject: VESA/BC++ 3.1 help! Reply with quote

Hi all! I've a problem. I cannot make my program to control VESA properly. I make a functions (like vesa_init, vesa_banksw, vesa_pix...etc) which are using real-mode interrupt calls to switch the banks! This is fucking slow on my Cel@566MHz. I make a big collection of source code & tutorials describing VESA. Oh, bullshit! 1. THey have an error in code; 2. They are writen to another compiler and don't run in Borland C++ 3.1; 3. Part of bigger game libraries using 32-bit registers (not possible, normally) and protected mode calls.

The mode I want to use is 800x600x256 colors (vesa 0x103)
I was maded tests on my source code, and I conclude that the slowest thing is "int 10" call to make a memory bank switch. Please help! I need source not to reading all vesa information block, but just that information i need. Need to bankswitch fast and plot pixels with acceptable speeds.

Daniel Benitez
THANKS IN ADVANCE (support@eurocompact.bg)[/b][/i]
Back to top
cepa
Guest






PostPosted: Tue Jul 13, 2004 10:51 am     Post subject: Reply with quote

It's not good idea to use vesa under Bc++. Switching banks is slow because you must use int 10h, if u want faster gfx you must use PMODE (protected mode). Try to use Allegro under DJGPP.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> Game Creation All times are GMT - 5 Hours
Page 1 of 1

 
Free Windows games


Powered by phpBB © 2001, 2005 phpBB Group and Ask an Expert
Also powered by Darren and the other admin and mods' hard work! ;)