duncan webster | 28/08/2015 23:47:15 |
5307 forum posts 83 photos | Bit off the metal bashing themes, but I never cease to be amazed by the expertise out there.. Many moons ago I wrote some software to design and analyse valve gears using Borland C++ compiler and the Borland Graphics Interface. It ran on Windows 95, which I think in reality means it ran on DOS. I cannot for the life of me get it to work on Windows 7, and it didn't work very well on Windows XP, it ran until it tried to save data then crashed. I know there is Dockstader version, but mine worked out the maximum die displacement, max swing of expansion link etc, which others don't. Apart from finding a geriatric computer anyone got any ideas how to get it to run? Linux? I've started rewriting it in CodeBlocks, but getting graphics has defeated me |
Ady1 | 28/08/2015 23:56:08 |
![]() 6137 forum posts 893 photos | Buy an old copy of win 95 from a well known auction site WinME may be ok too A note of caution, all my old assembly stuff works fine on ME and XP, so I would buy W95 It may be a dll issue kinda thing, something specific Put the W95 on a cheap IDE 30gigabyte hard drive and only plug it in when you need it Even a cheapo external drive may do the job If you have a high end fancy graphics card unplug it and try the bog standard motherboard graphics Edited By Ady1 on 29/08/2015 00:03:51 |
clivel | 29/08/2015 03:26:42 |
344 forum posts 17 photos | Posted by duncan webster on 28/08/2015 23:47:15:
Apart from finding a geriatric computer anyone got any ideas how to get it to run? Linux? There are a few alternatives you could consider for getting it to run on Linux:
Hopefully one of these suggestions is of some help,
Edited By clivel on 29/08/2015 03:30:17 |
Michael Gilligan | 29/08/2015 06:31:52 |
![]() 23121 forum posts 1360 photos |
+1 for Windows95 Whilst you'e at it ... give it a dose of IEradicator MichaelG. |
Ady1 | 29/08/2015 06:34:15 |
![]() 6137 forum posts 893 photos | I also vaguely remembering becoming an "expert" at tweaking a DMA related file or something like that You had to experiment with a config settings file to find the best combination which eliminated conflicts with the DMA sound card etc or the whole program could become geriatric W95 was at a crossroads for computer software, DOS/4GW was fast but hard to program, Windows 3.1 was the worst OS ever created and W95 popped up Emulators are a bit of a wing and a prayer, if W95 worked for you I would take that route Edited By Ady1 on 29/08/2015 06:44:47 |
Ady1 | 29/08/2015 07:00:54 |
![]() 6137 forum posts 893 photos | Whilst you'e at it ... give it a dose of IEradicator I would disagree, just don't surf the net with internet exploder, use firefox or summat The old original IE has some fabby activeX stuff and other hacker friendly bits which can be used for offline database work if you ever need it, there was a lot of functionality in the original IE which has been eliminated for security reasons Just don't surf with it and you'll be fine Modern Computers are becoming mini-internet databases nowadays, 2 terrabyte drives are common and the amount of offline information you can store on a desktop is mind boggling IE can search hundreds of gigabytes of stuff in a few seconds Edited By Ady1 on 29/08/2015 07:14:35 |
Michael Gilligan | 29/08/2015 07:10:44 |
![]() 23121 forum posts 1360 photos | Posted by Ady1 on 29/08/2015 07:00:54:
I would disagree . Fine... That's what forums are for. MichaelG.
|
Ady1 | 29/08/2015 07:32:44 |
![]() 6137 forum posts 893 photos | I would disagree, In the most friendly way Upgrades have been reducing functionality in recent years, I stuck with XP because of zonealarm pro, which Vista refuses to use(because it's so good IMO, it even blocks microsoft) I also have a Win ME drive I plug in if required When I upgrade to 64 bit I will unplug my two older drives(XP and ME) and use a separate drive, 64 bit stuff can be amazingly fast but I have tons of useful 32bit stuff that I want to hang on to and I don't want any upgrading to mess things up for "security reasons" or any other excuse that they come up with Edited By Ady1 on 29/08/2015 07:51:39 |
Michael Gilligan | 29/08/2015 08:18:59 |
![]() 23121 forum posts 1360 photos | Posted by Ady1 on 29/08/2015 07:32:44:
I would disagree, In the most friendly way . Ady, That was understood, and respected; I assure you !! Sorry if I seemed abrupt ... it wasn't my intention. My understanding of Duncan's original post was that he simply wanted to run an existing piece of software; and for that purpose, removing IE seems a good way of de-cluttering. MichaelG. . [this morning's job is cleaning-out the sink drain 'cos the washing machine outlet has overflowed] |
Ajohnw | 29/08/2015 08:52:51 |
3631 forum posts 160 photos | There is more chance of an older application running under wine than many "new" ones. It is probably worth trying that. Also install Q4Wine. It eases wine configuration problems and also WineTricks which provides a lot of dll's. It's infuriating when things nearly run. What it lacks is something to track dll calls. There is also another wine add on called Swine but unlike Q4Wine it's not possible to easily specify what directory a program needs to run in. Failing that VirtualBox is easy to use. I would have thought XP would be the thing to install on it but I don't think I would allow any of them to update unless there was no choice as all it will do is slow it down. From memory XP will emulate earlier versions of windows but has to be set for the program that needs it. John - |
duncan webster | 30/08/2015 20:11:10 |
5307 forum posts 83 photos | I thought I'd replied to this earlier, but it hasn't appeared. Thanks to everyone who replied, I took the hint from clivel's reply and installed Dosbox on W7, works a treat. Why didn't I think of that? |
Neil Wyatt | 31/08/2015 10:18:35 |
![]() 19226 forum posts 749 photos 86 articles | You could try the trial version of BBC BASIC for Windows, it makes graphics very easy. Neil |
duncan webster | 31/08/2015 13:15:01 |
5307 forum posts 83 photos | It must be 35 years since I learned BBC basic, then switched to GW basic, then to Pascal, then C. Is this an invitation to second childhood? Be there soon enough, but thanks for the suggestion |
Ajohnw | 31/08/2015 17:00:05 |
3631 forum posts 160 photos | Must admit I miss GWbasic. I used to use it at work for modelling software that would eventually be written in assembler for use on an ECU with the advantage the it could produce graphical output and quick things that needed a graphical output to see what was going on. Many pro software people say I wont use that - 'cause it's called BASIC. Beginner's All-purpose Symbolic Instruction Code. Pity it wasn't called something else because the original Dartmouth version is probably the most comprehensive concise computational instruction set ever invented. An excellent learning tool because various types etc have to be built up by the person who is writing it. GWbasic retained that with graphics in a simple form. Out of interest it seems microshaft refered to it as Gee Wizz basic. Some reckon it stands for something else. John - |
Michael Gilligan | 31/08/2015 17:14:12 |
![]() 23121 forum posts 1360 photos | John, Merry Christmas [or whatever] http://www.gw-basic.com/downloads.html MichaelG.
Edited By Michael Gilligan on 31/08/2015 17:18:07 |
Ajohnw | 31/08/2015 17:33:43 |
3631 forum posts 160 photos |
I suspect some of my opinions comes from the complete and utter pigs ear they made of dos but I have done some deep windows tampering as well, Not for a long time though. The trouble with doing the sort of thing that I mentioned is that it's an aid to a main task. There comes a point where it just takes too long to do anything useful with it to be worth while. I kicked windows into touch for this sort of thing when they decided that vars declared out of main were no longer static under C. Ok I just had to declare them but ....... The graphics at that point were mostly too long winded to use anyway. John - |
Michael Gilligan | 31/08/2015 18:57:53 |
![]() 23121 forum posts 1360 photos | Posted by John W1 on 31/08/2015 17:33:43:
. |
duncan webster | 31/08/2015 19:18:36 |
5307 forum posts 83 photos | When I moved from Basic to Pascal the book kept saying 'pascal is so much better because you can't do such and such in Basic', well you could do most of it in both BBC and GW basic, in fact the only thing I ever wanted to do that I couldn't was pass a function to a procedure, but I think I'd struggle to do that in C now anyway. The biggest difference I noticed was the speed, in the valve gear program on the old Beeb I had a message come up to say 'calculating, go and have a cup of tea,' as it took 20 minutes or so to do the sums, then it would give you the results and moving pictures. On my first PC with BorlandC++ Builder it drew the pictures as it went along, and I had to insert pauses so you could see what was happening, but Borland won't run on W7 unless anyone knows different?
The interweb reckons I can import the Borland Graphics Library, but so far I've failed. This is as easy as BBC graphics |
Ady1 | 31/08/2015 19:54:45 |
![]() 6137 forum posts 893 photos | The biggest difference I noticed was the speed, in the valve gear program on the old Beeb I had a message come up to say 'calculating, go and have a cup of tea,' as it took 20 minutes or so to do the sums, then it would give you the results and moving pictures. On my first PC with BorlandC++ Builder it drew the pictures as it went along I found that too. I wrote a BBC basic gears calculator in a day from scratch with hardly any skills... but it can take up to an hour to run Writing a basic assembly program within the BBC basic package took me 3 months to figure out, it's sooper fast but nowadays I'm getting too old to care The other big advantage with BASIC was the ability to simply bolt new stuff on if you wanted, expanding your project was a doddle memories... |
Ajohnw | 31/08/2015 19:56:27 |
3631 forum posts 160 photos | There used to be an ideal about called a threaded code compiler that was ideal for Basic. It works on the principle of having basic in memory as a run time. The program was then just a series of calls to it. Very fast and memory efficient. Some would also allow blocks of code to be inserted so that all or critical sections didn't do any calls at all.
Next time I need to do some fast crunching quickly without any complications I'll take a look at the cross platform GWbasic - thanks Michael. There is another Linux / Win basic but it often gets messed up by windows people doing work on it. Could I be bothered to fire up C or C++ and produce proper graphics output - no. They leave too much work to do. John - |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.