Solved

Pascal and Windows 95

Posted on 1998-08-23
5
178 Views
Last Modified: 2010-04-16
Is there a pascal compiler that will use the memory capabilites without requiring to use a graphics interface?
0
Comment
Question by:pipingbob
5 Comments
 
LVL 4

Expert Comment

by:jack_p50
ID: 1215458
What do you mean memory capabilities and graphics interface.
If you mean ability to use all extended memory without graphic mode, you need
to use Protected mode - it allow access to all mem.
0
 
LVL 2

Expert Comment

by:kellyjj
ID: 1215459
maybe you should learn some delphi,  that is pascal for windows.
0
 

Author Comment

by:pipingbob
ID: 1215460
From the way I asked the question, one could assume I have at least 8 meg of ram(actually I have 20 meg).  What I am looking for is a compiler (such as Turbo Pascal by Borland) that will allow me to use all the memory available since I do not have the option of using a "ram drive" nor do I want to use a ram drive.  What I am after is having larger arrays/linked lists without running out of memory.  Also I want to have source codes with larger that 64k of codes.  I do not want and refuse to to use graphical interfaces such as "Visual Basic...."

Thanks
Pipingbob
0
 

Expert Comment

by:dethstar
ID: 1215461
All programs run in real mode, which means that they have a 64K code block and a 64K data block. More memory can be used if you allocate memory for it. (malloc?) Also, you could use pointers to cut down on memory usage.
0
 
LVL 4

Accepted Solution

by:
binkzz earned 50 total points
ID: 1215462
Assuming you want to make nicely graphical applications, you're not going to get far with pascal in a dos prompt. The best thing to do is to either use asm (brrrr) or get C++4.5, which is free of charge. That will allow you to make easy to use pointers to the rest of the memory, and has a great way of dealing with windows, even though it's dos based.

Alternatively, you'd have to use pointers to arrays in pascal to make use of the extra memory, though using that will go of the cost of the speed usually.

If you need any examples, write again. But write slowly as i don't always have my glasses on.

Hope this helps,
Tom
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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