Solved

Graph.tpu

Posted on 1998-10-29
13
8,664 Views
Last Modified: 2010-05-18
hi!

anybody can give me a graph.tpu for Pascal 7.0

thanks in advance.

bmaranan
0
Comment
Question by:bmaranan
  • 4
  • 3
  • 2
  • +3
13 Comments
 
LVL 5

Expert Comment

by:scrapdog
ID: 1215897
I think that is copyrighted.
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1215898
What are the circumstances for you needing it?  It comes with Turbo Pascal 7.0.  Did your original get corrupted?  If this is the case, I'm pretty sure it would be OK to send you a copy.
0
 

Author Comment

by:bmaranan
ID: 1215899
yes, it is corrupted, can you give me a copy?

thanks in advance

0
 
LVL 1

Expert Comment

by:zeroimpact
ID: 1215900
Why do you want to use the graph.tpu anyways .. it sucks .. it is so slooooow  cause doing multiple cals to int 0x10 just write your own e.g. use Vesa if you want to use higher modes than 320x200 and by using the Linear Frame buffer you can get excelent performance speed or just to use 320x200 quick mode you can use inline asm ... btw download yourself the 32-bit Pascal which is for free and then you don't have the problem of the 640k barrier and when you feel realy going to the side of power get djgpp which is a free c/c++ compiler .. which btw quake was written in ;-)

cheerio
0
 

Author Comment

by:bmaranan
ID: 1215901
zeroimpact, what is the website os pascal 32 bit
0
 
LVL 1

Expert Comment

by:zeroimpact
ID: 1215902
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Expert Comment

by:scrapdog
ID: 1215903
yeah, graph.tpu is slow, but it is not necessarily true that c is faster than pascal!!
0
 

Expert Comment

by:Phoenix020397
ID: 1215904
Actually ansi C is many times slower than pascal.
C always compiles and links all the #include files, while Pascal only compiles and links the variables that are in units that your program uses, and that are actually used by programs...

IE :
If in C you do #include <stdio.h>, when you compile the program its as if the whole STDIO.H source code has been pasted in your own, while if in pascal you do :

uses crt;
begin
  readkey;
end.

When compiled the program will only paste the readkey function to the code, not taking extra space and compilation time.

0
 
LVL 4

Accepted Solution

by:
jack_p50 earned 50 total points
ID: 1215905
 I can give you graph.tpu, but you can take much better and faster grafx unit
(up to 1024x768x65536 colors modes). It's very fast and optimized. You can get it here:
  "http://www.geocities.com/SiliconValley/Bay/9553/"

Or if you want graph.tpu anyway, give me your e-mail.
0
 
LVL 1

Expert Comment

by:zeroimpact
ID: 1215906
Phoenix your comment is tottaly invalid in the sence of the way you compile , yes if you do not put in the compiling optemizations flags in you will get most off the code pasted in as you say but ( for debugging purposes ) but using optemization flags only the needed stuff will be compiled in. But saying that C is slower than pascal just because of that is not true that only enlarges the file size of your exe or obj ... I was actually pointing to the fact that the graph.tpu was slow and not the compiler because of the graph tpu doing a lot of calls to int 0x10 thus in pascal you can get high frame rates by using direct memory writes to the video card or inline asm or even external asm objects.

The only thing is with C is that you have more flexibility to do things , but if you code bad then well c is not going to seem much better ... it's like saying we can write everything in asm .. because asm is fast ... but if you code bad then your asm will sometimes be slower than your c or even well optemized pascal code. for ex a putpixel can in 320x200 can only be optemized to a point , if you do it in c , asm or pascal and it will give the same results ...


0
 
LVL 4

Expert Comment

by:jack_p50
ID: 1215907
FPK-pascal is boring : you need to change many things in your programs and compiler isn't very user-friendly
0
 
LVL 1

Expert Comment

by:zeroimpact
ID: 1215908
Well switch to djgpp ... it's fun ... but the thing is tp7 you sit with the boring restrictions of the 640k barrier ... which you can only allocate 64k pages .. and you are limited to your array sizes and no of arrays ..
0
 
LVL 6

Expert Comment

by:My name is Mud
ID: 1215909
Hey what a heck men, whats all the fuzz.
  you can use XMS, pointers and stuff to get all the memory you want (well ok the only limit is the G.D. 64k bull Sh..), but if you want to allocate more than 64k you split the buffer

oh man why Borland don't do a 32 Bit Pascal! :(
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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

18 Experts available now in Live!

Get 1:1 Help Now