Solved

Mode 12h - 640x480x16 ASM Routines needed

Posted on 1997-09-15
10
501 Views
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...



0
Comment
Question by:theblip
  • 6
  • 4
10 Comments
 

Accepted Solution

by:
berox earned 50 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 !

0
 

Author Comment

by:theblip
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... =)

0
 

Expert Comment

by:berox
ID: 1215833
Hey theblip,

I have put a file on http://www.globalxs.nl/home/b/berox/640.zip
Please read first the read.1st file , in this I've explained some
little things that are important ! Well, good luck with it
0
 

Author Comment

by:theblip
ID: 1215834
ok.....

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

Expert Comment

by:berox
ID: 1215835
Put another version on the same site ...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:theblip
ID: 1215836
Ok.
0
 

Author Comment

by:theblip
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...
0
 

Expert Comment

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

Author Comment

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

Author Comment

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

I works great now... =)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

912 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now