Where is the Ycalc source code (ycalc-1.09.1 PET)?

Business software, financial software, etc.
Post Reply
Message
Author
MOB-i-L
Posts: 7
Joined: Thu 02 Sep 2010, 11:39

Where is the Ycalc source code (ycalc-1.09.1 PET)?

#1 Post by MOB-i-L »

Where can I find the source code for the PET ycalc-1.09.1 (TI-59 calculator)? Is there a general way of finding the source that generated a PET?

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#2 Post by Aitch »

Hi MOB-i-L

Try this, bottom of the list

http://www.sourcefiles.org/Productivity ... lculators/

General way? google, source ycalc 1.09.1 ....that's all I did

Aitch :)

MOB-i-L
Posts: 7
Joined: Thu 02 Sep 2010, 11:39

#3 Post by MOB-i-L »

Thanks! I tried to compile the source code you sent a link to in Puppy 4.3.1 with devx but I get lots of errors and it stops prematurely. I also tried the source code at http://puppylinux.org/wikka/Ycalc. I suppose none of these can be exactly the same source code that is used in Puppy since that should compile using make and produce an executable file. I think one should have access to the actual source of a binary and not some old version that you have to spend hours correcting. Maybe this was compiled years ago and then only the binary was saved.

Is it possible to compile ycalc in Puppy 4.3.1 only making changes to the Makefile or do I have to change the source code as well? The header files of C were probably different when this source code was written.

After adding #include <string.h> to Main.h I now only get one error:

Code: Select all

In file included from calc.c:73:
Calc.h:72: error: array type has incomplete element type
make: *** [calc.o] Error 1
.

I fixed this error by switching the order of

Code: Select all

#include "Calc.h" 
#include "Keys.h"
to

Code: Select all

#include "Keys.h"
#include "Calc.h"
in every file that used Calc.h.

I also tested to make changes to the About box so I know it's really my compiled version I run.

Now everything works fine but I think the actual source code should be available so that others don't have to do the same corrections.

MOB-i-L
Posts: 7
Joined: Thu 02 Sep 2010, 11:39

#4 Post by MOB-i-L »

I have put up my corrected version of Ycalc as a PET with source code on http://pet.orbin.se/. I also fixed some typos in the manual.

Post Reply