Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14007

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
A problem with Graphix Posted by terup on 14 Apr 2005 at 2:32 AM
I have Graphix for Borland Pascal. I used it in program. I set the mode to a 800x600 resolution ( "initgraphix(ig_detect,x800y600,col8,mm_hwa)" ). I tryed with all the modes and all memories (I don't have LFB) but my monitor tells me that the refresh rate is smaller than it should be. How can I manage the refresh rate in the program? Excuse my english. Thanks
Report
Re: A problem with Graphix Posted by dolev9 on 14 Apr 2005 at 11:05 AM
: I have Graphix for Borland Pascal. I used it in program. I set the mode to a 800x600 resolution ( "initgraphix(ig_detect,x800y600,col8,mm_hwa)" ). I tryed with all the modes and all memories (I don't have LFB) but my monitor tells me that the refresh rate is smaller than it should be. How can I manage the refresh rate in the program? Excuse my english. Thanks
:


hello there

im not sure but i think that the refresh rate is could be the screen refresh rate that is set in your gaphics card driver.
its wrote in herts. it let you choose the refresh rate from a list.

try it but it a long guess

dolev
Report
Re: A problem with Graphix Posted by Gaashius on 26 Apr 2005 at 12:13 PM
: : I have Graphix for Borland Pascal. I used it in program. I set the mode to a 800x600 resolution ( "initgraphix(ig_detect,x800y600,col8,mm_hwa)" ). I tryed with all the modes and all memories (I don't have LFB) but my monitor tells me that the refresh rate is smaller than it should be. How can I manage the refresh rate in the program? Excuse my english. Thanks
: :
:
:
: hello there
:
: im not sure but i think that the refresh rate is could be the screen refresh rate that is set in your gaphics card driver.
: its wrote in herts. it let you choose the refresh rate from a list.
:
: try it but it a long guess
:
: dolev
:
He needs to adjust refresh rate with code. Precisely this, in Pascal can't be done just with it's built in ASM. But my hardware knowledge does not extend on this part of problems.

****************
Any questions? Just ask!

GAASHIUS


Report
Re: A problem with Graphix Posted by Phat Nat on 26 Apr 2005 at 6:06 PM
: : : I have Graphix for Borland Pascal. I used it in program. I set the mode to a 800x600 resolution ( "initgraphix(ig_detect,x800y600,col8,mm_hwa)" ). I tryed with all the modes and all memories (I don't have LFB) but my monitor tells me that the refresh rate is smaller than it should be. How can I manage the refresh rate in the program? Excuse my english. Thanks
: : :
: :
: :
: : hello there
: :
: : im not sure but i think that the refresh rate is could be the screen refresh rate that is set in your gaphics card driver.
: : its wrote in herts. it let you choose the refresh rate from a list.
: :
: : try it but it a long guess
: :
: : dolev
: :
: He needs to adjust refresh rate with code. Precisely this, in Pascal can't be done just with it's built in ASM. But my hardware knowledge does not extend on this part of problems.
:
: ****************
: Any questions? Just ask!
:
: GAASHIUS
:

I've done lots of graphics in TP7's BASM and tried many times to figure out ports to tweak to change refresh rate, but always failed. If anyone knows I'd love to find out how. Or if anyone has some really detailed info on the Graphics Ports that would be cool too. Good Luck.

Phat Nat
Report
Re: A problem with Graphix Posted by dolev9 on 27 Apr 2005 at 7:04 AM
since so many ppl search for it and nobody knows - i decided to search for an interrupt that change the refresh rate inand interrupt list site i got.
i fount 3 interrupt that get/set refresh rate.

this is the site
http://www.ctyme.com/intr/int-10.htm

search in the text "refresh rate" and then you will find interrupts
10 ax=5f04
10 ax=5f05

10 ah=12 bl=f1h

this is what i found.

check it out

dolev

Report
Re: A problem with Graphix Posted by Gaashius on 27 Apr 2005 at 8:12 AM
: since so many ppl search for it and nobody knows - i decided to search for an interrupt that change the refresh rate inand interrupt list site i got.
: i fount 3 interrupt that get/set refresh rate.
:
: this is the site
: http://www.ctyme.com/intr/int-10.htm
:
: search in the text "refresh rate" and then you will find interrupts
: 10 ax=5f04
: 10 ax=5f05
:
: 10 ah=12 bl=f1h
:
: this is what i found.
:
: check it out
:
: dolev
:
:
That's only for Tseng ET-400s I see...

****************
Any questions? Just ask!

GAASHIUS


Report
Re: A problem with Graphix Posted by dolev9 on 27 Apr 2005 at 8:33 AM
there is another one -
Chips & Technologies '64300' BIOS - SET REFRESH RATE

they might work if they are installed on the comp.


worth a shot anyway.....

Report
Re: A problem with Graphix Posted by dolev9 on 27 Apr 2005 at 8:36 AM
and if you want - you can try to dissassemble them to check their port or something - but its more complicated...

since there were no vesa interrupt for changing refresh rate...

if you think you can find it in other interrupt tell me and i check...
Report
Re: A problem with Graphix Posted by Gaashius on 27 Apr 2005 at 12:41 PM
: and if you want - you can try to dissassemble them to check their port or something - but its more complicated...
:
: since there were no vesa interrupt for changing refresh rate...
:
: if you think you can find it in other interrupt tell me and i check...
:
Again my terribly horrible english, but what can he try to disassemble?

****************
Any questions? Just ask!

GAASHIUS


Report
Re: A problem with Graphix Posted by dolev9 on 27 Apr 2005 at 2:15 PM

: Again my terribly horrible english, but what can he try to disassemble?
:
: ****************
: Any questions? Just ask!
:
: GAASHIUS
:
:
:

the graphics driver files - as i said i foundsomething that do it over my driver (nvidia geforce 4). maby it would be possible to understandable by dissassembling...
Report
Re: A problem with Graphix Posted by Phat Nat on 27 Apr 2005 at 5:46 PM
:
: : Again my terribly horrible english, but what can he try to disassemble?
: :
: : ****************
: : Any questions? Just ask!
: :
: : GAASHIUS
: :
: :
: :
:
: the graphics driver files - as i said i foundsomething that do it over my driver (nvidia geforce 4). maby it would be possible to understandable by dissassembling...
:

I did think of that. Maybe one of my next tries. Each video card/chipset will have it's own codes, but there must be some port that the interrupts access?? or maybe they are directly handled by the video card. I'm playing with the ports right now, but the best I've accomplished is an increase of about 0.3Hz
Anyways, I'll keep trying and playing and messing with stuff I probably shouldn't and see what happens ;)

Phat Nat




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.