Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 03:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Where is the Ycalc source code (ycalc-1.09.1 PET)?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
MOB-i-L

Joined: 02 Sep 2010
Posts: 7

PostPosted: Mon 27 Sep 2010, 06:22    Post subject:  Where is the Ycalc source code (ycalc-1.09.1 PET)?
Subject description: Where can I find the source code for the PET ycalc-1.09.1?
 

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?
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 27 Sep 2010, 07:51    Post subject:  

Hi MOB-i-L

Try this, bottom of the list

http://www.sourcefiles.org/Productivity_Tools/Calculators/

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

Aitch Smile
Back to top
View user's profile Send private message 
MOB-i-L

Joined: 02 Sep 2010
Posts: 7

PostPosted: Mon 27 Sep 2010, 09:59    Post subject:  

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:
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:
#include "Calc.h"
#include "Keys.h"
to
Code:
#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.
Back to top
View user's profile Send private message 
MOB-i-L

Joined: 02 Sep 2010
Posts: 7

PostPosted: Tue 28 Sep 2010, 18:34    Post subject:  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Business
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0440s ][ Queries: 11 (0.0030s) ][ GZIP on ]