• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

Virtual Scrrens in 640x400x256

I've figured out how to use virtual screens in mode 13h. Now I am trying to change to 640x400 at 256 colors.I initialized the graphics with a super vesa unit I found and all i get is the top quarter of the screen. Turbo pascal will not let me make the array any bigger. What should I do?
0
sl_1982
Asked:
sl_1982
  • 3
1 Solution
 
HypoCommented:
In Vesa modes you should not use thoes "virtual screens" you are talking about,
You should use Virtual screens located in the videomemory instead of the systemmemory.

I suppose youre program runs in "Real Mode". Since in there, segments can't be larger than 64K, So you can't make arrays larger than that either. Anyway, If you re using virtual screens with a videomode such as 640x480x256, Pageflipping is the way to go. Not virtual screens.

I'm working on a VESA unit. So If you have an EMail where I could send it to you, along with the explaination of how it works. You wouldn't have this problem.
0
 
HypoCommented:
Hypo changed the proposed answer to a comment
0
 
Alisher_NCommented:
you have to use 'bank-switching' mechanism... try to 'search' in this area, this question was answered a month/two ago...
0
 
sl_1982Author Commented:
Thanks Hypo, that would be great.
My E-mail is sl_1982@homefreeweb.com
0
 
HypoCommented:
Ok, I've sent the unit... I'll send you the updated unit whenever it's finished!

Now,
I'll answer any questions regarding the unit that you have. (I asusme you might have a few)

regards Hypo
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now