Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Mode 12h - 640x480x16 ASM Routines needed

Posted on 1997-09-15
Medium Priority
Last Modified: 2009-12-16
I am using Mode 12h.... (640x480x16) without BGI
Could someone please tell me where I can get an ASM Super fast DMA putpixel, getpixel, and any other routines....

Thanks for the help...

Question by:theblip
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4

Accepted Solution

berox earned 200 total points
ID: 1215831
Why are you using only 16 colors and not just the 320x200x256 mode? It is a lot easier to program just write a byte which represents the color to Mem [$A000:Y*320+x]. Or is the resolution a problem. Then you can always try Xmode [320X400X256] or just try some VESA mode.
But anyway, you want routines for the 640x480x16 mode. What kind of routines are you expecting besides the putpixel and getpixel.
I can provide you those two procedures tomorrow in full 386+ assembler. I guess that you can build other graphic routines based on these two procedures ... if not , just let me know and maybe I write them for you !


Author Comment

ID: 1215832
Well.. About the use of 640x480 with 16 colors.. It wasn't really my decision because I'm in a club and the main programmer has decide to use it for the project we're working on because we need a high resolution and he only has an old 386 and doesn't have a VESA compatible card... (unfortunately)

I mainly only need getpixel and putpixel procedures...
But a line procedure or a procedure to fill in a closed area might be useful...

I think that should be all.... =)
Thanks for helping... =)


Expert Comment

ID: 1215833
Hey theblip,

I have put a file on
Please read first the read.1st file , in this I've explained some
little things that are important ! Well, good luck with it
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.


Author Comment

ID: 1215834

I'll grade this after I have a look at it..

Expert Comment

ID: 1215835
Put another version on the same site ...

Author Comment

ID: 1215836

Author Comment

ID: 1215837
Hello again....

I seem to be having problems getting the OBJ file to work properly..

It compiles perfectly but when I get it to set a pixel it displays 'Rubbish' onto the screen...

I have sent you an email with more detailed info hope you can help me...

Expert Comment

ID: 1215838
still haven't receive your e-mail

Author Comment

ID: 1215839
ok.. I'll try sending it again...

Author Comment

ID: 1215840
Thanks for all the help Berox =)!!!

I works great now... =)


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The online market is growing at an unprecedented rate and retail eCommerce sales are expected to reach $4 trillion by 2020. Yet, the profit is not just there for the taking because you have to set yourself apart from the competition.
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA:…

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question