Solved

Mode 12h - 640x480x16 ASM Routines needed

Posted on 1997-09-15
10
497 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
ok.....

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

Expert Comment

by:berox
Comment Utility
Put another version on the same site ...
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:theblip
Comment Utility
Ok.
0
 

Author Comment

by:theblip
Comment Utility
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
Comment Utility
still haven't receive your e-mail
0
 

Author Comment

by:theblip
Comment Utility
ok.. I'll try sending it again...
0
 

Author Comment

by:theblip
Comment Utility
Thanks for all the help Berox =)!!!

I works great now... =)

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

17 Experts available now in Live!

Get 1:1 Help Now