×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

High resolution graphics in asm, without banks

High resolution graphics in asm, without banks

High resolution graphics in asm, without banks

(OP)
Hello,
I would like to ask for some reference or any help, about how to work with high resolution graphics (like 1024X768) with 256 colors, without using banks and to be able to use DMA (Direct Memory Access).

RE: High resolution graphics in asm, without banks

I assume you're talking about IBM-compatible PCs with VGA-style graphics? Are you using a dos-type environment (command-prompt box in windows)? If so, I don't believe there is a way to use high-resolution graphics without banks, because that is the memory model built into the graphic card. You can look at VESA to get access to the higher resolutions, which at least allows you to handle the banking. Good luck!
 

RE: High resolution graphics in asm, without banks

If I recall correctly (long time ago since I was coding such stuff):

1. DMA cannot be used for memory-memory transfers on PCs.
2. To use linear access to gfx, you need: Vesa 2.0 compatible gfx card and 32-bit protected mode environment. I think I used some pmode extender and  switching to linear access gfx mode via vm86 call)
 

RE: High resolution graphics in asm, without banks

(OP)
I'll check this both. Maybe I'll have no choice but use banks...
Thanks a lot!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close