Board index » delphi » Screen Resolution in assembly
Jaco Joubert
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Jaco Joubert
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Screen Resolution in assemblyI am using assembly codes in Turbo Pascal. Thanks l...@mweb.co.za |
SWars Ma
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Screen Resolution in assemblyQuote"Jaco Joubert" <l...@mweb.co.za> wrote: tutorials on the Internet. One farily good one is at http://www.monstersoft.com/tutorial1/ I recently finished writing some VESA units, so if you need more information e-mail me and I'll send you my units. You might also want to look at the PC Game Programmer's encyclopedia: http://www.heim2.tu-clausthal.de/PROJEKT/PRG/PCGAMES/index.html |
David Engstran
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Screen Resolution in assemblyJaco Joubert skrev i meddelandet <6ja4uh$...@news1.saix.net>... Quote>I am using assembly codes in Turbo Pascal. you can use VESA as everybody else does in DOS. (Had to write in DOS or some Windows programmer would flame this post, they just do so, don't blame them, they can't help it). At the net there are some good text about it, and a lot which is bad. Try to find some source, it is the easiest way to learn. VESA is very much like mode 13h infact. BIOS makes the most of the job. It is even the same interrupt number. The hard thing with VESA is to understand all variables that it uses. Don't do it, I thought that you had to but you haven't, learn only those you think are needed. Later of course you should try to learn the most of them. At first you should make a program that prints some of the variables like, x resolution, y res, colors, mode number. Ex. type Temp = enter all variables here function IsVesaSupported:byte; IsVesaSupported:=temp; end; When this function gets called your temptype will be filled with plenty of If you don't find any source or don't get it to work, don't hesitate to /David Engstrand |
Olaf van der Spe
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Screen Resolution in assemblyJaco Joubert heeft geschreven in bericht <6ja4uh$...@news1.saix.net>... Quote>I am using assembly codes in Turbo Pascal. Then you can use bankswitching or the lineair frame buffer to access the video memory. UNIT XBVESA; RedMaskSize,RedFieldPosition,GreenMaskSize,GreenFieldPosition,BlueMaskSize, BEGIN >l...@mweb.co.za |
1. How do I determine screen resolution in D1?
3. Designing for different screen resolutions
4. Change Screen Resolution....
5. Screen resolution and InfoPower
6. Screen Size Changes with the change of video adapter resolution
7. Screen resolution change affects windows (negativelly)...